Identifier¶
- class pyrogram.types.Identifier¶
A dataclass for matching listeners to update data.
- Parameters:¶
inline_message_id (``str`` | Iterable of ``str``, *optional*) – The inline message ID to match. If None, it is not considered for matching.
chat_id (``int`` | ``str`` | Iterable, *optional*) – The chat ID to match. If None, it is not considered for matching.
message_id (``int`` | Iterable of ``int``) – The message ID to match. If None, it is not considered for matching.
from_user_id (``int`` | ``str`` | Iterable, *optional*) – The user ID to match. If None, it is not considered for matching.