Properties

Link copied to clipboard
const val MAX_LIMIT: Int = 400

limit 的最大可能值

Inherited properties

Link copied to clipboard
open override val method: String

请求方法,例如 GET(全大写)

Link copied to clipboard
open override val path: String

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

Functions

Link copied to clipboard
fun create(guildId: String, roleId: String, limit: Int): GetGuildRoleMemberListApi
fun create(guildId: String, roleId: String, startIndex: String? = null, limit: Int = MAX_LIMIT): GetGuildRoleMemberListApi

Inherited functions

Link copied to clipboard
inline fun GetGuildRoleMemberListApi.Factory.createFlow(guildId: String, roleId: String, batch: Int = MAX_LIMIT, startIndex: String? = null, crossinline doRequest: suspend GetGuildRoleMemberListApi.() -> GuildRoleMemberList): Flow<SimpleMember>

使用流的方式查询所有频道服务器。

Link copied to clipboard

用于判断两个 ApiDescription 中的两个属性是否相同。

Link copied to clipboard
open override fun toString(): String