submit Feedback
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
feedback Rating
The feedback rating
feedback Comment
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)
Content copied to clipboard
Submits the feedback for the message. The feedback can be submitted only when the FeedbackStatus is FeedbackStatus.NO_FEEDBACK.
Since
4.15.0
Parameters
feedback Rating
The feedback rating
feedback Comment
The feedback comment