telegram.InlineQueryResultArticle¶
-
class
telegram.InlineQueryResultArticle(id, title, input_message_content, reply_markup=None, url=None, hide_url=None, description=None, thumb_url=None, thumb_width=None, thumb_height=None, **kwargs)¶ Bases:
telegram.inline.inlinequeryresult.InlineQueryResultThis object represents a Telegram InlineQueryResultArticle.
-
type¶ ‘article’.
Type: str
-
id¶ Unique identifier for this result, 1-64 Bytes.
Type: str
-
title¶ Title of the result.
Type: str
-
input_message_content¶ Content of the message to be sent.
Type: telegram.InputMessageContent
-
reply_markup¶ Optional. Inline keyboard attached to the message.
Type: telegram.ReplyMarkup
-
url¶ Optional. URL of the result.
Type: str
-
hide_url¶ Optional. Pass True, if you don’t want the URL to be shown in the message.
Type: bool
-
description¶ Optional. Short description of the result.
Type: str
-
thumb_url¶ Optional. Url of the thumbnail for the result.
Type: str
-
thumb_width¶ Optional. Thumbnail width.
Type: int
-
thumb_height¶ Optional. Thumbnail height.
Type: int
Parameters: - id (
str) – Unique identifier for this result, 1-64 Bytes. - title (
str) – Title of the result. - input_message_content (
telegram.InputMessageContent) – Content of the message to be sent. - reply_markup (
telegram.ReplyMarkup, optional) – Inline keyboard attached to the message - url (
str, optional) – URL of the result. - hide_url (
bool, optional) – Pass True, if you don’t want the URL to be shown in the message. - description (
str, optional) – Short description of the result. - thumb_url (
str, optional) – Url of the thumbnail for the result. - thumb_width (
int, optional) – Thumbnail width. - thumb_height (
int, optional) – Thumbnail height. - **kwargs (
dict) – Arbitrary keyword arguments.
-