Help please, I'm confused. How to get programmatically id of your chat in a global variable knowing the token of your bot. It is clear that you can ask different bots about your id, but I want to programmatically.
There is a loop in the ProcessMessage function that gets the number I'm looking for, but it often returns zero, and I can't remember it.
Another question. Knowing the token of the bot, is it possible to get the chat ID of the user who created this bot from Telegram without sending a message from the bot. We get the name of the bot by the token.
on mq5 side "chat.m_new_one.message_text" gets the message that user sends to the bot directly which is great. However can it be used to receive the message that is sent to the channel that the bot (the one which is communicating with the mt5 EA) is a member of ?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Top right corner there is a magnify glass icon also known as the search icon
left click it
then type
" Binance"
Press [ENTER] Key on your desktop
then you will get them no need to scroll down.
you welcome
Thanks, I located the library
How to write this
My English Is not good, sorry thanksGreat article. It works. Can I ask you a nubian question. In indicators it says URL does not allowed for WebRequest
Do I understand correctly that WebRequest does not work in indicators ?
I figured it out. Synchronous pauses. It doesn't work. Too bad.
Do I understand correctly that WebRequest does not work in indicators?
It doesn't work
It's not working
But it works in the tester)) SendNotification will have to. Not so convenient, and it doesn't work in the tester.
Help please, I'm confused. How to get programmatically id of your chat in a global variable knowing the token of your bot. It is clear that you can ask different bots about your id, but I want to programmatically.
There is a loop in the ProcessMessage function that gets the number I'm looking for, but it often returns zero, and I can't remember it.
However can it be used to receive the message that is sent to the channel that the bot (the one which is communicating with the mt5 EA) is a member of ?
Hello friends, I use the following code to send a message to Telegram. My problem is that instead of sending a message once, it sends several times.
please guide me.