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_event_handler-members.html | 102 +++++++++ .../class_tg_bot_1_1_reply_keyboard_markup.html | 232 +++++++++++++++++++++ .../d80/class_tg_bot_1_1_reply_keyboard_markup.js | 8 + .../d80/class_tg_bot_1_1_reply_keyboard_markup.png | Bin 0 -> 777 bytes 4 files changed, 342 insertions(+) create mode 100644 docs/d2/d80/class_tg_bot_1_1_event_handler-members.html create mode 100644 docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html create mode 100644 docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.js create mode 100644 docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.png (limited to 'docs/d2/d80') diff --git a/docs/d2/d80/class_tg_bot_1_1_event_handler-members.html b/docs/d2/d80/class_tg_bot_1_1_event_handler-members.html new file mode 100644 index 0000000..5b67781 --- /dev/null +++ b/docs/d2/d80/class_tg_bot_1_1_event_handler-members.html @@ -0,0 +1,102 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::EventHandler Member List
+
+
+ +

This is the complete list of members for TgBot::EventHandler, including all inherited members.

+ + + +
EventHandler(const EventBroadcaster *broadcaster)TgBot::EventHandlerinlineexplicit
handleUpdate(const Update::Ptr &update) constTgBot::EventHandlerinline
+
+ + + + diff --git a/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html b/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html new file mode 100644 index 0000000..72bdfbf --- /dev/null +++ b/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html @@ -0,0 +1,232 @@ + + + + + + + +tgbot-cpp: TgBot::ReplyKeyboardMarkup Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::ReplyKeyboardMarkup Class Reference
+
+
+ +

#include <ReplyKeyboardMarkup.h>

+
+Inheritance diagram for TgBot::ReplyKeyboardMarkup:
+
+
+ + +TgBot::GenericReply + +
+ + + + + + + +

+Public Types

typedef std::shared_ptr< ReplyKeyboardMarkupPtr
 
- Public Types inherited from TgBot::GenericReply
typedef std::shared_ptr< GenericReplyPtr
 
+ + + + + + + + + +

+Public Attributes

std::vector< std::vector< KeyboardButton::Ptr > > keyboard
 
bool resizeKeyboard = false
 
bool oneTimeKeyboard = false
 
bool selective = false
 
+ + + + +

+Additional Inherited Members

- Public Member Functions inherited from TgBot::GenericReply
virtual ~GenericReply ()
 
+

Detailed Description

+

This object represents a custom keyboard with reply options.

+ +

Definition at line 39 of file ReplyKeyboardMarkup.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 42 of file ReplyKeyboardMarkup.h.

+ +
+
+

Member Data Documentation

+ +

◆ keyboard

+ +
+
+ + + + +
std::vector<std::vector<KeyboardButton::Ptr> > TgBot::ReplyKeyboardMarkup::keyboard
+
+

Array of button rows, each represented by an Array of KeyboardButton.

+ +

Definition at line 47 of file ReplyKeyboardMarkup.h.

+ +
+
+ +

◆ oneTimeKeyboard

+ +
+
+ + + + +
bool TgBot::ReplyKeyboardMarkup::oneTimeKeyboard = false
+
+

Optional. Requests clients to hide the keyboard as soon as it's been used. Defaults to false.

+ +

Definition at line 57 of file ReplyKeyboardMarkup.h.

+ +
+
+ +

◆ resizeKeyboard

+ +
+
+ + + + +
bool TgBot::ReplyKeyboardMarkup::resizeKeyboard = false
+
+

Optional. Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the same height as the app's standard keyboard.

+ +

Definition at line 52 of file ReplyKeyboardMarkup.h.

+ +
+
+ +

◆ selective

+ +
+
+ + + + +
bool TgBot::ReplyKeyboardMarkup::selective = false
+
+

Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. Example: A user requests to change the bot‘s language, bot replies to the request with a keyboard to select the new language. Other users in the group don’t see the keyboard.

+ +

Definition at line 63 of file ReplyKeyboardMarkup.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.js b/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.js new file mode 100644 index 0000000..7bae361 --- /dev/null +++ b/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.js @@ -0,0 +1,8 @@ +var class_tg_bot_1_1_reply_keyboard_markup = +[ + [ "Ptr", "d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html#af19f8402b914b603ab41305dee55f44a", null ], + [ "keyboard", "d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html#a87d9dc41554e585b137b922fa20fd020", null ], + [ "oneTimeKeyboard", "d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html#a12205ba27bf676459507684be019799e", null ], + [ "resizeKeyboard", "d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html#aafed175ccf3c58fe7c3a15a2300a1ff3", null ], + [ "selective", "d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html#ac7cf30c8d98f72b81ad30f48d0789d65", null ] +]; \ No newline at end of file diff --git a/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.png b/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.png new file mode 100644 index 0000000..693f9f6 Binary files /dev/null and b/docs/d2/d80/class_tg_bot_1_1_reply_keyboard_markup.png differ -- cgit v1.2.3