The identifier of the bot. The bot ID can be found in the URL when viewing the bot in the Botsquad studio.
Optional frontendThe frontend parameter to pass to the websocket URL
Optional hostnameThe hostname of the endpoint. By default this points at bsdq.me. Leave unchanged in most cases.
Optional isUse the non-published version for the bot metadata
Optional localeA valid ISO language code; for instance en, or nl_BE.
Optional secureWhether the connecting endpoint uses HTTPS or not. Defaults to true. Leave unchanged in most cases.
Optional timezoneThe 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)
Optional userAn application-specific user identifier. Mutually exclusive with userToken; if userId is
set, userToken will be ignored.
Optional userAn arbitrary context to pass in; will be used to pre-fill the bot CRM
Optional userThe 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