ChannelIdentifier

public class ChannelIdentifier

Channel identifier.

Used for unique Identifier a channel, Contains Channel type and channelID.

Usage Example:

// Basic usage
val identifier = ChannelIdentifier(ChannelType.DIRECT, "userId123")

// Batch Get channel
BaseChannel.getChannels(listOf(identifier1, identifier2)) { channels, error ->
// Handle Result
}

Parameters

channelType

Channel type

channelId

Channel unique identifier

Inheritors

Constructors

Link copied to clipboard
public ChannelIdentifier ChannelIdentifier(ChannelType channelType, String channelId)

Properties

Link copied to clipboard
private final String channelId
Link copied to clipboard
private final ChannelType channelType

Functions

Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard
public final String getChannelId()
Link copied to clipboard
public final ChannelType getChannelType()
Link copied to clipboard
public Integer hashCode()
Link copied to clipboard
public String toString()