Ë
    †jl	  ã                   ó6   — d Z ddlmZ ddlmZ  G d„ de«      Zy)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| _        | j                  «        y )Nr	   )ÚsuperÚ__init__r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r
   Ú	__class__s       €úS/var/www/html/datingFans/myenv/lib/python3.12/site-packages/telegram/_webappdata.pyr   zWebAppData.__init__6   sA   ø€ Ü‰Ñ JÐÔ/àˆŒ	Ø +ˆÔàŸ)™) T×%5Ñ%5Ð6ˆŒà�‰�ó    )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r   Ú__classcell__)r   s   @r   r   r      s5   ø„ ñð4 (€IàUYò ˜Sð ¨sð À8ÈdÁ?÷ ñ r   r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   © r   r   ú<module>r      s   ðñ& Lå 3Ý *ô%�õ %r   