Interface InlineQueryResultArticle

Represents a link to an article or web page.

interface InlineQueryResultArticle {
    description?: string;
    hide_url?: boolean;
    id: string;
    input_message_content: InputMessageContent;
    reply_markup?: InlineKeyboardMarkup;
    thumbnail_height?: number;
    thumbnail_url?: string;
    thumbnail_width?: number;
    title: string;
    type: "article";
    url?: string;
}

Properties

description?: string

Short description of the result

hide_url?: 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

input_message_content: InputMessageContent

Content of the message to be sent

reply_markup?: InlineKeyboardMarkup

Inline keyboard attached to the message

thumbnail_height?: number

Thumbnail height

thumbnail_url?: string

Url of the thumbnail for the result

thumbnail_width?: number

Thumbnail width

title: string

Title of the result

type: "article"

Type of the result, must be article

url?: string

URL of the result