Briyah SDK - v2.0.18
    Preparing search index...

    Function setInsufficientBalanceMessage

    • Sets the message every InsufficientBalanceError carries, in place of the services' own, so a host's wording (what ran out, and where to buy more) reaches its users through whatever error path they see: a room's "Conversation paused" message, an SSE error event, a rejected promise. Pass null to go back to the services' messages.

      Parameters

      • message: string

      Returns void