
    i,                     >    d 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.    )TelegramObject)JSONDictc                   <     e Zd ZdZdZdddededz  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      T/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_webappinfo.pyr   zWebAppInfo.__init__2   sA    J///(    )	__name__
__module____qualname____doc__	__slots__strr   r   __classcell__)r   s   @r   r   r      sm         , IBF   C 4          r   r   N)r   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r      sf   & N M 3 3 3 3 3 3 * * * * * *                   r   