peyk.platforms.telegram.types.community_chat_added

Classes

CommunityChatAdded([chat_id, community])

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: object

Describes 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
community: Community | None = None
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.