submitFeedback

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.


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

Deprecated

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

Replace with

awaitSubmitFeedback(feedbackRating, feedbackComment)

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