
    i2                     r    d Z ddl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d
S )zXThis module contains the classes that represent Telegram InlineQueryResultCachedSticker.    )TYPE_CHECKING)InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultType)InputMessageContentc                   T     e Zd ZdZdZ	 	 ddddedededz  dd	d
edz  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   zInputMessageContent | Noner   c                    t                                          t          j        ||           |                                 5  || _        || _        || _        d d d            d S # 1 swxY w Y   d S )Nr   )super__init__r   STICKER	_unfrozenr   r   r   )selfr   r   r   r   r   	__class__s         o/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_inline/inlinequeryresultcachedsticker.pyr   z'InlineQueryResultCachedSticker.__init__A   s     	.6zRRR^^ 	[ 	[(7D  >JDEZD&	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[ 	[s   A''A+.A+)NN)
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__)r   s   @r   r
   r
       s         < MI 59>B[ '+[ [ [[ [ +T1	[
  <[ tO[ [ [ [ [ [ [ [ [ [    r
   N)r   typingr   %telegram._inline.inlinekeyboardmarkupr   "telegram._inline.inlinequeryresultr   telegram._utils.typesr   telegram.constantsr   telegramr   r
    r    r   <module>r(      s   & _ ^             F F F F F F @ @ @ @ @ @ * * * * * * 4 4 4 4 4 4 -,,,,,,1[ 1[ 1[ 1[ 1[%6 1[ 1[ 1[ 1[ 1[r    