o
    "hL                     @   s<   d Z ddlm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.    )Optional)TelegramObject)JSONDictc                       s8   e Zd ZdZdZdddedee 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__ G/var/www/html/venv/lib/python3.10/site-packages/telegram/_webappinfo.pyr
   4   s   
zWebAppInfo.__init__)
__name__
__module____qualname____doc__	__slots__strr   r   r
   __classcell__r   r   r   r   r      s    (r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r   r   r   r   r   <module>   s
   