toggle menu
onebot-v12-lib
jvm
switch theme
search in API
onebot-v12-lib
/
cn.qfys521.onebot.v12.lib.model
/
SelfInfo
Self
Info
@
Serializable
data
class
SelfInfo
(
val
userId
:
String
,
val
userName
:
String
?
=
null
,
val
platform
:
String
?
=
null
,
val
userDisplayName
:
String
?
=
null
)
Bot profile returned by
get_self_info
.
Members
Constructors
Self
Info
Link copied to clipboard
constructor
(
userId
:
String
,
userName
:
String
?
=
null
,
platform
:
String
?
=
null
,
userDisplayName
:
String
?
=
null
)
Properties
platform
Link copied to clipboard
val
platform
:
String
?
=
null
user
Display
Name
Link copied to clipboard
@
SerialName
(
value
=
"user_displayname"
)
val
userDisplayName
:
String
?
=
null
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
String
user
Name
Link copied to clipboard
@
SerialName
(
value
=
"user_name"
)
val
userName
:
String
?
=
null