You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: simbot-component-kook-api/src/commonTest/kotlin/love/forte/simbot/kook/api/channel/ChannelMoveUserApiTest.kt
+1-7Lines changed: 1 addition & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -281,12 +281,6 @@ class ChannelMoveUserApiTest {
281
281
}
282
282
283
283
val client =HttpClient(mockEngine)
284
-
val dataList = api.requestData(client, authorization)
Copy file name to clipboardExpand all lines: simbot-component-kook-core/api/simbot-component-kook-core.api
+43-13Lines changed: 43 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,15 @@ public abstract interface class love/forte/simbot/component/kook/KookChannel : l
31
31
public fun deleteAsync ([Llove/forte/simbot/ability/DeleteOption;)Ljava/util/concurrent/CompletableFuture;
32
32
public fun deleteBlocking ([Llove/forte/simbot/ability/DeleteOption;)V
33
33
public fun deleteReserve ([Llove/forte/simbot/ability/DeleteOption;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
34
+
public abstract fun getBot ()Llove/forte/simbot/component/kook/bot/KookBot;
34
35
public abstract fun getCategory ()Llove/forte/simbot/component/kook/KookCategory;
35
36
public abstract fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext;
36
37
public fun getId ()Llove/forte/simbot/common/id/ID;
37
38
public fun getName ()Ljava/lang/String;
38
39
public abstract fun getSource ()Llove/forte/simbot/kook/objects/Channel;
39
40
}
40
41
41
-
public abstract interface class love/forte/simbot/component/kook/KookChatChannel : kotlinx/coroutines/CoroutineScope, love/forte/simbot/component/kook/KookChannel, love/forte/simbot/definition/ChatChannel {
42
+
public abstract interface class love/forte/simbot/component/kook/KookChatCapableChannel : kotlinx/coroutines/CoroutineScope, love/forte/simbot/component/kook/KookChannel, love/forte/simbot/definition/ChatChannel {
42
43
public abstract fun getCategory ()Llove/forte/simbot/component/kook/KookCategory;
43
44
public abstract fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext;
44
45
public fun getName ()Ljava/lang/String;
@@ -50,9 +51,9 @@ public abstract interface class love/forte/simbot/component/kook/KookChatChannel
50
51
public abstract synthetic fun send (Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
51
52
public synthetic fun send (Llove/forte/simbot/message/MessageContent;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
52
53
public abstract synthetic fun send (Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
53
-
public static synthetic fun send$default (Llove/forte/simbot/component/kook/KookChatChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
54
-
public static synthetic fun send$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
55
-
public static synthetic fun send$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
54
+
public static synthetic fun send$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
55
+
public static synthetic fun send$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
56
+
public static synthetic fun send$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
56
57
public fun sendAsync (ILjava/lang/String;Llove/forte/simbot/common/id/ID;Ljava/lang/String;Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
57
58
public fun sendAsync (Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
58
59
public fun sendAsync (Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
@@ -61,9 +62,9 @@ public abstract interface class love/forte/simbot/component/kook/KookChatChannel
61
62
public fun sendAsync (Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
62
63
public fun sendAsync (Llove/forte/simbot/message/MessageContent;)Ljava/util/concurrent/CompletableFuture;
63
64
public fun sendAsync (Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
64
-
public static synthetic fun sendAsync$default (Llove/forte/simbot/component/kook/KookChatChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
65
-
public static synthetic fun sendAsync$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
66
-
public static synthetic fun sendAsync$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
65
+
public static synthetic fun sendAsync$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
66
+
public static synthetic fun sendAsync$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
67
+
public static synthetic fun sendAsync$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
67
68
public fun sendBlocking (ILjava/lang/String;Llove/forte/simbot/common/id/ID;Ljava/lang/String;Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
68
69
public fun sendBlocking (Ljava/lang/String;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
69
70
public synthetic fun sendBlocking (Ljava/lang/String;)Llove/forte/simbot/message/MessageReceipt;
@@ -75,9 +76,9 @@ public abstract interface class love/forte/simbot/component/kook/KookChatChannel
75
76
public fun sendBlocking (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
76
77
public synthetic fun sendBlocking (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/message/MessageReceipt;
77
78
public fun sendBlocking (Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
78
-
public static synthetic fun sendBlocking$default (Llove/forte/simbot/component/kook/KookChatChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
79
-
public static synthetic fun sendBlocking$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
80
-
public static synthetic fun sendBlocking$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
79
+
public static synthetic fun sendBlocking$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
80
+
public static synthetic fun sendBlocking$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
81
+
public static synthetic fun sendBlocking$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/component/kook/message/KookMessageReceipt;
81
82
public fun sendReserve (ILjava/lang/String;Llove/forte/simbot/common/id/ID;Ljava/lang/String;Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
82
83
public fun sendReserve (Ljava/lang/String;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
83
84
public fun sendReserve (Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
@@ -86,9 +87,12 @@ public abstract interface class love/forte/simbot/component/kook/KookChatChannel
86
87
public fun sendReserve (Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
87
88
public fun sendReserve (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
88
89
public fun sendReserve (Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
89
-
public static synthetic fun sendReserve$default (Llove/forte/simbot/component/kook/KookChatChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
90
-
public static synthetic fun sendReserve$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
91
-
public static synthetic fun sendReserve$default (Llove/forte/simbot/component/kook/KookChatChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
90
+
public static synthetic fun sendReserve$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Ljava/lang/String;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
91
+
public static synthetic fun sendReserve$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/Message;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
92
+
public static synthetic fun sendReserve$default (Llove/forte/simbot/component/kook/KookChatCapableChannel;Llove/forte/simbot/message/MessageContent;Llove/forte/simbot/common/id/ID;Llove/forte/simbot/common/id/ID;ILjava/lang/Object;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
93
+
}
94
+
95
+
public abstract interface class love/forte/simbot/component/kook/KookChatChannel : love/forte/simbot/component/kook/KookChatCapableChannel {
92
96
}
93
97
94
98
public final class love/forte/simbot/component/kook/KookComponent : love/forte/simbot/component/Component {
@@ -166,8 +170,13 @@ public abstract interface class love/forte/simbot/component/kook/KookGuild : kot
166
170
public fun getOwnerReserve ()Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
167
171
public abstract fun getSource ()Llove/forte/simbot/kook/objects/Guild;
168
172
public fun getTopic ()Ljava/lang/String;
173
+
public fun getVoiceChannel (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/component/kook/KookVoiceChannel;
174
+
public fun getVoiceChannelAsync (Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
175
+
public fun getVoiceChannelReserve (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
176
+
public abstract fun getVoiceChannels ()Llove/forte/simbot/common/collectable/Collectable;
169
177
public abstract synthetic fun member (Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
170
178
public abstract synthetic fun owner (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
179
+
public abstract synthetic fun voiceChannel (Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
171
180
}
172
181
173
182
public final class love/forte/simbot/component/kook/KookGuildNotExistsException : java/util/NoSuchElementException {
@@ -257,6 +266,27 @@ public abstract interface class love/forte/simbot/component/kook/KookUserChat :
257
266
public fun sendReserve (Llove/forte/simbot/message/MessageContent;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
258
267
}
259
268
269
+
public abstract interface class love/forte/simbot/component/kook/KookVoiceChannel : love/forte/simbot/component/kook/KookChatChannel {
270
+
public abstract fun getMembers ()Llove/forte/simbot/common/collectable/Collectable;
271
+
public abstract synthetic fun kickoutMember (Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
272
+
public fun kickoutMemberAsync (Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
273
+
public fun kickoutMemberBlocking (Llove/forte/simbot/common/id/ID;)V
274
+
public fun kickoutMemberReserve (Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
275
+
public abstract synthetic fun moveMember (Llove/forte/simbot/common/id/ID;Ljava/lang/Iterable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
276
+
public synthetic fun moveMember (Llove/forte/simbot/common/id/ID;[Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
277
+
public fun moveMemberAsync (Llove/forte/simbot/common/id/ID;Ljava/lang/Iterable;)Ljava/util/concurrent/CompletableFuture;
278
+
public fun moveMemberAsync (Llove/forte/simbot/common/id/ID;[Llove/forte/simbot/common/id/ID;)Ljava/util/concurrent/CompletableFuture;
279
+
public fun moveMemberBlocking (Llove/forte/simbot/common/id/ID;Ljava/lang/Iterable;)V
280
+
public fun moveMemberBlocking (Llove/forte/simbot/common/id/ID;[Llove/forte/simbot/common/id/ID;)V
281
+
public fun moveMemberReserve (Llove/forte/simbot/common/id/ID;Ljava/lang/Iterable;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
282
+
public fun moveMemberReserve (Llove/forte/simbot/common/id/ID;[Llove/forte/simbot/common/id/ID;)Llove/forte/simbot/suspendrunner/reserve/SuspendReserve;
283
+
}
284
+
285
+
public abstract interface class love/forte/simbot/component/kook/KookVoiceMember : love/forte/simbot/component/kook/KookMember {
286
+
public abstract fun kickout (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
287
+
public abstract fun move (Llove/forte/simbot/common/id/ID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
288
+
}
289
+
260
290
public abstract interface class love/forte/simbot/component/kook/bot/KookBot : kotlinx/coroutines/CoroutineScope, love/forte/simbot/bot/Bot {
0 commit comments