Interface MessageText

Contains the content of a message. Subtype of MessageContent.

interface MessageText {
    @type: "messageText";
    link_preview: LinkPreview;
    link_preview_options: LinkPreviewOptions;
    text: FormattedText;
}

Properties

@type: "messageText"
link_preview: LinkPreview

A link preview attached to the message; may be null.

link_preview_options: LinkPreviewOptions

Options which were used for generation of the link preview; may be null if default options were used.

Text of the message.