Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Channel → Kick
AI-generatedSummary
Kick a user from a channel
Inputs
- channelType — Target channel type: public channel or private group
- specifyRoomManually — Whether to enter the room ID manually instead of selecting from the list
- roomId (required) — ID of the channel or private group to kick from
- specifyUserManually — Whether to enter the user ID manually instead of selecting from the list
- userId (required) — ID of the user to kick from the channel
Output shape
a single record indicating success or failure
The operation throws an error on failure; on success the server returns a confirmation payload which is treated as a success signal — no specific fields are guaranteed
Examples
Example 1: Kick a user from a public channel
channelType = channel, specifyRoomManually = false, roomId =