Represents the content of a location message to be sent as the result of an inline query.
More...
#include <Types.h>
|
| double | latitude { } |
| | Latitude of the location in degrees.
|
| double | longitude { } |
| | Longitude of the location in degrees.
|
| std::optional< double > | horizontalAccuracy { } |
| | Optional. The radius of uncertainty for the location, measured in meters; 0-1500.
|
| std::optional< std::int32_t > | livePeriod { } |
| | Optional. Period in seconds during which the location can be updated, must be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely.
|
| std::optional< std::int32_t > | heading { } |
| | Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
|
| std::optional< std::int32_t > | proximityAlertRadius { } |
| | Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
|
Represents the content of a location message to be sent as the result of an inline query.
Definition at line 6252 of file Types.h.
◆ Ptr
◆ heading
| std::optional<std::int32_t> TgBot::InputLocationMessageContent::heading { } |
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
Definition at line 6280 of file Types.h.
◆ horizontalAccuracy
| std::optional<double> TgBot::InputLocationMessageContent::horizontalAccuracy { } |
Optional. The radius of uncertainty for the location, measured in meters; 0-1500.
Definition at line 6268 of file Types.h.
◆ latitude
| double TgBot::InputLocationMessageContent::latitude { } |
Latitude of the location in degrees.
Definition at line 6258 of file Types.h.
◆ livePeriod
| std::optional<std::int32_t> TgBot::InputLocationMessageContent::livePeriod { } |
Optional. Period in seconds during which the location can be updated, must be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely.
Definition at line 6274 of file Types.h.
◆ longitude
| double TgBot::InputLocationMessageContent::longitude { } |
Longitude of the location in degrees.
Definition at line 6263 of file Types.h.
◆ proximityAlertRadius
| std::optional<std::int32_t> TgBot::InputLocationMessageContent::proximityAlertRadius { } |
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Definition at line 6286 of file Types.h.
The documentation for this struct was generated from the following file: