Package-level declarations

Types

Link copied to clipboard
@ExperimentalSimbotAPI
interface KookGuildRole : KookRole

代表一个频道服务器所拥有的角色。

Link copied to clipboard
@ExperimentalSimbotAPI
interface KookGuildRoleCreator

服务器频道角色创建器。提供 Kotlin DSL风格的API和Java的惯用API。

Link copied to clipboard
@ExperimentalSimbotAPI
interface KookGuildRoleUpdater

用于修改 KookGuildRole 的更新器,提供Kotlin DSL风格的API和Java的惯用API。

Link copied to clipboard
@ExperimentalSimbotAPI
interface KookMemberRole : KookRole

代表一个频道中某个成员所拥有的某个角色。

Link copied to clipboard
@ExperimentalSimbotAPI
sealed interface KookRole : Role, DeleteSupport

一个 服务器角色

Link copied to clipboard

KookRole 操作器。

Inherited functions

Link copied to clipboard
@ExperimentalSimbotAPI
inline suspend fun KookRoleOperator.createRole(block: KookGuildRoleCreator.() -> Unit): KookGuildRole

使用 DSL 风格API创建一个 KookGuildRole.

Link copied to clipboard
@ExperimentalSimbotAPI
inline suspend fun <R : KookGuildRole> R.update(block: KookGuildRoleUpdater.() -> Unit): R

使用 Kotlin DSL 更新当前服务器角色信息。