#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| object_ptr< formattedText > | text_ |
| | Formatted text to be sent; 0-getOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl, MentionName, and DateTime entities are allowed to be specified manually.
|
| |
| object_ptr< linkPreviewOptions > | link_preview_options_ |
| | Options to be used for generation of a link preview; may be null if none; pass null to use default link preview options.
|
| |
| bool | clear_draft_ |
| | True, if the chat message draft must be deleted.
|
| |
|
| static const std::int32_t | ID = -212805484 |
| | Identifier uniquely determining a type of the object.
|
| |
A text message.
Definition at line 28980 of file td_api.h.
◆ inputMessageText() [1/2]
| td::td_api::inputMessageText::inputMessageText |
( |
| ) |
|
◆ inputMessageText() [2/2]
A text message.
- Parameters
-
| [in] | text_ | Formatted text to be sent; 0-getOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl, MentionName, and DateTime entities are allowed to be specified manually. |
| [in] | link_preview_options_ | Options to be used for generation of a link preview; may be null if none; pass null to use default link preview options. |
| [in] | clear_draft_ | True, if the chat message draft must be deleted. |
◆ store()
| void td::td_api::inputMessageText::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.
◆ clear_draft_
| bool td::td_api::inputMessageText::clear_draft_ |
True, if the chat message draft must be deleted.
Definition at line 28995 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::inputMessageText::ID = -212805484 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 29012 of file td_api.h.
◆ link_preview_options_
Options to be used for generation of a link preview; may be null if none; pass null to use default link preview options.
Definition at line 28993 of file td_api.h.
◆ text_
Formatted text to be sent; 0-getOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl, MentionName, and DateTime entities are allowed to be specified manually.
Definition at line 28991 of file td_api.h.
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