Browse Source

chore: update

wxyyxc1992 5 years ago
parent
commit
61e3d8fb6e
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      packages/cts-api/dist/types/messages.d.ts

+ 14
- 0
packages/cts-api/dist/types/messages.d.ts View File

12
     member: string;
12
     member: string;
13
     authority?: number;
13
     authority?: number;
14
 }
14
 }
15
+export interface ChatMsp {
16
+    from: string;
17
+    type: 'room';
18
+    to: string;
19
+    msg: {
20
+        type: 'cmd' | 'text' | 'image';
21
+        command?: string;
22
+        action?: string;
23
+        message?: string;
24
+        msg_id?: string;
25
+    };
26
+    msg_id?: string;
27
+    ext?: Record<string, string>;
28
+}