CreateScheduleApi
用于在 channel_id
指定的 日程子频道
下创建一个日程。
要求操作人具有
管理频道
的权限,如果是机器人,则需要将机器人设置为管理员。创建成功后,返回创建成功的日程对象。
创建操作频次限制
单个管理员每天限
10
次。单个频道每天
100
次。
Author
ForteScarlet
Inherited properties
Inherited functions
Link copied to clipboard
已经完成 path 拼接后、追加其他额外内容(例如parameter)时使用
Link copied to clipboard
suspend fun <R : Any> QQGuildApi<R>.request(client: HttpClient, token: String? = null, server: Url? = null, appId: String? = null): HttpResponse
使用 client 向当前目标 API QQGuildApi 发起请求。
Link copied to clipboard
fun QQGuildApi<*>.requestAsync(client: HttpClient, token: String, server: Url = QQGuild.URL, scope: CoroutineScope? = null, appId: String? = null): CompletableFuture<HttpResponse>
QQGuildApi.request for Java
Link copied to clipboard
fun QQGuildApi<*>.requestBlocking(client: HttpClient, token: String?, server: Url = QQGuild.URL, appId: String? = null): HttpResponse
QQGuildApi.request for Java
Link copied to clipboard
suspend fun <R : Any> QQGuildApi<R>.requestData(client: HttpClient, token: String?, server: Url? = QQGuild.URL, decoder: Json = QQGuild.DefaultJson, appId: String? = null): R
使用此api发起一次请求,并得到预期中的结果。
Link copied to clipboard
fun <R : Any> QQGuildApi<R>.requestDataAsync(client: HttpClient, token: String, server: Url = QQGuild.URL, scope: CoroutineScope? = null, appId: String? = null): CompletableFuture<R>
QQGuildApi.requestData for Java
Link copied to clipboard
fun <R : Any> QQGuildApi<R>.requestDataBlocking(client: HttpClient, token: String?, server: Url = QQGuild.URL, appId: String? = null): R
QQGuildApi.requestData for Java
Link copied to clipboard
fun <R : Any> QQGuildApi<R>.requestDataReserve(client: HttpClient, token: String, server: Url = QQGuild.URL, scope: CoroutineScope? = null, appId: String? = null): SuspendReserve<R>
QQGuildApi.requestData for Java
Link copied to clipboard
fun QQGuildApi<*>.requestReserve(client: HttpClient, token: String, server: Url = QQGuild.URL, scope: CoroutineScope? = null, appId: String? = null): SuspendReserve<HttpResponse>
QQGuildApi.request for Java
Link copied to clipboard
inline suspend fun <R : Any> QQGuildApi<R>.requestText(client: HttpClient, token: String?, server: Url? = QQGuild.URL, appId: String? = null, useResp: (HttpResponse) -> Unit = {}): String
通过 request 得到响应,读取为文本并输出debug日志后返回。 不会进行校验。
Link copied to clipboard
fun QQGuildApi<*>.requestTextAsync(client: HttpClient, token: String, server: Url = QQGuild.URL, scope: CoroutineScope? = null, appId: String? = null): CompletableFuture<String>
QQGuildApi.requestText for Java
Link copied to clipboard
fun QQGuildApi<*>.requestTextBlocking(client: HttpClient, token: String?, server: Url = QQGuild.URL, appId: String? = null): String
QQGuildApi.requestText for Java
Link copied to clipboard
fun QQGuildApi<*>.requestTextReserve(client: HttpClient, token: String, server: Url = QQGuild.URL, scope: CoroutineScope? = null, appId: String? = null): SuspendReserve<String>
QQGuildApi.requestText for Java