docs
4.2.3
js
docs
/
dev.inmo.tgbotapi.webapps
/
WebAppUser
Web
App
User
js
external
interface
WebAppUser
Properties
Extensions
Properties
first
Name
Link copied to clipboard
js
abstract
val
firstName
:
String
id
Link copied to clipboard
js
abstract
val
id
:
Identifier
is_premium
Link copied to clipboard
js
abstract
val
is_premium
:
Boolean
?
is
Bot
Link copied to clipboard
js
abstract
val
isBot
:
Boolean
?
language
Code
Link copied to clipboard
js
abstract
val
languageCode
:
String
?
last
Name
Link copied to clipboard
js
abstract
val
lastName
:
String
?
photo
Url
Link copied to clipboard
js
abstract
val
photoUrl
:
String
?
username
Link copied to clipboard
js
abstract
val
username
:
String
?
Extensions
as
User
Link copied to clipboard
js
fun
WebAppUser
.
asUser
(
)
:
User
is
Premium
Link copied to clipboard
js
val
WebAppUser
.
isPremium
:
Boolean