L iKndZddlmZmZddlmZddlmZddlm Z ddl m Z erddl m Z Gdd eZy ) zXThis module contains the classes that represent Telegram InlineQueryResultCachedSticker.) TYPE_CHECKINGOptional)InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultType)InputMessageContentc ZeZdZdZdZ d dddededeeded d eef fd Z xZ S) InlineQueryResultCachedStickera Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use :attr:`input_message_content` to send a message with the specified content instead of the sticker. .. seealso:: :wiki:`Working with Files and Media ` Args: id (:obj:`str`): Unique identifier for this result, :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`- :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes. sticker_file_id (:obj:`str`): A valid file identifier of the sticker. reply_markup (:class:`telegram.InlineKeyboardMarkup`, optional): Inline keyboard attached to the message. input_message_content (:class:`telegram.InputMessageContent`, optional): Content of the message to be sent instead of the sticker. Attributes: type (:obj:`str`): :tg-const:`telegram.constants.InlineQueryResultType.STICKER`. id (:obj:`str`): Unique identifier for this result, :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`- :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes. sticker_file_id (:obj:`str`): A valid file identifier of the sticker. reply_markup (:class:`telegram.InlineKeyboardMarkup`): Optional. Inline keyboard attached to the message. input_message_content (:class:`telegram.InputMessageContent`): Optional. Content of the message to be sent instead of the sticker. )input_message_content reply_markupsticker_file_idN api_kwargsidrr r r rct|tj|||j 5||_||_||_dddy#1swYyxYw)Nr)super__init__rSTICKER _unfrozenrr r )selfrrr r r __class__s u/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/_inline/inlinequeryresultcachedsticker.pyrz'InlineQueryResultCachedSticker.__init__As_ .66zR ^^  ^(7D AMD H]D &  ^ ^ ^s AA)NN) __name__ __module__ __qualname____doc__ __slots__strrrrr __classcell__)rs@rr r su<MI 8 ^X&^^r N)rtypingrr%telegram._inline.inlinekeyboardmarkupr"telegram._inline.inlinequeryresultrtelegram._utils.typesrtelegram.constantsrtelegramr r r!rr)s/&_*F@*4,1^%61^r!