updateFeedback

suspend fun BaseMessage.updateFeedback(feedbackRating: FeedbackRating, feedbackComment: String? = null): 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


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.