View Source ExTDLib.Object.InputMessageText (ExTDLib v0.0.4)

A text message.

NameTypeDescription
textformattedTextFormatted text to be sent; 0-getOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities are allowed to be specified manually.
link_preview_optionslinkPreviewOptionsOptions to be used for generation of a link preview; pass null to use default link preview options.
clear_draftboolTrue, if a chat message draft must be deleted.

More details on telegram's documentation.