createInbox method

Inbox createInbox(
  1. InboxOptions? options
)

Creates an Inbox UI

@remarks The Inbox is the main UI component of TalkJS. It shows a user's conversation history and it allows them to write messages. You typically want to call the mount method after creating the Inbox to make it visible on your app.

Call createInbox on the messaging page of your app.

@param options - Optional. Use these to finetune the behavior of the Inbox.

Implementation

external Inbox createInbox(InboxOptions? options);