tgbot-cpp
|
Represents the content of a location message to be sent as the result of an inline query. More...
#include <InputLocationMessageContent.h>
Public Types | |
typedef std::shared_ptr< InputLocationMessageContent > | Ptr |
Public Member Functions | |
InputLocationMessageContent () | |
Public Attributes | |
float | latitude |
Latitude of the location in degrees. | |
float | longitude |
Longitude of the location in degrees. | |
float | horizontalAccuracy |
Optional. The radius of uncertainty for the location, measured in meters; 0-1500. | |
std::int32_t | livePeriod |
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400. | |
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::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. | |
Static Public Attributes | |
static const std::string | TYPE |
Represents the content of a location message to be sent as the result of an inline query.
Definition at line 15 of file InputLocationMessageContent.h.
typedef std::shared_ptr<InputLocationMessageContent> TgBot::InputLocationMessageContent::Ptr |
Definition at line 19 of file InputLocationMessageContent.h.
|
inline |
Definition at line 21 of file InputLocationMessageContent.h.
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 49 of file InputLocationMessageContent.h.
float TgBot::InputLocationMessageContent::horizontalAccuracy |
Optional. The radius of uncertainty for the location, measured in meters; 0-1500.
Definition at line 38 of file InputLocationMessageContent.h.
float TgBot::InputLocationMessageContent::latitude |
Latitude of the location in degrees.
Definition at line 28 of file InputLocationMessageContent.h.
std::int32_t TgBot::InputLocationMessageContent::livePeriod |
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
Definition at line 43 of file InputLocationMessageContent.h.
float TgBot::InputLocationMessageContent::longitude |
Longitude of the location in degrees.
Definition at line 33 of file InputLocationMessageContent.h.
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 55 of file InputLocationMessageContent.h.
|
static |
Definition at line 17 of file InputLocationMessageContent.h.