Inherits InputMessageContent.
|
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 and MentionName 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 a chat message draft must be deleted.
|
|
|
static const std::int32_t | ID = -212805484 |
| Identifier uniquely determining a type of the object.
|
|
◆ inputMessageText() [1/2]
◆ 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 and MentionName 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 a chat message draft must be deleted. |
◆ store()
void 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 TlObject.
The documentation for this class was generated from the following file: