
    iL                     J    d Z ddlmZ ddlmZ ddlmZ  G d de          ZdS )zGThis module contains an object that represents a Telegram Web App Info.    )Optional)TelegramObject)JSONDictc                   B     e Zd ZdZdZdddedee         f fdZ xZ	S )
WebAppInfoa!  
    This object contains information about a `Web App <https://core.telegram.org/bots/webapps>`_.

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

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

    .. versionadded:: 20.0

    Args:
        url (:obj:`str`): An HTTPS URL of a Web App to be opened with additional data as specified
            in `Initializing Web Apps             <https://core.telegram.org/bots/webapps#initializing-mini-apps>`_.

    Attributes:
        url (:obj:`str`): An HTTPS URL of a Web App to be opened with additional data as specified
            in `Initializing Web Apps             <https://core.telegram.org/bots/webapps#initializing-mini-apps>`_.
    )urlN
api_kwargsr   r
   c                    t                                          |           || _        | j        f| _        |                                  d S )Nr	   )super__init__r   	_id_attrs_freeze)selfr   r
   	__class__s      Z/var/www/html/crypto-bot/backend/venv/lib/python3.11/site-packages/telegram/_webappinfo.pyr   zWebAppInfo.__init__4   sA    J///(    )
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__)r   s   @r   r   r      sn         , IEI   C 0B          r   r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r      sx   & N M       3 3 3 3 3 3 * * * * * *                   r   