From 3e5a28fa0a1ba2d461271f22399476c241bcffe3 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 22 Jun 2018 22:15:42 +0900 Subject: Regenerate docs --- docs/class_tg_bot_1_1_keyboard_button.html | 224 +++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 docs/class_tg_bot_1_1_keyboard_button.html (limited to 'docs/class_tg_bot_1_1_keyboard_button.html') diff --git a/docs/class_tg_bot_1_1_keyboard_button.html b/docs/class_tg_bot_1_1_keyboard_button.html new file mode 100644 index 0000000..4326df2 --- /dev/null +++ b/docs/class_tg_bot_1_1_keyboard_button.html @@ -0,0 +1,224 @@ + + + + + + +tgbot-cpp: TgBot::KeyboardButton Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::KeyboardButton Class Reference
+
+
+ +

This object represents one button of the reply keyboard. + More...

+ +

#include <KeyboardButton.h>

+ + + + +

+Public Types

typedef std::shared_ptr< KeyboardButtonPtr
 
+ + + + + + + + + + +

+Public Attributes

std::string text
 Text of the button. If none of the optional fields are used, it will be sent to the bot as a message when the button is pressed. More...
 
bool requestContact = false
 Optional. If True, the user's phone number will be sent as a contact when the button is pressed. Available in private chats only. More...
 
bool requestLocation = false
 Optional. If True, the user's current location will be sent when the button is pressed. Available in private chats only. More...
 
+

Detailed Description

+

This object represents one button of the reply keyboard.

+

For simple text buttons String can be used instead of this object to specify text of the button. Optional fields are mutually exclusive.

+ +

Definition at line 21 of file KeyboardButton.h.

+

Member Typedef Documentation

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

Definition at line 24 of file KeyboardButton.h.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
bool TgBot::KeyboardButton::requestContact = false
+
+ +

Optional. If True, the user's phone number will be sent as a contact when the button is pressed. Available in private chats only.

+ +

Definition at line 36 of file KeyboardButton.h.

+ +
+
+ +
+
+ + + + +
bool TgBot::KeyboardButton::requestLocation = false
+
+ +

Optional. If True, the user's current location will be sent when the button is pressed. Available in private chats only.

+ +

Definition at line 41 of file KeyboardButton.h.

+ +
+
+ +
+
+ + + + +
std::string TgBot::KeyboardButton::text
+
+ +

Text of the button. If none of the optional fields are used, it will be sent to the bot as a message when the button is pressed.

+ +

Definition at line 30 of file KeyboardButton.h.

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