50 return get_called_class();
63 abstract public function getId();
95 $from = isset($fromList[0]) ? $fromList[0][
'id'] :
null;
97 foreach ($fromList as $item)
99 if (!preg_match(
'#^[0-9]+$#', $item[
'id']))
114 if (!is_array($fromList))
119 foreach ($fromList as $item)
121 if (isset($item[
'id']) && $item[
'id'])
137 foreach ($fromList as $item)
139 if ($from === $item[
'id'])
166 return $this->
isConfigurable() ?
'/crm/configs/sms/?sender='.$this->getId() :
'';
174 return Emoji::encode(
$text);
179 return Emoji::decode(
$text);
Providers Initiator $initiator
sendMessage(array $messageFieldsFields)
Providers Informant $informant
setSocketTimeout(int $socketTimeout)
prepareMessageBodyForSave(string $text)
setStreamTimeout(int $streamTimeout)
prepareMessageBodyForSend(string $text)
sendTemplate(string $name, string $text, array $examples=[], ?string $langCode=null)
static resolveStatus($serviceStatus)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)