Discussion of article "How to create bots for Telegram in MQL5" - page 14

 
Павел Falcone:
Hello, I have taken a bot that will share signals through a group. I ran the code through MetaEditor, changed it and can't compile it. Gave such a number of errors ***

Forum: how to insert a picture

 
Vladimir Karputov:

Forum: how to insert a picture

Corrected
 
Павел Falcone:
Corrected

Did you download and unzip the archive at the end of the article?

 
Vladimir Karputov:

Did you download and unzip the archive at the end of the article?

Yes, I did.
 

Hi.

I created a bot, a channel.

1

An error pops up

Unknown error 1001

What does it mean?

 
Denis Nikolaev:

Hi.

I've created a bot, a channel

An error pops up

Unknown error 1001

What does it mean?

Most likely the error is that the Telegram apiska is blocked by Roskomnadzor. I encountered the same error. Try a VPN and that's it

 

Hi Andrew, I get this error when using the recent Telegram.mqh

'SendPhoto' - none of the overloads can be applied to the function call TEST.mq4 110 18

result=bot.SendPhoto(_chat_id,filename,screen_id,_symbol+"_"+StringSubstr(EnumToString(_period),7));


 
chinswain:

Hello Andrew, I am getting this error when using a recent Telegram.mqh

'SendPhoto' - none of the overloads can be applied to the function call TEST.mq4 110 18

result=bot.SendPhoto(_chat_id,filename,screen_id,_symbol+"_"+StringSubstr(EnumToString(_period),7));


You need the full code. You are mistaken somewhere with passing parameters to the function

 
Sergey Likho :

Need full code. Somewhere you are mistaken with passing parameters to a function

https://www.mql5.com/ru/forum/84012/page4#comment_4141913

Обсуждение статьи "Создание бота для Telegram на языке MQL5"
Обсуждение статьи "Создание бота для Telegram на языке MQL5"
  • 2016.12.16
  • www.mql5.com
Опубликована статья Создание бота для Telegram на языке MQL5: Автор: Andrey Voytenko...
 
Cuong Le Van:

This Telegram lib was not work with Indicators, work with EA only.

Anyone can tell me how to send the message from Indicator (not EA) to Telegram?

Thank.

There is an difference, Expert can access websites, but Indicator nearly can't. Then we should push telegram SendMessage to Expert

Thank you very much, Sir Andrey Voytenko