Hi, It is possible to include emojis in the text of the telegram alerts?
I guess… You could edit the alert templates. In the web ui under alerts - > Templates
But what kind of coding should I use to be seen on Telegram. Because I have tried several and it does not work.
what happens when you put in the text :zap:
(for )
does it come out literal?
Yes, it appears literal. You can not see the emoji.
Hi, im interested in show emojis, too,
I tried this:
\U0000270F -> The code of one emoji
:white_check_mark: -> Other way to show other emoji
But there is no way, it shows literal, anyone who achieved this?
Thankss in advice.
hi, I am using emoji in telegram transport. I just copied emoji from telegram windows client a droped them to alert template, but not all of them are working. You need to try emoji which do you want to use here is the example how I am using it.
Ok!! thanks for reply!, i will try it!!!
Hi! jozefrebjak i tried, and it works, with some emojis, but it works!!! thanks!.
I have researched a little to find why doesnt work with unicodes, in module Telegram.php is a function urlencode, this function transforms the code to url format, so the emoji code like \xF0\x9F\x98\xAD will be %5CxF0%5Cx9F%5Cx98%5CxAD.
I tried to modify the Telegram.php code and replace %5C with \, with no result.
I tried the resulting url to put in the web browser, and i see this:
date":1545041817,“text”:"\\xF0\\x9F\\x98\\xAB"}}
Telegram bot adds and extra backslash…