This object represents a message about a forwarded story in the chat. Currently holds no information. https://core.telegram.org/bots/api#story.
More...
#include <Story.hpp>
|
| Story ()=default |
|
| Story (const nl::json &json) |
|
nl::json | toJson () const |
| Serializes this object to JSON. More...
|
|
void | fromJson ([[maybe_unused]] const nl::json &json) |
| Deserializes this object from JSON. More...
|
|
This object represents a message about a forwarded story in the chat. Currently holds no information. https://core.telegram.org/bots/api#story.
Definition at line 8 of file Story.hpp.
◆ Story() [1/2]
tgbotxx::Story::Story |
( |
| ) |
|
|
default |
◆ Story() [2/2]
tgbotxx::Story::Story |
( |
const nl::json & |
json | ) |
|
|
inlineexplicit |
◆ fromJson()
void tgbotxx::Story::fromJson |
( |
[[maybe_unused] ] const nl::json & |
json | ) |
|
|
inline |
Deserializes this object from JSON.
Definition at line 22 of file Story.hpp.
◆ toJson()
nl::json tgbotxx::Story::toJson |
( |
| ) |
const |
|
inline |
Serializes this object to JSON.
- Returns
- JSON representation of this object
Definition at line 16 of file Story.hpp.
The documentation for this struct was generated from the following file: