简体   繁体   中英

How to read message from telegram group if the bot is not in the group but user is?

How to read message from telegram group if the bot is not in the group but user is

for message in client.iter_messages(group_entity): print(message.text)

More about entities More about messages

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM