#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| string | text_ |
| | The text.
|
| |
| array< object_ptr< textEntity > > | entities_ |
| | Entities contained in the text. Entities can be nested, but must not mutually intersect with each other. Pre, Code, PreCode, and DateTime entities can't contain other entities. BlockQuote entities can't contain other BlockQuote entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other.
|
| |
|
| static const std::int32_t | ID = -252624564 |
| | Identifier uniquely determining a type of the object.
|
| |
A text with some entities.
Definition at line 21773 of file td_api.h.
◆ formattedText() [1/2]
| td::td_api::formattedText::formattedText |
( |
| ) |
|
A text with some entities.
◆ formattedText() [2/2]
A text with some entities.
- Parameters
-
| [in] | text_ | The text. |
| [in] | entities_ | Entities contained in the text. Entities can be nested, but must not mutually intersect with each other. Pre, Code, PreCode, and DateTime entities can't contain other entities. BlockQuote entities can't contain other BlockQuote entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other. |
◆ store()
| void td::td_api::formattedText::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ entities_
Entities contained in the text. Entities can be nested, but must not mutually intersect with each other. Pre, Code, PreCode, and DateTime entities can't contain other entities. BlockQuote entities can't contain other BlockQuote entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other.
Definition at line 21786 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::formattedText::ID = -252624564 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 21802 of file td_api.h.
◆ text_
| string td::td_api::formattedText::text_ |
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h