
    ՟fL                     B    d Z ddlmZ ddlmZ ddlmZ  G d de      Zy)zGThis module contains an object that represents a Telegram Web App Info.    )Optional)TelegramObject)JSONDictc                   <     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                x    t         |   |       || _        | j                  f| _        | j	                          y )Nr	   )super__init__r   	_id_attrs_freeze)selfr   r
   	__class__s      O/var/www/cvtools/html/venv/lib/python3.12/site-packages/telegram/_webappinfo.pyr   zWebAppInfo.__init__4   s0    J/((    )
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__)r   s   @r   r   r      s/    , IEI C 0B  r   r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r      s    & N  3 *   r   