1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

fix on asUser fun

This commit is contained in:
InsanusMokrassar 2022-08-15 01:21:10 +06:00
parent a08d07f7b3
commit 78c224ffa8

View File

@ -38,6 +38,7 @@ fun WebAppUser.asUser() = if (isBot == true) {
firstName,
lastName ?: "",
username ?.let(::Username),
languageCode ?.let(::IetfLanguageCode)
languageCode ?.let(::IetfLanguageCode),
isPremium = isPremium
)
}