tgbotxx  1.1.6.9
Telegram Bot C++ Library
CallbackGame.hpp
Go to the documentation of this file.
1 #pragma once
3 
4 namespace tgbotxx {
8  struct CallbackGame {
9  CallbackGame() = default;
10  explicit CallbackGame(const nl::json& json) {
11  fromJson(json);
12  }
13 
14 
17  nl::json toJson() const {
18  nl::json json = nl::json::object();
19  return json;
20  }
21 
23  void fromJson([[maybe_unused]] const nl::json& json) {
24  }
25  };
26 }
Definition: Api.hpp:14
A placeholder, currently holds no information.
Definition: CallbackGame.hpp:8
CallbackGame(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.