Telegram bot signals can't read by WebRequest()

 

Hello. I have developed an EA. I send the important part of the code:

OnTimer()
  {
    string url = "https://api.telegram.org/bot" + InpBotToken + "/getUpdates";
    int code = WebRequest("GET", url, NULL, 900, data, result, result_headers);
    if(code == 200)
       string message_text = CharArrayToString(result);
    ........
}

This works fine and reads messages I send to the Telegram bot from my Telegram app. But it can't read signals are comming to the bot from Bookmap indicator. Also, the EA can't read messages I send to the bot by WebRequest(.....sendMessae).

Is there any solution here to read all messages? (without changing in Bookmap indicator)

 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893