簡體   English   中英

如果機器人不在組中但用戶在組中,如何從電報組中讀取消息?

[英]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)

有關實體的更多信息 有關消息的更多信息

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM