Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IModifyExtender

Hierarchy

  • IModifyExtender

Index

Methods

extendMessage

  • Modifies a message in a non-destructive way: Properties can be added to it, but existing properties cannot be changed.

    Parameters

    • messageId: string

      the id of the message to be extended

    • updater: IUser

      the user who is updating/extending the message

    Returns Promise<IMessageExtender>

    the extender instance for the message

extendRoom

  • Modifies a room in a non-destructive way: Properties can be added to it, but existing properties cannot be changed.

    Parameters

    • roomId: string

      the id of the room to be extended

    • updater: IUser

      the user who is updating/extending the room

    Returns Promise<IRoomExtender>

    the extender instance for the room

finish

  • Finishes the extending process, saving the object to the database. Note: If there is an issue or error while updating, this will throw an error.

    Parameters

    Returns Promise<void>

Generated using TypeDoc