select method

void select(
  1. dynamic conversation
)

Switches the active conversation the conversation.

@remarks conversation can be either a {@link ConversationBuilder} object or a TalkJS conversation id. Passing null means that the conversation will be de-selected in the UI and the message list will disappear. Passing undefined means that the last conversation (or "no chats yet" page if there are no other conversations) will be rendered in the message list component.

Implementation

external void select(/* string |  ConversationBuilder | null*/ conversation);