peyk.platforms.telegram.types.input_media_location¶
Classes
|
Represents a location to be sent. |
- class peyk.platforms.telegram.types.input_media_location.InputMediaLocation(latitude: float, longitude: float, horizontal_accuracy: float | None = None)[source]¶
Bases:
objectRepresents a location to be sent.
- Variables:
type – Type of the media, must be location
latitude (float) – Latitude of the location
longitude (float) – Longitude of the location
horizontal_accuracy (float | None) – The radius of uncertainty for the location, measured in meters; 0-1500
- latitude: float¶
- longitude: float¶
- horizontal_accuracy: float | None = None¶