CallKtx.sendRating - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.extensions / CallKtx / sendRating

sendRating

open suspend fun Call.sendRating(rating: Int, comment: String?, problems: Array<CallProblem>?): Unit

Suspend function, which sends a call rating.

Parameters

rating - Call rating; 1-5.

comment - An optional user comment if the rating is less than 5.

problems - List of the exact types of problems with the call, specified by the user.