Add Members to an Existing Channel
A 3-step recipe with Sendbird. We can help you get access.
Recipe · 3 steps
Add Members to an Existing Channel
with Sendbird
Expand a distinct channel's members and announce them.
- Confirm the existing channel is present before expanding it.
- Recreate the channel as distinct with the expanded member set and the same channel URL so the conversation is reused.
- Post an admin notice welcoming the new members.
What you'll need to have ready
- apiToken: Sendbird Api-Token from the dashboard.
- channelUrl: URL of the existing channel to expand.
- memberIds: Full set of user IDs the channel should contain.
- moderatorId: User ID that authors the welcome notice.
- welcomeMessage: Admin notice posted for the new members.
For your developer
Arazzo workflow sendbird:add-members-to-existing-channel, 3 operations: getGroupChannel → createGroupChannel → sendMessage. Specs on APIs.io.