peyk.platforms.telegram.types.direct_messages_topic¶
Classes
|
Describes a topic of a direct messages chat. |
- class peyk.platforms.telegram.types.direct_messages_topic.DirectMessagesTopic(topic_id: int | None = None, user: User | None = None)[source]¶
Bases:
objectDescribes a topic of a direct messages chat.
- Variables:
topic_id (int | None) – Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.
user (peyk.platforms.telegram.types.user.User | None) – Information about the user that created the topic. Currently, it is always present.
- topic_id: int | None = None¶
- classmethod from_dict(data: dict | None) DirectMessagesTopic | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.