InputMessageContent
The content of a message to send.
The InputMessageContentUnion
type represents one of the following types:
keyboard_arrow_upkeyboard_arrow_down
InputMessageText
InputMessageAnimation
InputMessageAudio
InputMessageDocument
InputMessagePhoto
InputMessageSticker
InputMessageVideo
InputMessageVideoNote
InputMessageVoiceNote
InputMessageLocation
InputMessageVenue
InputMessageContact
InputMessageDice
InputMessageGame
InputMessageInvoice
InputMessagePoll
InputMessageForwarded
InputMessageText
A text message.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "inputMessageText" | |
text | Formatted text to be sent; 1-GetOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, Code, Pre, PreCode, TextUrl and MentionName entities are allowed to be specified manually | |
disableWebPagePreview | boolean | True, if rich web page previews for URLs in the message text must be disabled |
clearDraft | boolean | True, if a chat message draft must be deleted |