tgbot-cpp
CallbackQuery.h
Go to the documentation of this file.
1
//
2
// Created by Andrea Giove on 17/04/16.
3
//
4
5
#ifndef TGBOT_CALLBACKQUERY_H
6
#define TGBOT_CALLBACKQUERY_H
7
8
#include <memory>
9
#include <string>
10
11
#include "
tgbot/types/User.h
"
12
#include "
tgbot/types/Message.h
"
13
14
namespace
TgBot
{
15
20
class
CallbackQuery
{
21
public
:
22
typedef
std::shared_ptr<CallbackQuery>
Ptr
;
23
27
std::string
id
;
28
32
User::Ptr
from
;
33
37
Message::Ptr
message
;
38
42
std::string
inlineMessageId
;
43
47
std::string
chatInstance
;
48
52
std::string
data
;
53
54
/*
55
* Optional. Short name of a Game to be returned, serves as the unique identifier for the game
56
*/
57
std::string
gameShortName
;
58
};
59
}
60
61
#endif //TGBOT_CALLBACKQUERY_H
TgBot::CallbackQuery::Ptr
std::shared_ptr< CallbackQuery > Ptr
Definition:
CallbackQuery.h:22
TgBot
Definition:
Api.h:44
TgBot::CallbackQuery::from
User::Ptr from
Definition:
CallbackQuery.h:32
TgBot::Message::Ptr
std::shared_ptr< Message > Ptr
Definition:
Message.h:52
TgBot::CallbackQuery::data
std::string data
Definition:
CallbackQuery.h:52
TgBot::CallbackQuery::message
Message::Ptr message
Definition:
CallbackQuery.h:37
TgBot::CallbackQuery::gameShortName
std::string gameShortName
Definition:
CallbackQuery.h:57
TgBot::CallbackQuery::chatInstance
std::string chatInstance
Definition:
CallbackQuery.h:47
TgBot::CallbackQuery::id
std::string id
Definition:
CallbackQuery.h:27
User.h
TgBot::CallbackQuery
Definition:
CallbackQuery.h:20
TgBot::CallbackQuery::inlineMessageId
std::string inlineMessageId
Definition:
CallbackQuery.h:42
TgBot::User::Ptr
std::shared_ptr< User > Ptr
Definition:
User.h:38
Message.h
include
tgbot
types
CallbackQuery.h
Generated on Sun Jan 15 2017 02:46:16 for tgbot-cpp by
1.8.13