| tgbot-cpp
    | 
Represents a location on a map. More...
#include <InlineQueryResultLocation.h>
 
  
| Public Types | |
| typedef std::shared_ptr< InlineQueryResultLocation > | Ptr | 
| Public Types inherited from TgBot::InlineQueryResult | |
| typedef std::shared_ptr< InlineQueryResult > | Ptr | 
| Public Member Functions | |
| InlineQueryResultLocation () | |
| Public Member Functions inherited from TgBot::InlineQueryResult | |
| InlineQueryResult () | |
| virtual | ~InlineQueryResult () | 
| Public Attributes | |
| float | latitude | 
| Location latitude in degrees. | |
| float | longitude | 
| Location longitude in degrees. | |
| std::string | title | 
| Location title. | |
| 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. | |
| std::int32_t | proximityAlertRadius | 
| Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. | |
| InputMessageContent::Ptr | inputMessageContent | 
| Optional. Content of the message to be sent instead of the location. | |
| std::string | thumbnailUrl | 
| Optional. Url of the thumbnail for the result. | |
| std::int32_t | thumbnailWidth | 
| Optional. Thumbnail width. | |
| std::int32_t | thumbnailHeight | 
| Optional. Thumbnail height. | |
| Public Attributes inherited from TgBot::InlineQueryResult | |
| std::string | type | 
| Type of the result. | |
| std::string | id | 
| Unique identifier for this result, 1-64 bytes. | |
| InlineKeyboardMarkup::Ptr | replyMarkup | 
| Optional. Inline keyboard attached to the message. | |
| Static Public Attributes | |
| static const std::string | TYPE | 
Represents a location on a map.
By default, the location will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the location.
Definition at line 21 of file InlineQueryResultLocation.h.
| typedef std::shared_ptr<InlineQueryResultLocation> TgBot::InlineQueryResultLocation::Ptr | 
Definition at line 26 of file InlineQueryResultLocation.h.
| 
 | inline | 
Definition at line 28 of file InlineQueryResultLocation.h.
| std::int32_t TgBot::InlineQueryResultLocation::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 62 of file InlineQueryResultLocation.h.
| float TgBot::InlineQueryResultLocation::horizontalAccuracy | 
Optional. The radius of uncertainty for the location, measured in meters; 0-1500.
Definition at line 50 of file InlineQueryResultLocation.h.
| InputMessageContent::Ptr TgBot::InlineQueryResultLocation::inputMessageContent | 
Optional. Content of the message to be sent instead of the location.
Definition at line 74 of file InlineQueryResultLocation.h.
| float TgBot::InlineQueryResultLocation::latitude | 
Location latitude in degrees.
Definition at line 35 of file InlineQueryResultLocation.h.
| std::int32_t TgBot::InlineQueryResultLocation::livePeriod | 
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
Definition at line 55 of file InlineQueryResultLocation.h.
| float TgBot::InlineQueryResultLocation::longitude | 
Location longitude in degrees.
Definition at line 40 of file InlineQueryResultLocation.h.
| std::int32_t TgBot::InlineQueryResultLocation::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 69 of file InlineQueryResultLocation.h.
| std::int32_t TgBot::InlineQueryResultLocation::thumbnailHeight | 
Optional. Thumbnail height.
Definition at line 89 of file InlineQueryResultLocation.h.
| std::string TgBot::InlineQueryResultLocation::thumbnailUrl | 
Optional. Url of the thumbnail for the result.
Definition at line 79 of file InlineQueryResultLocation.h.
| std::int32_t TgBot::InlineQueryResultLocation::thumbnailWidth | 
Optional. Thumbnail width.
Definition at line 84 of file InlineQueryResultLocation.h.
| std::string TgBot::InlineQueryResultLocation::title | 
Location title.
Definition at line 45 of file InlineQueryResultLocation.h.
| 
 | static | 
Definition at line 24 of file InlineQueryResultLocation.h.