
我怎样才能收到“警告”信息?
我的代码:
@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()但此代码无法获取群中仅显示的警报消息
发布于 2021-11-07 13:17:48
从Message.click (或MessageButton.click)返回结果:
result = await button.click()
print(result)https://stackoverflow.com/questions/69872667
复制相似问题