Hierarchy

  • ILivechatUpdater

Methods

  • Closes a Livechat room

    Parameters

    • room: IRoom

      The room to be closed

    • comment: string

      The comment explaining the reason for closing the room

    • Optional closer: IUser

      The user that closes the room

    Returns Promise<boolean>

  • Set a livechat visitor's custom fields by its token

    Parameters

    • token: string

      The visitor's token

    • key: string

      The key in the custom fields

    • value: string

      The value to be set

    • overwrite: boolean

      Whether overwrite or not

    Returns Promise<boolean>

    Promise to whether success or not

Generated using TypeDoc