From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- .../class_tg_bot_1_1_inline_keyboard_button.html | 233 +++++++++++++++++++++ .../d70/class_tg_bot_1_1_inline_keyboard_button.js | 9 + 2 files changed, 242 insertions(+) create mode 100644 docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.html create mode 100644 docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.js (limited to 'docs/d2/d70') diff --git a/docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.html b/docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.html new file mode 100644 index 0000000..718abe1 --- /dev/null +++ b/docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.html @@ -0,0 +1,233 @@ + + + + + + + +tgbot-cpp: TgBot::InlineKeyboardButton Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineKeyboardButton Class Reference
+
+
+ +

#include <InlineKeyboardButton.h>

+ + + + +

+Public Types

typedef std::shared_ptr< InlineKeyboardButtonPtr
 
+ + + + + + + + + + + +

+Public Attributes

std::string text
 
std::string url
 
std::string callbackData
 
std::string switchInlineQuery
 
std::string switchInlineQueryCurrentChat
 
+

Detailed Description

+

This object represents one button of an inline keyboard. You must use exactly one of the optional fields.

+ +

Definition at line 17 of file InlineKeyboardButton.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 19 of file InlineKeyboardButton.h.

+ +
+
+

Member Data Documentation

+ +

◆ callbackData

+ +
+
+ + + + +
std::string TgBot::InlineKeyboardButton::callbackData
+
+

Optional. Data to be sent in a callback query to the bot when button is pressed.

+ +

Definition at line 34 of file InlineKeyboardButton.h.

+ +
+
+ +

◆ switchInlineQuery

+ +
+
+ + + + +
std::string TgBot::InlineKeyboardButton::switchInlineQuery
+
+

Optional. If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query in the input field. Can be empty, in which case just the bot’s username will be inserted.

+ +

Definition at line 39 of file InlineKeyboardButton.h.

+ +
+
+ +

◆ switchInlineQueryCurrentChat

+ +
+
+ + + + +
std::string TgBot::InlineKeyboardButton::switchInlineQueryCurrentChat
+
+

Optional. If set, pressing the button will insert the bot‘s username and the specified inline query in the current chat's input field. Can be empty, in which case only the bot’s username will be inserted.

+ +

Definition at line 44 of file InlineKeyboardButton.h.

+ +
+
+ +

◆ text

+ +
+
+ + + + +
std::string TgBot::InlineKeyboardButton::text
+
+

Label text on the button

+ +

Definition at line 24 of file InlineKeyboardButton.h.

+ +
+
+ +

◆ url

+ +
+
+ + + + +
std::string TgBot::InlineKeyboardButton::url
+
+

Optional. HTTP url to be opened when button is pressed.

+ +

Definition at line 29 of file InlineKeyboardButton.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.js b/docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.js new file mode 100644 index 0000000..c6db050 --- /dev/null +++ b/docs/d2/d70/class_tg_bot_1_1_inline_keyboard_button.js @@ -0,0 +1,9 @@ +var class_tg_bot_1_1_inline_keyboard_button = +[ + [ "Ptr", "d2/d70/class_tg_bot_1_1_inline_keyboard_button.html#a27b82f178b242b6417377daae1f09983", null ], + [ "callbackData", "d2/d70/class_tg_bot_1_1_inline_keyboard_button.html#a25716bdfc7a0719f1c17702a8d6a8aa4", null ], + [ "switchInlineQuery", "d2/d70/class_tg_bot_1_1_inline_keyboard_button.html#ac04cb38b85aa31568e0acbb54202c274", null ], + [ "switchInlineQueryCurrentChat", "d2/d70/class_tg_bot_1_1_inline_keyboard_button.html#a12c3bfab730b6ec9f0d8ef39957bf406", null ], + [ "text", "d2/d70/class_tg_bot_1_1_inline_keyboard_button.html#aa96c745e6d2c531bc50bf344ff0fee6f", null ], + [ "url", "d2/d70/class_tg_bot_1_1_inline_keyboard_button.html#ab9b5e02f10e2cd937a3d3794d26e6bf3", null ] +]; \ No newline at end of file -- cgit v1.2.3