peyk.platforms.telegram.types.chat_location¶
Classes
|
Represents a location to which a chat is connected. |
- class peyk.platforms.telegram.types.chat_location.ChatLocation(location: Location | None = None, address: str = '')[source]¶
Bases:
objectRepresents a location to which a chat is connected.
- Variables:
location (peyk.platforms.telegram.types.location.Location | None) – The location to which the supergroup is connected. Can’t be a live location.
address (str) – Location address; 1-64 characters, as defined by the chat owner
- address: str = ''¶
- classmethod from_dict(data: dict | None) ChatLocation | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.