o
    Zzj,  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zGThis module contains an object that represents a Telegram Web App Info.é    )ÚTelegramObject)ÚJSONDictc                       s8   e Zd ZdZdZddœdededB f‡ fdd„Z‡  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                   s*   t ƒ j|d� || _| jf| _|  ¡  d S )Nr   )ÚsuperÚ__init__r   Ú	_id_attrsÚ_freeze)Úselfr   r   ©Ú	__class__© úO/var/www/kodo/tsheker/venv/lib/python3.10/site-packages/telegram/_webappinfo.pyr	   2   s   
zWebAppInfo.__init__)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r	   Ú__classcell__r   r   r   r   r      s    (r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   r   r   r   r   Ú<module>   s   