The subscribe option.

Hierarchy

  • SubscribeOptions

Constructors

  • Parameters

    • Optional props: Partial<{
          beQuiet?: boolean;
          withLock?: boolean;
          withMessage?: boolean;
          withMetadata?: boolean;
          withPresence?: boolean;
      }>

    Returns SubscribeOptions

Properties

beQuiet?: boolean = false

Whether to subscribe channel in quiet mode Quiet mode means remote user will not receive any notification when we subscribe or unsubscribe or change our presence state

withLock?: boolean = false

Whether to subscribe channel with lock

withMessage?: boolean = true

Whether to subscribe channel with message

withMetadata?: boolean = false

Whether to subscribe channel with metadata

withPresence?: boolean = true

Whether to subscribe channel with user presence