Answer the question
In order to leave comments, you need to log in
How to solve the issue with Emoji for telegram bot in php?
Faced the following moment:
$bot->sendMessage($message->getChat()->getId(), "\xF0\x9F\x9A\x80", "html", true);
, everything is fine, rocket emoji is displayed in the bot message)))
if you do this:
$icon='\xF0\x9F\x9A\x8';
$bot->sendMessage($message->getChat()->getId(), "$icon", "html", true);
there is no "rocket", stupid text - \xF0\x9F\x9A\x8
Tell me what am I doing wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question