Handles chat related API requests

Constructors

Properties

Methods

Constructors

Properties

auth: default

The AuthService for this instance

Methods

  • Mark whether we allow images in a Chat

    Parameters

    • chatId: string

      The Chat id

    • allow: boolean

      Should the Chat allow images?

    Returns Promise<null | boolean>

  • Sends text to a Chat

    Parameters

    • chatId: string

      The Chat id to message

    • text: string

      The message to send

    Returns Promise<boolean>

Generated using TypeDoc