InlineQueryResultArticle#
- class aiogram.types.inline_query_result_article.InlineQueryResultArticle(*, type: str = InlineQueryResultType.ARTICLE, id: str, title: str, input_message_content: InputMessageContent, reply_markup: Optional[InlineKeyboardMarkup] = None, url: Optional[str] = None, hide_url: Optional[bool] = None, description: Optional[str] = None, thumbnail_url: Optional[str] = None, thumbnail_width: Optional[int] = None, thumbnail_height: Optional[int] = None, **extra_data: Any)[source]#
Represents a link to an article or web page.
Source: https://core.telegram.org/bots/api#inlinequeryresultarticle
- type: str#
Type of the result, must be article
- id: str#
Unique identifier for this result, 1-64 Bytes
- title: str#
Title of the result
- input_message_content: InputMessageContent#
Content of the message to be sent
- reply_markup: Optional[InlineKeyboardMarkup]#
Optional. Inline keyboard attached to the message
- url: Optional[str]#
Optional. URL of the result
- hide_url: Optional[bool]#
Optional. Pass
True
if you don’t want the URL to be shown in the message
- description: Optional[str]#
Optional. Short description of the result
- thumbnail_url: Optional[str]#
Optional. Url of the thumbnail for the result
- thumbnail_width: Optional[int]#
Optional. Thumbnail width
- thumbnail_height: Optional[int]#
Optional. Thumbnail height