Package-level declarations

Inherited functions

Link copied to clipboard
suspend fun KookBot.request(api: KookApi<*>): HttpResponse

使用 KookBotapi 发起请求。

Link copied to clipboard
suspend fun KookApi<*>.requestBy(bot: KookBot): HttpResponse

使用 KookApi 通过 bot 发起请求。

Link copied to clipboard
suspend fun <T : Any> KookBot.requestData(api: KookApi<T>): T

使用 KookBotapi 发起请求。

Link copied to clipboard
suspend fun <T : Any> KookApi<T>.requestDataBy(bot: KookBot): T

使用 KookApi 通过 bot 发起请求。

Link copied to clipboard
suspend fun KookBot.requestResult(api: KookApi<*>): ApiResult

使用 KookBotapi 发起请求。

Link copied to clipboard

使用 KookApi 通过 bot 发起请求。

Link copied to clipboard
suspend fun KookBot.requestText(api: KookApi<*>): String

使用 KookBotapi 发起请求。

Link copied to clipboard
suspend fun KookApi<*>.requestTextBy(bot: KookBot): String

使用 KookApi 通过 bot 发起请求。

Link copied to clipboard
inline fun Regex.walk(input: String, onOther: (input: String, start: Int, end: Int) -> Unit, onMatch: (MatchResult) -> Unit): Boolean