doRequestAsync

fun <R> doRequestAsync(bot: Bot, api: QQGuildApi<R>): Promise<R>(source)

直接通过bot进行请求。

Throws

如果返回状态码不在 200..300之间。