From c8d40dccabaaa406faed6c0797a92bac811c9d0f Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 5 Jun 2018 19:07:27 +0300 Subject: Update docs --- docs/class_tg_bot_1_1_message_entity.html | 35 +++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 11 deletions(-) (limited to 'docs/class_tg_bot_1_1_message_entity.html') diff --git a/docs/class_tg_bot_1_1_message_entity.html b/docs/class_tg_bot_1_1_message_entity.html index a614ee9..5f5f6b0 100644 --- a/docs/class_tg_bot_1_1_message_entity.html +++ b/docs/class_tg_bot_1_1_message_entity.html @@ -88,6 +88,9 @@ $(document).ready(function(){initNavTree('class_tg_bot_1_1_message_entity.html',
+

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

+

#include <MessageEntity.h>

+ + + + +

@@ -98,20 +101,25 @@ Public Types

Public Attributes

std::string 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). More...
 
int32_t offset
 Offset in UTF-16 code units to the start of the entity. More...
 
int32_t length
 Length of the entity in UTF-16 code units. More...
 
std::string url
 Optional. For “text_link” only, url that will be opened after user taps on the text. More...
 
User::Ptr user
 Optional. For “text_mention” only, the mentioned user. More...
 

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.

+

Definition at line 19 of file MessageEntity.h.

Member Typedef Documentation

◆ Ptr

@@ -125,7 +133,7 @@ Public Attributes
-

Definition at line 20 of file MessageEntity.h.

+

Definition at line 21 of file MessageEntity.h.

@@ -141,9 +149,10 @@ Public Attributes
-

Length of the entity in UTF-16 code units

-

Definition at line 35 of file MessageEntity.h.

+

Length of the entity in UTF-16 code units.

+ +

Definition at line 36 of file MessageEntity.h.

@@ -158,9 +167,10 @@ Public Attributes
+

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

-

Definition at line 30 of file MessageEntity.h.

+

Definition at line 31 of file MessageEntity.h.

@@ -175,9 +185,10 @@ Public Attributes
+

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.

+

Definition at line 26 of file MessageEntity.h.

@@ -192,9 +203,10 @@ Public Attributes
-

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

-

Definition at line 40 of file MessageEntity.h.

+

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

+ +

Definition at line 41 of file MessageEntity.h.

@@ -209,9 +221,10 @@ Public Attributes
-

Optional. For “text_mention” only, the mentioned user

-

Definition at line 45 of file MessageEntity.h.

+

Optional. For “text_mention” only, the mentioned user.

+ +

Definition at line 46 of file MessageEntity.h.

@@ -224,7 +237,7 @@ Public Attributes