o
    "hK                     @   sh   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	 d	eZd
S )zXThis module contains the classes that represent Telegram InlineQueryResultCachedSticker.    )TYPE_CHECKINGOptional)InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultType)InputMessageContentc                       sR   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dZ	  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                   sT   t  jtj||d |   || _|| _|| _W d    d S 1 s#w   Y  d S )Nr   )super__init__r   STICKER	_unfrozenr   r   r
   )selfr   r   r   r
   r   	__class__ b/var/www/html/venv/lib/python3.10/site-packages/telegram/_inline/inlinequeryresultcachedsticker.pyr   A   s   

"z'InlineQueryResultCachedSticker.__init__)NN)__name__
__module____qualname____doc__	__slots__strr   r   r   r   __classcell__r   r   r   r   r	       s$    r	   N)r   typingr   r   %telegram._inline.inlinekeyboardmarkupr   "telegram._inline.inlinequeryresultr   telegram._utils.typesr   telegram.constantsr   telegramr   r	   r   r   r   r   <module>   s   