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 onPersistedMessagesRetrieved(
    1. List<ChatwootMessage>
    )?,
  8. void onMessagesRetrieved(
    1. List<ChatwootMessage>
    )?,
  9. void onConversationStartedTyping()?,
  10. void onConversationStoppedTyping()?,
  11. void onConversationIsOnline()?,
  12. void onConversationIsOffline()?,
  13. void onError(
    1. ChatwootClientException
    )?,
})

Implementation

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