tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputMediaLocation Struct Reference

Represents a location to be sent. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputMediaLocation>

Public Attributes

std::string type { TYPE }
 Type of the media, must be location.
double latitude { }
 Latitude of the location.
double longitude { }
 Longitude of the location.
std::optional< double > horizontalAccuracy { }
 Optional. The radius of uncertainty for the location, measured in meters; 0-1500.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

Represents a location to be sent.

Definition at line 6606 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6607 of file Types.h.

Member Data Documentation

◆ horizontalAccuracy

std::optional<double> TgBot::InputMediaLocation::horizontalAccuracy { }

Optional. The radius of uncertainty for the location, measured in meters; 0-1500.

Definition at line 6629 of file Types.h.

◆ latitude

double TgBot::InputMediaLocation::latitude { }

Latitude of the location.

Definition at line 6619 of file Types.h.

◆ longitude

double TgBot::InputMediaLocation::longitude { }

Longitude of the location.

Definition at line 6624 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::InputMediaLocation::TYPE
static

Definition at line 6609 of file Types.h.

◆ type

std::string TgBot::InputMediaLocation::type { TYPE }

Type of the media, must be location.

Definition at line 6614 of file Types.h.


The documentation for this struct was generated from the following file: