Hi there,
I already send messages with my bot to my telegram chatgroup with the orders details. (Like for example “Bought ETHBTC for prize 0.071053 BTC”)
But what I wanna do is put some symbols in my message like 🚀💰👎 .so its more easy for scrolling true the signals and see the difference between an buy and a sold order.
Is this possible?
I found this site with emojis from telegram:
https://k3a.me/telegram-emoji-list-codes-descriptions/
And just write :rocket: doesn't work.
So the unicode needs to be changed to an emoji. I found this forum but it's not clear to me how to handle this.
https://github.com/TelegramBots/telegram.bot/issues/248
Thanks in advance.
Greeatings David
Nico Xenox
Hey vronghel
I dont know which methods you already tried. Would just adding the emoji (copy/paste or windows keyboard) into the code help?
It seems that this way people where able to make it work.
Nico Xenox
How to activate windows touch keyboard:
right click on the taskbar > show touch keyboard button > on the right down side click on the keyboard symbol
Hope it helps ;)
Vronghel
Hi Nico,
Thanks for the respond.
I tried to do it like you purposed but I always get an error when trying to go live.
But in the example you gave there is also "Async" but i don't know were to place this?
Thanks in advance.!
Nico Xenox
Hey vronghel
You could try to send messages without anything else than just the emoji to see if it even works. From there on you could add the other parts. There might be a conflict with the emoji and the rest of your text. If it doesnt work that way you could add Unicode from this site.
Vronghel
Hi Nico,
Thanks for the answer!!!
Only with an emoji isn't working
I get always an error:
41| 9:12:20: API Error Message: File not saved, invalid character `👍` in the file `Main.cs` line 366. Please remove special characters.
I'll try now like this:
Nico Xenox
Hey vronghel ,
maybe you could find the answer in here.
Vronghel
Hi Nico,
I got the answer solution😊
Declaration of the emoticons and using this link for converting the emoticon to UTF-32.
Inserting the emojis with the "touch keyboard" like you said for converting using the link.
And when using in a Notify.Telegram is like this.
And this is the result:
Thanks Nico for all your time and searching for a solution.
Or maybe you got an correction or an improvement?
Nico Xenox
Hey vronghel
happy to hear that you found a solution, good luck!
Vronghel
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!