Skip to content

send call rating

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally