SetGroupWholeBanApi

Types

Link copied to clipboard
object Factory

Properties

Link copied to clipboard
open override val action: String

API 的 action(要进行的动作)

Link copied to clipboard

预期结果 OneBotApi 类型的反序列化器。

Link copied to clipboard
open override val body: Any

API的参数。

Link copied to clipboard

预期结果的反序列化器。

Inherited functions

Link copied to clipboard
suspend fun OneBotApi<*>.request(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null): HttpResponse
suspend fun OneBotApi<*>.request(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null): HttpResponse

this 发起一次请求,并得到相应的 HttpResponse 响应。

Link copied to clipboard
fun OneBotApi<*>.requestAsync(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, scope: CoroutineScope? = null): CompletableFuture<out HttpResponse>
fun OneBotApi<*>.requestAsync(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, scope: CoroutineScope? = null): CompletableFuture<out HttpResponse>

异步地请求 OneBotApi.

Link copied to clipboard
fun OneBotApi<*>.requestBlocking(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null): HttpResponse
fun OneBotApi<*>.requestBlocking(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null): HttpResponse

阻塞地请求 OneBotApi.

Link copied to clipboard

使用 botthis 发起一次请求, 并得到相应的 HttpResponse 响应。

Link copied to clipboard

使用 botthis 发起一次异步地请求,

Link copied to clipboard

使用 botthis 发起一次阻塞地请求,

Link copied to clipboard
@Api4J
fun OneBotApi<*>.requestByReserve(bot: OneBotBot): SuspendReserve<HttpResponse>

使用 botthis 发起一次预处理地请求,

Link copied to clipboard
suspend fun <T : Any> OneBotApi<T>.requestData(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): T

this 发起一次请求,并得到响应体的 T 类型结果。

suspend fun <T : Any> OneBotApi<T>.requestData(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): T

this 发起一次请求,并得到响应体的 T 结果。

Link copied to clipboard
fun <T : Any> OneBotApi<T>.requestDataAsync(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): CompletableFuture<out T>
fun <T : Any> OneBotApi<T>.requestDataAsync(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): CompletableFuture<out T>

异步地请求 OneBotApi.

Link copied to clipboard
fun <T : Any> OneBotApi<T>.requestDataBlocking(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): T
fun <T : Any> OneBotApi<T>.requestDataBlocking(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): T

阻塞地请求 OneBotApi.

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

使用 botthis 发起一次请求, 并得到相应的 T 响应。

Link copied to clipboard

使用 botthis 发起一次异步地请求,

Link copied to clipboard

使用 botthis 发起一次阻塞地请求,

Link copied to clipboard
@Api4J
fun <T : Any> OneBotApi<T>.requestDataByReserve(bot: OneBotBot): SuspendReserve<T>

使用 botthis 发起一次预处理地请求,

Link copied to clipboard
fun <T : Any> OneBotApi<T>.requestDataReserve(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): SuspendReserve<T>
fun <T : Any> OneBotApi<T>.requestDataReserve(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): SuspendReserve<T>

异步地请求 OneBotApi.

Link copied to clipboard
suspend fun OneBotApi<*>.requestRaw(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8): String
suspend fun OneBotApi<*>.requestRaw(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8): String

this 发起一次请求,并得到响应体的字符串内容。

Link copied to clipboard
fun OneBotApi<*>.requestRawAsync(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null): CompletableFuture<out String>
fun OneBotApi<*>.requestRawAsync(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null): CompletableFuture<out String>

异步地请求 OneBotApi.

Link copied to clipboard
fun OneBotApi<*>.requestRawBlocking(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8): String
fun OneBotApi<*>.requestRawBlocking(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8): String

阻塞地请求 OneBotApi.

Link copied to clipboard
suspend fun OneBotApi<*>.requestRawBy(bot: OneBotBot): String

使用 botthis 发起一次请求, 并得到相应的 String 响应。

Link copied to clipboard

使用 botthis 发起一次异步地请求,

Link copied to clipboard

使用 botthis 发起一次阻塞地请求,

Link copied to clipboard
@Api4J
fun OneBotApi<*>.requestRawByReserve(bot: OneBotBot): SuspendReserve<String>

使用 botthis 发起一次预处理地请求,

Link copied to clipboard
fun OneBotApi<*>.requestRawReserve(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null): SuspendReserve<String>
fun OneBotApi<*>.requestRawReserve(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null): SuspendReserve<String>

异步地请求 OneBotApi.

Link copied to clipboard
fun OneBotApi<*>.requestReserve(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, scope: CoroutineScope? = null): SuspendReserve<HttpResponse>
fun OneBotApi<*>.requestReserve(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, scope: CoroutineScope? = null): SuspendReserve<HttpResponse>

异步地请求 OneBotApi.

Link copied to clipboard
suspend fun <T : Any> OneBotApi<T>.requestResult(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): OneBotApiResult<T>
suspend fun <T : Any> OneBotApi<T>.requestResult(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): OneBotApiResult<T>

this 发起一次请求,并得到响应体的 OneBotApiResult 结果。

Link copied to clipboard
fun <T : Any> OneBotApi<T>.requestResultAsync(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): CompletableFuture<out OneBotApiResult<T>>
fun <T : Any> OneBotApi<T>.requestResultAsync(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): CompletableFuture<out OneBotApiResult<T>>

异步地请求 OneBotApi.

Link copied to clipboard
fun <T : Any> OneBotApi<T>.requestResultBlocking(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): OneBotApiResult<T>
fun <T : Any> OneBotApi<T>.requestResultBlocking(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, decoder: Json = OneBot11.DefaultJson): OneBotApiResult<T>

阻塞地请求 OneBotApi.

Link copied to clipboard

使用 botthis 发起一次请求, 并得到相应的 OneBotApiResult 响应。

Link copied to clipboard

使用 botthis 发起一次异步地请求,

Link copied to clipboard

使用 botthis 发起一次阻塞地请求,

Link copied to clipboard
@Api4J
fun <T : Any> OneBotApi<T>.requestResultByReserve(bot: OneBotBot): SuspendReserve<OneBotApiResult<T>>

使用 botthis 发起一次预处理地请求,

Link copied to clipboard
fun <T : Any> OneBotApi<T>.requestResultReserve(client: HttpClient, host: Url, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): SuspendReserve<OneBotApiResult<T>>
fun <T : Any> OneBotApi<T>.requestResultReserve(client: HttpClient, host: String, accessToken: String? = null, actionSuffixes: Collection<String>? = null, charset: Charset = Charsets.UTF_8, scope: CoroutineScope? = null, decoder: Json = OneBot11.DefaultJson): SuspendReserve<OneBotApiResult<T>>

异步地请求 OneBotApi.