đ§ ban_chat_sender_chat
Use this method to ban a channel chat in a supergroup or a channel.
âī¸ Parameters
chat_id
(int
orstr
): Unique identifier for the target chat or username of the target channel (in the format @channelusername)sender_chat_id
(int
): Unique identifier of the target sender chat
đ˛ Returns
bool
đ Examples
-đĒĢ Required Parameters
await bot.ban_chat_sender_chat(
chat_id=your_chat_id_here,
sender_chat_id=your_sender_chat_id_here
)