Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUserUpdater

Updating a user is a more granular approach, since it is one of the more sensitive aspects of Rocket.Chat - or any other system for that matter.

Allowing apps to modify all the aspects of a user would open a critical surface for them to abuse such power and "take hold" of a server, for instance.

Hierarchy

  • IUserUpdater

Index

Methods

updateBio

  • updateBio(user: IUser, bio: string): Promise<boolean>

updateCustomFields

  • updateCustomFields(user: IUser, customFields: object): Promise<boolean>

updateStatusText

  • updateStatusText(user: IUser, statusText: string): Promise<boolean>

Generated using TypeDoc