Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatPermissionManager

Hierarchy

  • ChatPermissionManager

Index

Accessors

chatId

  • get chatId(): string
  • Returns string

Methods

addGroupPermissions

  • addGroupPermissions(permissions: object): Promise<void>
  • addGroupPermissions(permissions: Map<string, ChatPermission[]>): Promise<void>
  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

addUserPermissions

  • addUserPermissions(permissions: object): Promise<void>
  • addUserPermissions(permissions: Map<string, ChatPermission[]>): Promise<void>
  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

addWorldPermissions

getAllGroupPermissions

getAllUserPermissions

getGroupPermissions

getPermissions

getUserPermissions

getWorldPermissions

removeGroupPermissions

  • removeGroupPermissions(permissions: object): Promise<void>
  • removeGroupPermissions(permissions: Map<string, ChatPermission[]>): Promise<void>
  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

removeUserPermissions

  • removeUserPermissions(permissions: object): Promise<void>
  • removeUserPermissions(permissions: Map<string, ChatPermission[]>): Promise<void>
  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

removeWorldPermissions

  • removeWorldPermissions(permissions: ChatPermission[]): Promise<void>

setGroupPermissions

  • setGroupPermissions(permissions: object): Promise<void>
  • setGroupPermissions(permissions: Map<string, ChatPermission[]>): Promise<void>
  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

setUserPermissions

  • setUserPermissions(permissions: object): Promise<void>
  • setUserPermissions(permissions: Map<string, ChatPermission[]>): Promise<void>
  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

setWorldPermissions