Answer the question
In order to leave comments, you need to log in
How to send emoticon via Telegram Bot?
How to send a smiley via bot?
Manually if you send the text :smile: or :x: - it turns into a smiley.
And if through the bot like this, then it sends just a text.
$curl->get(' https://api.telegram.org/bot '{token}/sendMessage',array(
'chat_id' => $chat,
'text' => ':smile:',
'disable_web_page_preview' => true,
));
Answer the question
In order to leave comments, you need to log in
An example solution for python you can find here)
https://github.com/mustafababil/Telegram-Weather-B... Smiley
code here:
apps.timwhitlock.info/emoji/tables/unicode
for PHP, where the smiley is, put hex2bin('f09f9880')
f09f9880 - smiley code without \x with https://apps.timwhitlock.info/emoji/tables/unicode column Bytes (UTF-8)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question