|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Represents the content of a location message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputlocationmessagecontent. More...
#include <InputMessageContent.hpp>
Public Member Functions | |
| InputLocationMessageContent () | |
| InputLocationMessageContent (const nl::json &json) | |
| nl::json | toJson () const override |
| void | fromJson (const nl::json &json) override |
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 | 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. | |
Represents the content of a location message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputlocationmessagecontent.
Definition at line 86 of file InputMessageContent.hpp.
|
inline |
Definition at line 87 of file InputMessageContent.hpp.
|
inlineexplicit |
Definition at line 90 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 120 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 110 of file InputMessageContent.hpp.
| std::int32_t tgbotxx::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 104 of file InputMessageContent.hpp.
| float tgbotxx::InputLocationMessageContent::horizontalAccuracy {} |
Optional. The radius of uncertainty for the location, measured in meters; 0-1500.
Definition at line 101 of file InputMessageContent.hpp.
| float tgbotxx::InputLocationMessageContent::latitude {} |
Latitude of the location in degrees.
Definition at line 95 of file InputMessageContent.hpp.
| float tgbotxx::InputLocationMessageContent::longitude {} |
Longitude of the location in degrees.
Definition at line 98 of file InputMessageContent.hpp.
| std::int32_t tgbotxx::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 107 of file InputMessageContent.hpp.