Identifier for a group channel.
const groupId = new GroupChannelIdentifier('group-456');
The type of the channel
The unique ID of the channel
Checks whether this identifier refers to the same channel as another.
const id1 = new DirectChannelIdentifier('user-123');const id2 = new DirectChannelIdentifier('user-123');console.log(id1.isEqualTo(id2)); // true
The other channel identifier to compare with
true if both identifiers refer to the same channel
true
The unique group channel ID
Identifier for a group channel.