L indZddlmZmZddlmZddlmZddlm Z ddl m Z erddl m Z Gdd eZy ) zRThis module contains the classes that represent Telegram InlineQueryResultArticle.) TYPE_CHECKINGOptional)InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultType)InputMessageContentceZdZdZdZ ddddededdd eed eed eed eed eedeedee ffdZ xZ S)InlineQueryResultArticlea This object represents a Telegram InlineQueryResultArticle. Examples: :any:`Inline Bot ` .. versionchanged:: 20.5 Removed the deprecated arguments and attributes ``thumb_*``. .. versionchanged:: 21.11 Removed the deprecated argument and attribute ``hide_url``. Args: id (:obj:`str`): Unique identifier for this result, :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`- :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes. title (:obj:`str`): Title of the result. input_message_content (:class:`telegram.InputMessageContent`): Content of the message to be sent. reply_markup (:class:`telegram.InlineKeyboardMarkup`, optional): Inline keyboard attached to the message. url (:obj:`str`, optional): URL of the result. Tip: Pass an empty string as URL if you don't want the URL to be shown in the message. description (:obj:`str`, optional): Short description of the result. thumbnail_url (:obj:`str`, optional): Url of the thumbnail for the result. .. versionadded:: 20.2 thumbnail_width (:obj:`int`, optional): Thumbnail width. .. versionadded:: 20.2 thumbnail_height (:obj:`int`, optional): Thumbnail height. .. versionadded:: 20.2 Attributes: type (:obj:`str`): :tg-const:`telegram.constants.InlineQueryResultType.ARTICLE`. id (:obj:`str`): Unique identifier for this result, :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`- :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes. title (:obj:`str`): Title of the result. input_message_content (:class:`telegram.InputMessageContent`): Content of the message to be sent. reply_markup (:class:`telegram.InlineKeyboardMarkup`): Optional. Inline keyboard attached to the message. url (:obj:`str`): Optional. URL of the result. description (:obj:`str`): Optional. Short description of the result. thumbnail_url (:obj:`str`): Optional. Url of the thumbnail for the result. .. versionadded:: 20.2 thumbnail_width (:obj:`int`): Optional. Thumbnail width. .. versionadded:: 20.2 thumbnail_height (:obj:`int`): Optional. Thumbnail height. .. versionadded:: 20.2 ) descriptioninput_message_content reply_markupthumbnail_height thumbnail_urlthumbnail_widthtitleurlN api_kwargsidrr r rrr rrrrc t |tj|| |j 5||_||_||_||_||_ ||_ ||_ | |_ dddy#1swYyxYw)Nr) super__init__rARTICLE _unfrozenrr rrr rrr) selfrrr rrr rrrr __class__s o/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/_inline/inlinequeryresultarticle.pyrz!InlineQueryResultArticle.__init__gs .66zR ^^  D#DJ>SD &AMD &)DH.9D 0=D 2AD 3CD ! D D Ds 9A44A=)NNNNNN) __name__ __module__ __qualname____doc__ __slots__strrrintrr __classcell__)rs@rr r s9v I 8<!%)'+)-*.D*.D DD 5 D 34 D c] Dc]D }D"#D#3-DX&DDr N)r"typingrr%telegram._inline.inlinekeyboardmarkupr"telegram._inline.inlinequeryresultrtelegram._utils.typesrtelegram.constantsrtelegramr r r'rr/s1&Y*F@*4,aD0aDr'