Skip to main content

setChannelMemberRoles

Replace a member's channel roles with the given set (not additive — roles not listed are removed). Requires the 'manage_roles' channel permission (app admins bypass). Re-pushes the member's effective send permission to Buddy so their ability to post updates immediately.

setChannelMemberRoles(
input: SetMemberRolesInput!
): GroupMember!

Arguments

setChannelMemberRoles.input ● SetMemberRolesInput! non-null input

The channel, the target user, and the full list of role ids the member should have.

Type

GroupMember object

A user's membership in a group, including the roles assigned to them.