toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.chat
/
PrivateChatImpl
Private
Chat
Impl
@
Serializable
data
class
PrivateChatImpl
(
val
id
:
UserId
,
val
username
:
Username
?
=
null
,
val
firstName
:
String
=
""
,
val
lastName
:
String
=
""
)
:
PreviewPrivateChat
Members
Constructors
Private
Chat
Impl
Link copied to clipboard
constructor
(
id
:
UserId
,
username
:
Username
?
=
null
,
firstName
:
String
=
""
,
lastName
:
String
=
""
)
Properties
first
Name
Link copied to clipboard
@
SerialName
(
value
=
"first_name"
)
open
override
val
firstName
:
String
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
open
override
val
id
:
UserId
last
Name
Link copied to clipboard
@
SerialName
(
value
=
"last_name"
)
open
override
val
lastName
:
String
username
Link copied to clipboard
@
SerialName
(
value
=
"username"
)
open
override
val
username
:
Username
?
=
null