Options
All
  • Public
  • Public/Protected
  • All
Menu

export class type

Hierarchy

  • ChatPresence

Index

Constructors

  • new ChatPresence(params: { expiryTime: string; lastTime: string; publisher: string; statusDescription: string; statusDetails: any }): ChatPresence
  • Parameters

    • params: { expiryTime: string; lastTime: string; publisher: string; statusDescription: string; statusDetails: any }
      • expiryTime: string
      • lastTime: string
      • publisher: string
      • statusDescription: string
      • statusDetails: any

    Returns ChatPresence

Properties

expiryTime: string

The Unix timestamp when the presence subscription expires. The unit is second.

lastTime: string

The Unix timestamp when the presence state is last updated. The unit is second.

publisher: string

The user ID of the presence publisher.

statusDescription: string

The custom online state such as busy, away, or hidden.

statusDetails: Map<string, number>

The details of the current presence state.

Generated using TypeDoc