forked from pyrogram/pyrogram
-
Notifications
You must be signed in to change notification settings - Fork 1
Client methods
Lelzin λ edited this page Sep 3, 2024
·
3 revisions
Waits for a dispatcher update.
Parameters:
- type (
Update
, optional): Type of update to receive, by default are text messages, if None any type will be received. - filter (
Filter
, optional): Specific filter for the update, by default there is no filter. - timeout (
int
, optional): Timeout in seconds, default is 60 seconds.
Raises:
TimeoutError
: thrown when the time limit is exceeded.