
    ir                     >    d Z ddlmZ ddlmZ  G d de          ZdS )zOThis module contains an object that represents a Telegram Sent Web App Message.    )TelegramObject)JSONDictc                   F     e Zd ZdZdZ	 ddddedz  dedz  f fdZ x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                    t                                          |           || _        | j        f| _        |                                  d S )Nr   )super__init__r   	_id_attrs_freeze)selfr   r	   	__class__s      [/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_sentwebappmessage.pyr   zSentWebAppMessage.__init__.   sF     	J///->02    )N)	__name__
__module____qualname____doc__	__slots__strr   r   __classcell__)r   s   @r   r   r      s}         $ 'I /3	UY	 	 	!$t	CKd?	 	 	 	 	 	 	 	 	 	r   r   N)r   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r      sf   & V U 3 3 3 3 3 3 * * * * * *         r   