Skip to content

feat: ring individual members #1755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

feat: ring individual members #1755

wants to merge 11 commits into from

Conversation

oliverlaz
Copy link
Member

@oliverlaz oliverlaz commented Apr 10, 2025

💡 Overview

It adds the ability to ring individual members on an existing call.

API:

const call = client.call("default", crypto.randomUUID());
await call.getOrCreate({
  data: {
    members: [{ user_id: "myself" }, { user_id: "my-friend" }],
  },
});

// note: my-friend needs to be a member of the call
await call.ring({ target_member_ids: ["my-friend"] });

// to invite a new member and ring them
await call.updateCallMembers({ update_members: [{ user_id: "my-other-friend" }] });
await call.ring({ target_member_ids: ["my-other-friend"] });

🎫 Ticket: https://linear.app/stream/issue/VID-508/
📄 Docs: https://github.com/GetStream/docs-content/pull/283
🔗 Refs: https://github.com/GetStream/chat/pull/8534 https://github.com/GetStream/chat/pull/8796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants