o
    -˜Žj™  ã                   @   s2   d dl mZ d dlZd dlmZ G dd„ dƒZdS )é    )ÚUnionN)Úrawc                   @   s*   e Zd Zdddeeef defdd„ZdS )ÚMarkChatUnreadÚselfzpyrogram.ClientÚchat_idÚreturnc                 Ã   s,   �|   tjjj|  |¡I dH dd�¡I dH S )a|  Mark a chat as unread.

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

        Parameters:
            chat_id (``int`` | ``str``):
                Unique identifier (int) or username (str) of the target chat.
                You can also use chat public link in form of *t.me/<username>* (str).

        Returns:
            ``bool``: On success, True is returned.
        NT)ÚpeerÚunread)Úinvoker   Ú	functionsÚmessagesÚMarkDialogUnreadÚresolve_peer)r   r   © r   úd/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/methods/chats/mark_chat_unread.pyÚmark_chat_unread   s   €þ
ÿzMarkChatUnread.mark_chat_unreadN)Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr   r   r   r   r   r      s    ÿ
þýr   )Útypingr   Úpyrogramr   r   r   r   r   r   Ú<module>   s   