@trash-streamers/contracts 1.1.90 → 1.1.92
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.
|
@@ -9,10 +9,11 @@ export interface GetUserMessagesRequest {
|
|
|
9
9
|
export interface GetUserMessagesResponse {
|
|
10
10
|
chatId: string;
|
|
11
11
|
encryptedChatKey: string;
|
|
12
|
-
messages:
|
|
12
|
+
messages: SystemMessage[];
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface SystemMessage {
|
|
15
15
|
id: string;
|
|
16
|
+
chatId: string;
|
|
16
17
|
senderId: string;
|
|
17
18
|
content: string;
|
|
18
19
|
authTag: string;
|
package/dist/proto/paths.d.ts
CHANGED
package/dist/proto/paths.js
CHANGED
package/package.json
CHANGED
package/proto/system-chats.proto
CHANGED
|
@@ -19,16 +19,17 @@ message GetUserMessagesRequest {
|
|
|
19
19
|
message GetUserMessagesResponse {
|
|
20
20
|
string chat_id = 1;
|
|
21
21
|
string encrypted_chat_key = 2;
|
|
22
|
-
repeated
|
|
22
|
+
repeated SystemMessage messages = 3;
|
|
23
23
|
}
|
|
24
|
-
message
|
|
24
|
+
message SystemMessage {
|
|
25
25
|
string id = 1;
|
|
26
|
-
string
|
|
27
|
-
string
|
|
28
|
-
string
|
|
29
|
-
string
|
|
30
|
-
|
|
31
|
-
bool
|
|
32
|
-
|
|
33
|
-
google.protobuf.Timestamp
|
|
26
|
+
string chat_id = 2;
|
|
27
|
+
string sender_id = 3;
|
|
28
|
+
string content = 4;
|
|
29
|
+
string auth_tag = 5;
|
|
30
|
+
string initial_vector = 6;
|
|
31
|
+
bool is_edited = 7;
|
|
32
|
+
bool is_deleted = 8;
|
|
33
|
+
google.protobuf.Timestamp created_at = 9;
|
|
34
|
+
google.protobuf.Timestamp updated_at = 10;
|
|
34
35
|
}
|