Plain

@SerialName(value = "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"
}
}

{
"ticket": {
"appId": "appId-value",
"secret": "secret-value",
"token": "token-value"
}
}

Note: 默认 type 的支持需要 simbot-core 3.2.0+

Constructors

Link copied to clipboard
constructor(appId: String, secret: String, token: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard