|
tgbot-cpp
|
A block with a map, corresponding to the custom HTML tag <tg-map>. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<InputRichBlockMap> |
Public Attributes | |
| std::string | type { TYPE } |
| Type of the block, always “map” | |
| std::shared_ptr< Location > | location { } |
| Location of the center of the map. | |
| std::int32_t | zoom { } |
| Map zoom level; 0-24. | |
| std::int32_t | width { } |
| Map width; 0-10000. | |
| std::int32_t | height { } |
| Map height; 0-10000. | |
| std::shared_ptr< RichBlockCaption > | caption { } |
| Optional. Caption of the block. | |
Static Public Attributes | |
| static TGBOT_API const std::string | TYPE |
A block with a map, corresponding to the custom HTML tag <tg-map>. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20.
| using TgBot::InputRichBlockMap::Ptr = std::shared_ptr<InputRichBlockMap> |
| std::shared_ptr<RichBlockCaption> TgBot::InputRichBlockMap::caption { } |
| std::int32_t TgBot::InputRichBlockMap::height { } |
| std::shared_ptr<Location> TgBot::InputRichBlockMap::location { } |
|
static |
| std::string TgBot::InputRichBlockMap::type { TYPE } |
| std::int32_t TgBot::InputRichBlockMap::width { } |
| std::int32_t TgBot::InputRichBlockMap::zoom { } |