sendVoiceMessagePlayed

open fun sendVoiceMessagePlayed(    @NonNull context: Context,     @NonNull messageId: String,     @Nullable callback: STWOperationCallback<MessagingError>)

Call this method to synchronize voice message play with the webChat.

This method is automatically confirm the play of the related voice message and synchronize it with the server.

See also

Parameters

context

The application context

messageId

The message id

callback

This callback will be invoked to handle operation result :

  • Success : The request to confirm playing voice message is successfully sent to the server
  • Error : a local error occurred when trying to send the request to confirm playing voice message to the server