forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
997 B
29 lines
997 B
2 years ago
|
<?php
|
||
|
|
||
|
namespace app\Interfaces;
|
||
|
|
||
|
interface IApiMedia
|
||
|
{
|
||
|
function getchannel();
|
||
|
function getContentType();
|
||
|
function enviarMedia($whatsapp, $link, $type, $titulo = null);
|
||
|
function enviarMsg($whatsapp, $mensagem, $encode = true);
|
||
|
function enviarMsgIterativaLista($whatsapp, $mensagem, $nomeButton, $sections);
|
||
|
function enviarMsgIterativaBotao($whatsapp, $mensagem, $buttons);
|
||
|
function enviarContato($whatsapp, $nome, $contato);
|
||
|
function enviarLocalizacao($whatsapp, $longitude, $latitude, $nome = null, $endereco = null);
|
||
|
function baixarMidia();
|
||
|
function getProfile();
|
||
|
function getPhone();
|
||
|
function getType();
|
||
|
function getMimetype();
|
||
|
function getId();
|
||
|
function getIsValidMessage();
|
||
|
function getMessage();
|
||
|
function setMessage($msg);
|
||
|
function getContactFormatted();
|
||
|
function getContactPhone();
|
||
|
function getGeolocation($type);
|
||
|
function setHook($hook);
|
||
|
function retornaTituloDocument();
|
||
|
}
|