tgbotxx 1.1.6.9
Telegram Bot C++ Library
Loading...
Searching...
No Matches
CallbackGame.hpp
Go to the documentation of this file.
1#pragma once
3
4namespace 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}
A placeholder, currently holds no information.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
CallbackGame(const nl::json &json)
nl::json toJson() const
Serializes this object to JSON.