
    i                     8    S SK Jr  S SKrS SKJr   " S S5      rg)    )UnionN)rawc            	       >    \ rS rSr S
SSS\\\4   S\S\4S jjrS	r	g)ReadReactions   Nselfzpyrogram.Clientchat_idtopic_idreturnc                    #    U R                  [        R                  R                  R	                  U R                  U5      I Sh  vN US95      I Sh  vN n[        U5      $  N N7f)a`  Mark a reaction in the chat as read.

.. include:: /_includes/usable-by/users.rst

Parameters:
    chat_id (``int`` | ``str``):
        Unique identifier (int) or username (str) of the target chat.
        For your personal cloud (Saved Messages) you can simply use "me" or "self".
        For a contact that exists in your Telegram address book you can use his phone number (str).

    topic_id (``int``, *optional*):
        Mark as read only reactions to messages within the specified forum topic.
        By default, no topic is applied and all reactions marked as read.

Returns:
    ``bool`` - On success, True is returned.

Example:
    .. code-block:: python

        # Mark the chat reaction as read
        await app.read_reactions(chat_id)

        # Mark the chat reaction as read in specified topic
        await app.read_reactions(chat_id, topic_id)
N)peer
top_msg_id)invoker   	functionsmessagesr   resolve_peerbool)r   r	   r
   rs       U/app/mltbenv/lib/python3.13/site-packages/pyrogram/methods/messages/read_reactions.pyread_reactionsReadReactions.read_reactions   s`     > ++MM""00,,W55# 1 
 
 Aw 6
s$   AA(A$A(A&A(&A( )N)
__name__
__module____qualname____firstlineno__r   intstrr   r   __static_attributes__r       r   r   r      s=     &&sCx& & 
	& &r    r   )typingr   pyrogramr   r   r   r    r   <module>r#      s   &   ' 'r    