sendCallRating - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / sendCallRating

sendCallRating

suspend fun TelegramFlow.sendCallRating(callId: Int, rating: Int, comment: String?, problems: Array<CallProblem>?): Unit

Suspend function, which sends a call rating.

Parameters

callId - Call identifier.

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.