MadelineProtoDocs/docs/TD_docs/constructors/inputMessageText.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.0 KiB

title description image
inputMessageText Text message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMessageText

Back to constructors index

Text message

Attributes:

Name Type Required Description
text string Yes Text to send
disable_web_page_preview Bool Yes Pass true to disable rich preview for link in the message text
clear_draft Bool Yes Pass true if chat draft message should be deleted
entities Array of textEntity Yes Bold, Italic, Code, Pre, PreCode and TextUrl entities contained in the text. Non-bot users can't use TextUrl entities. Can't be used with non-null parse_mode
parse_mode TextParseMode Yes Text parse mode, nullable. Can't be used along with enitities

Type: InputMessageContent