tgbotxx  1.1.6.9
Telegram Bot C++ Library
ForumTopicClosed.hpp
Go to the documentation of this file.
1 #pragma once
3 
4 namespace tgbotxx {
8  struct ForumTopicClosed {
9  ForumTopicClosed() = default;
10  explicit ForumTopicClosed(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 service message about a forum topic closed in the chat. Currently holds no i...
ForumTopicClosed(const nl::json &json)
void fromJson([[maybe_unused]] const nl::json &json)
Deserializes this object from JSON.
nl::json toJson() const
Serializes this object to JSON.