I was looking for some way to listen and catch new messages provided by telegram groups.
I have not found libraries or API in order to do this in Python.
Someone having any suggestion?
I was looking for some way to listen and catch new messages provided by telegram groups.
I have not found libraries or API in order to do this in Python.
Someone having any suggestion?
2
Answers
There are two ways to achieve your goal:
Method 1:
My suggested library for python: python-telegram-bot
Method 2:
My suggested library for python: Telethon
Using Telethon
Replace
channel_name
with your telegram channel.