使用 核心库(core 模块) 配合 simbot4 Spring Boot starter 来将QQ频道组件作为 simbot4 的组件之一应用在 Spring Boot 3
中。
@@ -50,7 +52,7 @@ simbot 核心库的版本尽量不要低于 `v%minimum-core-version%`,可前
// simbot4核心库
implementation("love.forte.simbot:simbot-core-spring-boot-starter:%minimum-core-version%")
// QQ频道组件库
-implementation("love.forte.simbot.component:simbot-component-qq-guild-core:%version%")
+implementation("love.forte.simbot.component:simbot-component-qq-guild-core:%qg-version%")
```
@@ -62,7 +64,7 @@ implementation("love.forte.simbot.component:simbot-component-qq-guild-core:%vers
// simbot4核心库
implementation("love.forte.simbot:simbot-core-spring-boot-starter:%minimum-core-version%")
// QQ频道组件库
-implementation("love.forte.simbot.component:simbot-component-qq-guild-core-jvm:%version%")
+implementation("love.forte.simbot.component:simbot-component-qq-guild-core-jvm:%qg-version%")
```
@@ -74,7 +76,7 @@ implementation("love.forte.simbot.component:simbot-component-qq-guild-core-jvm:%
// simbot4核心库
implementation 'love.forte.simbot:simbot-core-spring-boot-starter:%minimum-core-version%'
// QQ频道组件库
-implementation 'love.forte.simbot.component:simbot-component-qq-guild-core:%version%'
+implementation 'love.forte.simbot.component:simbot-component-qq-guild-core:%qg-version%'
```
@@ -86,7 +88,7 @@ implementation 'love.forte.simbot.component:simbot-component-qq-guild-core:%vers
// simbot4核心库
implementation 'love.forte.simbot:simbot-core-spring-boot-starter:%minimum-core-version%'
// QQ频道组件库
-implementation 'love.forte.simbot.component:simbot-component-qq-guild-core-jvm:%version%'
+implementation 'love.forte.simbot.component:simbot-component-qq-guild-core-jvm:%qg-version%'
```
@@ -105,7 +107,7 @@ implementation 'love.forte.simbot.component:simbot-component-qq-guild-core-jvm:%
love.forte.simbot.component
simbot-component-qq-guild-core-jvm
- %version%
+ %qg-version%
```
diff --git a/Writerside/topics/use-stdlib.md b/Writerside/topics/use-stdlib.md
index 5ae71611..ddf7e9d5 100644
--- a/Writerside/topics/use-stdlib.md
+++ b/Writerside/topics/use-stdlib.md
@@ -4,6 +4,8 @@ switcher-label: Java API 风格
# 使用标准库模块
+
+
本章节介绍如何使用 标准库模块(stdlib模块) 来构建 Bot 实例、订阅并处理事件。
@@ -47,7 +49,7 @@ switcher-label: Java API 风格
```Kotlin
-implementation("love.forte.simbot.component:simbot-component-qq-guild-stdlib:%version%")
+implementation("love.forte.simbot.component:simbot-component-qq-guild-stdlib:%qg-version%")
```
@@ -56,7 +58,7 @@ implementation("love.forte.simbot.component:simbot-component-qq-guild-stdlib:%ve
那么你需要指定依赖的后缀为 `-jvm`。
```Kotlin
-implementation("love.forte.simbot.component:simbot-component-qq-guild-stdlib-jvm:%version%")
+implementation("love.forte.simbot.component:simbot-component-qq-guild-stdlib-jvm:%qg-version%")
```
@@ -65,7 +67,7 @@ implementation("love.forte.simbot.component:simbot-component-qq-guild-stdlib-jvm
```Groovy
-implementation 'love.forte.simbot.component:simbot-component-qq-guild-stdlib:%version%'
+implementation 'love.forte.simbot.component:simbot-component-qq-guild-stdlib:%qg-version%'
```
@@ -74,7 +76,7 @@ implementation 'love.forte.simbot.component:simbot-component-qq-guild-stdlib:%ve
那么你需要指定依赖的后缀为 `-jvm`。
```Groovy
-implementation 'love.forte.simbot.component:simbot-component-qq-guild-stdlib-jvm:%version%'
+implementation 'love.forte.simbot.component:simbot-component-qq-guild-stdlib-jvm:%qg-version%'
```
@@ -87,7 +89,7 @@ implementation 'love.forte.simbot.component:simbot-component-qq-guild-stdlib-jvm
love.forte.simbot.component
simbot-component-qq-guild-stdlib-jvm
- %version%
+ %qg-version%
```
diff --git a/Writerside/v.list b/Writerside/v.list
index ca23ff48..2a810f25 100644
--- a/Writerside/v.list
+++ b/Writerside/v.list
@@ -5,6 +5,6 @@
-
+
diff --git a/Writerside/writerside.cfg b/Writerside/writerside.cfg
index e2faeba2..06eecab7 100644
--- a/Writerside/writerside.cfg
+++ b/Writerside/writerside.cfg
@@ -4,5 +4,5 @@
-
+
diff --git a/buildSrc/src/main/kotlin/P.kt b/buildSrc/src/main/kotlin/P.kt
index 5ea930c2..b0a412f6 100644
--- a/buildSrc/src/main/kotlin/P.kt
+++ b/buildSrc/src/main/kotlin/P.kt
@@ -56,8 +56,8 @@ object P {
override val homepage: String get() = HOMEPAGE
- const val VERSION = "4.0.0-beta5"
- const val NEXT_VERSION = "4.0.0-beta6"
+ const val VERSION = "4.0.0-beta6"
+ const val NEXT_VERSION = "4.0.0-beta7"
override val snapshotVersion = "$NEXT_VERSION-SNAPSHOT"
override val version = if (isSnapshot()) snapshotVersion else VERSION
diff --git a/simbot-component-qq-guild-api/README.md b/simbot-component-qq-guild-api/README.md
index ebc17a03..23ee49a0 100644
--- a/simbot-component-qq-guild-api/README.md
+++ b/simbot-component-qq-guild-api/README.md
@@ -140,3 +140,5 @@ guildList.forEach { guild ->
- [x] 帖子 API
- [x] API接口权限 API
- [x] WebSocket API
+- [x] QQ群聊
+- [x] C2C单聊
diff --git a/simbot-component-qq-guild-api/api/simbot-component-qq-guild-api.api b/simbot-component-qq-guild-api/api/simbot-component-qq-guild-api.api
index 3fda1b64..9be301c4 100644
--- a/simbot-component-qq-guild-api/api/simbot-component-qq-guild-api.api
+++ b/simbot-component-qq-guild-api/api/simbot-component-qq-guild-api.api
@@ -91,49 +91,65 @@ public final class love/forte/simbot/qguild/api/ApiDescriptionKt {
}
public final class love/forte/simbot/qguild/api/ApiRequests {
+ public static final field X_UNION_APPID_HEADER Ljava/lang/String;
public static final fun newHttpClient ()Lio/ktor/client/HttpClient;
public static final fun newJson ()Lkotlinx/serialization/json/Json;
public static final fun newJson (Ljava/util/function/Consumer;)Lkotlinx/serialization/json/Json;
public static synthetic fun newJson$default (Ljava/util/function/Consumer;ILjava/lang/Object;)Lkotlinx/serialization/json/Json;
+ public static final synthetic fun request (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final synthetic fun request (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
- public static synthetic fun request$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
+ public static final synthetic fun request (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static final synthetic fun request (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun request$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static final fun requestAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;)Ljava/util/concurrent/CompletableFuture;
- public static synthetic fun requestAsync$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
+ public static final fun requestAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
+ public static synthetic fun requestAsync$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Lio/ktor/client/statement/HttpResponse;
public static final fun requestBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Lio/ktor/client/statement/HttpResponse;
- public static synthetic fun requestBlocking$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;ILjava/lang/Object;)Lio/ktor/client/statement/HttpResponse;
+ public static final fun requestBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;)Lio/ktor/client/statement/HttpResponse;
+ public static synthetic fun requestBlocking$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;ILjava/lang/Object;)Lio/ktor/client/statement/HttpResponse;
+ public static final synthetic fun requestData (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static final synthetic fun requestData (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/serialization/json/Json;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final synthetic fun requestData (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/serialization/json/Json;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
- public static synthetic fun requestData$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/serialization/json/Json;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
+ public static final synthetic fun requestData (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun requestData$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/serialization/json/Json;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static final fun requestDataAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestDataAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestDataAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;)Ljava/util/concurrent/CompletableFuture;
- public static synthetic fun requestDataAsync$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
+ public static final fun requestDataAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
+ public static synthetic fun requestDataAsync$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestDataBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Ljava/lang/Object;
public static final fun requestDataBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Ljava/lang/Object;
- public static synthetic fun requestDataBlocking$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;ILjava/lang/Object;)Ljava/lang/Object;
+ public static final fun requestDataBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;)Ljava/lang/Object;
+ public static synthetic fun requestDataBlocking$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/Object;
public static final fun requestDataReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public static final fun requestDataReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public static final fun requestDataReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
- public static synthetic fun requestDataReserve$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public static final fun requestDataReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public static synthetic fun requestDataReserve$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public static final fun requestReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public static final fun requestReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public static final fun requestReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
- public static synthetic fun requestReserve$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
- public static final fun requestText (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
- public static synthetic fun requestText$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
+ public static final fun requestReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public static synthetic fun requestReserve$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public static final fun requestText (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun requestText$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static final fun requestTextAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestTextAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestTextAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;)Ljava/util/concurrent/CompletableFuture;
- public static synthetic fun requestTextAsync$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
+ public static final fun requestTextAsync (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
+ public static synthetic fun requestTextAsync$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
public static final fun requestTextBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Ljava/lang/String;
public static final fun requestTextBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Ljava/lang/String;
- public static synthetic fun requestTextBlocking$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;ILjava/lang/Object;)Ljava/lang/String;
+ public static final fun requestTextBlocking (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;)Ljava/lang/String;
+ public static synthetic fun requestTextBlocking$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
public static final fun requestTextReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public static final fun requestTextReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public static final fun requestTextReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
- public static synthetic fun requestTextReserve$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public static final fun requestTextReserve (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public static synthetic fun requestTextReserve$default (Llove/forte/simbot/qguild/api/QQGuildApi;Lio/ktor/client/HttpClient;Ljava/lang/String;Lio/ktor/http/Url;Lkotlinx/coroutines/CoroutineScope;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
}
public abstract class love/forte/simbot/qguild/api/DeleteQQGuildApi : love/forte/simbot/common/apidefinition/DeleteApiDefinition, love/forte/simbot/qguild/api/QQGuildApi {
@@ -504,6 +520,80 @@ public final class love/forte/simbot/qguild/api/apipermission/GetApiPermissionLi
public static final fun hasAuth (Llove/forte/simbot/qguild/api/apipermission/ApiPermissions;Llove/forte/simbot/qguild/api/ApiDescription;)Z
}
+public final class love/forte/simbot/qguild/api/app/AppAccessToken {
+ public static final field Companion Llove/forte/simbot/qguild/api/app/AppAccessToken$Companion;
+ public fun (Ljava/lang/String;I)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()I
+ public final fun copy (Ljava/lang/String;I)Llove/forte/simbot/qguild/api/app/AppAccessToken;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/api/app/AppAccessToken;Ljava/lang/String;IILjava/lang/Object;)Llove/forte/simbot/qguild/api/app/AppAccessToken;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getAccessToken ()Ljava/lang/String;
+ public final fun getExpiresIn ()I
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/api/app/AppAccessToken$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/app/AppAccessToken$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/app/AppAccessToken;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/app/AppAccessToken;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/app/AppAccessToken$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/app/GetAppAccessTokenApi : love/forte/simbot/qguild/api/PostQQGuildApi {
+ public static final field Factory Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Factory;
+ public static final field HTTP_URL_STRING Ljava/lang/String;
+ public static final field httpUrl Lio/ktor/http/Url;
+ public synthetic fun (Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public static final fun create (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi;
+ public synthetic fun getBody ()Ljava/lang/Object;
+ public fun getBody ()Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body;
+ public fun getResultDeserializationStrategy ()Lkotlinx/serialization/DeserializationStrategy;
+ public fun getUrl ()Lio/ktor/http/Url;
+}
+
+public final class love/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body {
+ public static final field Companion Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getAppId ()Ljava/lang/String;
+ public final fun getClientSecret ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Body$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/app/GetAppAccessTokenApi$Factory {
+ public final fun create (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/app/GetAppAccessTokenApi;
+}
+
public final class love/forte/simbot/qguild/api/channel/CreateChannelApi : love/forte/simbot/qguild/api/PostQQGuildApi {
public static final field Factory Llove/forte/simbot/qguild/api/channel/CreateChannelApi$Factory;
public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/api/channel/CreateChannelApi$Body;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
@@ -933,6 +1023,108 @@ public final class love/forte/simbot/qguild/api/channel/schedules/ScheduleReques
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
+public final class love/forte/simbot/qguild/api/files/UploadGroupFilesApi : love/forte/simbot/qguild/api/PostQQGuildApi {
+ public static final field FILE_TYPE_AUDIO I
+ public static final field FILE_TYPE_FILE I
+ public static final field FILE_TYPE_IMAGE I
+ public static final field FILE_TYPE_VIDEO I
+ public static final field Factory Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Factory;
+ public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public static final fun create (Ljava/lang/String;ILjava/lang/String;)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi;
+ public static final fun create (Ljava/lang/String;ILjava/lang/String;Z)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi;
+ public static final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi;
+ public fun getResultDeserializationStrategy ()Lkotlinx/serialization/DeserializationStrategy;
+}
+
+public final class love/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body {
+ public static final field Companion Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body$Companion;
+ public fun (ILjava/lang/String;Z)V
+ public final fun component1 ()I
+ public final fun component2 ()Ljava/lang/String;
+ public final fun component3 ()Z
+ public final fun copy (ILjava/lang/String;Z)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;ILjava/lang/String;ZILjava/lang/Object;)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getFileType ()I
+ public final fun getSrvSendMsg ()Z
+ public final fun getUrl ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/files/UploadGroupFilesApi$Factory : love/forte/simbot/qguild/api/SimplePostApiDescription {
+ public final fun create (Ljava/lang/String;ILjava/lang/String;)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi;
+ public final fun create (Ljava/lang/String;ILjava/lang/String;Z)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi;
+ public final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Body;)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi;
+ public static synthetic fun create$default (Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi$Factory;Ljava/lang/String;ILjava/lang/String;ZILjava/lang/Object;)Llove/forte/simbot/qguild/api/files/UploadGroupFilesApi;
+}
+
+public final class love/forte/simbot/qguild/api/files/UploadUserFilesApi : love/forte/simbot/qguild/api/PostQQGuildApi {
+ public static final field FILE_TYPE_AUDIO I
+ public static final field FILE_TYPE_FILE I
+ public static final field FILE_TYPE_IMAGE I
+ public static final field FILE_TYPE_VIDEO I
+ public static final field Factory Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Factory;
+ public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public static final fun create (Ljava/lang/String;ILjava/lang/String;)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi;
+ public static final fun create (Ljava/lang/String;ILjava/lang/String;Z)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi;
+ public static final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi;
+ public fun getResultDeserializationStrategy ()Lkotlinx/serialization/DeserializationStrategy;
+}
+
+public final class love/forte/simbot/qguild/api/files/UploadUserFilesApi$Body {
+ public static final field Companion Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body$Companion;
+ public fun (ILjava/lang/String;Z)V
+ public final fun component1 ()I
+ public final fun component2 ()Ljava/lang/String;
+ public final fun component3 ()Z
+ public final fun copy (ILjava/lang/String;Z)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;ILjava/lang/String;ZILjava/lang/Object;)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getFileType ()I
+ public final fun getSrvSendMsg ()Z
+ public final fun getUrl ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/api/files/UploadUserFilesApi$Body$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/files/UploadUserFilesApi$Body$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/files/UploadUserFilesApi$Factory : love/forte/simbot/qguild/api/SimplePostApiDescription {
+ public final fun create (Ljava/lang/String;ILjava/lang/String;)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi;
+ public final fun create (Ljava/lang/String;ILjava/lang/String;Z)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi;
+ public final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Body;)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi;
+ public static synthetic fun create$default (Llove/forte/simbot/qguild/api/files/UploadUserFilesApi$Factory;Ljava/lang/String;ILjava/lang/String;ZILjava/lang/Object;)Llove/forte/simbot/qguild/api/files/UploadUserFilesApi;
+}
+
public final class love/forte/simbot/qguild/api/forum/DeleteThreadApi : love/forte/simbot/qguild/api/DeleteQQGuildApi, love/forte/simbot/qguild/api/QQGuildApiWithoutResult {
public static final field Factory Llove/forte/simbot/qguild/api/forum/DeleteThreadApi$Factory;
public fun (Ljava/lang/String;Ljava/lang/String;)V
@@ -1331,6 +1523,56 @@ public final class love/forte/simbot/qguild/api/message/GetMessageApi$Factory :
public final fun create (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/GetMessageApi;
}
+public class love/forte/simbot/qguild/api/message/GroupAndC2CSendBody {
+ public static final field Companion Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody$Companion;
+ public static final field MSG_TYPE_ARK I
+ public static final field MSG_TYPE_EMBED I
+ public static final field MSG_TYPE_MARKDOWN I
+ public static final field MSG_TYPE_MEDIA I
+ public static final field MSG_TYPE_TEXT I
+ public synthetic fun (ILjava/lang/String;ILlove/forte/simbot/qguild/model/Message$Markdown;Llove/forte/simbot/qguild/model/MessageKeyboard;Llove/forte/simbot/qguild/model/MessageMedia;Llove/forte/simbot/qguild/model/Message$Ark;Llove/forte/simbot/qguild/model/Message$Reference;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
+ public static final fun create (Ljava/lang/String;I)Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;
+ public fun getArk ()Llove/forte/simbot/qguild/model/Message$Ark;
+ public fun getContent ()Ljava/lang/String;
+ public fun getEventId ()Ljava/lang/String;
+ public fun getKeyboard ()Llove/forte/simbot/qguild/model/MessageKeyboard;
+ public fun getMarkdown ()Llove/forte/simbot/qguild/model/Message$Markdown;
+ public fun getMedia ()Llove/forte/simbot/qguild/model/MessageMedia;
+ public fun getMessageReference ()Llove/forte/simbot/qguild/model/Message$Reference;
+ public fun getMsgId ()Ljava/lang/String;
+ public fun getMsgSeq ()Ljava/lang/Integer;
+ public fun getMsgType ()I
+ public fun setArk (Llove/forte/simbot/qguild/model/Message$Ark;)V
+ public fun setContent (Ljava/lang/String;)V
+ public fun setEventId (Ljava/lang/String;)V
+ public fun setKeyboard (Llove/forte/simbot/qguild/model/MessageKeyboard;)V
+ public fun setMarkdown (Llove/forte/simbot/qguild/model/Message$Markdown;)V
+ public fun setMedia (Llove/forte/simbot/qguild/model/MessageMedia;)V
+ public fun setMessageReference (Llove/forte/simbot/qguild/model/Message$Reference;)V
+ public fun setMsgId (Ljava/lang/String;)V
+ public fun setMsgSeq (Ljava/lang/Integer;)V
+ public fun setMsgType (I)V
+ public fun toString ()Ljava/lang/String;
+ public static final synthetic fun write$Self (Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
+}
+
+public synthetic class love/forte/simbot/qguild/api/message/GroupAndC2CSendBody$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/message/GroupAndC2CSendBody$Companion {
+ public final fun create (Ljava/lang/String;I)Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;
+ public final fun create (Ljava/lang/String;ILkotlin/jvm/functions/Function1;)Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
public final class love/forte/simbot/qguild/api/message/MessageSendApi : love/forte/simbot/qguild/api/PostQQGuildApi {
public static final field Factory Llove/forte/simbot/qguild/api/message/MessageSendApi$Factory;
public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/api/message/MessageSendApi$Body;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
@@ -1465,6 +1707,60 @@ public final class love/forte/simbot/qguild/api/message/direct/DmsSendApiKt {
public static final synthetic fun create (Llove/forte/simbot/qguild/api/message/direct/DmsSendApi$Factory;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Llove/forte/simbot/qguild/api/message/direct/DmsSendApi;
}
+public final class love/forte/simbot/qguild/api/message/group/GroupMessageSendApi : love/forte/simbot/qguild/api/PostQQGuildApi {
+ public static final field Factory Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi$Factory;
+ public static final field MSG_TYPE_ARK I
+ public static final field MSG_TYPE_EMBED I
+ public static final field MSG_TYPE_MARKDOWN I
+ public static final field MSG_TYPE_MEDIA I
+ public static final field MSG_TYPE_TEXT I
+ public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public static final fun create (Ljava/lang/String;Ljava/lang/String;I)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public static final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public static final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public static final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public static final fun createText (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public fun getResultDeserializationStrategy ()Lkotlinx/serialization/DeserializationStrategy;
+}
+
+public final class love/forte/simbot/qguild/api/message/group/GroupMessageSendApi$Factory : love/forte/simbot/qguild/api/SimplePostApiDescription {
+ public final fun create (Ljava/lang/String;Ljava/lang/String;I)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public static synthetic fun createMarkdown$default (Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi$Factory;Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard;ILjava/lang/Object;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+ public final fun createText (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendApi;
+}
+
+public final class love/forte/simbot/qguild/api/message/group/GroupMessageSendResult {
+ public static final field Companion Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getId ()Ljava/lang/String;
+ public final fun getTimestamp ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/api/message/group/GroupMessageSendResult$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/message/group/GroupMessageSendResult$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
public final class love/forte/simbot/qguild/api/message/setting/GetMessageSettingApi : love/forte/simbot/qguild/api/GetQQGuildApi {
public static final field Factory Llove/forte/simbot/qguild/api/message/setting/GetMessageSettingApi$Factory;
public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
@@ -1476,6 +1772,98 @@ public final class love/forte/simbot/qguild/api/message/setting/GetMessageSettin
public final fun create (Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/setting/GetMessageSettingApi;
}
+public final class love/forte/simbot/qguild/api/message/user/UserMessageSendApi : love/forte/simbot/qguild/api/PostQQGuildApi {
+ public static final field Factory Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi$Factory;
+ public static final field MSG_TYPE_ARK I
+ public static final field MSG_TYPE_EMBED I
+ public static final field MSG_TYPE_MARKDOWN I
+ public static final field MSG_TYPE_MEDIA I
+ public static final field MSG_TYPE_TEXT I
+ public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public static final fun create (Ljava/lang/String;Ljava/lang/String;I)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public static final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public static final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public static final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public static final fun createText (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public fun getResultDeserializationStrategy ()Lkotlinx/serialization/DeserializationStrategy;
+}
+
+public final class love/forte/simbot/qguild/api/message/user/UserMessageSendApi$Body {
+ public static final field Companion Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi$Body$Companion;
+ public fun (Ljava/lang/String;I)V
+ public final fun getArk ()Llove/forte/simbot/qguild/model/Message$Ark;
+ public final fun getContent ()Ljava/lang/String;
+ public final fun getEventId ()Ljava/lang/String;
+ public final fun getKeyboard ()Llove/forte/simbot/qguild/model/MessageKeyboard;
+ public final fun getMarkdown ()Llove/forte/simbot/qguild/model/Message$Markdown;
+ public final fun getMedia ()Llove/forte/simbot/qguild/model/SendMessageMedia;
+ public final fun getMessageReference ()Llove/forte/simbot/qguild/model/Message$Reference;
+ public final fun getMsgId ()Ljava/lang/String;
+ public final fun getMsgSeq ()Ljava/lang/Integer;
+ public final fun getMsgType ()I
+ public final fun setArk (Llove/forte/simbot/qguild/model/Message$Ark;)V
+ public final fun setEventId (Ljava/lang/String;)V
+ public final fun setKeyboard (Llove/forte/simbot/qguild/model/MessageKeyboard;)V
+ public final fun setMarkdown (Llove/forte/simbot/qguild/model/Message$Markdown;)V
+ public final fun setMedia (Llove/forte/simbot/qguild/model/SendMessageMedia;)V
+ public final fun setMessageReference (Llove/forte/simbot/qguild/model/Message$Reference;)V
+ public final fun setMsgId (Ljava/lang/String;)V
+ public final fun setMsgSeq (Ljava/lang/Integer;)V
+}
+
+public synthetic class love/forte/simbot/qguild/api/message/user/UserMessageSendApi$Body$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi$Body$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi$Body;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi$Body;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/message/user/UserMessageSendApi$Body$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/message/user/UserMessageSendApi$Factory : love/forte/simbot/qguild/api/SimplePostApiDescription {
+ public final fun create (Ljava/lang/String;Ljava/lang/String;I)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public final fun create (Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public final fun createMarkdown (Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public static synthetic fun createMarkdown$default (Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi$Factory;Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard;ILjava/lang/Object;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+ public final fun createText (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendApi;
+}
+
+public final class love/forte/simbot/qguild/api/message/user/UserMessageSendResult {
+ public static final field Companion Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getId ()Ljava/lang/String;
+ public final fun getTimestamp ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/api/message/user/UserMessageSendResult$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/api/message/user/UserMessageSendResult$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
public final class love/forte/simbot/qguild/api/role/AddMemberRoleApi : love/forte/simbot/qguild/api/PutQQGuildApi, love/forte/simbot/qguild/api/QQGuildApiWithoutResult {
public static final field Factory Llove/forte/simbot/qguild/api/role/AddMemberRoleApi$Factory;
public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
@@ -1702,13 +2090,16 @@ public final class love/forte/simbot/qguild/api/user/GetBotInfoApi$Description :
public final class love/forte/simbot/qguild/event/AtMessageCreate : love/forte/simbot/qguild/event/MessageDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/AtMessageCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/model/Message;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/Message;
- public final fun copy (JLlove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/qguild/event/AtMessageCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/AtMessageCreate;JLlove/forte/simbot/qguild/model/Message;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/AtMessageCreate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/Message;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/qguild/event/AtMessageCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/AtMessageCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/AtMessageCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/model/Message;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -1728,132 +2119,333 @@ public final class love/forte/simbot/qguild/event/AtMessageCreate$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ChannelCreate : love/forte/simbot/qguild/event/ChannelDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ChannelCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventChannel;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventChannel;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventChannel;)Llove/forte/simbot/qguild/event/ChannelCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ChannelCreate;JLlove/forte/simbot/qguild/event/EventChannel;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ChannelCreate;
+public final class love/forte/simbot/qguild/event/C2CManagementData {
+ public static final field Companion Llove/forte/simbot/qguild/event/C2CManagementData$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/event/C2CManagementData;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/C2CManagementData;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/C2CManagementData;
public fun equals (Ljava/lang/Object;)Z
- public synthetic fun getData ()Ljava/lang/Object;
- public fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+ public final fun getOpenid ()Ljava/lang/String;
+ public final fun getTimestamp ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ChannelCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ChannelCreate$$serializer;
+public synthetic class love/forte/simbot/qguild/event/C2CManagementData$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/C2CManagementData$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ChannelCreate;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/C2CManagementData;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ChannelCreate;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/C2CManagementData;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ChannelCreate$Companion {
+public final class love/forte/simbot/qguild/event/C2CManagementData$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ChannelDelete : love/forte/simbot/qguild/event/ChannelDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ChannelDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventChannel;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventChannel;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventChannel;)Llove/forte/simbot/qguild/event/ChannelDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ChannelDelete;JLlove/forte/simbot/qguild/event/EventChannel;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ChannelDelete;
+public abstract class love/forte/simbot/qguild/event/C2CManagementDispatch : love/forte/simbot/qguild/event/Signal$Dispatch {
+ public abstract fun getData ()Llove/forte/simbot/qguild/event/C2CManagementData;
+}
+
+public final class love/forte/simbot/qguild/event/C2CMessageCreate : love/forte/simbot/qguild/event/Signal$Dispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/C2CMessageCreate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CMessageCreate$Data;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CMessageCreate$Data;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/C2CMessageCreate$Data;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CMessageCreate$Data;)Llove/forte/simbot/qguild/event/C2CMessageCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/C2CMessageCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CMessageCreate$Data;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/C2CMessageCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
- public fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+ public fun getData ()Llove/forte/simbot/qguild/event/C2CMessageCreate$Data;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ChannelDelete$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ChannelDelete$$serializer;
+public synthetic class love/forte/simbot/qguild/event/C2CMessageCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/C2CMessageCreate$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ChannelDelete;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/C2CMessageCreate;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ChannelDelete;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/C2CMessageCreate;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ChannelDelete$Companion {
+public final class love/forte/simbot/qguild/event/C2CMessageCreate$Author {
+ public static final field Companion Llove/forte/simbot/qguild/event/C2CMessageCreate$Author$Companion;
+ public fun (Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;)Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getUserOpenid ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/C2CMessageCreate$Author$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/C2CMessageCreate$Author$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/C2CMessageCreate$Author$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public abstract class love/forte/simbot/qguild/event/ChannelDispatch : love/forte/simbot/qguild/event/Signal$Dispatch {
- public abstract fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+public final class love/forte/simbot/qguild/event/C2CMessageCreate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ChannelUpdate : love/forte/simbot/qguild/event/ChannelDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ChannelUpdate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventChannel;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventChannel;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventChannel;)Llove/forte/simbot/qguild/event/ChannelUpdate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ChannelUpdate;JLlove/forte/simbot/qguild/event/EventChannel;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ChannelUpdate;
+public final class love/forte/simbot/qguild/event/C2CMessageCreate$Data {
+ public static final field Companion Llove/forte/simbot/qguild/event/C2CMessageCreate$Data$Companion;
+ public fun (Ljava/lang/String;Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V
+ public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;
+ public final fun component3 ()Ljava/lang/String;
+ public final fun component4 ()Ljava/lang/String;
+ public final fun component5 ()Ljava/util/List;
+ public final fun copy (Ljava/lang/String;Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Llove/forte/simbot/qguild/event/C2CMessageCreate$Data;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/C2CMessageCreate$Data;Ljava/lang/String;Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/C2CMessageCreate$Data;
public fun equals (Ljava/lang/Object;)Z
- public synthetic fun getData ()Ljava/lang/Object;
- public fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+ public final fun getAttachments ()Ljava/util/List;
+ public final fun getAuthor ()Llove/forte/simbot/qguild/event/C2CMessageCreate$Author;
+ public final fun getContent ()Ljava/lang/String;
+ public final fun getId ()Ljava/lang/String;
+ public final fun getTimestamp ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ChannelUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ChannelUpdate$$serializer;
+public synthetic class love/forte/simbot/qguild/event/C2CMessageCreate$Data$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/C2CMessageCreate$Data$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ChannelUpdate;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/C2CMessageCreate$Data;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ChannelUpdate;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/C2CMessageCreate$Data;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ChannelUpdate$Companion {
+public final class love/forte/simbot/qguild/event/C2CMessageCreate$Data$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/DirectMessageCreate : love/forte/simbot/qguild/event/MessageDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/DirectMessageCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/model/Message;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/Message;
- public final fun copy (JLlove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/qguild/event/DirectMessageCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/DirectMessageCreate;JLlove/forte/simbot/qguild/model/Message;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/DirectMessageCreate;
+public final class love/forte/simbot/qguild/event/C2CMsgReceive : love/forte/simbot/qguild/event/C2CManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/C2CMsgReceive$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)Llove/forte/simbot/qguild/event/C2CMsgReceive;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/C2CMsgReceive;Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/C2CMsgReceive;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
- public fun getData ()Llove/forte/simbot/qguild/model/Message;
+ public fun getData ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/DirectMessageCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/DirectMessageCreate$$serializer;
+public synthetic class love/forte/simbot/qguild/event/C2CMsgReceive$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/C2CMsgReceive$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/DirectMessageCreate;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/C2CMsgReceive;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/DirectMessageCreate;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/C2CMsgReceive;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/DirectMessageCreate$Companion {
+public final class love/forte/simbot/qguild/event/C2CMsgReceive$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/EventChannel {
- public static final field Companion Llove/forte/simbot/qguild/event/EventChannel$Companion;
- public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/ChannelType;Llove/forte/simbot/qguild/model/ChannelSubType;Ljava/lang/String;Ljava/lang/String;)V
+public final class love/forte/simbot/qguild/event/C2CMsgReject : love/forte/simbot/qguild/event/C2CManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/C2CMsgReject$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
- public final fun component2 ()Ljava/lang/String;
- public final fun component3 ()Ljava/lang/String;
- public final fun component4 ()Llove/forte/simbot/qguild/model/ChannelType;
- public final fun component5 ()Llove/forte/simbot/qguild/model/ChannelSubType;
- public final fun component6 ()Ljava/lang/String;
- public final fun component7 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)Llove/forte/simbot/qguild/event/C2CMsgReject;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/C2CMsgReject;Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/C2CMsgReject;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/C2CMsgReject$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/C2CMsgReject$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/C2CMsgReject;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/C2CMsgReject;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/C2CMsgReject$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ChannelCreate : love/forte/simbot/qguild/event/ChannelDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ChannelCreate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventChannel;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;)Llove/forte/simbot/qguild/event/ChannelCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ChannelCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ChannelCreate;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ChannelCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ChannelCreate$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ChannelCreate;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ChannelCreate;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ChannelCreate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ChannelDelete : love/forte/simbot/qguild/event/ChannelDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ChannelDelete$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventChannel;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;)Llove/forte/simbot/qguild/event/ChannelDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ChannelDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ChannelDelete;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ChannelDelete$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ChannelDelete$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ChannelDelete;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ChannelDelete;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ChannelDelete$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public abstract class love/forte/simbot/qguild/event/ChannelDispatch : love/forte/simbot/qguild/event/Signal$Dispatch {
+ public abstract fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+}
+
+public final class love/forte/simbot/qguild/event/ChannelUpdate : love/forte/simbot/qguild/event/ChannelDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ChannelUpdate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventChannel;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;)Llove/forte/simbot/qguild/event/ChannelUpdate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ChannelUpdate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventChannel;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ChannelUpdate;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/EventChannel;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ChannelUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ChannelUpdate$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ChannelUpdate;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ChannelUpdate;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ChannelUpdate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/DirectMessageCreate : love/forte/simbot/qguild/event/MessageDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/DirectMessageCreate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/Message;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/qguild/event/DirectMessageCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/DirectMessageCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/DirectMessageCreate;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/model/Message;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/DirectMessageCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/DirectMessageCreate$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/DirectMessageCreate;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/DirectMessageCreate;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/DirectMessageCreate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/EventChannel {
+ public static final field Companion Llove/forte/simbot/qguild/event/EventChannel$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/ChannelType;Llove/forte/simbot/qguild/model/ChannelSubType;Ljava/lang/String;Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun component3 ()Ljava/lang/String;
+ public final fun component4 ()Llove/forte/simbot/qguild/model/ChannelType;
+ public final fun component5 ()Llove/forte/simbot/qguild/model/ChannelSubType;
+ public final fun component6 ()Ljava/lang/String;
+ public final fun component7 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/ChannelType;Llove/forte/simbot/qguild/model/ChannelSubType;Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/event/EventChannel;
public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/EventChannel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/ChannelType;Llove/forte/simbot/qguild/model/ChannelSubType;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/EventChannel;
public fun equals (Ljava/lang/Object;)Z
@@ -1994,6 +2586,25 @@ public final class love/forte/simbot/qguild/event/EventIntents$ForumsEvent : lov
public fun toString ()Ljava/lang/String;
}
+public final class love/forte/simbot/qguild/event/EventIntents$GroupAndC2CEvent : love/forte/simbot/qguild/event/EventIntents {
+ public static final field C2C_MESSAGE_CREATE_TYPE Ljava/lang/String;
+ public static final field C2C_MSG_RECEIVE_TYPE Ljava/lang/String;
+ public static final field C2C_MSG_REJECT_TYPE Ljava/lang/String;
+ public static final field FRIEND_ADD_TYPE Ljava/lang/String;
+ public static final field FRIEND_DEL_TYPE Ljava/lang/String;
+ public static final field GROUP_ADD_ROBOT_TYPE Ljava/lang/String;
+ public static final field GROUP_AT_MESSAGE_CREATE_TYPE Ljava/lang/String;
+ public static final field GROUP_DEL_ROBOT_TYPE Ljava/lang/String;
+ public static final field GROUP_MSG_RECEIVE_TYPE Ljava/lang/String;
+ public static final field GROUP_MSG_REJECT_TYPE Ljava/lang/String;
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/EventIntents$GroupAndC2CEvent;
+ public fun equals (Ljava/lang/Object;)Z
+ public static final fun getIntents ()I
+ public fun getIntentsValue ()I
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
public final class love/forte/simbot/qguild/event/EventIntents$GuildMembers : love/forte/simbot/qguild/event/EventIntents {
public static final field GUILD_MEMBER_ADD_TYPE Ljava/lang/String;
public static final field GUILD_MEMBER_REMOVE_TYPE Ljava/lang/String;
@@ -2139,14 +2750,17 @@ public abstract class love/forte/simbot/qguild/event/ForumDispatch : love/forte/
public final class love/forte/simbot/qguild/event/ForumPostCreate : love/forte/simbot/qguild/event/ForumPostDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/ForumPostCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/Post;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/Post;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/Post;)Llove/forte/simbot/qguild/event/ForumPostCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumPostCreate;JLlove/forte/simbot/qguild/model/forum/Post;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumPostCreate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/Post;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;)Llove/forte/simbot/qguild/event/ForumPostCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumPostCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumPostCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
public fun getData ()Llove/forte/simbot/qguild/model/forum/Post;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2168,14 +2782,17 @@ public final class love/forte/simbot/qguild/event/ForumPostCreate$Companion {
public final class love/forte/simbot/qguild/event/ForumPostDelete : love/forte/simbot/qguild/event/ForumPostDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/ForumPostDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/Post;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/Post;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/Post;)Llove/forte/simbot/qguild/event/ForumPostDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumPostDelete;JLlove/forte/simbot/qguild/model/forum/Post;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumPostDelete;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/Post;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;)Llove/forte/simbot/qguild/event/ForumPostDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumPostDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Post;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumPostDelete;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
public fun getData ()Llove/forte/simbot/qguild/model/forum/Post;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2199,197 +2816,535 @@ public abstract class love/forte/simbot/qguild/event/ForumPostDispatch : love/fo
public abstract fun getData ()Llove/forte/simbot/qguild/model/forum/Post;
}
-public final class love/forte/simbot/qguild/event/ForumPublishAuditResult : love/forte/simbot/qguild/event/ForumDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ForumPublishAuditResult$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/AuditResult;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/AuditResult;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/AuditResult;)Llove/forte/simbot/qguild/event/ForumPublishAuditResult;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumPublishAuditResult;JLlove/forte/simbot/qguild/model/forum/AuditResult;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumPublishAuditResult;
+public final class love/forte/simbot/qguild/event/ForumPublishAuditResult : love/forte/simbot/qguild/event/ForumDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ForumPublishAuditResult$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/AuditResult;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/AuditResult;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/AuditResult;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/AuditResult;)Llove/forte/simbot/qguild/event/ForumPublishAuditResult;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumPublishAuditResult;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/AuditResult;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumPublishAuditResult;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/model/forum/AuditResult;
+ public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ForumPublishAuditResult$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumPublishAuditResult$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumPublishAuditResult;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumPublishAuditResult;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumPublishAuditResult$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumReplyCreate : love/forte/simbot/qguild/event/ForumReplyDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ForumReplyCreate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/Reply;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;)Llove/forte/simbot/qguild/event/ForumReplyCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumReplyCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumReplyCreate;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
+ public fun getData ()Llove/forte/simbot/qguild/model/forum/Reply;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ForumReplyCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumReplyCreate$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumReplyCreate;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumReplyCreate;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumReplyCreate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumReplyDelete : love/forte/simbot/qguild/event/ForumReplyDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ForumReplyDelete$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/Reply;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;)Llove/forte/simbot/qguild/event/ForumReplyDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumReplyDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Reply;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumReplyDelete;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
+ public fun getData ()Llove/forte/simbot/qguild/model/forum/Reply;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ForumReplyDelete$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumReplyDelete$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumReplyDelete;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumReplyDelete;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumReplyDelete$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public abstract class love/forte/simbot/qguild/event/ForumReplyDispatch : love/forte/simbot/qguild/event/ForumDispatch {
+ public abstract fun getData ()Llove/forte/simbot/qguild/model/forum/Reply;
+}
+
+public final class love/forte/simbot/qguild/event/ForumThreadCreate : love/forte/simbot/qguild/event/ForumThreadDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ForumThreadCreate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;)Llove/forte/simbot/qguild/event/ForumThreadCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumThreadCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumThreadCreate;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
+ public fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ForumThreadCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumThreadCreate$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumThreadCreate;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumThreadCreate;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumThreadCreate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumThreadDelete : love/forte/simbot/qguild/event/ForumThreadDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ForumThreadDelete$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;)Llove/forte/simbot/qguild/event/ForumThreadDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumThreadDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumThreadDelete;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
+ public fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ForumThreadDelete$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumThreadDelete$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumThreadDelete;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumThreadDelete;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumThreadDelete$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public abstract class love/forte/simbot/qguild/event/ForumThreadDispatch : love/forte/simbot/qguild/event/ForumDispatch {
+ public abstract fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
+}
+
+public final class love/forte/simbot/qguild/event/ForumThreadUpdate : love/forte/simbot/qguild/event/ForumThreadDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/ForumThreadUpdate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;)Llove/forte/simbot/qguild/event/ForumThreadUpdate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumThreadUpdate;Ljava/lang/String;JLlove/forte/simbot/qguild/model/forum/Thread;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumThreadUpdate;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
+ public fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/ForumThreadUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumThreadUpdate$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumThreadUpdate;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumThreadUpdate;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/ForumThreadUpdate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/FriendAdd : love/forte/simbot/qguild/event/C2CManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/FriendAdd$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)Llove/forte/simbot/qguild/event/FriendAdd;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/FriendAdd;Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/FriendAdd;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/FriendAdd$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/FriendAdd$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/FriendAdd;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/FriendAdd;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/FriendAdd$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/FriendDel : love/forte/simbot/qguild/event/C2CManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/FriendDel$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;)Llove/forte/simbot/qguild/event/FriendDel;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/FriendDel;Ljava/lang/String;JLlove/forte/simbot/qguild/event/C2CManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/FriendDel;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/C2CManagementData;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/FriendDel$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/FriendDel$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/FriendDel;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/FriendDel;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/FriendDel$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/GroupAddRobot : love/forte/simbot/qguild/event/GroupRobotManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupAddRobot$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)Llove/forte/simbot/qguild/event/GroupAddRobot;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupAddRobot;Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupAddRobot;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/GroupAddRobot$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupAddRobot$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupAddRobot;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupAddRobot;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/GroupAddRobot$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/GroupAtMessageCreate : love/forte/simbot/qguild/event/Signal$Dispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupAtMessageCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate;
+ public fun equals (Ljava/lang/Object;)Z
+ public synthetic fun getData ()Ljava/lang/Object;
+ public fun getData ()Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;
+ public fun getId ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/event/GroupAtMessageCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupAtMessageCreate$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupAtMessageCreate;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/GroupAtMessageCreate$Author {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author$Companion;
+ public fun (Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;
public fun equals (Ljava/lang/Object;)Z
- public synthetic fun getData ()Ljava/lang/Object;
- public fun getData ()Llove/forte/simbot/qguild/model/forum/AuditResult;
- public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
+ public final fun getMemberOpenid ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ForumPublishAuditResult$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumPublishAuditResult$$serializer;
+public synthetic class love/forte/simbot/qguild/event/GroupAtMessageCreate$Author$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumPublishAuditResult;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumPublishAuditResult;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumPublishAuditResult$Companion {
+public final class love/forte/simbot/qguild/event/GroupAtMessageCreate$Author$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumReplyCreate : love/forte/simbot/qguild/event/ForumReplyDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ForumReplyCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/Reply;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/Reply;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/Reply;)Llove/forte/simbot/qguild/event/ForumReplyCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumReplyCreate;JLlove/forte/simbot/qguild/model/forum/Reply;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumReplyCreate;
+public final class love/forte/simbot/qguild/event/GroupAtMessageCreate$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/event/GroupAtMessageCreate$Data {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data$Companion;
+ public fun (Ljava/lang/String;Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V
+ public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;
+ public final fun component3 ()Ljava/lang/String;
+ public final fun component4 ()Ljava/lang/String;
+ public final fun component5 ()Ljava/lang/String;
+ public final fun component6 ()Ljava/util/List;
+ public final fun copy (Ljava/lang/String;Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;Ljava/lang/String;Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;
public fun equals (Ljava/lang/Object;)Z
- public synthetic fun getData ()Ljava/lang/Object;
- public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
- public fun getData ()Llove/forte/simbot/qguild/model/forum/Reply;
+ public final fun getAttachments ()Ljava/util/List;
+ public final fun getAuthor ()Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Author;
+ public final fun getContent ()Ljava/lang/String;
+ public final fun getGroupOpenid ()Ljava/lang/String;
+ public final fun getId ()Ljava/lang/String;
+ public final fun getTimestamp ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ForumReplyCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumReplyCreate$$serializer;
+public synthetic class love/forte/simbot/qguild/event/GroupAtMessageCreate$Data$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumReplyCreate;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumReplyCreate;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupAtMessageCreate$Data;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumReplyCreate$Companion {
+public final class love/forte/simbot/qguild/event/GroupAtMessageCreate$Data$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumReplyDelete : love/forte/simbot/qguild/event/ForumReplyDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ForumReplyDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/Reply;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/Reply;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/Reply;)Llove/forte/simbot/qguild/event/ForumReplyDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumReplyDelete;JLlove/forte/simbot/qguild/model/forum/Reply;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumReplyDelete;
+public final class love/forte/simbot/qguild/event/GroupDelRobot : love/forte/simbot/qguild/event/GroupRobotManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupDelRobot$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)Llove/forte/simbot/qguild/event/GroupDelRobot;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupDelRobot;Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupDelRobot;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
- public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
- public fun getData ()Llove/forte/simbot/qguild/model/forum/Reply;
+ public fun getData ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ForumReplyDelete$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumReplyDelete$$serializer;
+public synthetic class love/forte/simbot/qguild/event/GroupDelRobot$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupDelRobot$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumReplyDelete;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupDelRobot;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumReplyDelete;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupDelRobot;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumReplyDelete$Companion {
+public final class love/forte/simbot/qguild/event/GroupDelRobot$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public abstract class love/forte/simbot/qguild/event/ForumReplyDispatch : love/forte/simbot/qguild/event/ForumDispatch {
- public abstract fun getData ()Llove/forte/simbot/qguild/model/forum/Reply;
-}
-
-public final class love/forte/simbot/qguild/event/ForumThreadCreate : love/forte/simbot/qguild/event/ForumThreadDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ForumThreadCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/Thread;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/Thread;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/Thread;)Llove/forte/simbot/qguild/event/ForumThreadCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumThreadCreate;JLlove/forte/simbot/qguild/model/forum/Thread;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumThreadCreate;
+public final class love/forte/simbot/qguild/event/GroupMsgReceive : love/forte/simbot/qguild/event/GroupRobotManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupMsgReceive$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)Llove/forte/simbot/qguild/event/GroupMsgReceive;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupMsgReceive;Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupMsgReceive;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
- public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
- public fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public fun getData ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ForumThreadCreate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumThreadCreate$$serializer;
+public synthetic class love/forte/simbot/qguild/event/GroupMsgReceive$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupMsgReceive$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumThreadCreate;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupMsgReceive;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumThreadCreate;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupMsgReceive;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumThreadCreate$Companion {
+public final class love/forte/simbot/qguild/event/GroupMsgReceive$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumThreadDelete : love/forte/simbot/qguild/event/ForumThreadDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ForumThreadDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/Thread;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/Thread;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/Thread;)Llove/forte/simbot/qguild/event/ForumThreadDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumThreadDelete;JLlove/forte/simbot/qguild/model/forum/Thread;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumThreadDelete;
+public final class love/forte/simbot/qguild/event/GroupMsgReject : love/forte/simbot/qguild/event/GroupRobotManagementDispatch {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupMsgReject$Companion;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;)Llove/forte/simbot/qguild/event/GroupMsgReject;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupMsgReject;Ljava/lang/String;JLlove/forte/simbot/qguild/event/GroupRobotManagementData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupMsgReject;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
- public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
- public fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public fun getData ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ForumThreadDelete$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumThreadDelete$$serializer;
+public synthetic class love/forte/simbot/qguild/event/GroupMsgReject$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupMsgReject$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumThreadDelete;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupMsgReject;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumThreadDelete;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupMsgReject;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumThreadDelete$Companion {
+public final class love/forte/simbot/qguild/event/GroupMsgReject$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
-public abstract class love/forte/simbot/qguild/event/ForumThreadDispatch : love/forte/simbot/qguild/event/ForumDispatch {
- public abstract fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
-}
-
-public final class love/forte/simbot/qguild/event/ForumThreadUpdate : love/forte/simbot/qguild/event/ForumThreadDispatch {
- public static final field Companion Llove/forte/simbot/qguild/event/ForumThreadUpdate$Companion;
- public fun (JLlove/forte/simbot/qguild/model/forum/Thread;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/forum/Thread;
- public final fun copy (JLlove/forte/simbot/qguild/model/forum/Thread;)Llove/forte/simbot/qguild/event/ForumThreadUpdate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/ForumThreadUpdate;JLlove/forte/simbot/qguild/model/forum/Thread;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/ForumThreadUpdate;
+public final class love/forte/simbot/qguild/event/GroupRobotManagementData {
+ public static final field Companion Llove/forte/simbot/qguild/event/GroupRobotManagementData$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun component3 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GroupRobotManagementData;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GroupRobotManagementData;
public fun equals (Ljava/lang/Object;)Z
- public synthetic fun getData ()Ljava/lang/Object;
- public synthetic fun getData ()Llove/forte/simbot/qguild/model/forum/ForumSourceInfo;
- public fun getData ()Llove/forte/simbot/qguild/model/forum/Thread;
+ public final fun getGroupOpenid ()Ljava/lang/String;
+ public final fun getOpMemberOpenid ()Ljava/lang/String;
+ public final fun getTimestamp ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
-public synthetic class love/forte/simbot/qguild/event/ForumThreadUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
- public static final field INSTANCE Llove/forte/simbot/qguild/event/ForumThreadUpdate$$serializer;
+public synthetic class love/forte/simbot/qguild/event/GroupRobotManagementData$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/event/GroupRobotManagementData$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
- public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/ForumThreadUpdate;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/event/GroupRobotManagementData;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
- public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/ForumThreadUpdate;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/event/GroupRobotManagementData;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
-public final class love/forte/simbot/qguild/event/ForumThreadUpdate$Companion {
+public final class love/forte/simbot/qguild/event/GroupRobotManagementData$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
+public abstract class love/forte/simbot/qguild/event/GroupRobotManagementDispatch : love/forte/simbot/qguild/event/Signal$Dispatch {
+ public abstract fun getData ()Llove/forte/simbot/qguild/event/GroupRobotManagementData;
+}
+
public final class love/forte/simbot/qguild/event/GuildCreate : love/forte/simbot/qguild/event/EventGuildDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/GuildCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventGuild;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventGuild;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventGuild;)Llove/forte/simbot/qguild/event/GuildCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildCreate;JLlove/forte/simbot/qguild/event/EventGuild;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildCreate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventGuild;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;)Llove/forte/simbot/qguild/event/GuildCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/event/EventGuild;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2411,13 +3366,16 @@ public final class love/forte/simbot/qguild/event/GuildCreate$Companion {
public final class love/forte/simbot/qguild/event/GuildDelete : love/forte/simbot/qguild/event/EventGuildDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/GuildDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventGuild;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventGuild;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventGuild;)Llove/forte/simbot/qguild/event/GuildDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildDelete;JLlove/forte/simbot/qguild/event/EventGuild;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildDelete;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventGuild;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;)Llove/forte/simbot/qguild/event/GuildDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildDelete;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/event/EventGuild;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2439,13 +3397,16 @@ public final class love/forte/simbot/qguild/event/GuildDelete$Companion {
public final class love/forte/simbot/qguild/event/GuildMemberAdd : love/forte/simbot/qguild/event/Signal$Dispatch {
public static final field Companion Llove/forte/simbot/qguild/event/GuildMemberAdd$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventMember;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventMember;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventMember;)Llove/forte/simbot/qguild/event/GuildMemberAdd;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildMemberAdd;JLlove/forte/simbot/qguild/event/EventMember;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildMemberAdd;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventMember;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;)Llove/forte/simbot/qguild/event/GuildMemberAdd;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildMemberAdd;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildMemberAdd;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/event/EventMember;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2467,13 +3428,16 @@ public final class love/forte/simbot/qguild/event/GuildMemberAdd$Companion {
public final class love/forte/simbot/qguild/event/GuildMemberRemove : love/forte/simbot/qguild/event/Signal$Dispatch {
public static final field Companion Llove/forte/simbot/qguild/event/GuildMemberRemove$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventMember;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventMember;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventMember;)Llove/forte/simbot/qguild/event/GuildMemberRemove;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildMemberRemove;JLlove/forte/simbot/qguild/event/EventMember;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildMemberRemove;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventMember;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;)Llove/forte/simbot/qguild/event/GuildMemberRemove;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildMemberRemove;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildMemberRemove;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/event/EventMember;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2495,13 +3459,16 @@ public final class love/forte/simbot/qguild/event/GuildMemberRemove$Companion {
public final class love/forte/simbot/qguild/event/GuildMemberUpdate : love/forte/simbot/qguild/event/Signal$Dispatch {
public static final field Companion Llove/forte/simbot/qguild/event/GuildMemberUpdate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventMember;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventMember;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventMember;)Llove/forte/simbot/qguild/event/GuildMemberUpdate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildMemberUpdate;JLlove/forte/simbot/qguild/event/EventMember;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildMemberUpdate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventMember;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;)Llove/forte/simbot/qguild/event/GuildMemberUpdate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildMemberUpdate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventMember;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildMemberUpdate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/event/EventMember;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2523,13 +3490,16 @@ public final class love/forte/simbot/qguild/event/GuildMemberUpdate$Companion {
public final class love/forte/simbot/qguild/event/GuildUpdate : love/forte/simbot/qguild/event/EventGuildDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/GuildUpdate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/EventGuild;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/EventGuild;
- public final fun copy (JLlove/forte/simbot/qguild/event/EventGuild;)Llove/forte/simbot/qguild/event/GuildUpdate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildUpdate;JLlove/forte/simbot/qguild/event/EventGuild;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildUpdate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/EventGuild;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;)Llove/forte/simbot/qguild/event/GuildUpdate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/GuildUpdate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/EventGuild;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/GuildUpdate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/event/EventGuild;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2585,13 +3555,16 @@ public final class love/forte/simbot/qguild/event/Intents$Companion {
public final class love/forte/simbot/qguild/event/MessageAuditPass : love/forte/simbot/qguild/event/MessageAuditedDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/MessageAuditPass$Companion;
- public fun (JLlove/forte/simbot/qguild/model/MessageAudited;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/MessageAudited;
- public final fun copy (JLlove/forte/simbot/qguild/model/MessageAudited;)Llove/forte/simbot/qguild/event/MessageAuditPass;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageAuditPass;JLlove/forte/simbot/qguild/model/MessageAudited;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageAuditPass;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/MessageAudited;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;)Llove/forte/simbot/qguild/event/MessageAuditPass;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageAuditPass;Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageAuditPass;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/model/MessageAudited;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2613,13 +3586,16 @@ public final class love/forte/simbot/qguild/event/MessageAuditPass$Companion {
public final class love/forte/simbot/qguild/event/MessageAuditReject : love/forte/simbot/qguild/event/MessageAuditedDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/MessageAuditReject$Companion;
- public fun (JLlove/forte/simbot/qguild/model/MessageAudited;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/MessageAudited;
- public final fun copy (JLlove/forte/simbot/qguild/model/MessageAudited;)Llove/forte/simbot/qguild/event/MessageAuditReject;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageAuditReject;JLlove/forte/simbot/qguild/model/MessageAudited;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageAuditReject;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/MessageAudited;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;)Llove/forte/simbot/qguild/event/MessageAuditReject;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageAuditReject;Ljava/lang/String;JLlove/forte/simbot/qguild/model/MessageAudited;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageAuditReject;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/model/MessageAudited;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2645,13 +3621,16 @@ public abstract class love/forte/simbot/qguild/event/MessageAuditedDispatch : lo
public final class love/forte/simbot/qguild/event/MessageCreate : love/forte/simbot/qguild/event/MessageDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/MessageCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/model/Message;)V
- public final fun component2 ()Llove/forte/simbot/qguild/model/Message;
- public final fun copy (JLlove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/qguild/event/MessageCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageCreate;JLlove/forte/simbot/qguild/model/Message;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageCreate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/Message;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/qguild/event/MessageCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/model/Message;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/model/Message;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2673,13 +3652,16 @@ public final class love/forte/simbot/qguild/event/MessageCreate$Companion {
public final class love/forte/simbot/qguild/event/MessageDelete : love/forte/simbot/qguild/event/Signal$Dispatch {
public static final field Companion Llove/forte/simbot/qguild/event/MessageDelete$Companion;
- public fun (JLkotlin/Unit;)V
- public final fun component2 ()V
- public final fun copy (JLkotlin/Unit;)Llove/forte/simbot/qguild/event/MessageDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageDelete;JLkotlin/Unit;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageDelete;
+ public fun (Ljava/lang/String;JLkotlin/Unit;)V
+ public synthetic fun (Ljava/lang/String;JLkotlin/Unit;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()V
+ public final fun copy (Ljava/lang/String;JLkotlin/Unit;)Llove/forte/simbot/qguild/event/MessageDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/MessageDelete;Ljava/lang/String;JLkotlin/Unit;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/MessageDelete;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Lkotlin/Unit;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2780,14 +3762,17 @@ public abstract class love/forte/simbot/qguild/event/OpenForumEventData : love/f
public final class love/forte/simbot/qguild/event/OpenForumPostCreate : love/forte/simbot/qguild/event/OpenForumPostDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/OpenForumPostCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/OpenForumPostData;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/OpenForumPostData;
- public final fun copy (JLlove/forte/simbot/qguild/event/OpenForumPostData;)Llove/forte/simbot/qguild/event/OpenForumPostCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumPostCreate;JLlove/forte/simbot/qguild/event/OpenForumPostData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumPostCreate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/OpenForumPostData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;)Llove/forte/simbot/qguild/event/OpenForumPostCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumPostCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumPostCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/event/OpenForumEventData;
public fun getData ()Llove/forte/simbot/qguild/event/OpenForumPostData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2840,14 +3825,17 @@ public final class love/forte/simbot/qguild/event/OpenForumPostData$Companion {
public final class love/forte/simbot/qguild/event/OpenForumPostDelete : love/forte/simbot/qguild/event/OpenForumPostDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/OpenForumPostDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/event/OpenForumPostData;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/OpenForumPostData;
- public final fun copy (JLlove/forte/simbot/qguild/event/OpenForumPostData;)Llove/forte/simbot/qguild/event/OpenForumPostDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumPostDelete;JLlove/forte/simbot/qguild/event/OpenForumPostData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumPostDelete;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/OpenForumPostData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;)Llove/forte/simbot/qguild/event/OpenForumPostDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumPostDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumPostData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumPostDelete;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/event/OpenForumEventData;
public fun getData ()Llove/forte/simbot/qguild/event/OpenForumPostData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2873,14 +3861,17 @@ public abstract class love/forte/simbot/qguild/event/OpenForumPostDispatch : lov
public final class love/forte/simbot/qguild/event/OpenForumReplyCreate : love/forte/simbot/qguild/event/OpenForumReplyDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/OpenForumReplyCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/OpenForumReplyData;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/OpenForumReplyData;
- public final fun copy (JLlove/forte/simbot/qguild/event/OpenForumReplyData;)Llove/forte/simbot/qguild/event/OpenForumReplyCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumReplyCreate;JLlove/forte/simbot/qguild/event/OpenForumReplyData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumReplyCreate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/OpenForumReplyData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;)Llove/forte/simbot/qguild/event/OpenForumReplyCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumReplyCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumReplyCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/event/OpenForumEventData;
public fun getData ()Llove/forte/simbot/qguild/event/OpenForumReplyData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2933,14 +3924,17 @@ public final class love/forte/simbot/qguild/event/OpenForumReplyData$Companion {
public final class love/forte/simbot/qguild/event/OpenForumReplyDelete : love/forte/simbot/qguild/event/OpenForumReplyDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/OpenForumReplyDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/event/OpenForumReplyData;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/OpenForumReplyData;
- public final fun copy (JLlove/forte/simbot/qguild/event/OpenForumReplyData;)Llove/forte/simbot/qguild/event/OpenForumReplyDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumReplyDelete;JLlove/forte/simbot/qguild/event/OpenForumReplyData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumReplyDelete;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/OpenForumReplyData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;)Llove/forte/simbot/qguild/event/OpenForumReplyDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumReplyDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumReplyData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumReplyDelete;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/event/OpenForumEventData;
public fun getData ()Llove/forte/simbot/qguild/event/OpenForumReplyData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -2966,14 +3960,17 @@ public abstract class love/forte/simbot/qguild/event/OpenForumReplyDispatch : lo
public final class love/forte/simbot/qguild/event/OpenForumThreadCreate : love/forte/simbot/qguild/event/OpenForumThreadDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/OpenForumThreadCreate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/OpenForumThreadData;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
- public final fun copy (JLlove/forte/simbot/qguild/event/OpenForumThreadData;)Llove/forte/simbot/qguild/event/OpenForumThreadCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumThreadCreate;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumThreadCreate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;)Llove/forte/simbot/qguild/event/OpenForumThreadCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumThreadCreate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumThreadCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/event/OpenForumEventData;
public fun getData ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -3026,14 +4023,17 @@ public final class love/forte/simbot/qguild/event/OpenForumThreadData$Companion
public final class love/forte/simbot/qguild/event/OpenForumThreadDelete : love/forte/simbot/qguild/event/OpenForumThreadDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/OpenForumThreadDelete$Companion;
- public fun (JLlove/forte/simbot/qguild/event/OpenForumThreadData;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
- public final fun copy (JLlove/forte/simbot/qguild/event/OpenForumThreadData;)Llove/forte/simbot/qguild/event/OpenForumThreadDelete;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumThreadDelete;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumThreadDelete;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;)Llove/forte/simbot/qguild/event/OpenForumThreadDelete;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumThreadDelete;Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumThreadDelete;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/event/OpenForumEventData;
public fun getData ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -3059,14 +4059,17 @@ public abstract class love/forte/simbot/qguild/event/OpenForumThreadDispatch : l
public final class love/forte/simbot/qguild/event/OpenForumThreadUpdate : love/forte/simbot/qguild/event/OpenForumThreadDispatch {
public static final field Companion Llove/forte/simbot/qguild/event/OpenForumThreadUpdate$Companion;
- public fun (JLlove/forte/simbot/qguild/event/OpenForumThreadData;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
- public final fun copy (JLlove/forte/simbot/qguild/event/OpenForumThreadData;)Llove/forte/simbot/qguild/event/OpenForumThreadUpdate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumThreadUpdate;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumThreadUpdate;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;)Llove/forte/simbot/qguild/event/OpenForumThreadUpdate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/OpenForumThreadUpdate;Ljava/lang/String;JLlove/forte/simbot/qguild/event/OpenForumThreadData;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/OpenForumThreadUpdate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public synthetic fun getData ()Llove/forte/simbot/qguild/event/OpenForumEventData;
public fun getData ()Llove/forte/simbot/qguild/event/OpenForumThreadData;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -3088,13 +4091,16 @@ public final class love/forte/simbot/qguild/event/OpenForumThreadUpdate$Companio
public final class love/forte/simbot/qguild/event/PublicMessageDeleteCreate : love/forte/simbot/qguild/event/Signal$Dispatch {
public static final field Companion Llove/forte/simbot/qguild/event/PublicMessageDeleteCreate$Companion;
- public fun (JLkotlin/Unit;)V
- public final fun component2 ()V
- public final fun copy (JLkotlin/Unit;)Llove/forte/simbot/qguild/event/PublicMessageDeleteCreate;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/PublicMessageDeleteCreate;JLkotlin/Unit;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/PublicMessageDeleteCreate;
+ public fun (Ljava/lang/String;JLkotlin/Unit;)V
+ public synthetic fun (Ljava/lang/String;JLkotlin/Unit;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()V
+ public final fun copy (Ljava/lang/String;JLkotlin/Unit;)Llove/forte/simbot/qguild/event/PublicMessageDeleteCreate;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/PublicMessageDeleteCreate;Ljava/lang/String;JLkotlin/Unit;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/PublicMessageDeleteCreate;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Lkotlin/Unit;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -3116,13 +4122,16 @@ public final class love/forte/simbot/qguild/event/PublicMessageDeleteCreate$Comp
public final class love/forte/simbot/qguild/event/Ready : love/forte/simbot/qguild/event/Signal$Dispatch {
public static final field Companion Llove/forte/simbot/qguild/event/Ready$Companion;
- public fun (JLlove/forte/simbot/qguild/event/Ready$Data;)V
- public final fun component2 ()Llove/forte/simbot/qguild/event/Ready$Data;
- public final fun copy (JLlove/forte/simbot/qguild/event/Ready$Data;)Llove/forte/simbot/qguild/event/Ready;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/Ready;JLlove/forte/simbot/qguild/event/Ready$Data;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/Ready;
+ public fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/Ready$Data;)V
+ public synthetic fun (Ljava/lang/String;JLlove/forte/simbot/qguild/event/Ready$Data;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Llove/forte/simbot/qguild/event/Ready$Data;
+ public final fun copy (Ljava/lang/String;JLlove/forte/simbot/qguild/event/Ready$Data;)Llove/forte/simbot/qguild/event/Ready;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/Ready;Ljava/lang/String;JLlove/forte/simbot/qguild/event/Ready$Data;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/Ready;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Llove/forte/simbot/qguild/event/Ready$Data;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -3183,13 +4192,16 @@ public abstract interface class love/forte/simbot/qguild/event/ReceivedSignal {
public final class love/forte/simbot/qguild/event/Resumed : love/forte/simbot/qguild/event/Signal$Dispatch {
public static final field Companion Llove/forte/simbot/qguild/event/Resumed$Companion;
- public fun (JLjava/lang/String;)V
- public final fun component2 ()Ljava/lang/String;
- public final fun copy (JLjava/lang/String;)Llove/forte/simbot/qguild/event/Resumed;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/Resumed;JLjava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/Resumed;
+ public fun (Ljava/lang/String;JLjava/lang/String;)V
+ public synthetic fun (Ljava/lang/String;JLjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;JLjava/lang/String;)Llove/forte/simbot/qguild/event/Resumed;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/Resumed;Ljava/lang/String;JLjava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/Resumed;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Ljava/lang/String;
+ public fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -3253,6 +4265,7 @@ public abstract class love/forte/simbot/qguild/event/Signal$Dispatch : love/fort
public static final field DISPATCH_CLASS_DISCRIMINATOR Ljava/lang/String;
public synthetic fun (ILlove/forte/simbot/qguild/event/Opcode;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public abstract fun getData ()Ljava/lang/Object;
+ public abstract fun getId ()Ljava/lang/String;
protected abstract fun getS ()J
public final fun getSeq ()J
public static final synthetic fun write$Self (Llove/forte/simbot/qguild/event/Signal$Dispatch;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
@@ -3265,13 +4278,15 @@ public final class love/forte/simbot/qguild/event/Signal$Dispatch$Companion {
}
public final class love/forte/simbot/qguild/event/Signal$Dispatch$Unknown : love/forte/simbot/qguild/event/Signal$Dispatch {
- public final fun component2 ()Lkotlinx/serialization/json/JsonElement;
- public final fun component3 ()Ljava/lang/String;
- public final fun copy (JLkotlinx/serialization/json/JsonElement;Ljava/lang/String;)Llove/forte/simbot/qguild/event/Signal$Dispatch$Unknown;
- public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/Signal$Dispatch$Unknown;JLkotlinx/serialization/json/JsonElement;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/Signal$Dispatch$Unknown;
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component3 ()Lkotlinx/serialization/json/JsonElement;
+ public final fun component4 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;JLkotlinx/serialization/json/JsonElement;Ljava/lang/String;)Llove/forte/simbot/qguild/event/Signal$Dispatch$Unknown;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/event/Signal$Dispatch$Unknown;Ljava/lang/String;JLkotlinx/serialization/json/JsonElement;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/event/Signal$Dispatch$Unknown;
public fun equals (Ljava/lang/Object;)Z
public synthetic fun getData ()Ljava/lang/Object;
public fun getData ()Lkotlinx/serialization/json/JsonElement;
+ public fun getId ()Ljava/lang/String;
public final fun getRaw ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
@@ -4180,6 +5195,7 @@ public final class love/forte/simbot/qguild/model/Message$Embed$Thumbnail$Compan
public final class love/forte/simbot/qguild/model/Message$Markdown {
public static final field Companion Llove/forte/simbot/qguild/model/Message$Markdown$Companion;
+ public fun ()V
public fun (Ljava/lang/Integer;Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;Ljava/lang/String;)V
public synthetic fun (Ljava/lang/Integer;Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/Integer;
@@ -4188,6 +5204,11 @@ public final class love/forte/simbot/qguild/model/Message$Markdown {
public final fun component4 ()Ljava/lang/String;
public final fun copy (Ljava/lang/Integer;Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;Ljava/lang/String;)Llove/forte/simbot/qguild/model/Message$Markdown;
public static synthetic fun copy$default (Llove/forte/simbot/qguild/model/Message$Markdown;Ljava/lang/Integer;Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public static final fun createByContent (Ljava/lang/String;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public static final fun createByCustomTemplateId (Ljava/lang/String;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public static final fun createByCustomTemplateId (Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public static final fun createByTemplateId (I)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public static final fun createByTemplateId (ILlove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/qguild/model/Message$Markdown;
public fun equals (Ljava/lang/Object;)Z
public final fun getContent ()Ljava/lang/String;
public final fun getCustomTemplateId ()Ljava/lang/String;
@@ -4209,6 +5230,13 @@ public synthetic class love/forte/simbot/qguild/model/Message$Markdown$$serializ
}
public final class love/forte/simbot/qguild/model/Message$Markdown$Companion {
+ public final fun createByContent (Ljava/lang/String;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public final fun createByCustomTemplateId (Ljava/lang/String;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public final fun createByCustomTemplateId (Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public static synthetic fun createByCustomTemplateId$default (Llove/forte/simbot/qguild/model/Message$Markdown$Companion;Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public final fun createByTemplateId (I)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public final fun createByTemplateId (ILlove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/qguild/model/Message$Markdown;
+ public static synthetic fun createByTemplateId$default (Llove/forte/simbot/qguild/model/Message$Markdown$Companion;ILlove/forte/simbot/qguild/model/Message$Markdown$Params;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/Message$Markdown;
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
@@ -4311,6 +5339,180 @@ public final class love/forte/simbot/qguild/model/MessageAudited$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
+public final class love/forte/simbot/qguild/model/MessageKeyboard {
+ public static final field Companion Llove/forte/simbot/qguild/model/MessageKeyboard$Companion;
+ public fun ()V
+ public fun (Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;Llove/forte/simbot/qguild/model/MessageKeyboard$Action;)V
+ public synthetic fun (Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;Llove/forte/simbot/qguild/model/MessageKeyboard$Action;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;
+ public final fun component3 ()Llove/forte/simbot/qguild/model/MessageKeyboard$Action;
+ public final fun copy (Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;Llove/forte/simbot/qguild/model/MessageKeyboard$Action;)Llove/forte/simbot/qguild/model/MessageKeyboard;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/model/MessageKeyboard;Ljava/lang/String;Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;Llove/forte/simbot/qguild/model/MessageKeyboard$Action;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/MessageKeyboard;
+ public static final fun create (Ljava/lang/String;)Llove/forte/simbot/qguild/model/MessageKeyboard;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getAction ()Llove/forte/simbot/qguild/model/MessageKeyboard$Action;
+ public final fun getId ()Ljava/lang/String;
+ public final fun getRenderData ()Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/model/MessageKeyboard$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/model/MessageKeyboard$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/model/MessageKeyboard;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/model/MessageKeyboard;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageKeyboard$Action {
+ public static final field Companion Llove/forte/simbot/qguild/model/MessageKeyboard$Action$Companion;
+ public fun (Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/String;)V
+ public synthetic fun (Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun component3 ()Ljava/lang/Boolean;
+ public final fun component4 ()Ljava/lang/Boolean;
+ public final fun component5 ()Ljava/lang/Integer;
+ public final fun component6 ()Ljava/lang/String;
+ public final fun copy (Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/String;)Llove/forte/simbot/qguild/model/MessageKeyboard$Action;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/model/MessageKeyboard$Action;Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/MessageKeyboard$Action;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getAnchor ()Ljava/lang/Integer;
+ public final fun getData ()Ljava/lang/String;
+ public final fun getEnter ()Ljava/lang/Boolean;
+ public final fun getPermission ()Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;
+ public final fun getReply ()Ljava/lang/Boolean;
+ public final fun getUnsupportTips ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/model/MessageKeyboard$Action$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/model/MessageKeyboard$Action$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/model/MessageKeyboard$Action;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/model/MessageKeyboard$Action;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageKeyboard$Action$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageKeyboard$ActionPermission {
+ public static final field Companion Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission$Companion;
+ public fun (ILjava/util/List;Ljava/util/List;)V
+ public synthetic fun (ILjava/util/List;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()I
+ public final fun component2 ()Ljava/util/List;
+ public final fun component3 ()Ljava/util/List;
+ public final fun copy (ILjava/util/List;Ljava/util/List;)Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;ILjava/util/List;Ljava/util/List;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getSpecifyRoleIds ()Ljava/util/List;
+ public final fun getSpecifyUserIds ()Ljava/util/List;
+ public final fun getType ()I
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/model/MessageKeyboard$ActionPermission$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/model/MessageKeyboard$ActionPermission;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageKeyboard$ActionPermission$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageKeyboard$Companion {
+ public final fun create (Ljava/lang/String;)Llove/forte/simbot/qguild/model/MessageKeyboard;
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageKeyboard$RenderData {
+ public static final field Companion Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;I)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun component3 ()I
+ public final fun copy (Ljava/lang/String;Ljava/lang/String;I)Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;Ljava/lang/String;Ljava/lang/String;IILjava/lang/Object;)Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getLabel ()Ljava/lang/String;
+ public final fun getStyle ()I
+ public final fun getVisitedLabel ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/model/MessageKeyboard$RenderData$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/model/MessageKeyboard$RenderData;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageKeyboard$RenderData$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageMedia {
+ public static final field Companion Llove/forte/simbot/qguild/model/MessageMedia$Companion;
+ public fun (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
+ public synthetic fun (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Ljava/lang/String;
+ public final fun component3 ()I
+ public final fun component4 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)Llove/forte/simbot/qguild/model/MessageMedia;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/model/MessageMedia;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/MessageMedia;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getFileInfo ()Ljava/lang/String;
+ public final fun getFileUuid ()Ljava/lang/String;
+ public final fun getId ()Ljava/lang/String;
+ public final fun getTtl ()I
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/model/MessageMedia$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/model/MessageMedia$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/model/MessageMedia;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/model/MessageMedia;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageMedia$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/MessageMediaKt {
+ public static final fun forSend (Llove/forte/simbot/qguild/model/MessageMedia;)Llove/forte/simbot/qguild/model/SendMessageMedia;
+}
+
public final class love/forte/simbot/qguild/model/MessageMember : love/forte/simbot/qguild/model/Member {
public static final field Companion Llove/forte/simbot/qguild/model/MessageMember$Companion;
public fun ()V
@@ -4583,6 +5785,33 @@ public final class love/forte/simbot/qguild/model/Schedule$RemindTypes {
public static final field NO_REMIND Ljava/lang/String;
}
+public final class love/forte/simbot/qguild/model/SendMessageMedia {
+ public static final field Companion Llove/forte/simbot/qguild/model/SendMessageMedia$Companion;
+ public fun (Ljava/lang/String;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun copy (Ljava/lang/String;)Llove/forte/simbot/qguild/model/SendMessageMedia;
+ public static synthetic fun copy$default (Llove/forte/simbot/qguild/model/SendMessageMedia;Ljava/lang/String;ILjava/lang/Object;)Llove/forte/simbot/qguild/model/SendMessageMedia;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getFileInfo ()Ljava/lang/String;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/qguild/model/SendMessageMedia$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/qguild/model/SendMessageMedia$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/qguild/model/SendMessageMedia;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/qguild/model/SendMessageMedia;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/qguild/model/SendMessageMedia$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
public final class love/forte/simbot/qguild/model/SimpleChannel : love/forte/simbot/qguild/model/Channel {
public static final field Companion Llove/forte/simbot/qguild/model/SimpleChannel$Companion;
public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/ChannelType;Llove/forte/simbot/qguild/model/ChannelSubType;ILjava/lang/String;Ljava/lang/String;Llove/forte/simbot/qguild/model/PrivateType;Llove/forte/simbot/qguild/model/SpeakPermission;Ljava/lang/String;Llove/forte/simbot/qguild/model/Permissions;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/annotations.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/annotations.kt
index a641a7e1..30c84386 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/annotations.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/annotations.kt
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023. ForteScarlet.
+ * Copyright (c) 2023-2024. ForteScarlet.
*
* This file is part of simbot-component-qq-guild.
*
@@ -20,10 +20,11 @@ package love.forte.simbot.qguild
/**
* 标记一个类型为作为QQ频道中定义的对象模型。
*
- * 这些类型对于使用者来讲应当仅作为API响应的**反序列化**结果使用,
- * 避免直接构造它们。
+ * 这些类型对使用者来讲应当仅作为API交互时的**序列化**内容使用,
+ * 尽量避免直接使用它们的构造函数,避免因不兼容变更而产生异常。
*
- * [ApiModel] 标记的类型可能会随着官方文档的更新而更新,**不保证**未来的更新不会出现破坏性。
+ * [ApiModel] 标记的类型可能会随着官方文档的更新而更新,
+ * **不保证**未来的更新不会出现破坏性。
*
* _此注解目前的作用仅用于源码标记_
*/
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.kt
index 1a9bebf3..29162f98 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.kt
@@ -43,20 +43,30 @@ import kotlin.contracts.InvocationKind
import kotlin.contracts.contract
import kotlin.jvm.JvmMultifileClass
import kotlin.jvm.JvmName
+import kotlin.jvm.JvmOverloads
import kotlin.jvm.JvmSynthetic
+/**
+ * 格式值:"BOT_APPID", 机器人 AppID
+ */
+public const val X_UNION_APPID_HEADER: String = "X-Union-Appid"
+
/**
* 使用 [client] 向当前目标 API [QQGuildApi] 发起请求。
*
+ * see [鉴权方式](https://bot.q.qq.com/wiki/develop/api-v2/dev-prepare/interface-framework/api-use.html#鉴权方式)
+ *
* @param server 如果不为 null 则会取 [server] 中的 [Url.protocol]、[Url.hostWithPort]
* 替换 [QQGuildApi.url] 中提供的值。
*
*/
@JvmSynthetic
+@JvmOverloads // 二进制兼容
public suspend fun QQGuildApi.request(
client: HttpClient,
- token: String,
- server: Url? = null
+ token: String? = null,
+ server: Url? = null,
+ appId: String? = null,
): HttpResponse {
val api = this
@@ -64,7 +74,9 @@ public suspend fun QQGuildApi.request(
method = api.method
headers {
- this[HttpHeaders.Authorization] = token
+ token?.also { this[HttpHeaders.Authorization] = it }
+ appId?.also { this[X_UNION_APPID_HEADER] = it }
+
with(api.headers) {
if (!isEmpty()) {
appendAll(api.headers)
@@ -127,15 +139,21 @@ public suspend fun QQGuildApi.request(
@OptIn(ExperimentalContracts::class)
public suspend inline fun QQGuildApi.requestText(
client: HttpClient,
- token: String,
- server: Url = QQGuild.URL,
+ token: String?,
+ server: Url? = QQGuild.URL,
+ appId: String? = null,
useResp: (HttpResponse) -> Unit = {}
): String {
contract {
callsInPlace(useResp, InvocationKind.EXACTLY_ONCE)
}
- val resp = request(client, token, server)
+ val resp = request(
+ client = client,
+ token = token,
+ server = server,
+ appId = appId
+ )
useResp(resp)
val text = resp.bodyAsText()
@@ -175,14 +193,16 @@ public suspend inline fun QQGuildApi.requestText(
* @see ErrInfo
*/
@JvmSynthetic
+@JvmOverloads
public suspend fun QQGuildApi.requestData(
client: HttpClient,
- token: String,
- server: Url = QQGuild.URL,
+ token: String?,
+ server: Url? = QQGuild.URL,
decoder: Json = QQGuild.DefaultJson,
+ appId: String? = null,
): R {
val resp: HttpResponse
- val text = requestText(client, token, server) { resp = it }
+ val text = requestText(client, token, server, appId) { resp = it }
checkStatus(text, QQGuild.DefaultJson, resp.status, resp)
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/app/GetAppAccessTokenApi.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/app/GetAppAccessTokenApi.kt
new file mode 100644
index 00000000..24b2d0e4
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/app/GetAppAccessTokenApi.kt
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.api.app
+
+import io.ktor.http.*
+import kotlinx.serialization.DeserializationStrategy
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.ApiModel
+import love.forte.simbot.qguild.api.PostQQGuildApi
+import kotlin.jvm.JvmField
+import kotlin.jvm.JvmStatic
+
+
+/**
+ * [获取调用凭证](https://bot.q.qq.com/wiki/develop/api-v2/dev-prepare/interface-framework/api-use.html#获取调用凭证)
+ *
+ * 这个API似乎是一个特殊的API,它有自己的HTTP URL: `https://bots.qq.com/app/getAppAccessToken`,
+ * 使用时需要专门处理。
+ *
+ * @author ForteScarlet
+ */
+public class GetAppAccessTokenApi private constructor(
+ override val body: Body
+) : PostQQGuildApi() {
+ public companion object Factory {
+ public const val HTTP_URL_STRING: String = "https://bots.qq.com"
+
+ @JvmField
+ public val httpUrl: Url = Url(HTTP_URL_STRING)
+
+ private val PATH = arrayOf("app", "getAppAccessToken")
+
+ /**
+ * Create [GetAppAccessTokenApi].
+ */
+ @JvmStatic
+ public fun create(
+ appId: String,
+ clientSecret: String
+ ): GetAppAccessTokenApi = GetAppAccessTokenApi(Body(appId, clientSecret))
+ }
+
+
+ override val resultDeserializationStrategy: DeserializationStrategy
+ get() = AppAccessToken.serializer()
+
+ override val path: Array
+ get() = PATH
+
+ override fun createBody(): Any = body
+
+ override val url: Url = URLBuilder(httpUrl).apply {
+ appendEncodedPathSegments(components = PATH)
+ }.build()
+
+ @Serializable
+ public data class Body(
+ val appId: String,
+ val clientSecret: String
+ )
+}
+
+/**
+ * Result of [GetAppAccessTokenApi]
+ * @property accessToken 获取到的凭证。
+ * @property expiresIn 凭证有效时间,单位:秒。目前是7200秒之内的值。
+ */
+@ApiModel
+@Serializable
+public data class AppAccessToken(
+ @SerialName("access_token")
+ val accessToken: String,
+ @SerialName("expires_in")
+ val expiresIn: Int,
+)
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/files/UploadGroupFilesApi.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/files/UploadGroupFilesApi.kt
new file mode 100644
index 00000000..7ec15fad
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/files/UploadGroupFilesApi.kt
@@ -0,0 +1,107 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.api.files
+
+import kotlinx.serialization.DeserializationStrategy
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.api.PostQQGuildApi
+import love.forte.simbot.qguild.api.SimplePostApiDescription
+import love.forte.simbot.qguild.model.MessageMedia
+import kotlin.jvm.JvmOverloads
+import kotlin.jvm.JvmStatic
+
+
+/**
+ * [富媒体消息-群聊](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/rich-media.html#用于群聊)
+ *
+ * @author ForteScarlet
+ */
+public class UploadGroupFilesApi private constructor(
+ openid: String,
+ private val _body: Body
+) : PostQQGuildApi() {
+ public companion object Factory : SimplePostApiDescription(
+ "/v2/groups/{group_openid}/files"
+ ) {
+ public const val FILE_TYPE_IMAGE: Int = 1
+ public const val FILE_TYPE_VIDEO: Int = 2
+ public const val FILE_TYPE_AUDIO: Int = 3
+ public const val FILE_TYPE_FILE: Int = 4
+
+ /**
+ * Create [UploadGroupFilesApi].
+ *
+ * @param openid 群聊的 openid
+ */
+ @JvmStatic
+ public fun create(openid: String, body: Body): UploadGroupFilesApi =
+ UploadGroupFilesApi(openid, body)
+
+ /**
+ * Create [UploadGroupFilesApi].
+ *
+ * @param openid 群聊的 openid
+ * @param fileType 媒体类型:1 图片,2 视频,3 语音,4 文件(暂不开放)
+ * 资源格式要求:
+ * 图片:png/jpg,视频:mp4,语音:silk
+ * @param url 需要发送媒体资源的url
+ * @param srvSendMsg 设置 true 会直接发送消息到目标端,且会占用主动消息频次
+ */
+ @JvmStatic
+ @JvmOverloads
+ public fun create(
+ openid: String,
+ fileType: Int,
+ url: String,
+ srvSendMsg: Boolean = false
+ ): UploadGroupFilesApi =
+ create(
+ openid,
+ Body(
+ fileType = fileType,
+ url = url,
+ srvSendMsg = srvSendMsg
+ )
+ )
+
+ }
+
+ override val resultDeserializationStrategy: DeserializationStrategy
+ get() = MessageMedia.serializer()
+
+ override val path: Array = arrayOf("v2", "groups", openid, "files")
+
+ override fun createBody(): Any = _body
+
+ /**
+ * @property fileType 媒体类型:1 图片,2 视频,3 语音,4 文件(暂不开放)
+ * 资源格式要求:
+ * 图片:png/jpg,视频:mp4,语音:silk
+ * @property url 需要发送媒体资源的url
+ * @property srvSendMsg 设置 true 会直接发送消息到目标端,且会占用主动消息频次
+ */
+ @Serializable
+ public data class Body(
+ @SerialName("file_type")
+ val fileType: Int,
+ val url: String,
+ @SerialName("srv_send_msg")
+ val srvSendMsg: Boolean,
+ )
+}
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/files/UploadUserFilesApi.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/files/UploadUserFilesApi.kt
new file mode 100644
index 00000000..dad83d32
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/files/UploadUserFilesApi.kt
@@ -0,0 +1,107 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.api.files
+
+import kotlinx.serialization.DeserializationStrategy
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.api.PostQQGuildApi
+import love.forte.simbot.qguild.api.SimplePostApiDescription
+import love.forte.simbot.qguild.model.MessageMedia
+import kotlin.jvm.JvmOverloads
+import kotlin.jvm.JvmStatic
+
+
+/**
+ * [富媒体消息-单聊](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/rich-media.html#用于单聊)
+ *
+ * @author ForteScarlet
+ */
+public class UploadUserFilesApi private constructor(
+ openid: String,
+ private val _body: Body
+) : PostQQGuildApi() {
+ public companion object Factory : SimplePostApiDescription(
+ "/v2/users/{openid}/files"
+ ) {
+ public const val FILE_TYPE_IMAGE: Int = 1
+ public const val FILE_TYPE_VIDEO: Int = 2
+ public const val FILE_TYPE_AUDIO: Int = 3
+ public const val FILE_TYPE_FILE: Int = 4
+
+ /**
+ * Create [UploadUserFilesApi].
+ *
+ * @param openid QQ 用户的 openid,可在各类事件中获得。
+ */
+ @JvmStatic
+ public fun create(openid: String, body: Body): UploadUserFilesApi =
+ UploadUserFilesApi(openid, body)
+
+ /**
+ * Create [UploadUserFilesApi].
+ *
+ * @param openid QQ 用户的 openid,可在各类事件中获得。
+ * @param fileType 媒体类型:1 图片,2 视频,3 语音,4 文件(暂不开放)
+ * 资源格式要求:
+ * 图片:png/jpg,视频:mp4,语音:silk
+ * @param url 需要发送媒体资源的url
+ * @param srvSendMsg 设置 true 会直接发送消息到目标端,且会占用主动消息频次
+ */
+ @JvmStatic
+ @JvmOverloads
+ public fun create(
+ openid: String,
+ fileType: Int,
+ url: String,
+ srvSendMsg: Boolean = false
+ ): UploadUserFilesApi =
+ create(
+ openid,
+ Body(
+ fileType = fileType,
+ url = url,
+ srvSendMsg = srvSendMsg
+ )
+ )
+
+ }
+
+ override val resultDeserializationStrategy: DeserializationStrategy
+ get() = MessageMedia.serializer()
+
+ override val path: Array = arrayOf("v2", "users", openid, "files")
+
+ override fun createBody(): Any = _body
+
+ /**
+ * @property fileType 媒体类型:1 图片,2 视频,3 语音,4 文件(暂不开放)
+ * 资源格式要求:
+ * 图片:png/jpg,视频:mp4,语音:silk
+ * @property url 需要发送媒体资源的url
+ * @property srvSendMsg 设置 true 会直接发送消息到目标端,且会占用主动消息频次
+ */
+ @Serializable
+ public data class Body(
+ @SerialName("file_type")
+ val fileType: Int,
+ val url: String,
+ @SerialName("srv_send_msg")
+ val srvSendMsg: Boolean,
+ )
+}
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/GroupAndC2CSendBody.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/GroupAndC2CSendBody.kt
new file mode 100644
index 00000000..8c14c8e5
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/GroupAndC2CSendBody.kt
@@ -0,0 +1,111 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.api.message
+
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.QGInternalApi
+import love.forte.simbot.qguild.api.message.group.GroupMessageSendApi
+import love.forte.simbot.qguild.api.message.user.UserMessageSendApi
+import love.forte.simbot.qguild.model.Message
+import love.forte.simbot.qguild.model.MessageKeyboard
+import love.forte.simbot.qguild.model.MessageMedia
+import kotlin.jvm.JvmStatic
+
+
+/**
+ * 用于 [GroupMessageSendApi] 和 [UserMessageSendApi]
+ * 进行消息发送的数据体。
+ *
+ * @property content 文本内容
+ * @property msgType 消息类型: 0 文本,2 是 markdown,3 ark 消息,4 embed,7 media 富媒体
+ * @property markdown
+ * @property keyboard
+ * @property media
+ * @property ark
+ * @property messageReference
+ * @property eventId
+ * @property msgId
+ * @property msgSeq
+ * @author ForteScarlet
+ */
+@Serializable
+public open class GroupAndC2CSendBody internal constructor(
+ public open var content: String,
+ @SerialName("msg_type")
+ public open var msgType: Int,
+) {
+ public open var markdown: Message.Markdown? = null
+ public open var keyboard: MessageKeyboard? = null
+ public open var media: MessageMedia? = null
+ public open var ark: Message.Ark? = null
+
+ @SerialName("message_reference")
+ @IgnoreWhenUseFormData
+ public open var messageReference: Message.Reference? = null
+
+ @SerialName("event_id")
+ public open var eventId: String? = null
+
+ @SerialName("msg_id")
+ public open var msgId: String? = null
+
+ @SerialName("msg_seq")
+ public open var msgSeq: Int? = null
+
+ public companion object {
+ public const val MSG_TYPE_TEXT: Int = 0
+ public const val MSG_TYPE_MARKDOWN: Int = 2
+ public const val MSG_TYPE_ARK: Int = 3
+ public const val MSG_TYPE_EMBED: Int = 4
+ public const val MSG_TYPE_MEDIA: Int = 7
+
+ /**
+ * Create [GroupAndC2CSendBody]
+ */
+ @JvmStatic
+ public fun create(content: String, msgType: Int): GroupAndC2CSendBody =
+ GroupAndC2CSendBody(content, msgType)
+
+ /**
+ * Create [GroupAndC2CSendBody]
+ */
+ public inline fun create(
+ content: String,
+ msgType: Int,
+ block: GroupAndC2CSendBody.() -> Unit
+ ): GroupAndC2CSendBody =
+ create(content, msgType).also(block)
+ }
+
+ override fun toString(): String {
+ return "GroupAndC2CSendBody(content='$content', msgType=$msgType, markdown=$markdown, keyboard=$keyboard, media=$media, ark=$ark, messageReference=$messageReference, eventId=$eventId, msgId=$msgId, msgSeq=$msgSeq)"
+ }
+}
+
+@QGInternalApi
+public fun GroupAndC2CSendBody.isEmpty(): Boolean =
+ content.isEmpty()
+ && markdown == null
+ && keyboard == null
+ && media == null
+ && ark == null
+ && messageReference == null
+ && eventId == null
+ && msgId == null
+ && msgSeq == null
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/MessageSendApi.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/MessageSendApi.kt
index 1fa1b967..c78549c6 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/MessageSendApi.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/MessageSendApi.kt
@@ -189,7 +189,7 @@ public class MessageSendApi private constructor(
* 选填,引用消息
*/
@SerialName("message_reference")
- @IgnoreWhenUseImageFormData // TODO 疑似不支持使用form转json发送,暂时忽略
+ @IgnoreWhenUseFormData // TODO 疑似不支持使用form转json发送,暂时忽略
public val messageReference: Message.Reference?,
/**
* 选填,图片url地址,平台会转存该图片,用于下发图片消息
@@ -482,14 +482,14 @@ public expect fun FormBuilder.resolveOther(fileImage: Any?)
@OptIn(ExperimentalSerializationApi::class)
-private class FormDataDecoder(
+internal class FormDataDecoder(
override val serializersModule: SerializersModule,
private val json: Json,
private val formBuilder: FormBuilder,
) : Encoder, CompositeEncoder {
private inline fun check(descriptor: SerialDescriptor, index: Int, block: () -> Unit) {
- if (descriptor.getElementAnnotations(index).any { it is IgnoreWhenUseImageFormData }) {
+ if (descriptor.getElementAnnotations(index).any { it is IgnoreWhenUseFormData }) {
return
}
@@ -644,4 +644,4 @@ private class FormDataDecoder(
@OptIn(ExperimentalSerializationApi::class)
@MetaSerializable
@Target(AnnotationTarget.PROPERTY)
-private annotation class IgnoreWhenUseImageFormData
+internal annotation class IgnoreWhenUseFormData
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/group/GroupMessageSendApi.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/group/GroupMessageSendApi.kt
new file mode 100644
index 00000000..58bfabc6
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/group/GroupMessageSendApi.kt
@@ -0,0 +1,110 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.api.message.group
+
+import kotlinx.serialization.DeserializationStrategy
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.api.PostQQGuildApi
+import love.forte.simbot.qguild.api.SimplePostApiDescription
+import love.forte.simbot.qguild.api.message.GroupAndC2CSendBody
+import love.forte.simbot.qguild.model.MessageKeyboard
+import kotlin.jvm.JvmOverloads
+import kotlin.jvm.JvmStatic
+
+
+/**
+ * [发送消息到群](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/send.html#群聊)
+ *
+ * @author ForteScarlet
+ */
+public class GroupMessageSendApi private constructor(
+ groupId: String,
+ private val _body: GroupAndC2CSendBody, // TencentMessageForSending || MultiPartFormDataContent
+) : PostQQGuildApi() {
+ public companion object Factory : SimplePostApiDescription(
+ "/v2/groups/{group_openid}/messages"
+ ) {
+ public const val MSG_TYPE_TEXT: Int = GroupAndC2CSendBody.MSG_TYPE_TEXT
+ public const val MSG_TYPE_MARKDOWN: Int = GroupAndC2CSendBody.MSG_TYPE_MARKDOWN
+ public const val MSG_TYPE_ARK: Int = GroupAndC2CSendBody.MSG_TYPE_ARK
+ public const val MSG_TYPE_EMBED: Int = GroupAndC2CSendBody.MSG_TYPE_EMBED
+ public const val MSG_TYPE_MEDIA: Int = GroupAndC2CSendBody.MSG_TYPE_MEDIA
+
+ /**
+ * Create a [GroupMessageSendApi].
+ */
+ @JvmStatic
+ public fun create(groupId: String, body: GroupAndC2CSendBody): GroupMessageSendApi =
+ GroupMessageSendApi(groupId, body)
+
+ /**
+ * Create a [GroupMessageSendApi].
+ *
+ * @param msgType 消息类型: 0 文本,2 是 markdown,3 ark 消息,4 embed,7 media 富媒体
+ * 由于此处仅提供 content, 因此类型应当是 `0` 或 `2`。
+ */
+ @JvmStatic
+ public fun create(groupId: String, content: String, msgType: Int): GroupMessageSendApi =
+ create(groupId, GroupAndC2CSendBody.create(content = content, msgType = msgType))
+
+ /**
+ * Create a [GroupMessageSendApi].
+ *
+ * @param text 文本消息内容
+ */
+ @JvmStatic
+ public fun createText(groupId: String, text: String): GroupMessageSendApi =
+ create(groupId, GroupAndC2CSendBody.create(content = text, msgType = MSG_TYPE_TEXT))
+
+ /**
+ * Create a [GroupMessageSendApi].
+ *
+ * @param markdown markdown消息内容
+ */
+ @JvmStatic
+ @JvmOverloads
+ public fun createMarkdown(
+ groupId: String,
+ markdown: String,
+ keyboard: MessageKeyboard? = null
+ ): GroupMessageSendApi =
+ create(
+ groupId,
+ GroupAndC2CSendBody.create(content = markdown, msgType = MSG_TYPE_MARKDOWN) {
+ this.keyboard = keyboard
+ }
+ )
+
+ }
+
+ override val resultDeserializationStrategy: DeserializationStrategy
+ get() = GroupMessageSendResult.serializer()
+
+ override val path: Array = arrayOf("v2", "groups", groupId, "messages")
+
+ override fun createBody(): Any = _body
+}
+
+/**
+ * The result of [GroupMessageSendApi]
+ */
+@Serializable
+public data class GroupMessageSendResult(
+ val id: String,
+ val timestamp: String,
+)
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/user/UserMessageSendApi.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/user/UserMessageSendApi.kt
new file mode 100644
index 00000000..7ecf5bea
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/api/message/user/UserMessageSendApi.kt
@@ -0,0 +1,167 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.api.message.user
+
+import kotlinx.serialization.DeserializationStrategy
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.ApiModel
+import love.forte.simbot.qguild.api.PostQQGuildApi
+import love.forte.simbot.qguild.api.SimplePostApiDescription
+import love.forte.simbot.qguild.api.message.GroupAndC2CSendBody
+import love.forte.simbot.qguild.api.message.IgnoreWhenUseFormData
+import love.forte.simbot.qguild.model.Message
+import love.forte.simbot.qguild.model.MessageKeyboard
+import love.forte.simbot.qguild.model.SendMessageMedia
+import kotlin.jvm.JvmOverloads
+import kotlin.jvm.JvmStatic
+
+
+/**
+ * [发送消息-单聊](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/send.html#单聊)
+ *
+ * 单独发动消息给用户。
+ *
+ * @author ForteScarlet
+ */
+public class UserMessageSendApi private constructor(
+ openid: String,
+ private val _body: GroupAndC2CSendBody,
+) : PostQQGuildApi() {
+ public companion object Factory : SimplePostApiDescription(
+ "/v2/users/{openid}/messages"
+ ) {
+ public const val MSG_TYPE_TEXT: Int = GroupAndC2CSendBody.MSG_TYPE_TEXT
+ public const val MSG_TYPE_MARKDOWN: Int = GroupAndC2CSendBody.MSG_TYPE_MARKDOWN
+ public const val MSG_TYPE_ARK: Int = GroupAndC2CSendBody.MSG_TYPE_ARK
+ public const val MSG_TYPE_EMBED: Int = GroupAndC2CSendBody.MSG_TYPE_EMBED
+ public const val MSG_TYPE_MEDIA: Int = GroupAndC2CSendBody.MSG_TYPE_MEDIA
+
+ /**
+ * Create a [UserMessageSendApi].
+ */
+ @JvmStatic
+ public fun create(openid: String, body: GroupAndC2CSendBody): UserMessageSendApi =
+ UserMessageSendApi(openid, body)
+
+ /**
+ * Create a [UserMessageSendApi].
+ *
+ * @param msgType 消息类型: 0 文本,2 是 markdown,3 ark 消息,4 embed,7 media 富媒体
+ * 由于此处仅提供 content, 因此类型应当是 `0` 或 `2`。
+ */
+ @JvmStatic
+ public fun create(openid: String, content: String, msgType: Int): UserMessageSendApi =
+ create(
+ openid,
+ GroupAndC2CSendBody.create(
+ content = content,
+ msgType = msgType
+ )
+ )
+
+ /**
+ * Create a [UserMessageSendApi].
+ *
+ * @param text 文本消息内容
+ */
+ @JvmStatic
+ public fun createText(openid: String, text: String): UserMessageSendApi =
+ create(
+ openid,
+ GroupAndC2CSendBody.create(content = text, msgType = MSG_TYPE_TEXT)
+ )
+
+ /**
+ * Create a [UserMessageSendApi].
+ *
+ * @param markdown markdown消息内容
+ */
+ @JvmStatic
+ @JvmOverloads
+ public fun createMarkdown(
+ openid: String,
+ markdown: String,
+ keyboard: MessageKeyboard? = null
+ ): UserMessageSendApi =
+ create(
+ openid,
+ GroupAndC2CSendBody.create(
+ content = markdown,
+ msgType = MSG_TYPE_MARKDOWN,
+ ) {
+ this.keyboard = keyboard
+ }
+ )
+ }
+
+ override val resultDeserializationStrategy: DeserializationStrategy
+ get() = UserMessageSendResult.serializer()
+
+ override val path: Array = arrayOf("v2", "users", openid, "messages")
+
+ override fun createBody(): Any = _body
+
+ /**
+ * @property content 文本内容
+ * @property msgType 消息类型: 0 文本,2 是 markdown,3 ark 消息,4 embed,7 media 富媒体
+ * @property markdown
+ * @property keyboard
+ * @property media
+ * @property ark
+ * @property messageReference
+ * @property eventId
+ * @property msgId
+ * @property msgSeq
+ */
+ @ApiModel
+ @Serializable
+ public class Body(
+ public val content: String,
+ @SerialName("msg_type")
+ public val msgType: Int,
+ ) {
+ public var markdown: Message.Markdown? = null
+ public var keyboard: MessageKeyboard? = null
+ public var media: SendMessageMedia? = null
+ public var ark: Message.Ark? = null
+
+ @SerialName("message_reference")
+ @IgnoreWhenUseFormData
+ public var messageReference: Message.Reference? = null
+
+ @SerialName("event_id")
+ public var eventId: String? = null
+
+ @SerialName("msg_id")
+ public var msgId: String? = null
+
+ @SerialName("msg_seq")
+ public var msgSeq: Int? = null
+ }
+}
+
+
+/**
+ * The result of [UserMessageSendApi]
+ */
+@Serializable
+public data class UserMessageSendResult(
+ val id: String,
+ val timestamp: String,
+)
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/EventIntents.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/EventIntents.kt
index 8d8e3288..ff8ea951 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/EventIntents.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/EventIntents.kt
@@ -311,6 +311,81 @@ public sealed class EventIntents {
}
+ /**
+ * ```
+ * GROUP_AND_C2C_EVENT (1 << 25)
+ * - C2C_MESSAGE_CREATE // 用户单聊发消息给机器人时候
+ * - FRIEND_ADD // 用户添加使用机器人
+ * - FRIEND_DEL // 用户删除机器人
+ * - C2C_MSG_REJECT // 用户在机器人资料卡手动关闭"主动消息"推送
+ * - C2C_MSG_RECEIVE // 用户在机器人资料卡手动开启"主动消息"推送开关
+ * - GROUP_AT_MESSAGE_CREATE // 用户在群里@机器人时收到的消息
+ * - GROUP_ADD_ROBOT // 机器人被添加到群聊
+ * - GROUP_DEL_ROBOT // 机器人被移出群聊
+ * - GROUP_MSG_REJECT // 群管理员主动在机器人资料页操作关闭通知
+ * - GROUP_MSG_RECEIVE // 群管理员主动在机器人资料页操作开启通知
+ * ```
+ */
+ public data object GroupAndC2CEvent : EventIntents() {
+ /** C2C群聊相关事件 `intents` */
+ @get:JvmStatic
+ @get:JvmName("getIntents")
+ public val intents: Intents = Intents(1 shl 25)
+
+ override val intentsValue: Int
+ get() = intents.value
+
+ /**
+ * 用户单聊发消息给机器人时候
+ */
+ public const val C2C_MESSAGE_CREATE_TYPE: String = "C2C_MESSAGE_CREATE"
+
+ /**
+ * 用户添加使用机器人
+ */
+ public const val FRIEND_ADD_TYPE: String = "FRIEND_ADD"
+
+ /**
+ * 用户删除机器人
+ */
+ public const val FRIEND_DEL_TYPE: String = "FRIEND_DEL"
+
+ /**
+ * 用户在机器人资料卡手动关闭"主动消息"推送
+ */
+ public const val C2C_MSG_REJECT_TYPE: String = "C2C_MSG_REJECT"
+
+ /**
+ * 用户在机器人资料卡手动开启"主动消息"推送开关
+ */
+ public const val C2C_MSG_RECEIVE_TYPE: String = "C2C_MSG_RECEIVE"
+
+ /**
+ * 用户在群里@机器人时收到的消息
+ */
+ public const val GROUP_AT_MESSAGE_CREATE_TYPE: String = "GROUP_AT_MESSAGE_CREATE"
+
+ /**
+ * 机器人被添加到群聊
+ */
+ public const val GROUP_ADD_ROBOT_TYPE: String = "GROUP_ADD_ROBOT"
+
+ /**
+ * 机器人被移出群聊
+ */
+ public const val GROUP_DEL_ROBOT_TYPE: String = "GROUP_DEL_ROBOT"
+
+ /**
+ * 群管理员主动在机器人资料页操作关闭通知
+ */
+ public const val GROUP_MSG_REJECT_TYPE: String = "GROUP_MSG_REJECT"
+
+ /**
+ * 群管理员主动在机器人资料页操作开启通知
+ */
+ public const val GROUP_MSG_RECEIVE_TYPE: String = "GROUP_MSG_RECEIVE"
+ }
+
/**
* ```
* INTERACTION (1 << 26)
@@ -493,6 +568,7 @@ public val EventIntentsInstances: Array = arrayOf(
DirectMessage,
OpenForumsEvent,
AudioOrLiveChannelMember,
+ GroupAndC2CEvent,
Interaction,
MessageAudit,
ForumsEvent,
@@ -505,7 +581,11 @@ public val EventIntentsInstances: Array = arrayOf(
*/
@Serializable
@SerialName(READY_TYPE)
-public data class Ready(override val s: Long, @SerialName("d") override val data: Data) : Signal.Dispatch() {
+public data class Ready(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Data
+) : Signal.Dispatch() {
/**
* [Ready] 的事件内容
*/
@@ -526,5 +606,9 @@ public data class Ready(override val s: Long, @SerialName("d") override val data
*/
@Serializable
@SerialName(RESUMED_TYPE)
-public data class Resumed(override val s: Long, @SerialName("d") override val data: String) : Signal.Dispatch()
+public data class Resumed(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: String
+) : Signal.Dispatch()
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/Signal.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/Signal.kt
index 75f54832..b2922a1c 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/Signal.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/Signal.kt
@@ -76,7 +76,8 @@ public sealed class Signal(@Serializable(Opcode.SerializerByCode::class) publ
/**
*
- * @property token 创建机器人的时候分配的,格式为 `Bot {appid}.{app_token}`
+ * @property token 创建机器人的时候分配的,
+ * 格式为 `QQBot {ACCESS_TOKEN}`
* @property intents 此次连接所需要接收的事件,具体可参考 [Intents]
* @property shard 该参数是用来进行水平分片的。该参数是个拥有两个元素的数组。
* 例如:`[0,4]`,代表分为四个片,当前链接是第 0 个片,业务稍后应该继续建立 shard 为 `[1,4]`, `[2,4]`, `[3,4]` 的链接,才能完整接收事件。更多详细的内容可以参考 [Shard]。
@@ -164,6 +165,8 @@ public sealed class Signal(@Serializable(Opcode.SerializerByCode::class) publ
*/
protected abstract val s: Long
+ public abstract val id: String?
+
/**
* 事件序列
*/
@@ -211,6 +214,7 @@ public sealed class Signal(@Serializable(Opcode.SerializerByCode::class) publ
*
*/
public data class Unknown @QGInternalApi constructor(
+ override val id: String? = null,
override val s: Long,
override val data: JsonElement,
val raw: String
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/c2cManagements.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/c2cManagements.kt
new file mode 100644
index 00000000..16353f19
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/c2cManagements.kt
@@ -0,0 +1,97 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.event
+
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+
+
+/**
+ * [C2CManagementDispatch] 的事件数据
+ * @property timestamp 添加时间戳
+ * @property openid 用户openid
+ */
+@Serializable
+public data class C2CManagementData(
+ val timestamp: String,
+ val openid: String,
+)
+
+/**
+ * 用户模块-用户管理相关事件。
+ * [data] 类型为 [C2CManagementData]
+ */
+public sealed class C2CManagementDispatch : Signal.Dispatch() {
+ abstract override val data: C2CManagementData
+}
+
+/**
+ * [用户添加机器人](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/user/manage/event.html#用户添加机器人)
+ *
+ * 触发场景 用户添加机器人'好友'到消息列表
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.FRIEND_ADD_TYPE)
+public data class FriendAdd(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: C2CManagementData
+) : C2CManagementDispatch()
+
+/**
+ * [用户删除机器人](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/user/manage/event.html#用户删除机器人)
+ *
+ * 触发场景 用户删除机器人'好友'
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.FRIEND_DEL_TYPE)
+public data class FriendDel(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: C2CManagementData
+) : C2CManagementDispatch()
+
+/**
+ * [拒绝机器人主动消息](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/user/manage/event.html#拒绝机器人主动消息)
+ *
+ * 触发场景 用户在机器人资料卡手动关闭"主动消息"推送
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.C2C_MSG_REJECT_TYPE)
+public data class C2CMsgReject(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: C2CManagementData
+) : C2CManagementDispatch()
+
+/**
+ * [允许机器人主动消息](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/user/manage/event.html#允许机器人主动消息)
+ *
+ * 触发场景 用户在机器人资料卡手动开启"主动消息"推送开关
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.C2C_MSG_RECEIVE_TYPE)
+public data class C2CMsgReceive(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: C2CManagementData
+) : C2CManagementDispatch()
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/c2cMessages.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/c2cMessages.kt
new file mode 100644
index 00000000..fff4af9a
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/c2cMessages.kt
@@ -0,0 +1,115 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.event
+
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.model.Message
+
+/**
+ * [单聊消息](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/event.html#单聊消息)
+ *
+ * 触发场景 用户在单聊发送消息给机器人
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.C2C_MESSAGE_CREATE_TYPE)
+public data class C2CMessageCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: Data,
+) : Signal.Dispatch() {
+
+ /**
+ * The data of [C2CMessageCreate.data].
+ *
+ * @property id 平台方消息ID,可以用于被动消息发送
+ * @property author 发送者
+ * @property content 文本消息内容
+ * @property timestamp 消息生产时间(RFC3339)
+ * @property attachments 富媒体文件附件,文件类型:"图片,语音,视频,文件"
+ * `{"content_type": "", "filename": "", "height": "", "width": "", "size": "", "url": ""}`
+ *
+ */
+ @Serializable
+ public data class Data(
+ public val id: String,
+ public val author: Author,
+ public val content: String,
+ public val timestamp: String,
+ public val attachments: List = emptyList(),
+ )
+
+ /**
+ * The [Data.author].
+ */
+ @Serializable
+ public data class Author(
+ @SerialName("user_openid")
+ val userOpenid: String,
+ )
+}
+
+/**
+ * [群聊@机器人](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/event.html#群聊-机器人)
+ *
+ * 触发场景 用户在群聊@机器人发送消息
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.GROUP_AT_MESSAGE_CREATE_TYPE)
+public data class GroupAtMessageCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: Data,
+) : Signal.Dispatch() {
+ /**
+ * The data of [GroupAtMessageCreate.data]
+ *
+ * @property id 平台方消息 ID,可以用于被动消息发送
+ * @property author 发送者
+ * @property content 消息内容
+ * @property timestamp 消息生产时间(RFC3339)
+ * @property groupOpenid 群聊的 openid
+ * @property attachments 富媒体文件附件,文件类型:"图片,语音,视频,文件"
+ * `{"content_type": "", "filename": "", "height": "", "width": "", "size": "", "url": ""}`
+ */
+ @Serializable
+ public data class Data(
+ val id: String,
+ val author: Author,
+ val content: String,
+ val timestamp: String,
+ @SerialName("group_openid")
+ val groupOpenid: String,
+ val attachments: List = emptyList(),
+ )
+
+ /**
+ * The [Data.author]
+ *
+ * @property memberOpenid 用户在本群的 member_openid
+ */
+ @Serializable
+ public data class Author(
+ @SerialName("member_openid")
+ val memberOpenid: String,
+ )
+}
+
+
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/channels.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/channels.kt
index 15c5071a..8a1894e1 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/channels.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/channels.kt
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023. ForteScarlet.
+ * Copyright (c) 2023-2024. ForteScarlet.
*
* This file is part of simbot-component-qq-guild.
*
@@ -20,7 +20,9 @@ package love.forte.simbot.qguild.event
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import love.forte.simbot.qguild.ApiModel
-import love.forte.simbot.qguild.model.*
+import love.forte.simbot.qguild.model.Channel
+import love.forte.simbot.qguild.model.ChannelSubType
+import love.forte.simbot.qguild.model.ChannelType
/**
* channel相关的事件类型。[data] 类型为 [EventChannel]。
@@ -41,8 +43,11 @@ public sealed class ChannelDispatch : Signal.Dispatch() {
*/
@Serializable
@SerialName(EventIntents.Guilds.CHANNEL_CREATE_TYPE)
-public data class ChannelCreate(override val s: Long, @SerialName("d") override val data: EventChannel) :
- ChannelDispatch()
+public data class ChannelCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventChannel
+) : ChannelDispatch()
/**
* 子频道事件 [CHANNEL_UPDATE](https://bot.q.qq.com/wiki/develop/api/gateway/channel.html#channel-update)
@@ -52,8 +57,11 @@ public data class ChannelCreate(override val s: Long, @SerialName("d") override
*/
@Serializable
@SerialName(EventIntents.Guilds.CHANNEL_UPDATE_TYPE)
-public data class ChannelUpdate(override val s: Long, @SerialName("d") override val data: EventChannel) :
- ChannelDispatch()
+public data class ChannelUpdate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventChannel
+) : ChannelDispatch()
/**
* 子频道事件 [CHANNEL_DELETE](https://bot.q.qq.com/wiki/develop/api/gateway/channel.html#channel-delete)
@@ -63,8 +71,11 @@ public data class ChannelUpdate(override val s: Long, @SerialName("d") override
*/
@Serializable
@SerialName(EventIntents.Guilds.CHANNEL_DELETE_TYPE)
-public data class ChannelDelete(override val s: Long, @SerialName("d") override val data: EventChannel) :
- ChannelDispatch()
+public data class ChannelDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventChannel
+) : ChannelDispatch()
/**
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/forums.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/forums.kt
index 33352300..b3bda947 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/forums.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/forums.kt
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023. ForteScarlet.
+ * Copyright (c) 2023-2024. ForteScarlet.
*
* This file is part of simbot-component-qq-guild.
*
@@ -92,7 +92,11 @@ public sealed class ForumThreadDispatch : ForumDispatch() {
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_THREAD_CREATE_TYPE)
-public data class ForumThreadCreate(override val s: Long, @SerialName("d") override val data: Thread) : ForumThreadDispatch()
+public data class ForumThreadCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Thread
+) : ForumThreadDispatch()
/**
* 主题更新事件。
@@ -102,7 +106,11 @@ public data class ForumThreadCreate(override val s: Long, @SerialName("d") overr
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_THREAD_UPDATE_TYPE)
-public data class ForumThreadUpdate(override val s: Long, @SerialName("d") override val data: Thread) : ForumThreadDispatch()
+public data class ForumThreadUpdate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Thread
+) : ForumThreadDispatch()
/**
* 主题删除事件。
@@ -112,7 +120,11 @@ public data class ForumThreadUpdate(override val s: Long, @SerialName("d") overr
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_THREAD_DELETE_TYPE)
-public data class ForumThreadDelete(override val s: Long, @SerialName("d") override val data: Thread) : ForumThreadDispatch()
+public data class ForumThreadDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Thread
+) : ForumThreadDispatch()
/**
@@ -135,7 +147,11 @@ public sealed class ForumPostDispatch : ForumDispatch() {
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_POST_CREATE_TYPE)
-public data class ForumPostCreate(override val s: Long, @SerialName("d") override val data: Post) : ForumPostDispatch()
+public data class ForumPostCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Post
+) : ForumPostDispatch()
/**
* 帖子删除事件
@@ -145,7 +161,11 @@ public data class ForumPostCreate(override val s: Long, @SerialName("d") overrid
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_POST_DELETE_TYPE)
-public data class ForumPostDelete(override val s: Long, @SerialName("d") override val data: Post) : ForumPostDispatch()
+public data class ForumPostDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Post
+) : ForumPostDispatch()
/**
@@ -168,7 +188,11 @@ public sealed class ForumReplyDispatch : ForumDispatch() {
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_REPLY_CREATE_TYPE)
-public data class ForumReplyCreate(override val s: Long, @SerialName("d") override val data: Reply) : ForumReplyDispatch()
+public data class ForumReplyCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Reply
+) : ForumReplyDispatch()
/**
* 回复删除事件
@@ -178,7 +202,11 @@ public data class ForumReplyCreate(override val s: Long, @SerialName("d") overri
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_REPLY_DELETE_TYPE)
-public data class ForumReplyDelete(override val s: Long, @SerialName("d") override val data: Reply) : ForumReplyDispatch()
+public data class ForumReplyDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Reply
+) : ForumReplyDispatch()
/**
* 帖子审核事件
@@ -187,4 +215,8 @@ public data class ForumReplyDelete(override val s: Long, @SerialName("d") overri
*/
@Serializable
@SerialName(EventIntents.ForumsEvent.FORUM_PUBLISH_AUDIT_RESULT_TYPE)
-public data class ForumPublishAuditResult(override val s: Long, @SerialName("d") override val data: AuditResult) : ForumDispatch()
+public data class ForumPublishAuditResult(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: AuditResult
+) : ForumDispatch()
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/groupManagements.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/groupManagements.kt
new file mode 100644
index 00000000..54ee95e7
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/groupManagements.kt
@@ -0,0 +1,99 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.event
+
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+
+/**
+ * @property timestamp 加入的时间戳
+ * @property groupOpenid 加入群的群openid
+ * @property opMemberOpenid 操作添加机器人进群的群成员openid
+ */
+@Serializable
+public data class GroupRobotManagementData(
+ val timestamp: String,
+ @SerialName("group_openid")
+ val groupOpenid: String,
+ @SerialName("op_member_openid")
+ val opMemberOpenid: String,
+)
+
+/**
+ * 群聊模块-群管理相关事件。
+ * [data] 类型为 [GroupRobotManagementData]
+ */
+public sealed class GroupRobotManagementDispatch : Signal.Dispatch() {
+ abstract override val data: GroupRobotManagementData
+}
+
+/**
+ * [机器人加入群聊](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/group/manage/event.html#机器人加入群聊)
+ *
+ * 触发场景 机器人被添加到群聊
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.GROUP_ADD_ROBOT_TYPE)
+public data class GroupAddRobot(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: GroupRobotManagementData
+) : GroupRobotManagementDispatch()
+
+/**
+ * [机器人退出群聊](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/group/manage/event.html#机器人退出群聊)
+ *
+ * 触发场景 机器人被移出群聊
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.GROUP_DEL_ROBOT_TYPE)
+public data class GroupDelRobot(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: GroupRobotManagementData
+) : GroupRobotManagementDispatch()
+
+/**
+ * [群聊拒绝机器人主动消息](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/group/manage/event.html#群聊拒绝机器人主动消息)
+ *
+ * 触发场景 群管理员主动在机器人资料页操作关闭通知
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.GROUP_MSG_REJECT_TYPE)
+public data class GroupMsgReject(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: GroupRobotManagementData
+) : GroupRobotManagementDispatch()
+
+/**
+ * [群聊接受机器人主动消息](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/group/manage/event.html#群聊接受机器人主动消息)
+ *
+ * 触发场景 群管理员主动在机器人资料页操作开启通知
+ */
+@Serializable
+@SerialName(EventIntents.GroupAndC2CEvent.GROUP_MSG_RECEIVE_TYPE)
+public data class GroupMsgReceive(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d")
+ override val data: GroupRobotManagementData
+) : GroupRobotManagementDispatch()
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/guilds.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/guilds.kt
index 19ef5db2..3caeb9ee 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/guilds.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/guilds.kt
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023. ForteScarlet.
+ * Copyright (c) 2023-2024. ForteScarlet.
*
* This file is part of simbot-component-qq-guild.
*
@@ -41,7 +41,11 @@ public sealed class EventGuildDispatch : Signal.Dispatch() {
*/
@Serializable
@SerialName(EventIntents.Guilds.GUILD_CREATE_TYPE)
-public data class GuildCreate(override val s: Long, @SerialName("d") override val data: EventGuild) : EventGuildDispatch()
+public data class GuildCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventGuild
+) : EventGuildDispatch()
/**
*
@@ -53,7 +57,11 @@ public data class GuildCreate(override val s: Long, @SerialName("d") override va
*/
@Serializable
@SerialName(EventIntents.Guilds.GUILD_UPDATE_TYPE)
-public data class GuildUpdate(override val s: Long, @SerialName("d") override val data: EventGuild) : EventGuildDispatch()
+public data class GuildUpdate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventGuild
+) : EventGuildDispatch()
/**
*
@@ -66,7 +74,11 @@ public data class GuildUpdate(override val s: Long, @SerialName("d") override va
*/
@Serializable
@SerialName(EventIntents.Guilds.GUILD_DELETE_TYPE)
-public data class GuildDelete(override val s: Long, @SerialName("d") override val data: EventGuild) : EventGuildDispatch()
+public data class GuildDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventGuild
+) : EventGuildDispatch()
/**
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/members.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/members.kt
index 0d598e92..4114a455 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/members.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/members.kt
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023. ForteScarlet.
+ * Copyright (c) 2023-2024. ForteScarlet.
*
* This file is part of simbot-component-qq-guild.
*
@@ -31,7 +31,11 @@ import love.forte.simbot.qguild.time.ZERO_ISO_INSTANT
*/
@Serializable
@SerialName(EventIntents.GuildMembers.GUILD_MEMBER_ADD_TYPE)
-public data class GuildMemberAdd(override val s: Long, @SerialName("d") override val data: EventMember) : Signal.Dispatch()
+public data class GuildMemberAdd(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventMember
+) : Signal.Dispatch()
/**
* [`GUILD_MEMBER_UPDATE`](https://bot.q.qq.com/wiki/develop/api/gateway/guild_member.html#guild-member-update)
@@ -40,7 +44,11 @@ public data class GuildMemberAdd(override val s: Long, @SerialName("d") override
*/
@Serializable
@SerialName(EventIntents.GuildMembers.GUILD_MEMBER_UPDATE_TYPE)
-public data class GuildMemberUpdate(override val s: Long, @SerialName("d") override val data: EventMember) : Signal.Dispatch()
+public data class GuildMemberUpdate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventMember
+) : Signal.Dispatch()
/**
* [`GUILD_MEMBER_REMOVE`](https://bot.q.qq.com/wiki/develop/api/gateway/guild_member.html#guild-member-remove)
@@ -49,7 +57,11 @@ public data class GuildMemberUpdate(override val s: Long, @SerialName("d") overr
*/
@Serializable
@SerialName(EventIntents.GuildMembers.GUILD_MEMBER_REMOVE_TYPE)
-public data class GuildMemberRemove(override val s: Long, @SerialName("d") override val data: EventMember) : Signal.Dispatch()
+public data class GuildMemberRemove(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: EventMember
+) : Signal.Dispatch()
/**
@@ -67,7 +79,7 @@ public data class EventMember(
/**
* 用户的频道基础信息
*/
- override val user: User,
+ override val user: User,
/**
* 用户的昵称
*/
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/messages.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/messages.kt
index 3d3c39ff..a7bce237 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/messages.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/messages.kt
@@ -44,7 +44,11 @@ public sealed class MessageDispatch : Signal.Dispatch() {
*/
@Serializable
@SerialName(EventIntents.PublicGuildMessages.AT_MESSAGE_CREATE_TYPE)
-public data class AtMessageCreate(override val s: Long, @SerialName("d") override val data: Message) : MessageDispatch()
+public data class AtMessageCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Message
+) : MessageDispatch()
/**
* 消息事件
@@ -54,6 +58,7 @@ public data class AtMessageCreate(override val s: Long, @SerialName("d") overrid
@Serializable
@SerialName(EventIntents.PublicGuildMessages.PUBLIC_MESSAGE_DELETE_TYPE)
public data class PublicMessageDeleteCreate(
+ override val id: String? = null,
override val s: Long,
@SerialName("d") override val data: Unit /* TODO 文档没找到描述。 */
) :
@@ -69,7 +74,11 @@ public data class PublicMessageDeleteCreate(
*/
@Serializable
@SerialName(EventIntents.DirectMessage.DIRECT_MESSAGE_CREATE_TYPE)
-public data class DirectMessageCreate(override val s: Long, @SerialName("d") override val data: Message) :
+public data class DirectMessageCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Message
+) :
MessageDispatch()
/**
@@ -87,7 +96,11 @@ public sealed class MessageAuditedDispatch : Signal.Dispatch() {
*/
@Serializable
@SerialName(EventIntents.GuildMessages.MESSAGE_CREATE_TYPE)
-public data class MessageCreate(override val s: Long, @SerialName("d") override val data: Message) : MessageDispatch()
+public data class MessageCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: Message
+) : MessageDispatch()
/**
* 删除(撤回)消息事件
@@ -95,6 +108,7 @@ public data class MessageCreate(override val s: Long, @SerialName("d") override
@Serializable
@SerialName(EventIntents.GuildMessages.MESSAGE_DELETE_TYPE)
public data class MessageDelete(
+ override val id: String? = null,
override val s: Long,
@SerialName("d") override val data: Unit /* TODO 文档没找到描述。 */
) : Signal.Dispatch()
@@ -110,8 +124,11 @@ public data class MessageDelete(
*/
@Serializable
@SerialName(EventIntents.MessageAudit.MESSAGE_AUDIT_PASS_TYPE)
-public data class MessageAuditPass(override val s: Long, @SerialName("d") override val data: MessageAudited) :
- MessageAuditedDispatch()
+public data class MessageAuditPass(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: MessageAudited
+) : MessageAuditedDispatch()
/**
* 消息审核事件
@@ -123,5 +140,8 @@ public data class MessageAuditPass(override val s: Long, @SerialName("d") overri
*/
@Serializable
@SerialName(EventIntents.MessageAudit.MESSAGE_AUDIT_REJECT_TYPE)
-public data class MessageAuditReject(override val s: Long, @SerialName("d") override val data: MessageAudited) :
- MessageAuditedDispatch()
+public data class MessageAuditReject(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: MessageAudited
+) : MessageAuditedDispatch()
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/openForums.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/openForums.kt
index dc79131d..7ddd3527 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/openForums.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/event/openForums.kt
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023. ForteScarlet.
+ * Copyright (c) 2023-2024. ForteScarlet.
*
* This file is part of simbot-component-qq-guild.
*
@@ -118,7 +118,11 @@ public sealed class OpenForumThreadDispatch : OpenForumDispatch() {
*/
@Serializable
@SerialName(EventIntents.OpenForumsEvent.OPEN_FORUM_THREAD_CREATE_TYPE)
-public data class OpenForumThreadCreate(override val s: Long, @SerialName("d") override val data: OpenForumThreadData) : OpenForumThreadDispatch()
+public data class OpenForumThreadCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: OpenForumThreadData
+) : OpenForumThreadDispatch()
/**
@@ -128,7 +132,11 @@ public data class OpenForumThreadCreate(override val s: Long, @SerialName("d") o
*/
@Serializable
@SerialName(EventIntents.OpenForumsEvent.OPEN_FORUM_THREAD_UPDATE_TYPE)
-public data class OpenForumThreadUpdate(override val s: Long, @SerialName("d") override val data: OpenForumThreadData) : OpenForumThreadDispatch()
+public data class OpenForumThreadUpdate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: OpenForumThreadData
+) : OpenForumThreadDispatch()
/**
@@ -138,7 +146,11 @@ public data class OpenForumThreadUpdate(override val s: Long, @SerialName("d") o
*/
@Serializable
@SerialName(EventIntents.OpenForumsEvent.OPEN_FORUM_THREAD_DELETE_TYPE)
-public data class OpenForumThreadDelete(override val s: Long, @SerialName("d") override val data: OpenForumThreadData) : OpenForumThreadDispatch()
+public data class OpenForumThreadDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: OpenForumThreadData
+) : OpenForumThreadDispatch()
/**
@@ -174,7 +186,11 @@ public sealed class OpenForumPostDispatch : OpenForumDispatch() {
*/
@Serializable
@SerialName(EventIntents.OpenForumsEvent.OPEN_FORUM_POST_CREATE_TYPE)
-public data class OpenForumPostCreate(override val s: Long, @SerialName("d") override val data: OpenForumPostData) : OpenForumPostDispatch()
+public data class OpenForumPostCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: OpenForumPostData
+) : OpenForumPostDispatch()
/**
@@ -184,7 +200,11 @@ public data class OpenForumPostCreate(override val s: Long, @SerialName("d") ove
*/
@Serializable
@SerialName(EventIntents.OpenForumsEvent.OPEN_FORUM_POST_DELETE_TYPE)
-public data class OpenForumPostDelete(override val s: Long, @SerialName("d") override val data: OpenForumPostData) : OpenForumPostDispatch()
+public data class OpenForumPostDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: OpenForumPostData
+) : OpenForumPostDispatch()
/**
@@ -219,7 +239,11 @@ public sealed class OpenForumReplyDispatch : OpenForumDispatch() {
*/
@Serializable
@SerialName(EventIntents.OpenForumsEvent.OPEN_FORUM_REPLY_CREATE_TYPE)
-public data class OpenForumReplyCreate(override val s: Long, @SerialName("d") override val data: OpenForumReplyData) : OpenForumReplyDispatch()
+public data class OpenForumReplyCreate(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: OpenForumReplyData
+) : OpenForumReplyDispatch()
/**
@@ -229,7 +253,11 @@ public data class OpenForumReplyCreate(override val s: Long, @SerialName("d") ov
*/
@Serializable
@SerialName(EventIntents.OpenForumsEvent.OPEN_FORUM_REPLY_DELETE_TYPE)
-public data class OpenForumReplyDelete(override val s: Long, @SerialName("d") override val data: OpenForumReplyData) : OpenForumReplyDispatch()
+public data class OpenForumReplyDelete(
+ override val id: String? = null,
+ override val s: Long,
+ @SerialName("d") override val data: OpenForumReplyData
+) : OpenForumReplyDispatch()
/**
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/Message.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/Message.kt
index a674640e..82eb86d8 100644
--- a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/Message.kt
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/Message.kt
@@ -26,6 +26,7 @@ import kotlinx.serialization.encoding.Encoder
import love.forte.simbot.qguild.ApiModel
import love.forte.simbot.qguild.message.EmbedBuilder
import love.forte.simbot.qguild.time.ZERO_ISO_INSTANT
+import kotlin.jvm.JvmOverloads
import kotlin.jvm.JvmStatic
import kotlin.jvm.JvmSynthetic
@@ -313,17 +314,17 @@ public data class Message(
/**
* markdown 模板 id
*/
- @SerialName("template_id") val templateId: Int?,
+ @SerialName("template_id") val templateId: Int? = null,
/**
* markdown 自定义模板 id
*/
- @SerialName("custom_template_id") val customTemplateId: String?,
+ @SerialName("custom_template_id") val customTemplateId: String? = null,
/**
* markdown 模板模板参数
*/
- val params: Params?,
+ val params: Params? = null,
/**
* 原生 markdown 内容,与上面三个参数互斥,参数都传值将报错。
@@ -350,6 +351,25 @@ public data class Message(
*/
val values: List
)
+
+ public companion object {
+ @JvmStatic
+ public fun createByContent(content: String): Markdown {
+ return Markdown(content = content)
+ }
+
+ @JvmStatic
+ @JvmOverloads
+ public fun createByTemplateId(templateId: Int, params: Params? = null): Markdown {
+ return Markdown(templateId = templateId, params = params)
+ }
+
+ @JvmStatic
+ @JvmOverloads
+ public fun createByCustomTemplateId(customTemplateId: String, params: Params? = null): Markdown {
+ return Markdown(customTemplateId = customTemplateId, params = params)
+ }
+ }
}
}
@@ -384,7 +404,6 @@ public data class MessageMember(
}
-
internal object MessageAttachmentSerializer : KSerializer {
private val serializer = MapSerializer(String.serializer(), String.serializer())
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/MessageKeyboard.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/MessageKeyboard.kt
new file mode 100644
index 00000000..45582b4d
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/MessageKeyboard.kt
@@ -0,0 +1,89 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.model
+
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.ApiModel
+import kotlin.jvm.JvmStatic
+
+
+/**
+ * [消息交互=>消息按钮](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/trans/msg-btn.html)
+ *
+ * @author ForteScarlet
+ */
+@ApiModel
+@Serializable
+public data class MessageKeyboard(
+ val id: String? = null,
+ @SerialName("render_data")
+ val renderData: RenderData? = null,
+ val action: Action? = null,
+) {
+ public companion object {
+ /**
+ * Create a [MessageKeyboard]
+ */
+ @JvmStatic
+ public fun create(id: String): MessageKeyboard =
+ MessageKeyboard(id = id)
+ }
+
+ /**
+ * [MessageKeyboard.renderData].
+ * 参考 [官方文档](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/trans/msg-btn.html)
+ */
+ @ApiModel
+ @Serializable
+ public data class RenderData(
+ val label: String,
+ val visitedLabel: String,
+ val style: Int,
+ )
+
+ /**
+ * [Action.permission].
+ * 参考 [官方文档](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/trans/msg-btn.html)
+ */
+ @ApiModel
+ @Serializable
+ public data class ActionPermission(
+ val type: Int,
+ @SerialName("specify_user_ids")
+ val specifyUserIds: List? = null,
+ @SerialName("specify_role_ids")
+ val specifyRoleIds: List? = null,
+ )
+
+ /**
+ * [MessageKeyboard.action].
+ * 参考 [官方文档](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/trans/msg-btn.html)
+ */
+ @ApiModel
+ @Serializable
+ public data class Action(
+ val permission: ActionPermission? = null,
+ val data: String?,
+ val reply: Boolean? = null,
+ val enter: Boolean? = null,
+ val anchor: Int? = null,
+ @SerialName("unsupport_tips")
+ val unsupportTips: String,
+ )
+}
diff --git a/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/MessageMedia.kt b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/MessageMedia.kt
new file mode 100644
index 00000000..7c065cdf
--- /dev/null
+++ b/simbot-component-qq-guild-api/src/commonMain/kotlin/love/forte/simbot/qguild/model/MessageMedia.kt
@@ -0,0 +1,64 @@
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * This file is part of simbot-component-qq-guild.
+ *
+ * simbot-component-qq-guild is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * simbot-component-qq-guild is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with simbot-component-qq-guild.
+ * If not, see .
+ */
+
+package love.forte.simbot.qguild.model
+
+import kotlinx.serialization.SerialName
+import kotlinx.serialization.Serializable
+import love.forte.simbot.qguild.ApiModel
+
+
+/**
+ * [富媒体消息](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/rich-media.html)
+ *
+ * @property fileUuid 文件 ID
+ * @property fileInfo 文件信息,用于发消息接口的 media 字段使用
+ * @property ttl 有效期,表示剩余多少秒到期,到期后 file_info 失效,当等于 0 时,表示可长期使用
+ * @property id 发送消息的唯一ID,当srv_send_msg设置为true时返回
+ *
+ * @author ForteScarlet
+ */
+@ApiModel
+@Serializable
+public data class MessageMedia(
+ @SerialName("file_uuid")
+ val fileUuid: String,
+ @SerialName("file_info")
+ val fileInfo: String,
+ val ttl: Int,
+ val id: String? = null,
+)
+
+/**
+ * [富媒体消息](https://bot.q.qq.com/wiki/develop/api-v2/server-inter/message/send-receive/rich-media.html)
+ *
+ * @property fileInfo 文件信息,用于发消息接口的 media 字段使用
+ *
+ * @author ForteScarlet
+ */
+@ApiModel
+@Serializable
+public data class SendMessageMedia(
+ // TODO
+ @SerialName("file_info")
+ val fileInfo: String,
+)
+
+/**
+ * [MessageMedia] to [SendMessageMedia]
+ */
+public fun MessageMedia.forSend(): SendMessageMedia = SendMessageMedia(fileInfo)
diff --git a/simbot-component-qq-guild-api/src/jvmMain/java/module-info.java b/simbot-component-qq-guild-api/src/jvmMain/java/module-info.java
index 25f67d3b..50f0b417 100644
--- a/simbot-component-qq-guild-api/src/jvmMain/java/module-info.java
+++ b/simbot-component-qq-guild-api/src/jvmMain/java/module-info.java
@@ -26,6 +26,8 @@
exports love.forte.simbot.qguild.model.forum;
exports love.forte.simbot.qguild.time;
exports love.forte.simbot.qguild.api;
+ exports love.forte.simbot.qguild.api.files;
+ exports love.forte.simbot.qguild.api.app;
exports love.forte.simbot.qguild.api.announces;
exports love.forte.simbot.qguild.api.apipermission;
exports love.forte.simbot.qguild.api.channel;
@@ -39,6 +41,8 @@
exports love.forte.simbot.qguild.api.message;
exports love.forte.simbot.qguild.api.message.direct;
exports love.forte.simbot.qguild.api.message.setting;
+ exports love.forte.simbot.qguild.api.message.group;
+ exports love.forte.simbot.qguild.api.message.user;
exports love.forte.simbot.qguild.api.role;
exports love.forte.simbot.qguild.api.user;
}
diff --git a/simbot-component-qq-guild-api/src/jvmMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.jvm.kt b/simbot-component-qq-guild-api/src/jvmMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.jvm.kt
index 679797ae..b7c30fb9 100644
--- a/simbot-component-qq-guild-api/src/jvmMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.jvm.kt
+++ b/simbot-component-qq-guild-api/src/jvmMain/kotlin/love/forte/simbot/qguild/api/ApiRequests.jvm.kt
@@ -69,10 +69,11 @@ public fun newJson(
@JvmOverloads
public fun QQGuildApi<*>.requestBlocking(
client: HttpClient,
- token: String,
+ token: String?,
server: Url = QQGuild.URL,
+ appId: String? = null,
): HttpResponse = runInNoScopeBlocking {
- request(client, token, server)
+ request(client = client, token = token, server = server, appId = appId)
}
/**
@@ -83,10 +84,11 @@ public fun QQGuildApi<*>.requestBlocking(
@JvmOverloads
public fun QQGuildApi<*>.requestTextBlocking(
client: HttpClient,
- token: String,
+ token: String?,
server: Url = QQGuild.URL,
+ appId: String? = null,
): String = runInNoScopeBlocking {
- requestText(client, token, server)
+ requestText(client = client, token = token, server = server, appId = appId)
}
/**
@@ -96,10 +98,11 @@ public fun QQGuildApi<*>.requestTextBlocking(
@JvmOverloads
public fun QQGuildApi.requestDataBlocking(
client: HttpClient,
- token: String,
+ token: String?,
server: Url = QQGuild.URL,
+ appId: String? = null,
): R = runInNoScopeBlocking {
- requestData(client, token, server)
+ requestData(client = client, token = token, server = server, appId = appId)
}
/**
@@ -113,8 +116,9 @@ public fun QQGuildApi<*>.requestAsync(
token: String,
server: Url = QQGuild.URL,
scope: CoroutineScope? = null,
+ appId: String? = null,
): CompletableFuture = (scope ?: client).future {
- request(client, token, server)
+ request(client = client, token = token, server = server, appId = appId)
}
/**
@@ -128,8 +132,9 @@ public fun QQGuildApi<*>.requestTextAsync(
token: String,
server: Url = QQGuild.URL,
scope: CoroutineScope? = null,
+ appId: String? = null,
): CompletableFuture = (scope ?: client).future {
- requestText(client, token, server)
+ requestText(client = client, token = token, server = server, appId = appId)
}
/**
@@ -142,8 +147,9 @@ public fun QQGuildApi.requestDataAsync(
token: String,
server: Url = QQGuild.URL,
scope: CoroutineScope? = null,
+ appId: String? = null,
): CompletableFuture = (scope ?: client).future {
- requestData(client, token, server)
+ requestData(client = client, token = token, server = server, appId = appId)
}
/**
@@ -159,8 +165,9 @@ public fun QQGuildApi<*>.requestReserve(
token: String,
server: Url = QQGuild.URL,
scope: CoroutineScope? = null,
+ appId: String? = null,
): SuspendReserve = suspendReserve(scope = (scope ?: client), context = EmptyCoroutineContext) {
- request(client, token, server)
+ request(client = client, token = token, server = server, appId = appId)
}
/**
@@ -176,8 +183,9 @@ public fun QQGuildApi<*>.requestTextReserve(
token: String,
server: Url = QQGuild.URL,
scope: CoroutineScope? = null,
+ appId: String? = null,
): SuspendReserve = suspendReserve(scope = (scope ?: client), context = EmptyCoroutineContext) {
- requestText(client, token, server)
+ requestText(client = client, token = token, server = server, appId = appId)
}
/**
@@ -193,6 +201,7 @@ public fun QQGuildApi.requestDataReserve(
token: String,
server: Url = QQGuild.URL,
scope: CoroutineScope? = null,
+ appId: String? = null,
): SuspendReserve = suspendReserve(scope = (scope ?: client), context = EmptyCoroutineContext) {
- requestData(client, token, server)
+ requestData(client = client, token = token, server = server, appId = appId)
}
diff --git a/simbot-component-qq-guild-core/api/simbot-component-qq-guild-core.api b/simbot-component-qq-guild-core/api/simbot-component-qq-guild-core.api
index 7eaa481d..40f2fa4b 100644
--- a/simbot-component-qq-guild-core/api/simbot-component-qq-guild-core.api
+++ b/simbot-component-qq-guild-core/api/simbot-component-qq-guild-core.api
@@ -72,11 +72,11 @@ public abstract interface class love/forte/simbot/component/qguild/QQGuildUsageB
public abstract fun component (Llove/forte/simbot/common/function/ConfigurerFunction;)V
}
-public abstract interface class love/forte/simbot/component/qguild/bot/QGBot : love/forte/simbot/bot/Bot {
+public abstract interface class love/forte/simbot/component/qguild/bot/QGBot : love/forte/simbot/ability/EventMentionAware, love/forte/simbot/bot/Bot {
public abstract fun getAvatar ()Ljava/lang/String;
public abstract fun getComponent ()Llove/forte/simbot/component/qguild/QQGuildComponent;
public fun getContactRelation ()Llove/forte/simbot/bot/ContactRelation;
- public fun getGroupRelation ()Llove/forte/simbot/bot/GroupRelation;
+ public abstract fun getGroupRelation ()Llove/forte/simbot/component/qguild/group/QGGroupRelation;
public abstract fun getGuildRelation ()Llove/forte/simbot/component/qguild/guild/QGGuildRelation;
public fun getId ()Llove/forte/simbot/common/id/ID;
public fun getMe ()Llove/forte/simbot/qguild/model/User;
@@ -89,6 +89,7 @@ public abstract interface class love/forte/simbot/component/qguild/bot/QGBot : l
public abstract fun getSource ()Llove/forte/simbot/qguild/stdlib/Bot;
public abstract fun getUserId ()Llove/forte/simbot/common/id/ID;
public abstract fun isMe (Llove/forte/simbot/common/id/ID;)Z
+ public fun isMention (Llove/forte/simbot/event/Event;)Z
public synthetic fun me (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public abstract synthetic fun me (ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun me$suspendImpl (Llove/forte/simbot/component/qguild/bot/QGBot;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -105,6 +106,14 @@ public abstract interface class love/forte/simbot/component/qguild/bot/QGBot : l
public fun sendToReserve (Llove/forte/simbot/common/id/ID;Llove/forte/simbot/message/Message;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public fun sendToReserve (Llove/forte/simbot/common/id/ID;Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
public abstract synthetic fun start (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract synthetic fun uploadGroupMedia (Llove/forte/simbot/common/id/ID;Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun uploadGroupMediaAsync (Llove/forte/simbot/common/id/ID;Ljava/lang/String;I)Ljava/util/concurrent/CompletableFuture;
+ public fun uploadGroupMediaBlocking (Llove/forte/simbot/common/id/ID;Ljava/lang/String;I)Llove/forte/simbot/component/qguild/message/QGMedia;
+ public fun uploadGroupMediaReserve (Llove/forte/simbot/common/id/ID;Ljava/lang/String;I)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public abstract synthetic fun uploadUserMedia (Llove/forte/simbot/common/id/ID;Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun uploadUserMediaAsync (Llove/forte/simbot/common/id/ID;Ljava/lang/String;I)Ljava/util/concurrent/CompletableFuture;
+ public fun uploadUserMediaBlocking (Llove/forte/simbot/common/id/ID;Ljava/lang/String;I)Llove/forte/simbot/component/qguild/message/QGMedia;
+ public fun uploadUserMediaReserve (Llove/forte/simbot/common/id/ID;Ljava/lang/String;I)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
}
public abstract interface annotation class love/forte/simbot/component/qguild/bot/QGBotManagerConfigurationDsl : java/lang/annotation/Annotation {
@@ -715,6 +724,59 @@ public abstract class love/forte/simbot/component/qguild/event/QGBotStartedEvent
public fun getTime ()Llove/forte/simbot/common/time/Timestamp;
}
+public abstract class love/forte/simbot/component/qguild/event/QGC2CManagementEvent : love/forte/simbot/component/qguild/event/QGBotEvent, love/forte/simbot/event/ContactEvent {
+ public fun ()V
+ protected final fun computeId (Llove/forte/simbot/qguild/event/C2CManagementData;)Llove/forte/simbot/common/id/ID;
+ public abstract synthetic fun content (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun getContent ()Ljava/lang/Object;
+ public fun getContent ()Llove/forte/simbot/component/qguild/friend/QGFriend;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Actor;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Contact;
+ public fun getContentAsync ()Ljava/util/concurrent/CompletableFuture;
+ public fun getContentReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public abstract fun getId ()Llove/forte/simbot/common/id/ID;
+ public fun getTime ()Llove/forte/simbot/common/time/Timestamp;
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGC2CMessageCreateEvent : love/forte/simbot/component/qguild/event/QGBotEvent, love/forte/simbot/event/ContactMessageEvent {
+ public fun ()V
+ public abstract synthetic fun content (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun getAuthorId ()Llove/forte/simbot/common/id/ID;
+ public abstract fun getBot ()Llove/forte/simbot/component/qguild/bot/QGBot;
+ public synthetic fun getContent ()Ljava/lang/Object;
+ public fun getContent ()Llove/forte/simbot/component/qguild/friend/QGFriend;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Actor;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Contact;
+ public fun getContentAsync ()Ljava/util/concurrent/CompletableFuture;
+ public fun getContentReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun getId ()Llove/forte/simbot/common/id/ID;
+ public abstract fun getMessageContent ()Llove/forte/simbot/component/qguild/message/QGGroupAndC2CMessageContent;
+ public fun getTime ()Llove/forte/simbot/common/time/Timestamp;
+ public abstract synthetic fun reply (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract synthetic fun reply (Llove/forte/simbot/message/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract synthetic fun reply (Llove/forte/simbot/message/MessageContent;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun replyAsync (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
+ public fun replyAsync (Llove/forte/simbot/message/Message;)Ljava/util/concurrent/CompletableFuture;
+ public fun replyAsync (Llove/forte/simbot/message/MessageContent;)Ljava/util/concurrent/CompletableFuture;
+ public fun replyBlocking (Ljava/lang/String;)Llove/forte/simbot/component/qguild/message/QGMessageReceipt;
+ public synthetic fun replyBlocking (Ljava/lang/String;)Llove/forte/simbot/message/MessageReceipt;
+ public fun replyBlocking (Llove/forte/simbot/message/Message;)Llove/forte/simbot/component/qguild/message/QGMessageReceipt;
+ public synthetic fun replyBlocking (Llove/forte/simbot/message/Message;)Llove/forte/simbot/message/MessageReceipt;
+ public fun replyBlocking (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/component/qguild/message/QGMessageReceipt;
+ public synthetic fun replyBlocking (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/message/MessageReceipt;
+ public fun replyReserve (Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun replyReserve (Llove/forte/simbot/message/Message;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun replyReserve (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGC2CMsgReceiveEvent : love/forte/simbot/component/qguild/event/QGC2CManagementEvent {
+ public fun ()V
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGC2CMsgRejectEvent : love/forte/simbot/component/qguild/event/QGC2CManagementEvent {
+ public fun ()V
+}
+
public abstract class love/forte/simbot/component/qguild/event/QGChannelCreateEvent : love/forte/simbot/component/qguild/event/QGChannelEvent, love/forte/simbot/event/OrganizationChangeEvent {
public fun ()V
public abstract synthetic fun channel (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -865,6 +927,87 @@ public abstract class love/forte/simbot/component/qguild/event/QGForumThreadUpda
public fun toString ()Ljava/lang/String;
}
+public abstract class love/forte/simbot/component/qguild/event/QGFriendAddEvent : love/forte/simbot/component/qguild/event/QGC2CManagementEvent {
+ public fun ()V
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGFriendDelEvent : love/forte/simbot/component/qguild/event/QGC2CManagementEvent {
+ public fun ()V
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGGroupAddRobotEvent : love/forte/simbot/component/qguild/event/QGGroupManagementEvent {
+ public fun ()V
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGGroupAtMessageCreateEvent : love/forte/simbot/component/qguild/event/QGBotEvent, love/forte/simbot/event/ChatGroupMessageEvent {
+ public fun ()V
+ public abstract synthetic fun author (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract synthetic fun content (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun getAuthor ()Llove/forte/simbot/common/id/IDContainer;
+ public fun getAuthor ()Llove/forte/simbot/component/qguild/group/QGGroupMember;
+ public synthetic fun getAuthor ()Llove/forte/simbot/definition/Actor;
+ public synthetic fun getAuthor ()Llove/forte/simbot/definition/Member;
+ public fun getAuthorAsync ()Ljava/util/concurrent/CompletableFuture;
+ public fun getAuthorId ()Llove/forte/simbot/common/id/ID;
+ public fun getAuthorReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public abstract fun getBot ()Llove/forte/simbot/component/qguild/bot/QGBot;
+ public synthetic fun getContent ()Ljava/lang/Object;
+ public fun getContent ()Llove/forte/simbot/component/qguild/group/QGGroup;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Actor;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/ChatGroup;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/ChatRoom;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Organization;
+ public fun getContentAsync ()Ljava/util/concurrent/CompletableFuture;
+ public fun getContentReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun getId ()Llove/forte/simbot/common/id/ID;
+ public abstract fun getMessageContent ()Llove/forte/simbot/component/qguild/message/QGGroupAndC2CMessageContent;
+ public fun getTime ()Llove/forte/simbot/common/time/Timestamp;
+ public abstract synthetic fun reply (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract synthetic fun reply (Llove/forte/simbot/message/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract synthetic fun reply (Llove/forte/simbot/message/MessageContent;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun replyAsync (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
+ public fun replyAsync (Llove/forte/simbot/message/Message;)Ljava/util/concurrent/CompletableFuture;
+ public fun replyAsync (Llove/forte/simbot/message/MessageContent;)Ljava/util/concurrent/CompletableFuture;
+ public fun replyBlocking (Ljava/lang/String;)Llove/forte/simbot/message/MessageReceipt;
+ public fun replyBlocking (Llove/forte/simbot/message/Message;)Llove/forte/simbot/message/MessageReceipt;
+ public fun replyBlocking (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/message/MessageReceipt;
+ public fun replyReserve (Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun replyReserve (Llove/forte/simbot/message/Message;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun replyReserve (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGGroupDelRobotEvent : love/forte/simbot/component/qguild/event/QGGroupManagementEvent {
+ public fun ()V
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGGroupManagementEvent : love/forte/simbot/component/qguild/event/QGBotEvent, love/forte/simbot/event/ChatGroupEvent {
+ public fun ()V
+ protected final fun computeId (Llove/forte/simbot/qguild/event/GroupRobotManagementData;)Llove/forte/simbot/common/id/ID;
+ public abstract synthetic fun content (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun getContent ()Ljava/lang/Object;
+ public fun getContent ()Llove/forte/simbot/component/qguild/group/QGGroup;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Actor;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/ChatGroup;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/ChatRoom;
+ public synthetic fun getContent ()Llove/forte/simbot/definition/Organization;
+ public fun getContentAsync ()Ljava/util/concurrent/CompletableFuture;
+ public fun getContentReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public abstract fun getId ()Llove/forte/simbot/common/id/ID;
+ public fun getOperator ()Llove/forte/simbot/component/qguild/group/QGGroupMember;
+ public fun getOperatorAsync ()Ljava/util/concurrent/CompletableFuture;
+ public fun getOperatorReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun getTime ()Llove/forte/simbot/common/time/Timestamp;
+ public abstract synthetic fun operator (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGGroupMsgReceiveEvent : love/forte/simbot/component/qguild/event/QGGroupManagementEvent {
+ public fun ()V
+}
+
+public abstract class love/forte/simbot/component/qguild/event/QGGroupMsgRejectEvent : love/forte/simbot/component/qguild/event/QGGroupManagementEvent {
+ public fun ()V
+}
+
public abstract class love/forte/simbot/component/qguild/event/QGGuildCreateEvent : love/forte/simbot/component/qguild/event/QGGuildEvent, love/forte/simbot/event/ChangeEvent, love/forte/simbot/event/GuildEvent {
public fun ()V
public abstract synthetic fun content (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -1160,6 +1303,76 @@ public abstract interface class love/forte/simbot/component/qguild/forum/QGThrea
public fun title (Ljava/lang/String;)Llove/forte/simbot/component/qguild/forum/QGThreadCreator;
}
+public abstract interface class love/forte/simbot/component/qguild/friend/QGFriend : love/forte/simbot/definition/Contact {
+ public fun getAvatar ()Ljava/lang/String;
+ public abstract fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext;
+ public abstract fun getId ()Llove/forte/simbot/common/id/ID;
+ public fun getName ()Ljava/lang/String;
+ public abstract synthetic fun uploadMedia (Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun uploadMediaAsync (Ljava/lang/String;I)Ljava/util/concurrent/CompletableFuture;
+ public fun uploadMediaBlocking (Ljava/lang/String;I)Llove/forte/simbot/component/qguild/message/QGMedia;
+ public fun uploadMediaReserve (Ljava/lang/String;I)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+}
+
+public abstract interface class love/forte/simbot/component/qguild/group/QGGroup : love/forte/simbot/definition/ChatGroup {
+ public abstract synthetic fun botAsMember (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun getBotAsMember ()Llove/forte/simbot/component/qguild/group/QGGroupMember;
+ public synthetic fun getBotAsMember ()Llove/forte/simbot/definition/Member;
+ public fun getBotAsMemberAsync ()Ljava/util/concurrent/CompletableFuture;
+ public fun getBotAsMemberReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public abstract fun getId ()Llove/forte/simbot/common/id/ID;
+ public fun getMember (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/component/qguild/group/QGGroupMember;
+ public synthetic fun getMember (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/definition/Member;
+ public fun getMemberAsync (Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
+ public fun getMemberReserve (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun getMembers ()Llove/forte/simbot/common/collectable/Collectable;
+ public fun getName ()Ljava/lang/String;
+ public fun getOwnerId ()Llove/forte/simbot/common/id/ID;
+ public fun getRoles ()Llove/forte/simbot/common/collectable/Collectable;
+ public synthetic fun member (Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun member$suspendImpl (Llove/forte/simbot/component/qguild/group/QGGroup;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract synthetic fun uploadMedia (Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun uploadMediaAsync (Ljava/lang/String;I)Ljava/util/concurrent/CompletableFuture;
+ public fun uploadMediaBlocking (Ljava/lang/String;I)Llove/forte/simbot/component/qguild/message/QGMedia;
+ public fun uploadMediaReserve (Ljava/lang/String;I)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+}
+
+public abstract interface class love/forte/simbot/component/qguild/group/QGGroupMember : love/forte/simbot/definition/Member {
+ public fun getAvatar ()Ljava/lang/String;
+ public abstract fun getId ()Llove/forte/simbot/common/id/ID;
+ public fun getName ()Ljava/lang/String;
+ public fun getNick ()Ljava/lang/String;
+ public synthetic fun send (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun send (Llove/forte/simbot/message/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun send (Llove/forte/simbot/message/MessageContent;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun send$suspendImpl (Llove/forte/simbot/component/qguild/group/QGGroupMember;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun send$suspendImpl (Llove/forte/simbot/component/qguild/group/QGGroupMember;Llove/forte/simbot/message/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun send$suspendImpl (Llove/forte/simbot/component/qguild/group/QGGroupMember;Llove/forte/simbot/message/MessageContent;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+}
+
+public abstract interface class love/forte/simbot/component/qguild/group/QGGroupRelation : love/forte/simbot/bot/GroupRelation {
+ public fun getGroup (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/component/qguild/group/QGGroup;
+ public synthetic fun getGroup (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/definition/ChatGroup;
+ public fun getGroupAsync (Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
+ public fun getGroupReserve (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
+ public fun getGroups ()Llove/forte/simbot/common/collectable/Collectable;
+ public abstract synthetic fun group (Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun groupCount (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun groupCount$suspendImpl (Llove/forte/simbot/component/qguild/group/QGGroupRelation;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+}
+
+public final class love/forte/simbot/component/qguild/group/QGGroupRole : java/lang/Enum, love/forte/simbot/definition/Role {
+ public static final field ADMIN Llove/forte/simbot/component/qguild/group/QGGroupRole;
+ public static final field MEMBER Llove/forte/simbot/component/qguild/group/QGGroupRole;
+ public static final field OWNER Llove/forte/simbot/component/qguild/group/QGGroupRole;
+ public static fun getEntries ()Lkotlin/enums/EnumEntries;
+ public fun getId ()Llove/forte/simbot/common/id/ID;
+ public synthetic fun getName ()Ljava/lang/String;
+ public fun isAdmin ()Z
+ public static fun valueOf (Ljava/lang/String;)Llove/forte/simbot/component/qguild/group/QGGroupRole;
+ public static fun values ()[Llove/forte/simbot/component/qguild/group/QGGroupRole;
+}
+
public abstract interface class love/forte/simbot/component/qguild/guild/QGGuild : kotlinx/coroutines/CoroutineScope, love/forte/simbot/component/qguild/QGObjectiveContainer, love/forte/simbot/definition/Guild {
public abstract fun botAsMember (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public abstract synthetic fun category (Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -1271,27 +1484,52 @@ public final class love/forte/simbot/component/qguild/internal/bot/QGBotImpl$inl
public final synthetic fun apply (Ljava/lang/Object;)Ljava/lang/Object;
}
-public final class love/forte/simbot/component/qguild/internal/message/QGSingleMessageReceiptImplKt {
+public final class love/forte/simbot/component/qguild/internal/message/QGMessageReceiptImplKt {
+ public static final fun asGroupReceipt (Ljava/lang/Iterable;)Llove/forte/simbot/component/qguild/message/QGAggregatedIdMessageReceipt;
+ public static final fun asReceipt (Llove/forte/simbot/qguild/api/message/group/GroupMessageSendResult;)Llove/forte/simbot/component/qguild/message/QGSingleIdMessageReceipt;
+ public static final fun asReceipt (Llove/forte/simbot/qguild/api/message/user/UserMessageSendResult;)Llove/forte/simbot/component/qguild/message/QGSingleIdMessageReceipt;
public static final fun asReceipt (Llove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/component/qguild/message/QGSingleMessageReceipt;
+ public static final fun asUserReceipt (Ljava/lang/Iterable;)Llove/forte/simbot/component/qguild/message/QGAggregatedIdMessageReceipt;
}
public final class love/forte/simbot/component/qguild/message/ImageParser : love/forte/simbot/component/qguild/message/SendingMessageParser {
public static final field INSTANCE Llove/forte/simbot/component/qguild/message/ImageParser;
public fun invoke (ILlove/forte/simbot/message/Message$Element;Llove/forte/simbot/message/Messages;Llove/forte/simbot/component/qguild/message/SendingMessageParser$BuilderContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
- public synthetic fun invoke (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
+ public fun invoke (ILlove/forte/simbot/message/Message$Element;Llove/forte/simbot/message/Messages;Llove/forte/simbot/component/qguild/message/SendingMessageParser$GroupAndC2CBuilderContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class love/forte/simbot/component/qguild/message/MessageParsers {
public static final field INSTANCE Llove/forte/simbot/component/qguild/message/MessageParsers;
- public final fun parse (Llove/forte/simbot/message/Message;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
- public final fun parse (Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
- public final fun parse (Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public final fun parse (Ljava/lang/String;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
+ public final fun parse (Ljava/lang/String;Ljava/util/List;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
+ public final fun parse (Ljava/lang/String;Ljava/util/List;Llove/forte/simbot/message/Messages;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
+ public final synthetic fun parse (Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun parse (Llove/forte/simbot/qguild/model/Message;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
public final fun parse (Llove/forte/simbot/qguild/model/Message;Llove/forte/simbot/message/Messages;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
+ public static synthetic fun parse$default (Llove/forte/simbot/component/qguild/message/MessageParsers;Ljava/lang/String;Ljava/util/List;Llove/forte/simbot/message/Messages;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
public static synthetic fun parse$default (Llove/forte/simbot/component/qguild/message/MessageParsers;Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun parse$default (Llove/forte/simbot/component/qguild/message/MessageParsers;Llove/forte/simbot/qguild/model/Message;Llove/forte/simbot/message/Messages;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
}
+public final class love/forte/simbot/component/qguild/message/MessageSenderKt {
+ public static final fun sendGroupMessage (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static final fun sendGroupMessage (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static final fun sendGroupMessage (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun sendGroupMessage$default (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
+ public static final fun sendUserMessage (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static final fun sendUserMessage (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static final fun sendUserMessage (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Llove/forte/simbot/qguild/api/message/GroupAndC2CSendBody;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public static synthetic fun sendUserMessage$default (Llove/forte/simbot/component/qguild/bot/QGBot;Ljava/lang/String;Llove/forte/simbot/message/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
+}
+
+public abstract class love/forte/simbot/component/qguild/message/QGAggregatedIdMessageReceipt : love/forte/simbot/message/AggregatedMessageReceipt, love/forte/simbot/component/qguild/message/QGMessageReceipt {
+ public fun ()V
+ public fun delete ([Llove/forte/simbot/ability/DeleteOption;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract fun get (I)Llove/forte/simbot/component/qguild/message/QGSingleIdMessageReceipt;
+ public abstract fun getSize ()I
+ public abstract fun iterator ()Ljava/util/Iterator;
+}
+
public abstract class love/forte/simbot/component/qguild/message/QGAggregatedMessageReceipt : love/forte/simbot/message/AggregatedMessageReceipt, love/forte/simbot/component/qguild/message/QGMessageReceipt {
public fun ()V
public fun delete ([Llove/forte/simbot/ability/DeleteOption;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -1405,6 +1643,14 @@ public final class love/forte/simbot/component/qguild/message/QGAttachmentMessag
public static final fun toAttachment (Llove/forte/simbot/component/qguild/message/QGAttachmentMessage;)Llove/forte/simbot/qguild/model/Message$Attachment;
}
+public abstract class love/forte/simbot/component/qguild/message/QGBaseMessageContent : love/forte/simbot/message/MessageContent {
+ public fun ()V
+ public abstract fun getId ()Llove/forte/simbot/common/id/ID;
+ public abstract fun getMessages ()Llove/forte/simbot/message/Messages;
+ public abstract fun getPlainText ()Ljava/lang/String;
+ public abstract fun getSourceContent ()Ljava/lang/String;
+}
+
public final class love/forte/simbot/component/qguild/message/QGContentText : love/forte/simbot/component/qguild/message/QGMessageElement, love/forte/simbot/message/PlainText {
public static final field Companion Llove/forte/simbot/component/qguild/message/QGContentText$Companion;
public fun (Ljava/lang/String;)V
@@ -1467,12 +1713,83 @@ public final class love/forte/simbot/component/qguild/message/QGEmbedKt {
public static final fun buildQGEmbed (Lkotlin/jvm/functions/Function1;)Llove/forte/simbot/component/qguild/message/QGEmbed;
}
-public abstract class love/forte/simbot/component/qguild/message/QGMessageContent : love/forte/simbot/message/MessageContent {
+public abstract class love/forte/simbot/component/qguild/message/QGGroupAndC2CMessageContent : love/forte/simbot/component/qguild/message/QGBaseMessageContent {
+ public fun ()V
+ public synthetic fun delete ([Llove/forte/simbot/ability/DeleteOption;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public abstract fun getAttachments ()Ljava/util/List;
+ public abstract fun getSourceContent ()Ljava/lang/String;
+}
+
+public final class love/forte/simbot/component/qguild/message/QGMarkdown : love/forte/simbot/component/qguild/message/QGMessageElement {
+ public static final field Companion Llove/forte/simbot/component/qguild/message/QGMarkdown$Companion;
+ public static final fun byMarkdown (Llove/forte/simbot/qguild/model/Message$Markdown;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun component1 ()Llove/forte/simbot/qguild/model/Message$Markdown;
+ public final fun copy (Llove/forte/simbot/qguild/model/Message$Markdown;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static synthetic fun copy$default (Llove/forte/simbot/component/qguild/message/QGMarkdown;Llove/forte/simbot/qguild/model/Message$Markdown;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static final fun create (Ljava/lang/String;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static final fun createByCustomTemplateId (Ljava/lang/String;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static final fun createByCustomTemplateId (Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static final fun createByTemplateId (I)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static final fun createByTemplateId (ILlove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getMarkdown ()Llove/forte/simbot/qguild/model/Message$Markdown;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/component/qguild/message/QGMarkdown$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/component/qguild/message/QGMarkdown$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/component/qguild/message/QGMarkdown;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/component/qguild/message/QGMarkdown$Companion {
+ public final fun byMarkdown (Llove/forte/simbot/qguild/model/Message$Markdown;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun create (Ljava/lang/String;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun createByCustomTemplateId (Ljava/lang/String;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun createByCustomTemplateId (Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static synthetic fun createByCustomTemplateId$default (Llove/forte/simbot/component/qguild/message/QGMarkdown$Companion;Ljava/lang/String;Llove/forte/simbot/qguild/model/Message$Markdown$Params;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun createByTemplateId (I)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun createByTemplateId (ILlove/forte/simbot/qguild/model/Message$Markdown$Params;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public static synthetic fun createByTemplateId$default (Llove/forte/simbot/component/qguild/message/QGMarkdown$Companion;ILlove/forte/simbot/qguild/model/Message$Markdown$Params;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/QGMarkdown;
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/component/qguild/message/QGMedia : love/forte/simbot/component/qguild/message/QGMessageElement {
+ public static final field Companion Llove/forte/simbot/component/qguild/message/QGMedia$Companion;
+ public fun (Llove/forte/simbot/qguild/model/MessageMedia;)V
+ public final fun component1 ()Llove/forte/simbot/qguild/model/MessageMedia;
+ public final fun copy (Llove/forte/simbot/qguild/model/MessageMedia;)Llove/forte/simbot/component/qguild/message/QGMedia;
+ public static synthetic fun copy$default (Llove/forte/simbot/component/qguild/message/QGMedia;Llove/forte/simbot/qguild/model/MessageMedia;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/QGMedia;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getMedia ()Llove/forte/simbot/qguild/model/MessageMedia;
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public synthetic class love/forte/simbot/component/qguild/message/QGMedia$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
+ public static final field INSTANCE Llove/forte/simbot/component/qguild/message/QGMedia$$serializer;
+ public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
+ public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
+ public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Llove/forte/simbot/component/qguild/message/QGMedia;
+ public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
+ public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
+ public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Llove/forte/simbot/component/qguild/message/QGMedia;)V
+ public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
+}
+
+public final class love/forte/simbot/component/qguild/message/QGMedia$Companion {
+ public final fun serializer ()Lkotlinx/serialization/KSerializer;
+}
+
+public abstract class love/forte/simbot/component/qguild/message/QGMessageContent : love/forte/simbot/component/qguild/message/QGBaseMessageContent {
public fun ()V
public synthetic fun delete ([Llove/forte/simbot/ability/DeleteOption;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
- public abstract fun getId ()Llove/forte/simbot/common/id/ID;
- public abstract fun getMessages ()Llove/forte/simbot/message/Messages;
- public abstract fun getPlainText ()Ljava/lang/String;
public abstract fun getSourceMessage ()Llove/forte/simbot/qguild/model/Message;
}
@@ -1527,11 +1844,15 @@ public final class love/forte/simbot/component/qguild/message/QGReference$Compan
public final class love/forte/simbot/component/qguild/message/QGReplyTo : love/forte/simbot/component/qguild/message/QGMessageElement {
public static final field Companion Llove/forte/simbot/component/qguild/message/QGReplyTo$Companion;
public fun (Llove/forte/simbot/common/id/ID;)V
+ public fun (Llove/forte/simbot/common/id/ID;Ljava/lang/Integer;)V
+ public synthetic fun (Llove/forte/simbot/common/id/ID;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Llove/forte/simbot/common/id/ID;
- public final fun copy (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/component/qguild/message/QGReplyTo;
- public static synthetic fun copy$default (Llove/forte/simbot/component/qguild/message/QGReplyTo;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/QGReplyTo;
+ public final fun component2 ()Ljava/lang/Integer;
+ public final fun copy (Llove/forte/simbot/common/id/ID;Ljava/lang/Integer;)Llove/forte/simbot/component/qguild/message/QGReplyTo;
+ public static synthetic fun copy$default (Llove/forte/simbot/component/qguild/message/QGReplyTo;Llove/forte/simbot/common/id/ID;Ljava/lang/Integer;ILjava/lang/Object;)Llove/forte/simbot/component/qguild/message/QGReplyTo;
public fun equals (Ljava/lang/Object;)Z
public final fun getId ()Llove/forte/simbot/common/id/ID;
+ public final fun getSeq ()Ljava/lang/Integer;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
@@ -1554,50 +1875,76 @@ public final class love/forte/simbot/component/qguild/message/QGReplyTo$Companio
public abstract interface annotation class love/forte/simbot/component/qguild/message/QGSendOnly : java/lang/annotation/Annotation {
}
+public abstract class love/forte/simbot/component/qguild/message/QGSingleIdMessageReceipt : love/forte/simbot/message/SingleMessageReceipt, love/forte/simbot/component/qguild/message/QGMessageReceipt {
+ public fun ()V
+ public abstract fun getId ()Llove/forte/simbot/common/id/ID;
+}
+
public abstract class love/forte/simbot/component/qguild/message/QGSingleMessageReceipt : love/forte/simbot/message/SingleMessageReceipt, love/forte/simbot/component/qguild/message/QGMessageReceipt {
public fun ()V
public abstract fun getMessageResult ()Llove/forte/simbot/qguild/model/Message;
}
public abstract interface class love/forte/simbot/component/qguild/message/ReceivingMessageParser {
+ public abstract fun invoke (Ljava/lang/String;Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
public abstract fun invoke (Llove/forte/simbot/qguild/model/Message;Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;)Llove/forte/simbot/component/qguild/message/ReceivingMessageParser$Context;
}
public final class love/forte/simbot/component/qguild/message/ReceivingMessageParser$Context {
- public fun (Llove/forte/simbot/message/Messages;Ljava/lang/StringBuilder;)V
+ public fun (Llove/forte/simbot/message/Messages;Ljava/lang/StringBuilder;Ljava/util/List;)V
+ public synthetic fun