toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.request
/
SharedUser
Shared
User
@
Serializable
data
class
SharedUser
(
val
id
:
UserId
,
val
firstName
:
String
?
=
null
,
val
lastName
:
String
?
=
null
,
val
username
:
Username
?
=
null
,
val
photo
:
PhotoFile
?
=
null
)
Members
Constructors
Shared
User
Link copied to clipboard
constructor
(
id
:
UserId
,
firstName
:
String
?
=
null
,
lastName
:
String
?
=
null
,
username
:
Username
?
=
null
,
photo
:
PhotoFile
?
=
null
)
Properties
first
Name
Link copied to clipboard
@
SerialName
(
value
=
"first_name"
)
val
firstName
:
String
?
=
null
id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
id
:
UserId
last
Name
Link copied to clipboard
@
SerialName
(
value
=
"last_name"
)
val
lastName
:
String
?
=
null
photo
Link copied to clipboard
@
SerialName
(
value
=
"photo"
)
val
photo
:
PhotoFile
?
=
null
username
Link copied to clipboard
@
SerialName
(
value
=
"username"
)
val
username
:
Username
?
=
null