The identifier of the bot. The bot ID can be found in the URL when viewing the bot in the Botsquad studio.
The hostname of the endpoint. By default this points at bsdq.me
. Leave unchanged in most cases.
A valid ISO language code; for instance en
, or nl_BE
.
Whether the connecting endpoint uses HTTPS or not. Defaults to true
. Leave unchanged in most cases.
The user's timezone, needs to be a valid timezone like Europe/Amsterdam
.
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)
An application-specific user identifier. Mutually exclusive with userToken
; if userId
is
set, userToken
will be ignored.
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.
Generated using TypeDoc
Contains the necessary parameters to instantiate a ChatBubble class