Package dev.inmo.tgbotapi.extensions.api.passport

Functions

setPassportDataErrors
Link copied to clipboard
suspend fun TelegramBot.setPassportDataErrors(userId: UserId, errors: List<PassportElementError>): Boolean
suspend fun TelegramBot.setPassportDataErrors(user: User, errors: List<PassportElementError>): Boolean
suspend fun TelegramBot.setPassportDataErrors(passportMessage: PassportMessage, decryptor: Decryptor, mapper: suspend Decryptor.(EncryptedPassportElement) -> PassportElementError): Boolean
suspend fun TelegramBot.setPassportDataErrors(userId: UserId, passportData: PassportData, decryptor: Decryptor, mapper: suspend Decryptor.(EncryptedPassportElement) -> PassportElementError): Boolean
suspend fun TelegramBot.setPassportDataErrors(user: User, passportData: PassportData, decryptor: Decryptor, mapper: suspend Decryptor.(EncryptedPassportElement) -> PassportElementError): Boolean