customer-android-kotlin

//core/com.kustomer.core.providers/KusChatProvider/submitSatisfactionForm

submitSatisfactionForm

[androidJvm]
abstract suspend fun submitSatisfactionForm(conversationSatisfactionId: String, response: KusSatisfactionNetworkPostBody, conversationId: String): KusResult<KusSatisfaction>

Adds/Updates the satisfaction response on a conversation. This will override any previously added satisfaction response for the same conversation

Note: This is a suspend function and should be called from Kotlin Coroutines

Return

KusResult of type KusSatisfaction

Parameters

androidJvm

   
conversationSatisfactionId - This is the KusConversationCsat.id present in the KusConversation.satisfaction object
response - This is KusSatisfactionNetworkPostBody object containing Satisfaction rating and feedback responses provided by user
conversationId - Conversation id to be updated