Interface ConnectResult

Hierarchy

  • ConnectResult

Properties

bot: {
    id: string;
    profilePicture: string;
    title: string;
}

The bot details. These can be used to create the chat bubble.

Type declaration

  • id: string
  • profilePicture: string
  • title: string
userId: string

The user's ID.

userInfo: null | UserInfo

The currently known information about the user. Will be undefined when the user is not yet known in the system.

userToken: string

The user's token as returned from the server. Save this token locally and use it the next time in the [[ChatBubble]] constructor to ensure that the user is being identified over subsequent sessions.

Generated using TypeDoc