Simple Robot 组件 | OneBot
Toggle table of contents
1.7.0
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | OneBot
simbot-component-onebot-v11-core
/
love.forte.simbot.component.onebot.v11.core.api
/
GetStrangerInfoResult
Get
Stranger
Info
Result
@
Serializable
data
class
GetStrangerInfoResult
@
ApiResultConstructor
constructor
(
val
userId
:
LongID
,
val
nickname
:
String
,
val
sex
:
String
,
val
age
:
Int
)
(
source
)
GetStrangerInfoApi
的响应体。
Members
Constructors
Get
Stranger
Info
Result
Link copied to clipboard
@
ApiResultConstructor
constructor
(
userId
:
LongID
,
nickname
:
String
,
sex
:
String
,
age
:
Int
)
Properties
age
Link copied to clipboard
val
age
:
Int
年龄
nickname
Link copied to clipboard
val
nickname
:
String
昵称
sex
Link copied to clipboard
val
sex
:
String
性别,
male
或
female
或
unknown
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
LongID
QQ 号