U
    gK                     @   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rTd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                       sF   e Zd ZdZdZd	ddeeee ed ee d 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_kwargsr   )idr   r   r
   r   c             	      s>   t  jtj||d |   || _|| _|| _W 5 Q R X d S )Nr   )super__init__r   ZSTICKERZ	_unfrozenr   r   r
   )selfr   r   r   r
   r   	__class__ S/tmp/pip-unpacked-wheel-swnnwir2/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   Z%telegram._inline.inlinekeyboardmarkupr   Z"telegram._inline.inlinequeryresultr   Ztelegram._utils.typesr   Ztelegram.constantsr   Ztelegramr   r	   r   r   r   r   <module>   s   