U
    ;g1                     @   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 )DeleteChannelzpyrogram.Client)selfchat_idreturnc                    s,   |  tjjj| |I dH dI dH  dS )as  Delete a channel.

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

        Parameters:
            chat_id (``int`` | ``str``):
                The id of the channel to be deleted.

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

        Example:
            .. code-block:: python

                await app.delete_channel(channel_id)
        N)ZchannelT)Zinvoker   Z	functionsZchannelsr   Zresolve_peer)r   r    r   e/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/methods/chats/delete_channel.pydelete_channel   s    
zDeleteChannel.delete_channelN)__name__
__module____qualname__r   intstrboolr
   r   r   r   r	   r      s   
r   )typingr   Zpyrogramr   r   r   r   r   r	   <module>   s   