§
    ªeîil	  ã                   ó>   — d Z ddlmZ ddlmZ  G d„ de¦  «        ZdS )zEThis module contains an object that represents a Telegram WebAppData.é    )ÚTelegramObject)ÚJSONDictc                   ó@   ‡ — e Zd ZdZdZddœdedededz  fˆ fd„Zˆ xZS )	Ú
WebAppDataa  Contains data sent from a `Web App <https://core.telegram.org/bots/webapps>`_ to the bot.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their :attr:`data` and :attr:`button_text` are equal.

    Examples:
        :any:`Webapp Bot <examples.webappbot>`

    .. versionadded:: 20.0

    Args:
        data (:obj:`str`): The data. Be aware that a bad client can send arbitrary data in this
            field.
        button_text (:obj:`str`): Text of the :paramref:`~telegram.KeyboardButton.web_app` keyboard
            button, from which the Web App was opened.

    Attributes:
        data (:obj:`str`): The data. Be aware that a bad client can send arbitrary data in this
            field.
        button_text (:obj:`str`): Text of the :paramref:`~telegram.KeyboardButton.web_app` keyboard
            button, from which the Web App was opened.

            Warning:
                Be aware that a bad client can send arbitrary data in this field.
    )Úbutton_textÚdataN©Ú
api_kwargsr   r   r
   c                ó¶   •— t          ¦   «                              |¬¦  «         || _        || _        | j        | j        f| _        |                      ¦   «          d S )Nr	   )ÚsuperÚ__init__r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r
   Ú	__class__s       €úX/home/div/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_webappdata.pyr   zWebAppData.__init__6   sO   ø€ Ý‰Œ×Ò JÐÑ/Ô/Ð/àˆŒ	Ø +ˆÔàœ) TÔ%5Ð6ˆŒà�Š‰Œˆˆˆó    )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r   Ú__classcell__)r   s   @r   r   r      st   ø€ € € € € ðð ð4 (€IàUYð ð ð ˜Sð ¨sð À8ÈdÁ?ð ð ð ð ð ð ð ð ð ð r   r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   © r   r   ú<module>r      sf   ðð& LÐ Kà 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø *Ð *Ð *Ð *Ð *Ð *ð%ð %ð %ð %ð %�ñ %ô %ð %ð %ð %r   