peyk.platforms.telegram.types.community_chat_added¶
Classes
|
Describes a service message about a chat being added to a community. |
- class peyk.platforms.telegram.types.community_chat_added.CommunityChatAdded(chat_id: int = 0, community: Community | None = None)[source]¶
Bases:
objectDescribes a service message about a chat being added to a community.
- Variables:
community (peyk.platforms.telegram.types.community.Community | None) – The new community to which the chat belongs
- chat_id: int = 0¶
- classmethod from_dict(data: dict | None) CommunityChatAdded | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.