Remove Member
remove_memberRemove a user from a group chat. Optionally block them from rejoining. The bot must be an admin of the chat.
Instructions
Remove a user from a group chat. The bot must be an admin of the chat. Optionally block the user from rejoining. WARNING: If the user has privacy mode enabled in MAX settings, the bot will not be able to re-add them after removal — confirm with the user before proceeding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | The chat_id of the group chat | |
| user_id | Yes | The user_id of the member to remove | |
| block | No | Block user from rejoining the chat (default: false) |