Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

  • addOperators(userIds: string[]): Promise<void>
  • Parameters

    • userIds: string[]

    Returns Promise<void>

  • banUser(user: User, duration?: number, description?: string): Promise<void>
  • Parameters

    • user: User
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • banUserWithUserId(userId: string, duration?: number, description?: string): Promise<void>
  • Parameters

    • userId: string
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • cancelUploadingFileMessage(requestId: string): Promise<boolean>
  • Parameters

    • requestId: string

    Returns Promise<boolean>

  • createMessageMetaArrayKeys(message: default, keys: string[]): Promise<BaseMessage>
  • Parameters

    • message: default
    • keys: string[]

    Returns Promise<BaseMessage>

  • deleteAllMetaCounters(): Promise<void>
  • Returns Promise<void>

  • deleteAllMetaData(): Promise<void>
  • Returns Promise<void>

  • deleteMessage(message: default): Promise<void>
  • Parameters

    • message: default

    Returns Promise<void>

  • deleteMessageMetaArrayKeys(message: default, keys: string[]): Promise<BaseMessage>
  • Parameters

    • message: default
    • keys: string[]

    Returns Promise<BaseMessage>

  • deleteMetaCounter(key: string): Promise<void>
  • Parameters

    • key: string

    Returns Promise<void>

  • deleteMetaData(key: string): Promise<void>
  • Parameters

    • key: string

    Returns Promise<void>

  • freeze(): Promise<void>
  • Returns Promise<void>

  • getMetaData(keys: string[]): Promise<MetaData>
  • Parameters

    • keys: string[]

    Returns Promise<MetaData>

  • muteUser(user: User, duration?: number, description?: string): Promise<void>
  • Parameters

    • user: User
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • muteUserWithUserId(userId: string, duration?: number, description?: string): Promise<void>
  • Parameters

    • userId: string
    • Optional duration: number
    • Optional description: string

    Returns Promise<void>

  • removeOperators(userIds: string[]): Promise<void>
  • Parameters

    • userIds: string[]

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • reportMessage(message: default, category: ReportCategory, description: string): Promise<void>
  • Parameters

    Returns Promise<void>

  • unbanUser(user: User): Promise<void>
  • Parameters

    Returns Promise<void>

  • unbanUserWithUserId(userId: string): Promise<void>
  • Parameters

    • userId: string

    Returns Promise<void>

  • unfreeze(): Promise<void>
  • Returns Promise<void>

  • unmuteUser(user: User): Promise<void>
  • Parameters

    Returns Promise<void>

  • unmuteUserWithUserId(userId: string): Promise<void>
  • Parameters

    • userId: string

    Returns Promise<void>

Accessors

  • get cachedMetaData(): object
  • Returns object

Properties

channelType: ChannelType = ChannelType.BASE
coverUrl: string = ''
createdAt: number = 0
creator: User = null
customType: string = ''
data: string = ''
isEphemeral: boolean = false
isFrozen: boolean = false
name: string = ''
url: string = ''

Generated using TypeDoc