execute
inline suspend fun OneBotApiExecutable.execute(action: String, method: HttpMethod = HttpMethod.Post, body: Any? = null, block: CustomOneBotApiBuilder<*>.() -> Unit = {}): HttpResponse(source)
基于 CustomOneBotApi 直接构建一个 Api 并发起请求。
没有到达需要反序列化的步骤,直接默认使用 OneBotApiResult.emptySerializer 作为反序列化器。
Since
1.9.0