'SendPhoto' - no one of the overloads can be applied to the function call Telegram_Bot_EA.mq5 117 24
Marco vd Heijden:
The problem is at 117 24 or at least there is where it runs stuck.
The function is at 61.
function at 61?
Yes problem is at .SendPhoto:
result=bot.SendPhoto(_chat_id,filename,screen_id,_symbol+"_"+StringSubstr(EnumToString(_period),7));
In article 2355 is source code attached and I don't why original code is with errors.......
I think problem is commented Nguyen Van Tuan comment at point 2. ...?! Or...?
Solution:
Line 117: result = bot.SendPhoto (screen_id, _chat_id, filename, _symbol + "_" + StringSubstr (EnumToString (_period), 7));
Line 117: result = bot.SendPhoto (screen_id, _chat_id, filename, _symbol + "_" + StringSubstr (EnumToString (_period), 7));
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
I try to test Telegram example from article:
https://www.mql5.com/en/articles/2355
an get error message:
"'SendPhoto' - no one of the overloads can be applied to the function call Telegram_Bot_EA.mq5 117 24"
where is the problem?