Arguments for Api::editMessageLiveLocation.
More...
#include <Types.h>
|
| double | latitude { } |
| | Latitude of new location.
|
| double | longitude { } |
| | Longitude of new location.
|
| std::variant< std::int64_t, std::string > | chatId = { } |
| | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.
|
| std::int32_t | messageId = 0 |
| | Required if inline_message_id is not specified. Identifier of the message to edit.
|
| std::string | inlineMessageId = "" |
| | Required if chat_id and message_id are not specified. Identifier of the inline message.
|
| std::shared_ptr< InlineKeyboardMarkup > | replyMarkup = nullptr |
| | A JSON-serialized object for a new inline keyboard.
|
| double | horizontalAccuracy = 0 |
| | The radius of uncertainty for the location, measured in meters; 0-1500.
|
| std::int32_t | heading = 0 |
| | Direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
|
| std::int32_t | proximityAlertRadius = 0 |
| | The maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
|
| std::string | businessConnectionId = "" |
| | Unique identifier of the business connection on behalf of which the message to be edited was sent.
|
| std::int32_t | livePeriod = 0 |
| | New period in seconds during which the location can be updated, starting from the message send date. If 0x7FFFFFFF is specified, then the location can be updated forever. Otherwise, the new value must not exceed the current live_period by more than a day, and the live location expiration date must remain within the next 90 days. If not specified, then live_period remains unchanged.
|
Arguments for Api::editMessageLiveLocation.
Definition at line 15845 of file Types.h.
◆ businessConnectionId
| std::string TgBot::EditMessageLiveLocationArgs::businessConnectionId = "" |
Unique identifier of the business connection on behalf of which the message to be edited was sent.
Definition at line 15901 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::EditMessageLiveLocationArgs::chatId = { } |
Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.
Definition at line 15861 of file Types.h.
◆ heading
| std::int32_t TgBot::EditMessageLiveLocationArgs::heading = 0 |
Direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
Definition at line 15889 of file Types.h.
◆ horizontalAccuracy
| double TgBot::EditMessageLiveLocationArgs::horizontalAccuracy = 0 |
The radius of uncertainty for the location, measured in meters; 0-1500.
Definition at line 15883 of file Types.h.
◆ inlineMessageId
| std::string TgBot::EditMessageLiveLocationArgs::inlineMessageId = "" |
Required if chat_id and message_id are not specified. Identifier of the inline message.
Definition at line 15873 of file Types.h.
◆ latitude
| double TgBot::EditMessageLiveLocationArgs::latitude { } |
Latitude of new location.
Definition at line 15849 of file Types.h.
◆ livePeriod
| std::int32_t TgBot::EditMessageLiveLocationArgs::livePeriod = 0 |
New period in seconds during which the location can be updated, starting from the message send date. If 0x7FFFFFFF is specified, then the location can be updated forever. Otherwise, the new value must not exceed the current live_period by more than a day, and the live location expiration date must remain within the next 90 days. If not specified, then live_period remains unchanged.
Definition at line 15911 of file Types.h.
◆ longitude
| double TgBot::EditMessageLiveLocationArgs::longitude { } |
Longitude of new location.
Definition at line 15854 of file Types.h.
◆ messageId
| std::int32_t TgBot::EditMessageLiveLocationArgs::messageId = 0 |
Required if inline_message_id is not specified. Identifier of the message to edit.
Definition at line 15867 of file Types.h.
◆ proximityAlertRadius
| std::int32_t TgBot::EditMessageLiveLocationArgs::proximityAlertRadius = 0 |
The maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
Definition at line 15895 of file Types.h.
◆ replyMarkup
A JSON-serialized object for a new inline keyboard.
Definition at line 15878 of file Types.h.
The documentation for this struct was generated from the following file: