ChatwootCallbacks constructor

ChatwootCallbacks({
  1. void onWelcome()?,
  2. void onPing()?,
  3. void onConfirmedSubscription()?,
  4. void onMessageReceived(
    1. ChatwootMessage
    )?,
  5. void onMessageSent(
    1. ChatwootMessage,
    2. String
    )?,
  6. void onMessageDelivered(
    1. ChatwootMessage,
    2. String
    )?,
  7. void onMessageUpdated(
    1. ChatwootMessage
    )?,
  8. void onPersistedMessagesRetrieved(
    1. List<ChatwootMessage>
    )?,
  9. void onMessagesRetrieved(
    1. List<ChatwootMessage>
    )?,
  10. void onConversationStartedTyping()?,
  11. void onConversationStoppedTyping()?,
  12. void onConversationIsOnline()?,
  13. void onConversationIsOffline()?,
  14. void onConversationResolved()?,
  15. void onError(
    1. ChatwootClientException
    )?,
})

Implementation

ChatwootCallbacks({
  this.onWelcome,
  this.onPing,
  this.onConfirmedSubscription,
  this.onMessageReceived,
  this.onMessageSent,
  this.onMessageDelivered,
  this.onMessageUpdated,
  this.onPersistedMessagesRetrieved,
  this.onMessagesRetrieved,
  this.onConversationStartedTyping,
  this.onConversationStoppedTyping,
  this.onConversationIsOnline,
  this.onConversationIsOffline,
  this.onConversationResolved,
  this.onError,
});