U
    2Òtc  ã                   @   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.é    )ÚAny)ÚTelegramObjectc                   @   s&   e Zd ZdZdZdeedœdd„Zd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:: 13.12

    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)r   Ú_kwargsc                 K   s   || _ | j f| _d S )N)r   Z	_id_attrs)Úselfr   r   © r   ú>/tmp/pip-unpacked-wheel-2u9rcp5s/telegram/sentwebappmessage.pyÚ__init__0   s    zSentWebAppMessage.__init__)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r
   r   r   r   r	   r      s   r   N)r   Útypingr   Ztelegramr   r   r   r   r   r	   Ú<module>   s   