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:
parent
a08d07f7b3
commit
78c224ffa8
@ -38,6 +38,7 @@ fun WebAppUser.asUser() = if (isBot == true) {
|
||||
firstName,
|
||||
lastName ?: "",
|
||||
username ?.let(::Username),
|
||||
languageCode ?.let(::IetfLanguageCode)
|
||||
languageCode ?.let(::IetfLanguageCode),
|
||||
isPremium = isPremium
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user