UNPKG

typescript-telegram-bot-api

Version:

Telegram Bot API wrapper for Node.js written in TypeScript

49 lines (48 loc) 1.11 kB
import { InlineKeyboardMarkup, InputMessageContent } from './'; /** * ## InlineQueryResultArticle * Represents a link to an article or web page. * @see https://core.telegram.org/bots/api#inlinequeryresultarticle */ export type InlineQueryResultArticle = { /** * Type of the result, must be article */ type: 'article'; /** * Unique identifier for this result, 1-64 Bytes */ id: string; /** * Title of the result */ title: string; /** * Content of the message to be sent */ input_message_content: InputMessageContent; /** * Optional. Inline keyboard attached to the message */ reply_markup?: InlineKeyboardMarkup; /** * Optional. URL of the result */ url?: string; /** * Optional. Short description of the result */ description?: string; /** * Optional. Url of the thumbnail for the result */ thumb_url?: string; /** * Optional. Thumbnail width */ thumb_width?: number; /** * Optional. Thumbnail height */ thumb_height?: number; };