@luckylillia-dev/plugin-onebot11 1.0.4 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/lib/api.js +110 -0
  2. package/lib/api.js.map +7 -0
  3. package/lib/chunk-LPSGUUXW.js +5157 -0
  4. package/lib/chunk-LPSGUUXW.js.map +7 -0
  5. package/lib/index.js +413 -16848
  6. package/lib/index.js.map +4 -4
  7. package/lib/types/action/go-cqhttp/QuickOperation.d.ts +19 -0
  8. package/lib/types/action/index.d.ts +2 -0
  9. package/lib/types/action/llbot/system/GetEvent.d.ts +21 -0
  10. package/lib/types/adapter.d.ts +29 -0
  11. package/lib/types/api.d.ts +2 -0
  12. package/lib/types/config.d.ts +30 -64
  13. package/lib/types/connect/http.d.ts +43 -0
  14. package/lib/types/connect/ws.d.ts +47 -0
  15. package/lib/types/eventfilter.d.ts +2 -0
  16. package/lib/types/helper/eventForHttp.d.ts +6 -0
  17. package/lib/types/helper/quickOperation.d.ts +27 -0
  18. package/lib/types/index.d.ts +7 -7
  19. package/lib/types/protocol/action/BaseAction.d.ts +20 -0
  20. package/lib/types/protocol/action/OB11Response.d.ts +6 -0
  21. package/lib/types/protocol/action/file/GetFile.d.ts +39 -0
  22. package/lib/types/protocol/action/file/GetImage.d.ts +5 -0
  23. package/lib/types/protocol/action/file/GetRecord.d.ts +26 -0
  24. package/lib/types/protocol/action/go-cqhttp/CreateGroupFileFolder.d.ts +24 -0
  25. package/lib/types/protocol/action/go-cqhttp/DeleteEssenceMsg.d.ts +15 -0
  26. package/lib/types/protocol/action/go-cqhttp/DeleteFriend.d.ts +15 -0
  27. package/lib/types/protocol/action/go-cqhttp/DeleteGroupFile.d.ts +21 -0
  28. package/lib/types/protocol/action/go-cqhttp/DeleteGroupFolder.d.ts +18 -0
  29. package/lib/types/protocol/action/go-cqhttp/DownloadFile.d.ts +27 -0
  30. package/lib/types/protocol/action/go-cqhttp/GetForwardMsg.d.ts +25 -0
  31. package/lib/types/protocol/action/go-cqhttp/GetGroupAtAllRemain.d.ts +24 -0
  32. package/lib/types/protocol/action/go-cqhttp/GetGroupEssence.d.ts +24 -0
  33. package/lib/types/protocol/action/go-cqhttp/GetGroupFileSystemInfo.d.ts +26 -0
  34. package/lib/types/protocol/action/go-cqhttp/GetGroupFileUrl.d.ts +23 -0
  35. package/lib/types/protocol/action/go-cqhttp/GetGroupFilesByFolder.d.ts +38 -0
  36. package/lib/types/protocol/action/go-cqhttp/GetGroupMsgHistory.d.ts +30 -0
  37. package/lib/types/protocol/action/go-cqhttp/GetGroupNotice.d.ts +35 -0
  38. package/lib/types/protocol/action/go-cqhttp/GetGroupRootFiles.d.ts +46 -0
  39. package/lib/types/protocol/action/go-cqhttp/GetGroupSystemMsg.d.ts +28 -0
  40. package/lib/types/protocol/action/go-cqhttp/GetStrangerInfo.d.ts +52 -0
  41. package/lib/types/protocol/action/go-cqhttp/MarkMsgAsRead.d.ts +15 -0
  42. package/lib/types/protocol/action/go-cqhttp/OCRImage.d.ts +37 -0
  43. package/lib/types/protocol/action/go-cqhttp/SendForwardMsg.d.ts +76 -0
  44. package/lib/types/protocol/action/go-cqhttp/SendGroupNotice.d.ts +36 -0
  45. package/lib/types/protocol/action/go-cqhttp/SendGroupSign.d.ts +15 -0
  46. package/lib/types/protocol/action/go-cqhttp/SetEssenceMsg.d.ts +15 -0
  47. package/lib/types/protocol/action/go-cqhttp/SetGroupPortrait.d.ts +19 -0
  48. package/lib/types/protocol/action/go-cqhttp/SetGroupSpecialTitle.d.ts +21 -0
  49. package/lib/types/protocol/action/go-cqhttp/SetQQProfile.d.ts +18 -0
  50. package/lib/types/protocol/action/go-cqhttp/UploadGroupFile.d.ts +32 -0
  51. package/lib/types/protocol/action/go-cqhttp/UploadPrivateFile.d.ts +26 -0
  52. package/lib/types/protocol/action/group/GetGroupHonorInfo.d.ts +38 -0
  53. package/lib/types/protocol/action/group/GetGroupInfo.d.ts +32 -0
  54. package/lib/types/protocol/action/group/GetGroupList.d.ts +29 -0
  55. package/lib/types/protocol/action/group/GetGroupMemberInfo.d.ts +22 -0
  56. package/lib/types/protocol/action/group/GetGroupMemberList.d.ts +19 -0
  57. package/lib/types/protocol/action/group/GetGuildList.d.ts +6 -0
  58. package/lib/types/protocol/action/group/SendGroupMsg.d.ts +10 -0
  59. package/lib/types/protocol/action/group/SetGroupAddRequest.d.ts +21 -0
  60. package/lib/types/protocol/action/group/SetGroupAdmin.d.ts +21 -0
  61. package/lib/types/protocol/action/group/SetGroupBan.d.ts +21 -0
  62. package/lib/types/protocol/action/group/SetGroupCard.d.ts +21 -0
  63. package/lib/types/protocol/action/group/SetGroupKick.d.ts +21 -0
  64. package/lib/types/protocol/action/group/SetGroupLeave.d.ts +16 -0
  65. package/lib/types/protocol/action/group/SetGroupName.d.ts +18 -0
  66. package/lib/types/protocol/action/group/SetGroupWholeBan.d.ts +18 -0
  67. package/lib/types/protocol/action/index.d.ts +3 -0
  68. package/lib/types/protocol/action/llbot/file/DownloadFlashFile.d.ts +6 -0
  69. package/lib/types/protocol/action/llbot/file/GetFlashFileDownloadUrls.d.ts +26 -0
  70. package/lib/types/protocol/action/llbot/file/GetFlashFileInfo.d.ts +41 -0
  71. package/lib/types/protocol/action/llbot/file/GetPrivateFileUrl.d.ts +19 -0
  72. package/lib/types/protocol/action/llbot/file/GetRkey.d.ts +18 -0
  73. package/lib/types/protocol/action/llbot/file/MoveGroupFile.d.ts +24 -0
  74. package/lib/types/protocol/action/llbot/file/ReShareFlashFile.d.ts +17 -0
  75. package/lib/types/protocol/action/llbot/file/RenameGroupFile.d.ts +24 -0
  76. package/lib/types/protocol/action/llbot/file/RenameGroupFileFolder.d.ts +21 -0
  77. package/lib/types/protocol/action/llbot/file/SetGroupFileForever.d.ts +18 -0
  78. package/lib/types/protocol/action/llbot/file/UploadFlashFile.d.ts +41 -0
  79. package/lib/types/protocol/action/llbot/group/BatchDeleteGroupMember.d.ts +18 -0
  80. package/lib/types/protocol/action/llbot/group/DeleteGroupNotice.d.ts +18 -0
  81. package/lib/types/protocol/action/llbot/group/GetGroupAddRequest.d.ts +12 -0
  82. package/lib/types/protocol/action/llbot/group/GetGroupNoticeAcklist.d.ts +30 -0
  83. package/lib/types/protocol/action/llbot/group/GetGroupShutList.d.ts +38 -0
  84. package/lib/types/protocol/action/llbot/group/GetGroupSignedList.d.ts +26 -0
  85. package/lib/types/protocol/action/llbot/group/GroupAlbum/CreateGroupAlbum.d.ts +21 -0
  86. package/lib/types/protocol/action/llbot/group/GroupAlbum/DeleteGroupAlbum.d.ts +18 -0
  87. package/lib/types/protocol/action/llbot/group/GroupAlbum/GetGroupAlbumList.d.ts +132 -0
  88. package/lib/types/protocol/action/llbot/group/GroupAlbum/GetGroupAlbumMediaList.d.ts +306 -0
  89. package/lib/types/protocol/action/llbot/group/GroupAlbum/UploadGroupAlbum.d.ts +21 -0
  90. package/lib/types/protocol/action/llbot/group/GroupPoke.d.ts +18 -0
  91. package/lib/types/protocol/action/llbot/group/SetGroupMsgMask.d.ts +18 -0
  92. package/lib/types/protocol/action/llbot/group/SetGroupRemark.d.ts +18 -0
  93. package/lib/types/protocol/action/llbot/msg/FetchCustomFace.d.ts +6 -0
  94. package/lib/types/protocol/action/llbot/msg/FetchEmojiLike.d.ts +37 -0
  95. package/lib/types/protocol/action/llbot/msg/ForwardSingleMsg.d.ts +31 -0
  96. package/lib/types/protocol/action/llbot/msg/GetAiCharacters.d.ts +26 -0
  97. package/lib/types/protocol/action/llbot/msg/GetFriendMsgHistory.d.ts +30 -0
  98. package/lib/types/protocol/action/llbot/msg/GetRecommendFace.d.ts +20 -0
  99. package/lib/types/protocol/action/llbot/msg/SendGroupAiRecord.d.ts +27 -0
  100. package/lib/types/protocol/action/llbot/msg/SendPoke.d.ts +21 -0
  101. package/lib/types/protocol/action/llbot/msg/SetMsgEmojiLike.d.ts +26 -0
  102. package/lib/types/protocol/action/llbot/msg/VoiceMsg2Text.d.ts +17 -0
  103. package/lib/types/protocol/action/llbot/system/Config.d.ts +32 -0
  104. package/lib/types/protocol/action/llbot/system/Debug.d.ts +21 -0
  105. package/lib/types/protocol/action/llbot/system/GetRobotUinRange.d.ts +10 -0
  106. package/lib/types/protocol/action/llbot/system/ScanQRCode.d.ts +18 -0
  107. package/lib/types/protocol/action/llbot/system/SendPB.d.ts +27 -0
  108. package/lib/types/protocol/action/llbot/user/FriendPoke.d.ts +18 -0
  109. package/lib/types/protocol/action/llbot/user/GetDoubtFriendsAddRequest.d.ts +36 -0
  110. package/lib/types/protocol/action/llbot/user/GetFriendWithCategory.d.ts +23 -0
  111. package/lib/types/protocol/action/llbot/user/GetProfileLike.d.ts +41 -0
  112. package/lib/types/protocol/action/llbot/user/GetProfileLikeCount.d.ts +18 -0
  113. package/lib/types/protocol/action/llbot/user/GetProfileLikeMe.d.ts +23 -0
  114. package/lib/types/protocol/action/llbot/user/GetQQAvatar.d.ts +23 -0
  115. package/lib/types/protocol/action/llbot/user/SetDoubtFriendsAddRequest.d.ts +15 -0
  116. package/lib/types/protocol/action/llbot/user/SetFriendCategory.d.ts +18 -0
  117. package/lib/types/protocol/action/llbot/user/SetFriendRemark.d.ts +18 -0
  118. package/lib/types/protocol/action/llbot/user/SetInputStatus.d.ts +18 -0
  119. package/lib/types/protocol/action/llbot/user/SetOnlineStatus.d.ts +21 -0
  120. package/lib/types/protocol/action/llbot/user/SetQQAvatar.d.ts +15 -0
  121. package/lib/types/protocol/action/msg/DeleteMsg.d.ts +15 -0
  122. package/lib/types/protocol/action/msg/GetMsg.d.ts +18 -0
  123. package/lib/types/protocol/action/msg/SendMsg.d.ts +26 -0
  124. package/lib/types/protocol/action/msg/SendPrivateMsg.d.ts +10 -0
  125. package/lib/types/protocol/action/system/CanSendImage.d.ts +5 -0
  126. package/lib/types/protocol/action/system/CanSendRecord.d.ts +12 -0
  127. package/lib/types/protocol/action/system/CleanCache.d.ts +6 -0
  128. package/lib/types/protocol/action/system/GetCredentials.d.ts +22 -0
  129. package/lib/types/protocol/action/system/GetCsrfToken.d.ts +12 -0
  130. package/lib/types/protocol/action/system/GetLoginInfo.d.ts +11 -0
  131. package/lib/types/protocol/action/system/GetStatus.d.ts +7 -0
  132. package/lib/types/protocol/action/system/GetVersionInfo.d.ts +7 -0
  133. package/lib/types/protocol/action/system/SetRestart.d.ts +6 -0
  134. package/lib/types/protocol/action/types.d.ts +133 -0
  135. package/lib/types/protocol/action/user/GetCookie.d.ts +22 -0
  136. package/lib/types/protocol/action/user/GetFriendList.d.ts +7 -0
  137. package/lib/types/protocol/action/user/SendLike.d.ts +18 -0
  138. package/lib/types/protocol/action/user/SetFriendAddRequest.d.ts +21 -0
  139. package/lib/types/protocol/cqcode.d.ts +3 -0
  140. package/lib/types/protocol/entities.d.ts +14 -0
  141. package/lib/types/protocol/event/OB11BaseEvent.d.ts +15 -0
  142. package/lib/types/protocol/event/index.d.ts +47 -0
  143. package/lib/types/protocol/event/message/OB11MessageEvent.d.ts +2 -0
  144. package/lib/types/protocol/event/meta/OB11BaseMetaEvent.d.ts +5 -0
  145. package/lib/types/protocol/event/meta/OB11HeartbeatEvent.d.ts +12 -0
  146. package/lib/types/protocol/event/meta/OB11LifeCycleEvent.d.ts +11 -0
  147. package/lib/types/protocol/event/notice/OB11BaseNoticeEvent.d.ts +4 -0
  148. package/lib/types/protocol/event/notice/OB11FlashFileEvent.d.ts +36 -0
  149. package/lib/types/protocol/event/notice/OB11FriendAddNoticeEvent.d.ts +6 -0
  150. package/lib/types/protocol/event/notice/OB11FriendRecallNoticeEvent.d.ts +7 -0
  151. package/lib/types/protocol/event/notice/OB11GroupAdminNoticeEvent.d.ts +8 -0
  152. package/lib/types/protocol/event/notice/OB11GroupBanEvent.d.ts +10 -0
  153. package/lib/types/protocol/event/notice/OB11GroupCardEvent.d.ts +9 -0
  154. package/lib/types/protocol/event/notice/OB11GroupDecreaseEvent.d.ts +10 -0
  155. package/lib/types/protocol/event/notice/OB11GroupDismissEvent.d.ts +7 -0
  156. package/lib/types/protocol/event/notice/OB11GroupEssenceEvent.d.ts +11 -0
  157. package/lib/types/protocol/event/notice/OB11GroupIncreaseEvent.d.ts +11 -0
  158. package/lib/types/protocol/event/notice/OB11GroupNoticeEvent.d.ts +6 -0
  159. package/lib/types/protocol/event/notice/OB11GroupRecallNoticeEvent.d.ts +9 -0
  160. package/lib/types/protocol/event/notice/OB11GroupTitleEvent.d.ts +9 -0
  161. package/lib/types/protocol/event/notice/OB11GroupUploadNoticeEvent.d.ts +14 -0
  162. package/lib/types/protocol/event/notice/OB11MsgEmojiLikeEvent.d.ts +15 -0
  163. package/lib/types/protocol/event/notice/OB11PokeEvent.d.ts +25 -0
  164. package/lib/types/protocol/event/notice/OB11ProfileLikeEvent.d.ts +9 -0
  165. package/lib/types/protocol/event/request/OB11FriendRequest.d.ts +11 -0
  166. package/lib/types/protocol/event/request/OB11GroupRequest.d.ts +25 -0
  167. package/lib/types/protocol/host.d.ts +8 -0
  168. package/lib/types/protocol/index.d.ts +14 -0
  169. package/lib/types/protocol/support/utils.d.ts +28 -0
  170. package/lib/types/protocol/transform/message/incoming.d.ts +7 -0
  171. package/lib/types/protocol/transform/message/index.d.ts +1 -0
  172. package/lib/types/protocol/transform/message/outgoing.d.ts +8 -0
  173. package/lib/types/protocol/types.d.ts +389 -0
  174. package/lib/types/protocol/utils.d.ts +21 -0
  175. package/lib/types/settings.d.ts +5 -0
  176. package/lib/types/support.d.ts +3 -0
  177. package/package.json +89 -16
@@ -0,0 +1,26 @@
1
+ import { OB11PostSendMsg } from '../../types';
2
+ import { BaseAction, Schema } from '../BaseAction';
3
+ import { ActionName } from '../types';
4
+ interface ReturnData {
5
+ message_id: number;
6
+ }
7
+ export declare class SendMsg extends BaseAction<OB11PostSendMsg, ReturnData> {
8
+ actionName: ActionName;
9
+ payloadSchema: Schema<Schemastery.ObjectS<{
10
+ message_type: Schema<"private" | "group", "private" | "group">;
11
+ user_id: Schema<string | number, string | number>;
12
+ group_id: Schema<string | number, string | number>;
13
+ message: Schema<any, any>;
14
+ auto_escape: Schema<string | boolean, boolean>;
15
+ }>, Schemastery.ObjectT<{
16
+ message_type: Schema<"private" | "group", "private" | "group">;
17
+ user_id: Schema<string | number, string | number>;
18
+ group_id: Schema<string | number, string | number>;
19
+ message: Schema<any, any>;
20
+ auto_escape: Schema<string | boolean, boolean>;
21
+ }>>;
22
+ protected _handle(payload: OB11PostSendMsg): Promise<{
23
+ message_id: number;
24
+ }>;
25
+ }
26
+ export default SendMsg;
@@ -0,0 +1,10 @@
1
+ import SendMsg from './SendMsg';
2
+ import { ActionName } from '../types';
3
+ import { OB11PostSendMsg } from '../../types';
4
+ declare class SendPrivateMsg extends SendMsg {
5
+ actionName: ActionName;
6
+ protected _handle(payload: OB11PostSendMsg): Promise<{
7
+ message_id: number;
8
+ }>;
9
+ }
10
+ export default SendPrivateMsg;
@@ -0,0 +1,5 @@
1
+ import { ActionName } from '../types';
2
+ import CanSendRecord from './CanSendRecord';
3
+ export default class CanSendImage extends CanSendRecord {
4
+ actionName: ActionName;
5
+ }
@@ -0,0 +1,12 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ interface ReturnType {
4
+ yes: boolean;
5
+ }
6
+ export default class CanSendRecord extends BaseAction<{}, ReturnType> {
7
+ actionName: ActionName;
8
+ protected _handle(): Promise<{
9
+ yes: boolean;
10
+ }>;
11
+ }
12
+ export {};
@@ -0,0 +1,6 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ export default class CleanCache extends BaseAction<{}, null> {
4
+ actionName: ActionName;
5
+ protected _handle(): Promise<null>;
6
+ }
@@ -0,0 +1,22 @@
1
+ import { BaseAction, Schema } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ interface Payload {
4
+ domain: string;
5
+ }
6
+ interface Response {
7
+ cookies: string;
8
+ csrf_token: number;
9
+ }
10
+ export declare class GetCredentials extends BaseAction<Payload, Response> {
11
+ actionName: ActionName;
12
+ payloadSchema: Schema<Schemastery.ObjectS<{
13
+ domain: Schema<string, string>;
14
+ }>, Schemastery.ObjectT<{
15
+ domain: Schema<string, string>;
16
+ }>>;
17
+ protected _handle(payload: Payload): Promise<{
18
+ cookies: string;
19
+ csrf_token: number;
20
+ }>;
21
+ }
22
+ export {};
@@ -0,0 +1,12 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ interface Response {
4
+ token: number;
5
+ }
6
+ export declare class GetCsrfToken extends BaseAction<{}, Response> {
7
+ actionName: ActionName;
8
+ protected _handle(): Promise<{
9
+ token: number;
10
+ }>;
11
+ }
12
+ export {};
@@ -0,0 +1,11 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { OB11User } from '../../types';
3
+ import { ActionName } from '../types';
4
+ declare class GetLoginInfo extends BaseAction<{}, OB11User> {
5
+ actionName: ActionName;
6
+ protected _handle(): Promise<{
7
+ user_id: number;
8
+ nickname: string;
9
+ }>;
10
+ }
11
+ export default GetLoginInfo;
@@ -0,0 +1,7 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { OB11Status } from '../../types';
3
+ import { ActionName } from '../types';
4
+ export default class GetStatus extends BaseAction<{}, OB11Status> {
5
+ actionName: ActionName;
6
+ protected _handle(): Promise<OB11Status>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { OB11Version } from '../../types';
3
+ import { ActionName } from '../types';
4
+ export default class GetVersionInfo extends BaseAction<{}, OB11Version> {
5
+ actionName: ActionName;
6
+ protected _handle(): Promise<OB11Version>;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ export declare class SetRestart extends BaseAction<{}, null> {
4
+ actionName: ActionName;
5
+ protected _handle(): Promise<null>;
6
+ }
@@ -0,0 +1,133 @@
1
+ export type BaseCheckResult = ValidCheckResult | InvalidCheckResult;
2
+ export interface ValidCheckResult {
3
+ valid: true;
4
+ }
5
+ export interface InvalidCheckResult {
6
+ valid: false;
7
+ message: string;
8
+ }
9
+ export declare enum ActionName {
10
+ ScanQRCode = "scan_qrcode",
11
+ GetGroupAlbumList = "get_group_album_list",
12
+ CreateGroupAlbum = "create_group_album",
13
+ DeleteGroupAlbum = "delete_group_album",
14
+ UploadGroupAlbum = "upload_group_album",
15
+ BatchDeleteGroupMember = "batch_delete_group_member",
16
+ GetFlashFileInfo = "get_flash_file_info",
17
+ DownloadFlashFile = "download_flash_file",
18
+ GetFlashFileDownloadUrls = "get_flash_file_download_urls",
19
+ UploadFlashFile = "upload_flash_file",
20
+ ReShareFlashFile = "reshare_flash_file",
21
+ GetRKey = "get_rkey",
22
+ SendPB = "send_pb",
23
+ VoiceMsg2Text = "voice_msg_to_text",
24
+ GetGroupIgnoreAddRequest = "get_group_ignore_add_request",
25
+ SetQQAvatar = "set_qq_avatar",
26
+ GetQQAvatar = "get_qq_avatar",
27
+ GetConfig = "get_config",
28
+ SetConfig = "set_config",
29
+ Debug = "llonebot_debug",
30
+ GetFile = "get_file",
31
+ GetFriendsWithCategory = "get_friends_with_category",
32
+ GetEvent = "get_event",
33
+ SetOnlineStatus = "set_online_status",
34
+ GetProfileLike = "get_profile_like",
35
+ GetProfileLikeMe = "get_profile_like_me",
36
+ FetchEmojiLike = "fetch_emoji_like",
37
+ FetchCustomFace = "fetch_custom_face",
38
+ GetFriendMsgHistory = "get_friend_msg_history",
39
+ SendForwardMsg = "send_forward_msg",
40
+ SetMsgEmojiLike = "set_msg_emoji_like",
41
+ UnSetMsgEmojiLike = "unset_msg_emoji_like",
42
+ GetRobotUinRange = "get_robot_uin_range",
43
+ GroupPoke = "group_poke",
44
+ FriendPoke = "friend_poke",
45
+ SetFriendRemark = "set_friend_remark",
46
+ SetFriendCategory = "set_friend_category",
47
+ SetGroupMsgMask = "set_group_msg_mask",
48
+ SetGroupRemark = "set_group_remark",
49
+ MoveGroupFile = "move_group_file",
50
+ RenameGroupFile = "rename_group_file",
51
+ SetGroupFileForever = "set_group_file_forever",
52
+ GetGroupShutList = "get_group_shut_list",
53
+ RenameGroupFileFolder = "rename_group_file_folder",
54
+ GetRecommendFace = "get_recommend_face",
55
+ GetAiCharacters = "get_ai_characters",
56
+ SendGroupAiRecord = "send_group_ai_record",
57
+ GetPrivateFileUrl = "get_private_file_url",
58
+ GetDoubtFriendsAddRequest = "get_doubt_friends_add_request",
59
+ SetDoubtFriendsAddRequest = "set_doubt_friends_add_request",
60
+ DeleteGroupNotice = "_delete_group_notice",
61
+ SendPoke = "send_poke",
62
+ SetInputStatus = "set_input_status",
63
+ GetGroupAlbumMediaList = "get_group_album_media_list",
64
+ GetGroupSignedList = "get_group_signed_list",
65
+ GetProfileLikeCount = "get_profile_like_count",
66
+ GetGroupNoticeAcklist = "_get_group_notice_acklist",
67
+ SendLike = "send_like",
68
+ GetLoginInfo = "get_login_info",
69
+ GetFriendList = "get_friend_list",
70
+ GetGroupInfo = "get_group_info",
71
+ GetGroupList = "get_group_list",
72
+ GetGroupMemberInfo = "get_group_member_info",
73
+ GetGroupMemberList = "get_group_member_list",
74
+ GetMsg = "get_msg",
75
+ SendMsg = "send_msg",
76
+ SendGroupMsg = "send_group_msg",
77
+ SendPrivateMsg = "send_private_msg",
78
+ DeleteMsg = "delete_msg",
79
+ SetGroupAddRequest = "set_group_add_request",
80
+ SetFriendAddRequest = "set_friend_add_request",
81
+ SetGroupLeave = "set_group_leave",
82
+ GetVersionInfo = "get_version_info",
83
+ GetStatus = "get_status",
84
+ SetRestart = "set_restart",
85
+ CanSendRecord = "can_send_record",
86
+ CanSendImage = "can_send_image",
87
+ SetGroupKick = "set_group_kick",
88
+ SetGroupBan = "set_group_ban",
89
+ SetGroupWholeBan = "set_group_whole_ban",
90
+ SetGroupAdmin = "set_group_admin",
91
+ SetGroupCard = "set_group_card",
92
+ SetGroupName = "set_group_name",
93
+ GetImage = "get_image",
94
+ GetRecord = "get_record",
95
+ CleanCache = "clean_cache",
96
+ GetCookies = "get_cookies",
97
+ ForwardFriendSingleMsg = "forward_friend_single_msg",
98
+ ForwardGroupSingleMsg = "forward_group_single_msg",
99
+ GetCredentials = "get_credentials",
100
+ GetCsrfToken = "get_csrf_token",
101
+ GoCQHTTP_SendGroupForwardMsg = "send_group_forward_msg",
102
+ GoCQHTTP_SendPrivateForwardMsg = "send_private_forward_msg",
103
+ GoCQHTTP_GetStrangerInfo = "get_stranger_info",
104
+ GetGuildList = "get_guild_list",
105
+ GoCQHTTP_MarkMsgAsRead = "mark_msg_as_read",
106
+ GoCQHTTP_UploadGroupFile = "upload_group_file",
107
+ GoCQHTTP_UploadPrivateFile = "upload_private_file",
108
+ GoCQHTTP_DownloadFile = "download_file",
109
+ GoCQHTTP_GetGroupMsgHistory = "get_group_msg_history",
110
+ GoCQHTTP_GetForwardMsg = "get_forward_msg",
111
+ GoCQHTTP_GetEssenceMsgList = "get_essence_msg_list",
112
+ GoCQHTTP_HandleQuickOperation = ".handle_quick_operation",
113
+ GetGroupHonorInfo = "get_group_honor_info",
114
+ GoCQHTTP_SetEssenceMsg = "set_essence_msg",
115
+ GoCQHTTP_DeleteEssenceMsg = "delete_essence_msg",
116
+ GoCQHTTP_DeleteGroupFile = "delete_group_file",
117
+ GoCQHTTP_GetGroupSystemMsg = "get_group_system_msg",
118
+ GoCQHTTP_CreateGroupFileFolder = "create_group_file_folder",
119
+ GoCQHTTP_DeleteGroupFolder = "delete_group_folder",
120
+ GoCQHTTP_GetGroupAtAllRemain = "get_group_at_all_remain",
121
+ GoCQHTTP_GetGroupRootFiles = "get_group_root_files",
122
+ GoCQHTTP_SendGroupNotice = "_send_group_notice",
123
+ GoCQHTTP_GetGroupFilesByFolder = "get_group_files_by_folder",
124
+ GoCQHTTP_GetGroupFileUrl = "get_group_file_url",
125
+ GoCQHTTP_GetGroupNotice = "_get_group_notice",
126
+ GoCQHTTP_DeleteFriend = "delete_friend",
127
+ GoCQHTTP_OCRImage = "ocr_image",
128
+ GoCQHTTP_GetGroupFileSystemInfo = "get_group_file_system_info",
129
+ GoCQHTTP_SetGroupSpecialTitle = "set_group_special_title",
130
+ GoCQHTTP_SendGroupSign = "send_group_sign",
131
+ GoCQHTTP_SetQQProfile = "set_qq_profile",
132
+ GoCQHTTP_SetGroupPortrait = "set_group_portrait"
133
+ }
@@ -0,0 +1,22 @@
1
+ import { BaseAction, Schema } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ interface Payload {
4
+ domain: string;
5
+ }
6
+ interface Response {
7
+ cookies: string;
8
+ bkn: string;
9
+ }
10
+ export declare class GetCookies extends BaseAction<Payload, Response> {
11
+ actionName: ActionName;
12
+ payloadSchema: Schema<Schemastery.ObjectS<{
13
+ domain: Schema<string, string>;
14
+ }>, Schemastery.ObjectT<{
15
+ domain: Schema<string, string>;
16
+ }>>;
17
+ protected _handle(payload: Payload): Promise<{
18
+ cookies: string;
19
+ bkn: string;
20
+ }>;
21
+ }
22
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BaseAction } from '../BaseAction';
2
+ import { OB11User } from '../../types';
3
+ import { ActionName } from '../types';
4
+ export declare class GetFriendList extends BaseAction<{}, OB11User[]> {
5
+ actionName: ActionName;
6
+ protected _handle(): Promise<OB11User[]>;
7
+ }
@@ -0,0 +1,18 @@
1
+ import { BaseAction, Schema } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ interface Payload {
4
+ user_id: number | string;
5
+ times: number | string;
6
+ }
7
+ export default class SendLike extends BaseAction<Payload, null> {
8
+ actionName: ActionName;
9
+ payloadSchema: Schema<Schemastery.ObjectS<{
10
+ user_id: Schema<string | number, string | number>;
11
+ times: Schema<string | number, string | number>;
12
+ }>, Schemastery.ObjectT<{
13
+ user_id: Schema<string | number, string | number>;
14
+ times: Schema<string | number, string | number>;
15
+ }>>;
16
+ protected _handle(payload: Payload): Promise<null>;
17
+ }
18
+ export {};
@@ -0,0 +1,21 @@
1
+ import { BaseAction, Schema } from '../BaseAction';
2
+ import { ActionName } from '../types';
3
+ interface Payload {
4
+ flag: string;
5
+ approve: boolean;
6
+ remark?: string;
7
+ }
8
+ export default class SetFriendAddRequest extends BaseAction<Payload, null> {
9
+ actionName: ActionName;
10
+ payloadSchema: Schema<Schemastery.ObjectS<{
11
+ flag: Schema<string, string>;
12
+ approve: Schema<string | boolean, boolean>;
13
+ remark: Schema<string, string>;
14
+ }>, Schemastery.ObjectT<{
15
+ flag: Schema<string, string>;
16
+ approve: Schema<string | boolean, boolean>;
17
+ remark: Schema<string, string>;
18
+ }>>;
19
+ protected _handle(payload: Payload): Promise<null>;
20
+ }
21
+ export {};
@@ -0,0 +1,3 @@
1
+ import { OB11MessageData } from './types';
2
+ export declare function decodeCQCode(source: string): OB11MessageData[];
3
+ export declare function encodeCQCode(input: OB11MessageData): string;
@@ -0,0 +1,14 @@
1
+ import { OB11GroupMember, OB11GroupMemberRole, OB11Message, OB11User, OB11UserSex } from './types';
2
+ import { Friend, GroupMember, GroupMemberRole, RawMessage, Sex } from '@luckylillia-dev/plugin-nt-protocol/api';
3
+ import { OB11GroupNoticeEvent } from './event/notice/OB11GroupNoticeEvent';
4
+ import { Context } from 'cordis';
5
+ import { ParseMessageConfig } from './types';
6
+ export declare namespace OB11Entities {
7
+ function message(ctx: Context, msg: RawMessage, config?: ParseMessageConfig): Promise<OB11Message>;
8
+ function groupEvent(ctx: Context, msg: RawMessage): Promise<OB11GroupNoticeEvent | OB11GroupNoticeEvent[] | void>;
9
+ function friend(raw: Friend): OB11User;
10
+ function friends(raw: Friend[]): OB11User[];
11
+ function groupMemberRole(role: GroupMemberRole): OB11GroupMemberRole;
12
+ function sex(sex: Sex): OB11UserSex;
13
+ function groupMember(groupId: number, member: GroupMember): OB11GroupMember;
14
+ }
@@ -0,0 +1,15 @@
1
+ export declare enum EventType {
2
+ META = "meta_event",
3
+ REQUEST = "request",
4
+ NOTICE = "notice",
5
+ MESSAGE = "message",
6
+ MESSAGE_SENT = "message_sent"
7
+ }
8
+ export declare abstract class OB11BaseEvent {
9
+ [index: string]: any;
10
+ time: number;
11
+ /** The account's number, filled in by the connection sending the event (connect/) */
12
+ self_id: number;
13
+ abstract post_type: EventType;
14
+ getSummaryEventName(): string;
15
+ }
@@ -0,0 +1,47 @@
1
+ export { OB11BaseEvent, EventType } from './OB11BaseEvent';
2
+ export { OB11MessageEvent } from './message/OB11MessageEvent';
3
+ export { OB11BaseMetaEvent } from './meta/OB11BaseMetaEvent';
4
+ export { OB11HeartbeatEvent } from './meta/OB11HeartbeatEvent';
5
+ export { OB11LifeCycleEvent } from './meta/OB11LifeCycleEvent';
6
+ export { OB11BaseNoticeEvent } from './notice/OB11BaseNoticeEvent';
7
+ export { OB11FriendAddNoticeEvent } from './notice/OB11FriendAddNoticeEvent';
8
+ export { OB11FriendRecallNoticeEvent } from './notice/OB11FriendRecallNoticeEvent';
9
+ export { OB11GroupAdminNoticeEvent } from './notice/OB11GroupAdminNoticeEvent';
10
+ export { GroupBanEvent } from './notice/OB11GroupBanEvent';
11
+ export { OB11GroupCardEvent } from './notice/OB11GroupCardEvent';
12
+ export { OB11GroupDecreaseEvent } from './notice/OB11GroupDecreaseEvent';
13
+ export { OB11GroupDismissEvent } from './notice/OB11GroupDismissEvent';
14
+ export { GroupEssenceEvent } from './notice/OB11GroupEssenceEvent';
15
+ export { OB11GroupIncreaseEvent } from './notice/OB11GroupIncreaseEvent';
16
+ export { OB11GroupNoticeEvent } from './notice/OB11GroupNoticeEvent';
17
+ export { OB11GroupRecallNoticeEvent } from './notice/OB11GroupRecallNoticeEvent';
18
+ export { OB11GroupTitleEvent } from './notice/OB11GroupTitleEvent';
19
+ export { OB11GroupUploadNoticeEvent } from './notice/OB11GroupUploadNoticeEvent';
20
+ export { OB11GroupMsgEmojiLikeEvent } from './notice/OB11MsgEmojiLikeEvent';
21
+ export { OB11FriendPokeEvent, OB11GroupPokeEvent, OB11FriendPokeRecallEvent, OB11GroupPokeRecallEvent } from './notice/OB11PokeEvent';
22
+ export { OB11ProfileLikeEvent } from './notice/OB11ProfileLikeEvent';
23
+ export { OB11FlashFileDownloadingEvent, OB11FlashFileDownloadedEvent, OB11FlashFileUploadingEvent, OB11FlashFileUploadedEvent } from './notice/OB11FlashFileEvent';
24
+ export { OB11FriendRequestEvent } from './request/OB11FriendRequest';
25
+ export { OB11GroupRequestEvent } from './request/OB11GroupRequest';
26
+ import type { OB11HeartbeatEvent } from './meta/OB11HeartbeatEvent';
27
+ import type { OB11LifeCycleEvent } from './meta/OB11LifeCycleEvent';
28
+ import type { OB11FriendAddNoticeEvent } from './notice/OB11FriendAddNoticeEvent';
29
+ import type { OB11FriendRecallNoticeEvent } from './notice/OB11FriendRecallNoticeEvent';
30
+ import type { OB11GroupAdminNoticeEvent } from './notice/OB11GroupAdminNoticeEvent';
31
+ import type { GroupBanEvent } from './notice/OB11GroupBanEvent';
32
+ import type { OB11GroupCardEvent } from './notice/OB11GroupCardEvent';
33
+ import type { OB11GroupDecreaseEvent } from './notice/OB11GroupDecreaseEvent';
34
+ import type { OB11GroupDismissEvent } from './notice/OB11GroupDismissEvent';
35
+ import type { GroupEssenceEvent } from './notice/OB11GroupEssenceEvent';
36
+ import type { OB11GroupIncreaseEvent } from './notice/OB11GroupIncreaseEvent';
37
+ import type { OB11GroupRecallNoticeEvent } from './notice/OB11GroupRecallNoticeEvent';
38
+ import type { OB11GroupTitleEvent } from './notice/OB11GroupTitleEvent';
39
+ import type { OB11GroupUploadNoticeEvent } from './notice/OB11GroupUploadNoticeEvent';
40
+ import type { OB11GroupMsgEmojiLikeEvent } from './notice/OB11MsgEmojiLikeEvent';
41
+ import type { OB11FriendPokeEvent, OB11GroupPokeEvent, OB11FriendPokeRecallEvent, OB11GroupPokeRecallEvent } from './notice/OB11PokeEvent';
42
+ import type { OB11ProfileLikeEvent } from './notice/OB11ProfileLikeEvent';
43
+ import type { OB11FlashFileDownloadingEvent, OB11FlashFileDownloadedEvent, OB11FlashFileUploadingEvent, OB11FlashFileUploadedEvent } from './notice/OB11FlashFileEvent';
44
+ import type { OB11FriendRequestEvent } from './request/OB11FriendRequest';
45
+ import { OB11GroupRequestAddEvent, OB11GroupRequestInviteBotEvent } from './request/OB11GroupRequest';
46
+ import { OB11MessageEvent } from './message/OB11MessageEvent';
47
+ export type OB11Event = OB11MessageEvent | OB11HeartbeatEvent | OB11LifeCycleEvent | OB11FriendAddNoticeEvent | OB11FriendRecallNoticeEvent | OB11GroupAdminNoticeEvent | GroupBanEvent | OB11GroupCardEvent | OB11GroupDecreaseEvent | OB11GroupDismissEvent | GroupEssenceEvent | OB11GroupIncreaseEvent | OB11GroupRecallNoticeEvent | OB11GroupTitleEvent | OB11GroupUploadNoticeEvent | OB11GroupMsgEmojiLikeEvent | OB11FriendPokeEvent | OB11GroupPokeEvent | OB11FriendPokeRecallEvent | OB11GroupPokeRecallEvent | OB11ProfileLikeEvent | OB11FlashFileDownloadingEvent | OB11FlashFileDownloadedEvent | OB11FlashFileUploadingEvent | OB11FlashFileUploadedEvent | OB11FriendRequestEvent | OB11GroupRequestAddEvent | OB11GroupRequestInviteBotEvent;
@@ -0,0 +1,2 @@
1
+ import { OB11Message } from '../../types';
2
+ export type OB11MessageEvent = OB11Message;
@@ -0,0 +1,5 @@
1
+ import { EventType, OB11BaseEvent } from '../OB11BaseEvent';
2
+ export declare abstract class OB11BaseMetaEvent extends OB11BaseEvent {
3
+ post_type: EventType;
4
+ abstract meta_event_type: string;
5
+ }
@@ -0,0 +1,12 @@
1
+ import { OB11BaseMetaEvent } from './OB11BaseMetaEvent';
2
+ interface HeartbeatStatus {
3
+ online: boolean | null;
4
+ good: boolean;
5
+ }
6
+ export declare class OB11HeartbeatEvent extends OB11BaseMetaEvent {
7
+ meta_event_type: string;
8
+ status: HeartbeatStatus;
9
+ interval: number;
10
+ constructor(isOnline: boolean | null, isGood: boolean, interval: number);
11
+ }
12
+ export {};
@@ -0,0 +1,11 @@
1
+ import { OB11BaseMetaEvent } from './OB11BaseMetaEvent';
2
+ export declare enum LifeCycleSubType {
3
+ ENABLE = "enable",
4
+ DISABLE = "disable",
5
+ CONNECT = "connect"
6
+ }
7
+ export declare class OB11LifeCycleEvent extends OB11BaseMetaEvent {
8
+ meta_event_type: string;
9
+ sub_type: LifeCycleSubType;
10
+ constructor(subType: LifeCycleSubType);
11
+ }
@@ -0,0 +1,4 @@
1
+ import { EventType, OB11BaseEvent } from '../OB11BaseEvent';
2
+ export declare abstract class OB11BaseNoticeEvent extends OB11BaseEvent {
3
+ post_type: EventType;
4
+ }
@@ -0,0 +1,36 @@
1
+ import { OB11BaseNoticeEvent } from './OB11BaseNoticeEvent';
2
+ export interface OB11FlashFile {
3
+ name: string;
4
+ size: number;
5
+ path?: string;
6
+ }
7
+ declare abstract class OB11FlashFileEvent extends OB11BaseNoticeEvent {
8
+ notice_type: string;
9
+ sub_type: 'downloaded' | 'downloading' | 'uploaded' | 'uploading' | undefined;
10
+ title: string;
11
+ share_link: string;
12
+ file_set_id: string;
13
+ files: Array<OB11FlashFile>;
14
+ protected constructor(title: string, share_link: string, file_set_id: string);
15
+ }
16
+ export declare class OB11FlashFileDownloadingEvent extends OB11FlashFileEvent {
17
+ downloaded_size: number;
18
+ total_size: number;
19
+ speed: number;
20
+ remain_seconds: number;
21
+ constructor(title: string, share_link: string, file_set_id: string, downloaded_size: number, total_size: number, speed: number, remain_seconds: number, files: OB11FlashFile[]);
22
+ }
23
+ export declare class OB11FlashFileDownloadedEvent extends OB11FlashFileEvent {
24
+ constructor(title: string, share_link: string, file_set_id: string);
25
+ }
26
+ export declare class OB11FlashFileUploadingEvent extends OB11FlashFileEvent {
27
+ uploaded_size: number;
28
+ total_size: number;
29
+ speed: number;
30
+ remain_seconds: number;
31
+ constructor(title: string, share_link: string, file_set_id: string, uploaded_size: number, total_size: number, speed: number, remain_seconds: number, files?: OB11FlashFile[]);
32
+ }
33
+ export declare class OB11FlashFileUploadedEvent extends OB11FlashFileEvent {
34
+ constructor(title: string, share_link: string, file_set_id: string);
35
+ }
36
+ export {};
@@ -0,0 +1,6 @@
1
+ import { OB11BaseNoticeEvent } from './OB11BaseNoticeEvent';
2
+ export declare class OB11FriendAddNoticeEvent extends OB11BaseNoticeEvent {
3
+ notice_type: string;
4
+ user_id: number;
5
+ constructor(userId: number);
6
+ }
@@ -0,0 +1,7 @@
1
+ import { OB11BaseNoticeEvent } from './OB11BaseNoticeEvent';
2
+ export declare class OB11FriendRecallNoticeEvent extends OB11BaseNoticeEvent {
3
+ notice_type: string;
4
+ user_id: number;
5
+ message_id: number;
6
+ constructor(userId: number, messageId: number);
7
+ }
@@ -0,0 +1,8 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export declare class OB11GroupAdminNoticeEvent extends OB11GroupNoticeEvent {
3
+ notice_type: string;
4
+ sub_type: 'set' | 'unset';
5
+ group_id: number;
6
+ user_id: number;
7
+ constructor(subType: 'set' | 'unset', groupId: number, userId: number);
8
+ }
@@ -0,0 +1,10 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export declare class GroupBanEvent extends OB11GroupNoticeEvent {
3
+ notice_type: string;
4
+ operator_id: number;
5
+ duration: number;
6
+ sub_type: 'ban' | 'lift_ban';
7
+ group_id: number;
8
+ user_id: number;
9
+ constructor(groupId: number, userId: number, operatorId: number, duration: number, sub_type: 'ban' | 'lift_ban');
10
+ }
@@ -0,0 +1,9 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export declare class OB11GroupCardEvent extends OB11GroupNoticeEvent {
3
+ notice_type: string;
4
+ group_id: number;
5
+ user_id: number;
6
+ card_new: string;
7
+ card_old: string;
8
+ constructor(groupId: number, userId: number, cardNew: string, cardOld: string);
9
+ }
@@ -0,0 +1,10 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export type GroupDecreaseSubType = 'leave' | 'kick' | 'kick_me';
3
+ export declare class OB11GroupDecreaseEvent extends OB11GroupNoticeEvent {
4
+ notice_type: string;
5
+ sub_type: GroupDecreaseSubType;
6
+ operator_id: number;
7
+ group_id: number;
8
+ user_id: number;
9
+ constructor(groupId: number, userId: number, operatorId: number, subType?: GroupDecreaseSubType);
10
+ }
@@ -0,0 +1,7 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export declare class OB11GroupDismissEvent extends OB11GroupNoticeEvent {
3
+ notice_type: string;
4
+ user_id: number;
5
+ group_id: number;
6
+ constructor(groupId: number, user_id: number);
7
+ }
@@ -0,0 +1,11 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export declare class GroupEssenceEvent extends OB11GroupNoticeEvent {
3
+ notice_type: string;
4
+ message_id: number;
5
+ sender_id: number;
6
+ sub_type: 'add' | 'delete';
7
+ group_id: number;
8
+ user_id: number;
9
+ operator_id: number;
10
+ constructor(groupId: number, messageId: number, senderId: number, operatorId: number, subType: 'add' | 'delete');
11
+ }
@@ -0,0 +1,11 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ type GroupIncreaseSubType = 'approve' | 'invite';
3
+ export declare class OB11GroupIncreaseEvent extends OB11GroupNoticeEvent {
4
+ notice_type: string;
5
+ operator_id: number;
6
+ sub_type: GroupIncreaseSubType;
7
+ group_id: number;
8
+ user_id: number;
9
+ constructor(groupId: number, userId: number, operatorId: number, subType?: GroupIncreaseSubType);
10
+ }
11
+ export {};
@@ -0,0 +1,6 @@
1
+ import { OB11BaseNoticeEvent } from './OB11BaseNoticeEvent';
2
+ export declare abstract class OB11GroupNoticeEvent extends OB11BaseNoticeEvent {
3
+ abstract group_id: number;
4
+ abstract user_id: number;
5
+ abstract notice_type: string;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export declare class OB11GroupRecallNoticeEvent extends OB11GroupNoticeEvent {
3
+ notice_type: string;
4
+ operator_id: number;
5
+ message_id: number;
6
+ group_id: number;
7
+ user_id: number;
8
+ constructor(groupId: number, userId: number, operatorId: number, messageId: number);
9
+ }
@@ -0,0 +1,9 @@
1
+ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
2
+ export declare class OB11GroupTitleEvent extends OB11GroupNoticeEvent {
3
+ notice_type: string;
4
+ sub_type: string;
5
+ title: string;
6
+ group_id: number;
7
+ user_id: number;
8
+ constructor(groupId: number, userId: number, title: string);
9
+ }