rate

open suspend fun rate(reply: M, rating: AIMessageRating?)

Tells your backend how the person rated a reply, or that they took their rating back with null. Does nothing by default: the state keeps the ratings on this device either way.

Parameters

reply

The reply the person rated.

rating

Their rating, or null when they took it back.