submitFeedback

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

Submits the feedback for the message. The feedback can be submitted only when the FeedbackStatus is FeedbackStatus.NO_FEEDBACK.

Since

4.15.0

Parameters

feedbackRating

The feedback rating

feedbackComment

The feedback comment


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

Submits the feedback for the message. The feedback can be submitted only when the FeedbackStatus is FeedbackStatus.NO_FEEDBACK.

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.