1#ifndef TGBOT_INPUTLOCATIONMESSAGECONTENT_H
2#define TGBOT_INPUTLOCATIONMESSAGECONTENT_H
17 static const std::string
TYPE;
19 typedef std::shared_ptr<InputLocationMessageContent>
Ptr;
Represents the content of a location message to be sent as the result of an inline query.
float horizontalAccuracy
Optional. The radius of uncertainty for the location, measured in meters; 0-1500.
float latitude
Latitude of the location in degrees.
float longitude
Longitude of the location in degrees.
std::int32_t livePeriod
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
std::shared_ptr< InputLocationMessageContent > Ptr
static const std::string TYPE
InputLocationMessageContent()
std::int32_t heading
Optional. For live locations, a direction in which the user is moving, in degrees....
std::int32_t proximityAlertRadius
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat ...
This abstract class is base of all message contents.
std::string type
Type of the content.