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
2
#include <
tgbotxx/objects/Object.hpp
>
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
}
Object.hpp
tgbotxx
Definition
Api.hpp:14
tgbotxx::CallbackGame
A placeholder, currently holds no information.
Definition
CallbackGame.hpp:8
tgbotxx::CallbackGame::CallbackGame
CallbackGame()=default
tgbotxx::CallbackGame::fromJson
void fromJson(const nl::json &json)
Deserializes this object from JSON.
Definition
CallbackGame.hpp:23
tgbotxx::CallbackGame::CallbackGame
CallbackGame(const nl::json &json)
Definition
CallbackGame.hpp:10
tgbotxx::CallbackGame::toJson
nl::json toJson() const
Serializes this object to JSON.
Definition
CallbackGame.hpp:17
include
tgbotxx
objects
CallbackGame.hpp
Generated on Sat Feb 1 2025 21:23:34 for tgbotxx by
1.9.8