Identifier¶
- class pyrogram.types.Identifier[source]¶
The set of criteria a listener waits for.
A
Nonefield is a wildcard. A field may hold a single value or a list of values, in which case any of them matches.- Parameters:
chat_id (
int|str| List ofint|str, optional) – Chat the awaited update must come from.user_id (
int|str| List ofint|str, optional) – User the awaited update must come from.message_id (
int| List ofint, optional) – Message the awaited update must belong to.inline_message_id (
str| List ofstr, optional) – Inline message the awaited update must belong to.