Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GroupChannelIdentifier

Identifier for a group channel.

example
const groupId = new GroupChannelIdentifier('group-456');

Hierarchy

Index

Accessors

Methods

Constructors

Accessors

  • The type of the channel

    Returns ChannelType

  • get channelId(): string
  • The unique ID of the channel

    Returns string

Methods

  • Checks whether this identifier refers to the same channel as another.

    example
    const id1 = new DirectChannelIdentifier('user-123');
    const id2 = new DirectChannelIdentifier('user-123');
    console.log(id1.isEqualTo(id2)); // true

    Parameters

    Returns boolean

    true if both identifiers refer to the same channel

Constructors