简体   繁体   English

如果机器人不在组中但用户在组中,如何从电报组中读取消息?

[英]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 有关实体的更多信息 有关消息的更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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