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.bot
/
OneBotBotSerializableConfiguration
/
Authorization
Authorization
@
Serializable
data
class
Authorization
(
val
botUniqueId
:
String
,
val
apiServerHost
:
String
?
=
null
,
val
eventServerHost
:
String
?
=
null
,
val
accessToken
:
String
?
=
null
,
val
apiAccessToken
:
String
?
=
null
,
val
eventAccessToken
:
String
?
=
null
)
(
source
)
Members
Constructors
Authorization
Link copied to clipboard
constructor
(
botUniqueId
:
String
,
apiServerHost
:
String
?
=
null
,
eventServerHost
:
String
?
=
null
,
accessToken
:
String
?
=
null
,
apiAccessToken
:
String
?
=
null
,
eventAccessToken
:
String
?
=
null
)
Properties
access
Token
Link copied to clipboard
val
accessToken
:
String
?
=
null
api
Access
Token
Link copied to clipboard
val
apiAccessToken
:
String
?
=
null
api
Server
Host
Link copied to clipboard
val
apiServerHost
:
String
?
=
null
bot
Unique
Id
Link copied to clipboard
val
botUniqueId
:
String
event
Access
Token
Link copied to clipboard
val
eventAccessToken
:
String
?
=
null
event
Server
Host
Link copied to clipboard
val
eventServerHost
:
String
?
=
null