GuildRoleCreated

data class GuildRoleCreated(val roleId: String, val role: Role? = null)(source)

CreateGuildRoleApi 创建成功后的返回值

Constructors

Link copied to clipboard
constructor(roleId: String, role: Role? = null)

Properties

Link copied to clipboard
val role: Role? = null

所创建的频道身份组对象

Link copied to clipboard
@SerialName(value = "role_id")
val roleId: String

身份组 ID