ban_chat_sender_chat
Prevent a channel from sending messages in a group by banning its sender chat, blocking the owner from posting on behalf of that channel.
Instructions
Ban a channel chat in a supergroup or channel. The owner of the sender chat won't be able to send messages on behalf of their chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| sender_chat_id | Yes | The sender chat to ban |