Identifier for a system channel.
const systemId = new SystemChannelIdentifier('system-001');
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 system channel ID
Identifier for a system channel.