Telegram channel monitoring

 

Hello everyone! Can anyone explain how to read messages from your own telegram channel? There is a bot connected as an admin to this channel, but I can't extract the text of the message. Please, help me.

I tried this, it doesn't work:

      for(int i=0; i<m_chats.Total(); i++)
      {
         CCustomChat *chat=m_chats.GetNodeAtIndex(i);
         if(!chat.m_new_one.done)
         {
            chat.m_new_one.done=true;
            string text=chat.m_new_one.message_text;
         }
      }
 
Please do a search in the Articles and in the CodeBase section. There should be a few examples there of how to access Telegram via MQL5.
 
Fernando Carreiro #:
Пожалуйста, выполните поиск в разделах «Статьи» и «CodeBase» . Там должно быть несколько примеров того, как получить доступ к Telegram через MQL5.

Thanks!