Properties

Link copied to clipboard
const val DEFAULT_LIMIT: Int = 100

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(before: String? = null, after: String? = null, limit: Int = DEFAULT_LIMIT): GetBotGuildListApi
Link copied to clipboard
fun createByAfter(after: String, limit: Int = DEFAULT_LIMIT): GetBotGuildListApi
Link copied to clipboard
fun createByBefore(before: String, limit: Int = DEFAULT_LIMIT): GetBotGuildListApi

Inherited functions

Link copied to clipboard
inline fun GetBotGuildListApi.Factory.createFlow(batch: Int = DEFAULT_LIMIT, after: String? = null, crossinline doRequest: suspend GetBotGuildListApi.() -> List<SimpleGuild>): Flow<SimpleGuild>

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

Link copied to clipboard

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

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