Chat.listen()¶
- async Chat.listen()[source]¶
Bound method listen of
Chat.Use as a shortcut for:
await client.listen(chat_id=chat.id)
Example
await chat.listen()
- Returns:
Message|CallbackQuery– The matching update.- Raises:
ListenerTimeout – In case no matching update arrived in time.