ChannelGroupCreatedEvent
ChannelGroupCreatedEvent =
object
Event payload emitted when a channel group becomes visible to your code. This includes newly created channel groups and existing channel groups that your code can now see due to permission changes. When a channel group becomes visible, you also receive channel.created events for each channel within it. The channel group event is emitted before its channel events.
Properties
beforeChannelGroupId?
optionalbeforeChannelGroupId:ChannelGroupGuid
Indicates where this channel group was inserted. If set, this channel group appears directly above the specified channel group. If undefined, this channel group is at the bottom of the sidebar.
channelGroupPermission?
optionalchannelGroupPermission:ChannelPermission
Your code's computed permissions on this channel group. Contains boolean flags indicating which actions your code can perform.
communityId
communityId:
CommunityGuid
The ID of the community where the channel group was created.
id
id:
ChannelGroupGuid
The ID of the newly created channel group.
name
name:
string
The display name of the new channel group.
roleOrMemberIds?
optionalroleOrMemberIds:RoleOrMemberGuid[]
Array of role or member IDs that have explicit access rules on this channel group.