Module

x/grammy_types/inline.ts>InlineQueryResultArticle

Type declarations of the Telegram Bot API.
Latest
interface InlineQueryResultArticle
import { type InlineQueryResultArticle } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/inline.ts";

Represents a link to an article or web page.

Properties

type: "article"

Type of the result, must be article

id: string

Unique identifier for this result, 1-64 Bytes

title: string

Title of the result

input_message_content: InputMessageContent

Content of the message to be sent

optional
reply_markup: InlineKeyboardMarkup

Inline keyboard attached to the message

optional
url: string

URL of the result

optional
hide_url: boolean

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

optional
description: string

Short description of the result

optional
thumbnail_url: string

Url of the thumbnail for the result

optional
thumbnail_width: number

Thumbnail width

optional
thumbnail_height: number

Thumbnail height