mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-24 19:18:44 +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,
|
firstName,
|
||||||
lastName ?: "",
|
lastName ?: "",
|
||||||
username ?.let(::Username),
|
username ?.let(::Username),
|
||||||
languageCode ?.let(::IetfLanguageCode)
|
languageCode ?.let(::IetfLanguageCode),
|
||||||
|
isPremium = isPremium
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user