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

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
Good evening, colleagues.
Could you please tell me how to add smileys to the text of a message?
Look in the article, there is an answer there.
Good afternoon everyone!
bot.SendMessage() does not work in the tester. No one has solved this problem? I would be grateful for advice))))
Good afternoon, everyone!
bot.SendMessage() does not work in the tester. No one has solved this problem? I would be grateful for advice))))
WebRequest() is not executed in the tester. Go to wininet.dll
WebRequest() is not executed in the tester. Go to wininet.dll
WebRequest() is not executed in the tester. Go to wininet.dll
In real life, everything works, but in the tester it doesn't.
I haven't found where this library is declared in 4 in my system
ok. But if you are working with a private channel, use the Channel ID, not the Channel Name.
Hey guys! Hello Andrey, I've been using the telegram signal EA for a couple of months now, but on a public channel. Now I'm trying to put in a private channel and reading about it here seems the setup is different:
You mean:
- Instead o putting the channel name, I put the Channel ID ( I got the channel ID fowarding a channel message to the @getidsbot on telegram, ifanyones wondering)
Like this?
In advance: Thank you, learned a ton by reading this thread here.
Hey guys! Hello Andrey, I've been using the telegram signal EA for a couple of months now, but on a public channel. Now I'm trying to put in a private channel and reading about it here seems the setup is different:
You mean:
- Instead o putting the channel name, I put the Channel ID ( I got the channel ID fowarding a channel message to the @getidsbot on telegram, ifanyones wondering)
Like this?
In advance: Thank you, learned a ton by reading this thread here.
Telegram.mqh on line 980 calls for:
and in line 1006 calls for:
for sending a message to a private channel i have to pourposely define chat_id as a long like this:
input long InpChatId= -(use h t t p s ://t.me/username_to_id_bot to obtain your private chat id); // Chat ID Private
and use it to cast to telegram
otherwise it will not work, if someone knows a code to identify when we use an string @publicChannelName or a long -privateChannelName to cast acordinglly please post it here!
hi
I have done adding the address "https://api.telegram.org" in EA tools, but I am still getting the error of url does not allowed for webrequest, why is that please?
I am just trying to use the example EA, which is the TelegramAlertMT4 from https://github.com/sholafalana/MT5-MT4-Telegram-API-Bot
I have copied the 4 files from include to include, and paste the TelegramAlertMT4.mq4 into indicator folder, compiled with no error.
If I put it under EA folder and run it, I never get the smily face, even though i have enabled auto trading.
Many thanks