StoryAreaTypeLocation¶
- class telegram.StoryAreaTypeLocation(latitude, longitude, address=None, *, api_kwargs=None)[source]¶
Bases:
telegram.StoryAreaTypeDescribes a story area pointing to a location. Currently, a story can have up to
10location areas.Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
latitudeandlongitudeare equal.Available In
Added in version 22.1.
- Parameters:
latitude (
float) – Location latitude in degrees.longitude (
float) – Location longitude in degrees.address (
telegram.LocationAddress, optional) – Address of the location.