|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Base class for types of clickable areas on a story https://core.telegram.org/bots/api#storyareatype. More...
#include <StoryAreaType.hpp>
Public Member Functions | |
| StoryAreaType ()=default | |
| StoryAreaType (const nl::json &json) | |
| virtual | ~StoryAreaType ()=default |
| virtual nl::json | toJson () const |
| virtual void | fromJson (const nl::json &json) |
Public Attributes | |
| std::string | type |
| Type of the area. | |
Base class for types of clickable areas on a story https://core.telegram.org/bots/api#storyareatype.
Definition at line 11 of file StoryAreaType.hpp.
|
default |
|
inlineexplicit |
Definition at line 13 of file StoryAreaType.hpp.
|
virtualdefault |
Reimplemented in tgbotxx::StoryAreaTypeLocation, tgbotxx::StoryAreaTypeSuggestedReaction, tgbotxx::StoryAreaTypeLink, tgbotxx::StoryAreaTypeWeather, and tgbotxx::StoryAreaTypeUniqueGift.
Definition at line 27 of file StoryAreaType.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::StoryAreaTypeLocation, tgbotxx::StoryAreaTypeSuggestedReaction, tgbotxx::StoryAreaTypeLink, tgbotxx::StoryAreaTypeWeather, and tgbotxx::StoryAreaTypeUniqueGift.
Definition at line 21 of file StoryAreaType.hpp.
| std::string tgbotxx::StoryAreaType::type |
Type of the area.
Definition at line 19 of file StoryAreaType.hpp.