1#ifndef TGBOT_INLINEQUERYRESULTLOCATION_H
2#define TGBOT_INLINEQUERYRESULTLOCATION_H
24 static const std::string
TYPE;
26 typedef std::shared_ptr<InlineQueryResultLocation>
Ptr;
This object represents one result of an inline query.
std::string type
Type of the result.
Represents a location on a map.
std::int32_t proximityAlertRadius
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat ...
std::int32_t thumbnailWidth
Optional. Thumbnail width.
std::int32_t heading
Optional. For live locations, a direction in which the user is moving, in degrees.
float longitude
Location longitude in degrees.
std::int32_t livePeriod
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
std::string title
Location title.
std::int32_t thumbnailHeight
Optional. Thumbnail height.
std::shared_ptr< InlineQueryResultLocation > Ptr
std::string thumbnailUrl
Optional. Url of the thumbnail for the result.
InlineQueryResultLocation()
float horizontalAccuracy
Optional. The radius of uncertainty for the location, measured in meters; 0-1500.
static const std::string TYPE
float latitude
Location latitude in degrees.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the location.
std::shared_ptr< InputMessageContent > Ptr