Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains the necessary parameters to instantiate a ChatBubble class

Hierarchy

  • Config

Index

Properties

botId

botId: string

The identifier of the bot. The bot ID can be found in the URL when viewing the bot in the Botsquad studio.

Optional hostname

hostname: undefined | string

The hostname of the endpoint. By default this points at bsdq.me. Leave unchanged in most cases.

Optional locale

locale: undefined | string

A valid ISO language code; for instance en, or nl_BE.

Optional secure

secure: undefined | false | true

Whether the connecting endpoint uses HTTPS or not. Defaults to true. Leave unchanged in most cases.

Optional timezone

timezone: undefined | string

The user's timezone, needs to be a valid timezone like Europe/Amsterdam.

userAgent

userAgent: string

The user agent string that identifies this client. The user agent needs to be structured like this: appname/version (OS os_version); for instance: `MyApp/1.0.0 (iOS 13.1.2)

Optional userToken

userToken: undefined | string

The token that identifiers this user. The first time a connection is made, the token can be omitted, as it will be returned in the result of ChatBubble.connect. Each subsequent connect() call should have this same userToken parameter, to ensure that the user is correctly identified.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc