Read message from private channel on Telegram
Read message from private channel on Telegram
05 Oct 2023, 17:04
Hi
I want to write a cTrader Automate program that reads message from a private channel on Telegram.
I am a member of the private channel, but my bot is not a member.
Does anyone have an example code how to connect and read the messages?
Kind regards
Thomas
Replies
coleharry246
04 Feb 2025, 07:15
( Updated at: 14 Feb 2025, 18:16 )
@escape road You can integrate this script with your cTrader Automate program by running it as a separate process or service and passing the retrieved messages to your trading bot. Keep in mind that using your personal account for automation might violate Telegram's terms of service, so proceed with caution.
@coleharry246
marieprimmer874
01 Jul 2024, 09:30 ( Updated at: 02 Jul 2024, 04:50 )
Hello @ geometry dash scratch,
To connect and read messages from a private Telegram channel using cTrader Automate, you can utilize the Telegram Bot API. Here's an example code snippet that demonstrates the basic process:
Here are the steps you need to follow:
@marieprimmer874