Alexandr Mordashov: Hi! Maybe someone knows... Is it possible to programmatically manage (need to delete) the messages that are sent to the bot? I.e. there is a bot in Telegram. I send signals to it from MQL. If I do not have time to process them in real time, they are accumulated. Then I process a ticket and delete all signals on it manually from the bot. I have implemented the addition of hashtag (#) before the ticket in the message, so you can quickly select all messages in the bot by this hashtag and quickly delete them by hand. But still, if there is no possibility to look through charts for a couple of days, it is already difficult to delete by hand 15 messages by one ticket, for example. Is there any way to automate this? Thank you!
Yes. You can.
You can also add buttons under messages that would quickly delete them all. You can code
Alexandr Mordashov: Hi! Maybe someone knows... Is it possible to programmatically manage (need to delete) the messages that are sent to the bot? I.e. there is a bot in Telegram. I send signals to it from MQL. If I do not have time to process them in real time, they are accumulated. Then I process a ticket and delete all signals on it manually from the bot. I have implemented the addition of hashtag (#) before the ticket in the message, so you can quickly select all messages in the bot by this hashtag and quickly delete them by hand. But still, if there is no possibility to look through charts for a couple of days, it is already difficult to delete by hand 15 messages by one ticket, for example. Is there any way to automate this? Thank you!
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to create and set up a bot, please consult our Introduction to Bots and Bot FAQ. Recent changes January 23, 2020 Supported Polls 2.0. Added the ability to send non-anonymous, multiple answer, and quiz-style polls: added the...
As a part of an EA, I'm trying to send a screenshot to telegram bot.but it doesn't work and I just see "sending a photo" massage in the Telegram Bot. I do not receive anything.i'll appreciate if any one can help. the code is attached.
I'm trying to us the signal ea but I'm getting {"ok":false,"error_code":400,"description":"Bad Request: chat not found"} error code on mt5 n nothing on the channel. How can I fix this?
Also how to I change Macd to send signals everytime I place a trade, modify or close?
As a part of an EA, I'm trying to send a screenshot to telegram bot.but it doesn't work and I just see "sending a photo" massage in the Telegram Bot. I do not receive anything.i'll appreciate if any one can help. the code is attached.
I had this problem too, I always get this error: "Screenshot file not created", I solved it, Just put ChartRedraw(chart_id) after ChartScreenShot command.
I had this problem too, I always get this error: "Screenshot file not created", I solved it, Just put ChartRedraw(chart_id) after ChartScreenShot command.
Could someone please help me to finish to write this ? Actually I just want to replicate the MT4 trades journal logs by sending a message to my Telegram channel like the attached file.
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.
Hi! Maybe someone knows... Is it possible to programmatically manage (need to delete) the messages that are sent to the bot? I.e. there is a bot in Telegram. I send signals to it from MQL. If I do not have time to process them in real time, they are accumulated. Then I process a ticket and delete all signals on it manually from the bot. I have implemented the addition of hashtag (#) before the ticket in the message, so you can quickly select all messages in the bot by this hashtag and quickly delete them by hand. But still, if there is no possibility to look through charts for a couple of days, it is already difficult to delete by hand 15 messages by one ticket, for example. Is there any way to automate this? Thank you!
Hi! Maybe someone knows... Is it possible to programmatically manage (need to delete) the messages that are sent to the bot? I.e. there is a bot in Telegram. I send signals to it from MQL. If I do not have time to process them in real time, they are accumulated. Then I process a ticket and delete all signals on it manually from the bot. I have implemented the addition of hashtag (#) before the ticket in the message, so you can quickly select all messages in the bot by this hashtag and quickly delete them by hand. But still, if there is no possibility to look through charts for a couple of days, it is already difficult to delete by hand 15 messages by one ticket, for example. Is there any way to automate this? Thank you!
Is it?
So the current library, we can receive messages from Groups n directly chat with bot.
https://www.mql5.com/en/forum/328371#comment_15438131
I got this and will work around it to see if I can implement it into the Telegram.mqh file
Hi
As a part of an EA, I'm trying to send a screenshot to telegram bot.but it doesn't work and I just see "sending a photo" massage in the Telegram Bot. I do not receive anything.i'll appreciate if any one can help. the code is attached.
dear @Asadollah Ramezani
try this: InpUpdateMode = UPDATE_SLOW;
I'm trying to us the signal ea but I'm getting {"ok":false,"error_code":400,"description":"Bad Request: chat not found"} error code on mt5 n nothing on the channel. How can I fix this?
Also how to I change Macd to send signals everytime I place a trade, modify or close?
Hi
As a part of an EA, I'm trying to send a screenshot to telegram bot.but it doesn't work and I just see "sending a photo" massage in the Telegram Bot. I do not receive anything.i'll appreciate if any one can help. the code is attached.
Dear @Asadollah Ramezani
I had this problem too, I always get this error: "Screenshot file not created", I solved it, Just put ChartRedraw(chart_id) after ChartScreenShot command.
good luck broDear @Asadollah Ramezani
I had this problem too, I always get this error: "Screenshot file not created", I solved it, Just put ChartRedraw(chart_id) after ChartScreenShot command.
good luck browhy not send an example
Could someone please help me to finish to write this ? Actually I just want to replicate the MT4 trades journal logs by sending a message to my Telegram channel like the attached file.
It means start simple with the MACD example that comes in MetaTrader.
It means start simple with the MACD example that comes in MetaTrader.