ApiPermission

data class ApiPermission(val path: String, val method: String, val desc: String, val authStatus: Int)(source)

接口权限对象

Constructors

Link copied to clipboard
constructor(path: String, method: String, desc: String, authStatus: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "auth_status")
val authStatus: Int

授权状态,auth_stats 为 1 时已授权

Link copied to clipboard

API 接口名称,例如 获取频道信

Link copied to clipboard

请求方法,例如 GET

Link copied to clipboard

API 接口名,例如 /guilds/{guild_id}/members/{user_id}

Inherited properties

Link copied to clipboard