U
    ;g                     @   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eeef edddZdS )MarkChatUnreadzpyrogram.Client)self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.

        Returns:
            ``bool``: On success, True is returned.
        NT)ZpeerZunread)Zinvoker   Z	functionsmessagesZMarkDialogUnreadZresolve_peer)r   r    r	   g/opt/bot/vods_filmes/script/venv/lib/python3.8/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   Zpyrogramr   r   r	   r	   r	   r
   <module>   s   