tgbotxx  1.1.6.9
Telegram Bot C++ Library
Story.hpp
Go to the documentation of this file.
1 #pragma once
3 
4 namespace tgbotxx {
8  struct Story {
9  Story() = default;
10  explicit Story(const nl::json& json) {
11  fromJson(json);
12  }
13 
16  nl::json toJson() const {
17  nl::json json = nl::json::object();
18  return json;
19  }
20 
22  void fromJson([[maybe_unused]] const nl::json& json) {
23  }
24  };
25 }
Definition: Api.hpp:14
This object represents a message about a forwarded story in the chat. Currently holds no information....
Definition: Story.hpp:8
Story()=default
Story(const nl::json &json)
Definition: Story.hpp:10
void fromJson([[maybe_unused]] const nl::json &json)
Deserializes this object from JSON.
Definition: Story.hpp:22
nl::json toJson() const
Serializes this object to JSON.
Definition: Story.hpp:16