
    ՟fK                     n    d Z ddlmZmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ erddlmZ  G d d	e      Zy
)zXThis module contains the classes that represent Telegram InlineQueryResultCachedSticker.    )TYPE_CHECKINGOptional)InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultType)InputMessageContentc                   Z     e Zd ZdZdZ	 	 ddddededee   ded	   d
ee   f
 fdZ	 xZ
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 <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_markupsticker_file_idN
api_kwargsidr   r   r   r	   r   c                    t         |   t        j                  ||       | j	                         5  || _        || _        || _        d d d        y # 1 sw Y   y xY w)Nr   )super__init__r   STICKER	_unfrozenr   r   r   )selfr   r   r   r   r   	__class__s         j/var/www/cvtools/html/venv/lib/python3.12/site-packages/telegram/_inline/inlinequeryresultcachedsticker.pyr   z'InlineQueryResultCachedSticker.__init__A   s_     	.66zR^^ 	^(7D  AMDH]D&	^ 	^ 	^s   AA)NN)__name__
__module____qualname____doc__	__slots__strr   r   r   r   __classcell__)r   s   @r   r   r       su    < MI 8<AE^ *.^^ ^ 34	^
  ((=>^ X&^ ^    r   N)r   typingr   r   %telegram._inline.inlinekeyboardmarkupr   "telegram._inline.inlinequeryresultr   telegram._utils.typesr   telegram.constantsr   telegramr	   r    r!   r   <module>r)      s/   & _ * F @ * 4,1^%6 1^r!   