Plain
data class Plain(val appId: String, val secret: String, val token: String) : TicketConfiguration(source)
与 QGBotFileConfiguration.Ticket 一致的配置类型, 也是 TicketConfiguration 的默认方案。
{
"ticket": {
"type": "plain",
"appId": "appId-value",
"secret": "secret-value",
"token": "token-value"
}
}
Content copied to clipboard
或
{
"ticket": {
"appId": "appId-value",
"secret": "secret-value",
"token": "token-value"
}
}
Content copied to clipboard
Note: 默认
type
的支持需要 simbot-core 3.2.0+