updateFeedback

fun BaseMessage.updateFeedback(feedbackRating: FeedbackRating, feedbackComment: String? = null, handler: ResultHandler<Feedback>?)

Updates the feedback for the message. The feedback can be updated only when the FeedbackStatus is FeedbackStatus.SUBMITTED.

Since

4.15.0

Parameters

feedbackRating

The feedback rating

feedbackComment

The feedback comment

handler

A callback handler that indicates whether the request succeeded or failed.


suspend fun BaseMessage.updateFeedback(feedbackRating: FeedbackRating, feedbackComment: String? = null): Feedback

Deprecated

As of 4.17.0, replaced with awaitUpdateFeedback(feedbackRating, feedbackComment).

Replace with

awaitUpdateFeedback(feedbackRating, feedbackComment)

Updates the feedback for the message. The feedback can be updated only when the FeedbackStatus is FeedbackStatus.SUBMITTED.

Since

4.15.0

Parameters

feedbackRating

The feedback rating

feedbackComment

The feedback comment