Type alias ConversationChangeListener

ConversationChangeListener: ((conversation?) => void)

Type declaration

    • (conversation?): void
    • Listener called whenever the active conversation changes.

      Note: If no conversation is currently active the passed conversation object will be null

      Parameters

      • Optional conversation: Conversation

        API object for the active conversation or null if no conversation is active.

      Returns void