o
    Zzjr  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zOThis module contains an object that represents a Telegram Sent Web App Message.é    )ÚTelegramObject)ÚJSONDictc                       s@   e Zd ZdZdZ	d	ddœdedB dedB f‡ fdd„Z‡  ZS )
ÚSentWebAppMessageaò  Contains information about an inline message sent by a Web App on behalf of a user.

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

    .. versionadded:: 20.0

    Args:
        inline_message_id (:obj:`str`, optional): Identifier of the sent inline message. Available
            only if there is an :attr:`inline keyboard <telegram.InlineKeyboardMarkup>` attached to
            the message.

    Attributes:
        inline_message_id (:obj:`str`): Optional. Identifier of the sent inline message. Available
            only if there is an :attr:`inline keyboard <telegram.InlineKeyboardMarkup>` attached to
            the message.
    )Úinline_message_idN©Ú
api_kwargsr   r   c                   s*   t ƒ j|d� || _| jf| _|  ¡  d S )Nr   )ÚsuperÚ__init__r   Ú	_id_attrsÚ_freeze)Úselfr   r   ©Ú	__class__© úV/var/www/kodo/tsheker/venv/lib/python3.10/site-packages/telegram/_sentwebappmessage.pyr	   .   s   
zSentWebAppMessage.__init__)N)	Ú__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   