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.
Optional args:
-
type
: Type of update to receive, by default are text messages, if None any type will be received. -
filter
: Specific filter for the update, by default there is no filter. -
timeout
: Timeout in seconds, default is 60 seconds.
Raises:
TimeoutError
: thrown when the time limit is exceeded.