LocationAddress¶
- class telegram.LocationAddress(country_code, state=None, city=None, street=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectDescribes the physical address of a location.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
country_code,state,cityandstreetare equal.Available In
Added in version 22.1.
- Parameters:
country_code (
str) – The two-letterISO 3166-1 alpha-2country code of the country where the location is located.state (
str, optional) – State of the location.city (
str, optional) – City of the location.street (
str, optional) – Street address of the location.