Airgram

Guides
/
/
Output types

InputMessageContent

The content of a message to send.

The InputMessageContentUnion type represents one of the following types:

InputMessageText

A text message.


NameTypeDescription
_"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
disableWebPagePreviewboolean True, if rich web page previews for URLs in the message text must be disabled
clearDraftboolean True, if a chat message draft must be deleted