Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Channel → Leave
AI-generatedSummary
Leave a channel or private group
Inputs
- channelType — Whether to target a public channel or a private group
- specifyRoomManually — Whether to specify the room ID manually instead of selecting from the list
- roomId (required) — The ID of the channel/group
Output shape
a single object indicating success/failure
If the request fails, the node throws an error; otherwise returns the server's response (often an empty object or confirmation).
Examples
Example 1: Leave a public channel using default UI
Channel Type = Public Channel, Specify Room Manually = false, Room = (select from list), Operation = Leave
Example 2: Leave a private group manually
Channel Type = Private Group, Specify Room Manually = true, Room ID = 1234567890, Operation = Leave