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

#include <MessageEntity.h>

+ + + + +

+Public Types

typedef std::shared_ptr< MessageEntityPtr
 
+ + + + + + + + + + + +

+Public Attributes

std::string type
 
int32_t offset
 
int32_t length
 
std::string url
 
User::Ptr user
 
+

Detailed Description

+

This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.

+ +

Definition at line 18 of file MessageEntity.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 20 of file MessageEntity.h.

+ +
+
+

Member Data Documentation

+ +

◆ length

+ +
+
+ + + + +
int32_t TgBot::MessageEntity::length
+
+

Length of the entity in UTF-16 code units

+ +

Definition at line 35 of file MessageEntity.h.

+ +
+
+ +

◆ offset

+ +
+
+ + + + +
int32_t TgBot::MessageEntity::offset
+
+

Offset in UTF-16 code units to the start of the entity.

+ +

Definition at line 30 of file MessageEntity.h.

+ +
+
+ +

◆ type

+ +
+
+ + + + +
std::string TgBot::MessageEntity::type
+
+

Type of the entity. One of mention (), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs).

+ +

Definition at line 25 of file MessageEntity.h.

+ +
+
+ +

◆ url

+ +
+
+ + + + +
std::string TgBot::MessageEntity::url
+
+

Optional. For “text_link” only, url that will be opened after user taps on the text

+ +

Definition at line 40 of file MessageEntity.h.

+ +
+
+ +

◆ user

+ +
+
+ + + + +
User::Ptr TgBot::MessageEntity::user
+
+

Optional. For “text_mention” only, the mentioned user

+ +

Definition at line 45 of file MessageEntity.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/dd/d7e/class_tg_bot_1_1_message_entity.js b/docs/dd/d7e/class_tg_bot_1_1_message_entity.js new file mode 100644 index 0000000..eb35d50 --- /dev/null +++ b/docs/dd/d7e/class_tg_bot_1_1_message_entity.js @@ -0,0 +1,9 @@ +var class_tg_bot_1_1_message_entity = +[ + [ "Ptr", "dd/d7e/class_tg_bot_1_1_message_entity.html#a6710ffdbafba909633df7bcd8c488da0", null ], + [ "length", "dd/d7e/class_tg_bot_1_1_message_entity.html#a3f41be5fd732173bd84093df20a58e38", null ], + [ "offset", "dd/d7e/class_tg_bot_1_1_message_entity.html#aad8da7260ae4360536a0a461e6c5b628", null ], + [ "type", "dd/d7e/class_tg_bot_1_1_message_entity.html#adec4d61f5859cb0384e84dbe18988d78", null ], + [ "url", "dd/d7e/class_tg_bot_1_1_message_entity.html#a2cf6b38ee3116a4589d5f8263e53c51f", null ], + [ "user", "dd/d7e/class_tg_bot_1_1_message_entity.html#affef16e94f7f3382260b85c66726bc48", null ] +]; \ No newline at end of file -- cgit v1.2.3