UserKtx.setPassportElementErrors - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / UserKtx / setPassportElementErrors

setPassportElementErrors

open suspend fun User.setPassportElementErrors(errors: Array<InputPassportElementError>?): Unit

Suspend function, which informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed.

Parameters

errors - The errors.