Creates a new ChannelIdentifier.
The type of the channel
The unique ID of the channel
The type of the channel
The unique ID of the channel
Checks whether this identifier refers to the same channel as another.
The other channel identifier to compare with
true if both identifiers refer to the same channel
Identifies a channel by its type and ID. This is the base class for all channel identifiers. Use the specific subclass constructors (e.g. DirectChannelIdentifier, GroupChannelIdentifier) for type-safe channel identification.