U
    g                     @   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 )zOThis module contains an object that represents a Telegram Sent Web App Message.    )Optional)TelegramObject)JSONDictc                       s<   e Zd ZdZdZdddee ee d 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_kwargs)r   r   c                   s*   t  j|d || _| jf| _|   d S )Nr   )super__init__r   Z	_id_attrsZ_freeze)selfr   r   	__class__ ?/tmp/pip-unpacked-wheel-swnnwir2/telegram/_sentwebappmessage.pyr
   /   s    
zSentWebAppMessage.__init__)N)
__name__
__module____qualname____doc__	__slots__r   strr   r
   __classcell__r   r   r   r   r      s     r   N)r   typingr   Ztelegram._telegramobjectr   Ztelegram._utils.typesr   r   r   r   r   r   <module>   s   