Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс EmojiConverter
+ Граф наследования:EmojiConverter:

Открытые члены

 convertEmojiInTemplate (array $messageTemplate, string $type)
 
 convertEmoji (string $text, string $type)
 

Защищенные члены

 convertTextSection (?string $textSection, string $type)
 
 convertHeaderSection (?array $headerSection, string $type)
 
 convertFooterSection (?array $footerSection, string $type)
 
 convertKeyboardSection (?array $keyboardSection, string $type)
 

Подробное описание

См. определение в файле EmojiConverter.php строка 7

Методы

◆ convertEmoji()

convertEmoji ( string $text,
string $type )

См. определение в файле EmojiConverter.php строка 32

◆ convertEmojiInTemplate()

convertEmojiInTemplate ( array $messageTemplate,
string $type )

См. определение в файле EmojiConverter.php строка 9

◆ convertFooterSection()

convertFooterSection ( ?array $footerSection,
string $type )
protected

См. определение в файле EmojiConverter.php строка 62

◆ convertHeaderSection()

convertHeaderSection ( ?array $headerSection,
string $type )
protected

См. определение в файле EmojiConverter.php строка 52

◆ convertKeyboardSection()

convertKeyboardSection ( ?array $keyboardSection,
string $type )
protected

Example:

'keyboard' => [ 'rows' => [ [ 'buttons' => [ [ 'text' => 'Red', 'payload' => '1', ], [ 'text' => 'blue', 'payload' => '2', ] ] ] ] ]

См. также
https://docs.edna.ru/kb/message-matchers-get-by-request/
Аргументы
array | null$keyboardSection
string$type
Возвращает
array

Переопределяется в EmojiConverter.

См. определение в файле EmojiConverter.php строка 97

◆ convertTextSection()

convertTextSection ( ?string $textSection,
string $type )
protected

См. определение в файле EmojiConverter.php строка 42