Interface InputTextMessageContent

Represents the content of a text message to be sent as the result of an inline query.

interface InputTextMessageContent {
    entities?: MessageEntity[];
    linkPreviewOptions?: LinkPreviewOptions;
    messageText: string;
    parseMode?: ParseMode;
}

Properties

entities?: MessageEntity[]

List of special entities that appear in message text, which can be specified instead of parseMode

linkPreviewOptions?: LinkPreviewOptions

Link preview generation options for the message

messageText: string

Text of the message to be sent, 1-4096 characters

parseMode?: ParseMode

Mode for parsing entities in the message text. See formatting options for more details.