Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a Telegram bot subscribe to a channel?

Tags:

telegram

I'd like to know if a bot can subscribe to a channel, I don't seem to be able to do it.

Thanks

like image 724
sathia Avatar asked Oct 20 '25 12:10

sathia


1 Answers

Actually a bot can can receive all the messages from a channel — it should be just a member of the channel. See What messages will my bot get? in the FAQ. But only a channel admin can "subscribe" a bot to the channel in such a way.

Another way is to use some programmable Telegram client application or library (thanks to the open MTProto protocol). For example, see Telethon library (Python3).

like image 160
ruvim Avatar answered Oct 23 '25 08:10

ruvim



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!