【发布时间】:2021-11-07 13:01:18
【问题描述】:
如何获得“警报”消息?
我的代码:
@client.on(events.NewMessage(chats=group_to_enter))
async def handler(event):
buttons = await event.get_buttons()
for bline in buttons:
for button in bline:
print(button.button.text)
await button.click()
但此代码无法获得仅显示在组中的警报消息
【问题讨论】:
标签: python-3.x telegram telethon