|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a clickable area on a story media https://core.telegram.org/bots/api#storyarea. More...
#include <StoryArea.hpp>
Public Member Functions | |
| StoryArea ()=default | |
| StoryArea (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| Ptr< StoryAreaPosition > | position |
| Position of the area. | |
| Ptr< StoryAreaType > | type |
| Type of the area. | |
Describes a clickable area on a story media https://core.telegram.org/bots/api#storyarea.
Definition at line 10 of file StoryArea.hpp.
|
default |
|
inlineexplicit |
Definition at line 12 of file StoryArea.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 32 of file StoryArea.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 24 of file StoryArea.hpp.
| Ptr<StoryAreaPosition> tgbotxx::StoryArea::position |
Position of the area.
Definition at line 17 of file StoryArea.hpp.
| Ptr<StoryAreaType> tgbotxx::StoryArea::type |
Type of the area.
Definition at line 20 of file StoryArea.hpp.