From d03eda27cdbe75470068d7513ecf510d8d342cf5 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:46:48 +0300 Subject: Docs --- docs/class_tg_bot_1_1_callback_query.html | 270 ++++++++++++++++++++++++++++++ 1 file changed, 270 insertions(+) create mode 100644 docs/class_tg_bot_1_1_callback_query.html (limited to 'docs/class_tg_bot_1_1_callback_query.html') diff --git a/docs/class_tg_bot_1_1_callback_query.html b/docs/class_tg_bot_1_1_callback_query.html new file mode 100644 index 0000000..202d048 --- /dev/null +++ b/docs/class_tg_bot_1_1_callback_query.html @@ -0,0 +1,270 @@ + + + + + + + +tgbot-cpp: TgBot::CallbackQuery Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::CallbackQuery Class Reference
+
+
+ +

#include <CallbackQuery.h>

+ + + + +

+Public Types

typedef std::shared_ptr< CallbackQueryPtr
 
+ + + + + + + + + + + + + + + +

+Public Attributes

std::string id
 
User::Ptr from
 
Message::Ptr message
 
std::string inlineMessageId
 
std::string chatInstance
 
std::string data
 
std::string gameShortName
 
+

Detailed Description

+

This object represents an incoming callback query from a callback button in an inline keyboard.

+ +

Definition at line 20 of file CallbackQuery.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ + + + +
typedef std::shared_ptr<CallbackQuery> TgBot::CallbackQuery::Ptr
+
+ +

Definition at line 22 of file CallbackQuery.h.

+ +
+
+

Member Data Documentation

+ +

◆ chatInstance

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::chatInstance
+
+

Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.

+ +

Definition at line 47 of file CallbackQuery.h.

+ +
+
+ +

◆ data

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::data
+
+

Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.

+ +

Definition at line 52 of file CallbackQuery.h.

+ +
+
+ +

◆ from

+ +
+
+ + + + +
User::Ptr TgBot::CallbackQuery::from
+
+

Sender.

+ +

Definition at line 32 of file CallbackQuery.h.

+ +
+
+ +

◆ gameShortName

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::gameShortName
+
+ +

Definition at line 57 of file CallbackQuery.h.

+ +
+
+ +

◆ id

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::id
+
+

Unique identifier for this query.

+ +

Definition at line 27 of file CallbackQuery.h.

+ +
+
+ +

◆ inlineMessageId

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::inlineMessageId
+
+

Optional. Identifier of the message sent via the bot in inline mode, that originated the query.

+ +

Definition at line 42 of file CallbackQuery.h.

+ +
+
+ +

◆ message

+ +
+
+ + + + +
Message::Ptr TgBot::CallbackQuery::message
+
+

Optional. Message with the callback button that originated the query. Note that message content and message date will not be available if the message is too old.

+ +

Definition at line 37 of file CallbackQuery.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.3