InputLocationMessageContent¶
- class litegram.types.input_location_message_content.InputLocationMessageContent(*, latitude: float, longitude: float, horizontal_accuracy: float | None = None, live_period: int | None = None, heading: int | None = None, proximity_alert_radius: int | None = None, **extra_data: Any)[source]¶
Represents the content of a location message to be sent as the result of an inline query.
Source: https://core.telegram.org/bots/api#inputlocationmessagecontent
- horizontal_accuracy: float | None¶
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
- live_period: int | None¶
Optional. Period in seconds during which the location can be updated, should be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely.