peyk.platforms.telegram.types.forum_topic¶
Classes
|
This object represents a forum topic. |
- class peyk.platforms.telegram.types.forum_topic.ForumTopic(message_thread_id: int, name: str, icon_color: int | None = None, icon_custom_emoji_id: str | None = None, is_name_implicit: bool | None = None)[source]¶
Bases:
objectThis object represents a forum topic.
- Variables:
message_thread_id (int) – Unique identifier of the forum topic
name (str) – Name of the topic
icon_color (int | None) – Color of the topic icon in RGB format
icon_custom_emoji_id (str | None) – Unique identifier of the custom emoji shown as the topic icon
is_name_implicit (bool | None) – True, if the name of the topic wasn’t specified explicitly by its creator and likely needs to be changed by the bot
- message_thread_id: int¶
- name: str¶
- icon_color: int | None = None¶
- icon_custom_emoji_id: str | None = None¶
- is_name_implicit: bool | None = None¶
- classmethod from_dict(data: dict | None) ForumTopic | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.