
    dh2                    T    d dl mZ d dlmZmZ ddlmZ ddlmZ  G d dee	         Z
y	)
    )annotations)TYPE_CHECKINGAny   )ChatIdUnion   )TelegramMethodc                  b     e Zd ZU dZeZdZded<   	 ded<   	 er	 	 	 	 	 	 	 	 d fdZ	 xZ
S  xZ
S )	BanChatSenderChata  
    Use this method to ban a channel chat in a supergroup or a channel. Until the chat is `unbanned <https://core.telegram.org/bots/api#unbanchatsenderchat>`_, the owner of the banned chat won't be able to send messages on behalf of **any of their channels**. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#banchatsenderchat
    banChatSenderChatr   chat_idintsender_chat_idc               *    t        |   d||d| y )N)r   r    )super__init__)__pydantic__self__r   r   #_BanChatSenderChat__pydantic_kwargs	__class__s       ^/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/ban_chat_sender_chat.pyr   zBanChatSenderChat.__init__   s     GaW^aO`a    )r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   __classcell__)r   s   @r   r   r   	   sf     M(Nz5	b !	b  		b
 "%	b 	b 	b	 r   r   N)
__future__r   typingr   r   typesr   baser	   r   r   r   r   r   <module>r(      s$    " %   bt, br   