Interface InlineQueryResultArticle

Represents a link to an article or web page.

interface InlineQueryResultArticle {
    description?: string;
    hideUrl?: boolean;
    id: string;
    inputMessageContent: InputMessageContent;
    replyMarkup?: InlineKeyboardMarkup;
    thumbnailHeight?: number;
    thumbnailUrl?: string;
    thumbnailWidth?: number;
    title: string;
    type: "article";
    url?: string;
}

Properties

description?: string

Short description of the result

hideUrl?: boolean

Pass True if you don't want the URL to be shown in the message

id: string

Unique identifier for this result, 1-64 Bytes

inputMessageContent: InputMessageContent

Content of the message to be sent

replyMarkup?: InlineKeyboardMarkup

Inline keyboard attached to the message

thumbnailHeight?: number

Thumbnail height

thumbnailUrl?: string

Url of the thumbnail for the result

thumbnailWidth?: number

Thumbnail width

title: string

Title of the result

type: "article"

Type of the result, must be article

url?: string

URL of the result