ChatLocation¶
- class telegram.ChatLocation(location, address, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
This object represents a location to which a chat is connected.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
location
is equal.Available In
- Parameters:
- location[source]¶
The location to which the supergroup is connected. Can’t be a live location.
- Type:
- MAX_ADDRESS = 64[source]¶
telegram.constants.LocationLimit.MAX_CHAT_LOCATION_ADDRESS
Added in version 20.0.
- MIN_ADDRESS = 1[source]¶
telegram.constants.LocationLimit.MIN_CHAT_LOCATION_ADDRESS
Added in version 20.0.