@inline-chat/protocol 0.0.1 → 0.0.3
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.
- package/README.md +0 -2
- package/dist/core.d.ts +483 -1
- package/dist/core.js +918 -26
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/package.json +6 -10
- package/dist/client.d.ts +0 -35
- package/dist/client.js +0 -67
- package/dist/server.d.ts +0 -630
- package/dist/server.js +0 -1287
- package/dist/src/core.d.ts +0 -5872
- package/dist/src/server.d.ts +0 -630
package/dist/server.d.ts
DELETED
|
@@ -1,630 +0,0 @@
|
|
|
1
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
-
import { Space } from "./core.js";
|
|
8
|
-
import { Peer } from "./core.js";
|
|
9
|
-
import { User } from "./core.js";
|
|
10
|
-
import { Member } from "./core.js";
|
|
11
|
-
/**
|
|
12
|
-
* @generated from protobuf message server.ServerUpdate
|
|
13
|
-
*/
|
|
14
|
-
export interface ServerUpdate {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from protobuf field: int64 date = 1;
|
|
17
|
-
*/
|
|
18
|
-
date: bigint;
|
|
19
|
-
/**
|
|
20
|
-
* @generated from protobuf field: int32 seq = 2;
|
|
21
|
-
*/
|
|
22
|
-
seq: number;
|
|
23
|
-
/**
|
|
24
|
-
* @generated from protobuf oneof: update
|
|
25
|
-
*/
|
|
26
|
-
update: {
|
|
27
|
-
oneofKind: "newMessage";
|
|
28
|
-
/**
|
|
29
|
-
* @generated from protobuf field: server.ServerChatUpdateNewMessage new_message = 4;
|
|
30
|
-
*/
|
|
31
|
-
newMessage: ServerChatUpdateNewMessage;
|
|
32
|
-
} | {
|
|
33
|
-
oneofKind: "editMessage";
|
|
34
|
-
/**
|
|
35
|
-
* @generated from protobuf field: server.ServerChatUpdateEditMessage edit_message = 5;
|
|
36
|
-
*/
|
|
37
|
-
editMessage: ServerChatUpdateEditMessage;
|
|
38
|
-
} | {
|
|
39
|
-
oneofKind: "deleteMessages";
|
|
40
|
-
/**
|
|
41
|
-
* @generated from protobuf field: server.ServerChatUpdateDeleteMessages delete_messages = 6;
|
|
42
|
-
*/
|
|
43
|
-
deleteMessages: ServerChatUpdateDeleteMessages;
|
|
44
|
-
} | {
|
|
45
|
-
oneofKind: "deleteChat";
|
|
46
|
-
/**
|
|
47
|
-
* @generated from protobuf field: server.ServerChatUpdateDeleteChat delete_chat = 7;
|
|
48
|
-
*/
|
|
49
|
-
deleteChat: ServerChatUpdateDeleteChat;
|
|
50
|
-
} | {
|
|
51
|
-
oneofKind: "participantDelete";
|
|
52
|
-
/**
|
|
53
|
-
* @generated from protobuf field: server.ServerChatUpdateParticipantDelete participant_delete = 8;
|
|
54
|
-
*/
|
|
55
|
-
participantDelete: ServerChatUpdateParticipantDelete;
|
|
56
|
-
} | {
|
|
57
|
-
oneofKind: "newChat";
|
|
58
|
-
/**
|
|
59
|
-
* @generated from protobuf field: server.ServerChatUpdateNewChat new_chat = 18;
|
|
60
|
-
*/
|
|
61
|
-
newChat: ServerChatUpdateNewChat;
|
|
62
|
-
} | {
|
|
63
|
-
oneofKind: "chatVisibility";
|
|
64
|
-
/**
|
|
65
|
-
* @generated from protobuf field: server.ServerChatUpdateVisibility chat_visibility = 13;
|
|
66
|
-
*/
|
|
67
|
-
chatVisibility: ServerChatUpdateVisibility;
|
|
68
|
-
} | {
|
|
69
|
-
oneofKind: "chatInfo";
|
|
70
|
-
/**
|
|
71
|
-
* @generated from protobuf field: server.ServerChatUpdateInfo chat_info = 15;
|
|
72
|
-
*/
|
|
73
|
-
chatInfo: ServerChatUpdateInfo;
|
|
74
|
-
} | {
|
|
75
|
-
oneofKind: "pinnedMessages";
|
|
76
|
-
/**
|
|
77
|
-
* @generated from protobuf field: server.ServerChatUpdatePinnedMessages pinned_messages = 16;
|
|
78
|
-
*/
|
|
79
|
-
pinnedMessages: ServerChatUpdatePinnedMessages;
|
|
80
|
-
} | {
|
|
81
|
-
oneofKind: "chatMoved";
|
|
82
|
-
/**
|
|
83
|
-
* @generated from protobuf field: server.ServerChatUpdateMoved chat_moved = 21;
|
|
84
|
-
*/
|
|
85
|
-
chatMoved: ServerChatUpdateMoved;
|
|
86
|
-
} | {
|
|
87
|
-
oneofKind: "spaceRemoveMember";
|
|
88
|
-
/**
|
|
89
|
-
* Space updates
|
|
90
|
-
*
|
|
91
|
-
* @generated from protobuf field: server.ServerSpaceUpdateRemoveMember space_remove_member = 9;
|
|
92
|
-
*/
|
|
93
|
-
spaceRemoveMember: ServerSpaceUpdateRemoveMember;
|
|
94
|
-
} | {
|
|
95
|
-
oneofKind: "spaceMemberUpdate";
|
|
96
|
-
/**
|
|
97
|
-
* @generated from protobuf field: server.ServerSpaceUpdateMemberUpdate space_member_update = 12;
|
|
98
|
-
*/
|
|
99
|
-
spaceMemberUpdate: ServerSpaceUpdateMemberUpdate;
|
|
100
|
-
} | {
|
|
101
|
-
oneofKind: "spaceMemberAdd";
|
|
102
|
-
/**
|
|
103
|
-
* @generated from protobuf field: server.ServerSpaceUpdateMemberAdd space_member_add = 19;
|
|
104
|
-
*/
|
|
105
|
-
spaceMemberAdd: ServerSpaceUpdateMemberAdd;
|
|
106
|
-
} | {
|
|
107
|
-
oneofKind: "userSpaceMemberDelete";
|
|
108
|
-
/**
|
|
109
|
-
* User bucket updates
|
|
110
|
-
*
|
|
111
|
-
* @generated from protobuf field: server.ServerUserUpdateSpaceMemberDelete user_space_member_delete = 10;
|
|
112
|
-
*/
|
|
113
|
-
userSpaceMemberDelete: ServerUserUpdateSpaceMemberDelete;
|
|
114
|
-
} | {
|
|
115
|
-
oneofKind: "userChatParticipantDelete";
|
|
116
|
-
/**
|
|
117
|
-
* @generated from protobuf field: server.ServerUserUpdateChatParticipantDelete user_chat_participant_delete = 11;
|
|
118
|
-
*/
|
|
119
|
-
userChatParticipantDelete: ServerUserUpdateChatParticipantDelete;
|
|
120
|
-
} | {
|
|
121
|
-
oneofKind: "userDialogArchived";
|
|
122
|
-
/**
|
|
123
|
-
* @generated from protobuf field: server.ServerUserUpdateDialogArchived user_dialog_archived = 14;
|
|
124
|
-
*/
|
|
125
|
-
userDialogArchived: ServerUserUpdateDialogArchived;
|
|
126
|
-
} | {
|
|
127
|
-
oneofKind: "userJoinSpace";
|
|
128
|
-
/**
|
|
129
|
-
* @generated from protobuf field: server.ServerUserUpdateJoinSpace user_join_space = 17;
|
|
130
|
-
*/
|
|
131
|
-
userJoinSpace: ServerUserUpdateJoinSpace;
|
|
132
|
-
} | {
|
|
133
|
-
oneofKind: "userReadMaxId";
|
|
134
|
-
/**
|
|
135
|
-
* @generated from protobuf field: server.ServerUserUpdateReadMaxId user_read_max_id = 20;
|
|
136
|
-
*/
|
|
137
|
-
userReadMaxId: ServerUserUpdateReadMaxId;
|
|
138
|
-
} | {
|
|
139
|
-
oneofKind: "userMarkAsUnread";
|
|
140
|
-
/**
|
|
141
|
-
* @generated from protobuf field: server.ServerUserUpdateMarkAsUnread user_mark_as_unread = 22;
|
|
142
|
-
*/
|
|
143
|
-
userMarkAsUnread: ServerUserUpdateMarkAsUnread;
|
|
144
|
-
} | {
|
|
145
|
-
oneofKind: undefined;
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Update for a chat when a message is created
|
|
150
|
-
*
|
|
151
|
-
* @generated from protobuf message server.ServerChatUpdateNewMessage
|
|
152
|
-
*/
|
|
153
|
-
export interface ServerChatUpdateNewMessage {
|
|
154
|
-
/**
|
|
155
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
156
|
-
*/
|
|
157
|
-
chatId: bigint;
|
|
158
|
-
/**
|
|
159
|
-
* @generated from protobuf field: int64 msg_id = 2;
|
|
160
|
-
*/
|
|
161
|
-
msgId: bigint;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Update for a chat when a message is edited
|
|
165
|
-
*
|
|
166
|
-
* @generated from protobuf message server.ServerChatUpdateEditMessage
|
|
167
|
-
*/
|
|
168
|
-
export interface ServerChatUpdateEditMessage {
|
|
169
|
-
/**
|
|
170
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
171
|
-
*/
|
|
172
|
-
chatId: bigint;
|
|
173
|
-
/**
|
|
174
|
-
* @generated from protobuf field: int64 msg_id = 2;
|
|
175
|
-
*/
|
|
176
|
-
msgId: bigint;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Update for a chat when messages are deleted
|
|
180
|
-
*
|
|
181
|
-
* @generated from protobuf message server.ServerChatUpdateDeleteMessages
|
|
182
|
-
*/
|
|
183
|
-
export interface ServerChatUpdateDeleteMessages {
|
|
184
|
-
/**
|
|
185
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
186
|
-
*/
|
|
187
|
-
chatId: bigint;
|
|
188
|
-
/**
|
|
189
|
-
* @generated from protobuf field: repeated int64 msg_ids = 2;
|
|
190
|
-
*/
|
|
191
|
-
msgIds: bigint[];
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* Update for a chat when it is deleted
|
|
195
|
-
*
|
|
196
|
-
* @generated from protobuf message server.ServerChatUpdateDeleteChat
|
|
197
|
-
*/
|
|
198
|
-
export interface ServerChatUpdateDeleteChat {
|
|
199
|
-
/**
|
|
200
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
201
|
-
*/
|
|
202
|
-
chatId: bigint;
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* Update for a chat when it is created
|
|
206
|
-
*
|
|
207
|
-
* @generated from protobuf message server.ServerChatUpdateNewChat
|
|
208
|
-
*/
|
|
209
|
-
export interface ServerChatUpdateNewChat {
|
|
210
|
-
/**
|
|
211
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
212
|
-
*/
|
|
213
|
-
chatId: bigint;
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Update for a chat when a participant is removed
|
|
217
|
-
*
|
|
218
|
-
* @generated from protobuf message server.ServerChatUpdateParticipantDelete
|
|
219
|
-
*/
|
|
220
|
-
export interface ServerChatUpdateParticipantDelete {
|
|
221
|
-
/**
|
|
222
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
223
|
-
*/
|
|
224
|
-
chatId: bigint;
|
|
225
|
-
/**
|
|
226
|
-
* @generated from protobuf field: int64 user_id = 2;
|
|
227
|
-
*/
|
|
228
|
-
userId: bigint;
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* Update for a chat when visibility changes
|
|
232
|
-
*
|
|
233
|
-
* @generated from protobuf message server.ServerChatUpdateVisibility
|
|
234
|
-
*/
|
|
235
|
-
export interface ServerChatUpdateVisibility {
|
|
236
|
-
/**
|
|
237
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
238
|
-
*/
|
|
239
|
-
chatId: bigint;
|
|
240
|
-
/**
|
|
241
|
-
* @generated from protobuf field: bool is_public = 2;
|
|
242
|
-
*/
|
|
243
|
-
isPublic: boolean;
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Update for a chat when pinned messages change
|
|
247
|
-
*
|
|
248
|
-
* @generated from protobuf message server.ServerChatUpdatePinnedMessages
|
|
249
|
-
*/
|
|
250
|
-
export interface ServerChatUpdatePinnedMessages {
|
|
251
|
-
/**
|
|
252
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
253
|
-
*/
|
|
254
|
-
chatId: bigint;
|
|
255
|
-
/**
|
|
256
|
-
* @generated from protobuf field: repeated int64 message_ids = 2;
|
|
257
|
-
*/
|
|
258
|
-
messageIds: bigint[];
|
|
259
|
-
}
|
|
260
|
-
/**
|
|
261
|
-
* Update for a chat when title or emoji changes
|
|
262
|
-
*
|
|
263
|
-
* @generated from protobuf message server.ServerChatUpdateInfo
|
|
264
|
-
*/
|
|
265
|
-
export interface ServerChatUpdateInfo {
|
|
266
|
-
/**
|
|
267
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
268
|
-
*/
|
|
269
|
-
chatId: bigint;
|
|
270
|
-
/**
|
|
271
|
-
* @generated from protobuf field: optional string title = 2;
|
|
272
|
-
*/
|
|
273
|
-
title?: string;
|
|
274
|
-
/**
|
|
275
|
-
* @generated from protobuf field: optional string emoji = 3;
|
|
276
|
-
*/
|
|
277
|
-
emoji?: string;
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Update for a chat when the thread moves between home and a space.
|
|
281
|
-
*
|
|
282
|
-
* NOTE: v1 supports only private threads and only home <-> space moves.
|
|
283
|
-
* Keep the old/new space IDs for future cross-space moves.
|
|
284
|
-
*
|
|
285
|
-
* @generated from protobuf message server.ServerChatUpdateMoved
|
|
286
|
-
*/
|
|
287
|
-
export interface ServerChatUpdateMoved {
|
|
288
|
-
/**
|
|
289
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
290
|
-
*/
|
|
291
|
-
chatId: bigint;
|
|
292
|
-
/**
|
|
293
|
-
* @generated from protobuf field: optional int64 old_space_id = 2;
|
|
294
|
-
*/
|
|
295
|
-
oldSpaceId?: bigint;
|
|
296
|
-
/**
|
|
297
|
-
* @generated from protobuf field: optional int64 new_space_id = 3;
|
|
298
|
-
*/
|
|
299
|
-
newSpaceId?: bigint;
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* Update for a space when a member is removed
|
|
303
|
-
*
|
|
304
|
-
* @generated from protobuf message server.ServerSpaceUpdateRemoveMember
|
|
305
|
-
*/
|
|
306
|
-
export interface ServerSpaceUpdateRemoveMember {
|
|
307
|
-
/**
|
|
308
|
-
* @generated from protobuf field: int64 space_id = 1;
|
|
309
|
-
*/
|
|
310
|
-
spaceId: bigint;
|
|
311
|
-
/**
|
|
312
|
-
* @generated from protobuf field: int64 user_id = 2;
|
|
313
|
-
*/
|
|
314
|
-
userId: bigint;
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* Update for a space when a member's access/role changes
|
|
318
|
-
*
|
|
319
|
-
* @generated from protobuf message server.ServerSpaceUpdateMemberUpdate
|
|
320
|
-
*/
|
|
321
|
-
export interface ServerSpaceUpdateMemberUpdate {
|
|
322
|
-
/**
|
|
323
|
-
* @generated from protobuf field: Member member = 1;
|
|
324
|
-
*/
|
|
325
|
-
member?: Member;
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Update for a space when a new member is added
|
|
329
|
-
*
|
|
330
|
-
* @generated from protobuf message server.ServerSpaceUpdateMemberAdd
|
|
331
|
-
*/
|
|
332
|
-
export interface ServerSpaceUpdateMemberAdd {
|
|
333
|
-
/**
|
|
334
|
-
* @generated from protobuf field: Member member = 1;
|
|
335
|
-
*/
|
|
336
|
-
member?: Member;
|
|
337
|
-
/**
|
|
338
|
-
* @generated from protobuf field: User user = 2;
|
|
339
|
-
*/
|
|
340
|
-
user?: User;
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Update for a user when they were removed from a space
|
|
344
|
-
*
|
|
345
|
-
* @generated from protobuf message server.ServerUserUpdateSpaceMemberDelete
|
|
346
|
-
*/
|
|
347
|
-
export interface ServerUserUpdateSpaceMemberDelete {
|
|
348
|
-
/**
|
|
349
|
-
* @generated from protobuf field: int64 space_id = 1;
|
|
350
|
-
*/
|
|
351
|
-
spaceId: bigint;
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* Update for a user when they were removed from a chat
|
|
355
|
-
*
|
|
356
|
-
* @generated from protobuf message server.ServerUserUpdateChatParticipantDelete
|
|
357
|
-
*/
|
|
358
|
-
export interface ServerUserUpdateChatParticipantDelete {
|
|
359
|
-
/**
|
|
360
|
-
* @generated from protobuf field: int64 chat_id = 1;
|
|
361
|
-
*/
|
|
362
|
-
chatId: bigint;
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* Update for a user when a dialog is archived or unarchived
|
|
366
|
-
*
|
|
367
|
-
* @generated from protobuf message server.ServerUserUpdateDialogArchived
|
|
368
|
-
*/
|
|
369
|
-
export interface ServerUserUpdateDialogArchived {
|
|
370
|
-
/**
|
|
371
|
-
* @generated from protobuf field: Peer peer_id = 1;
|
|
372
|
-
*/
|
|
373
|
-
peerId?: Peer;
|
|
374
|
-
/**
|
|
375
|
-
* @generated from protobuf field: bool archived = 2;
|
|
376
|
-
*/
|
|
377
|
-
archived: boolean;
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Update for a user when they joined a space
|
|
381
|
-
*
|
|
382
|
-
* @generated from protobuf message server.ServerUserUpdateJoinSpace
|
|
383
|
-
*/
|
|
384
|
-
export interface ServerUserUpdateJoinSpace {
|
|
385
|
-
/**
|
|
386
|
-
* @generated from protobuf field: Space space = 1;
|
|
387
|
-
*/
|
|
388
|
-
space?: Space;
|
|
389
|
-
/**
|
|
390
|
-
* @generated from protobuf field: Member member = 2;
|
|
391
|
-
*/
|
|
392
|
-
member?: Member;
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* Update for a user when they read messages up to a certain ID in a dialog.
|
|
396
|
-
*
|
|
397
|
-
* This is stored in the user bucket so read state can be repaired via catch-up after reconnect.
|
|
398
|
-
*
|
|
399
|
-
* @generated from protobuf message server.ServerUserUpdateReadMaxId
|
|
400
|
-
*/
|
|
401
|
-
export interface ServerUserUpdateReadMaxId {
|
|
402
|
-
/**
|
|
403
|
-
* @generated from protobuf field: Peer peer_id = 1;
|
|
404
|
-
*/
|
|
405
|
-
peerId?: Peer;
|
|
406
|
-
/**
|
|
407
|
-
* @generated from protobuf field: int64 read_max_id = 2;
|
|
408
|
-
*/
|
|
409
|
-
readMaxId: bigint;
|
|
410
|
-
/**
|
|
411
|
-
* @generated from protobuf field: int32 unread_count = 3;
|
|
412
|
-
*/
|
|
413
|
-
unreadCount: number;
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* Update for a user when a dialog is marked/unmarked as unread.
|
|
417
|
-
*
|
|
418
|
-
* @generated from protobuf message server.ServerUserUpdateMarkAsUnread
|
|
419
|
-
*/
|
|
420
|
-
export interface ServerUserUpdateMarkAsUnread {
|
|
421
|
-
/**
|
|
422
|
-
* @generated from protobuf field: Peer peer_id = 1;
|
|
423
|
-
*/
|
|
424
|
-
peerId?: Peer;
|
|
425
|
-
/**
|
|
426
|
-
* @generated from protobuf field: bool unread_mark = 2;
|
|
427
|
-
*/
|
|
428
|
-
unreadMark: boolean;
|
|
429
|
-
}
|
|
430
|
-
declare class ServerUpdate$Type extends MessageType<ServerUpdate> {
|
|
431
|
-
constructor();
|
|
432
|
-
create(value?: PartialMessage<ServerUpdate>): ServerUpdate;
|
|
433
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerUpdate): ServerUpdate;
|
|
434
|
-
internalBinaryWrite(message: ServerUpdate, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
435
|
-
}
|
|
436
|
-
/**
|
|
437
|
-
* @generated MessageType for protobuf message server.ServerUpdate
|
|
438
|
-
*/
|
|
439
|
-
export declare const ServerUpdate: ServerUpdate$Type;
|
|
440
|
-
declare class ServerChatUpdateNewMessage$Type extends MessageType<ServerChatUpdateNewMessage> {
|
|
441
|
-
constructor();
|
|
442
|
-
create(value?: PartialMessage<ServerChatUpdateNewMessage>): ServerChatUpdateNewMessage;
|
|
443
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateNewMessage): ServerChatUpdateNewMessage;
|
|
444
|
-
internalBinaryWrite(message: ServerChatUpdateNewMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
445
|
-
}
|
|
446
|
-
/**
|
|
447
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateNewMessage
|
|
448
|
-
*/
|
|
449
|
-
export declare const ServerChatUpdateNewMessage: ServerChatUpdateNewMessage$Type;
|
|
450
|
-
declare class ServerChatUpdateEditMessage$Type extends MessageType<ServerChatUpdateEditMessage> {
|
|
451
|
-
constructor();
|
|
452
|
-
create(value?: PartialMessage<ServerChatUpdateEditMessage>): ServerChatUpdateEditMessage;
|
|
453
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateEditMessage): ServerChatUpdateEditMessage;
|
|
454
|
-
internalBinaryWrite(message: ServerChatUpdateEditMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
455
|
-
}
|
|
456
|
-
/**
|
|
457
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateEditMessage
|
|
458
|
-
*/
|
|
459
|
-
export declare const ServerChatUpdateEditMessage: ServerChatUpdateEditMessage$Type;
|
|
460
|
-
declare class ServerChatUpdateDeleteMessages$Type extends MessageType<ServerChatUpdateDeleteMessages> {
|
|
461
|
-
constructor();
|
|
462
|
-
create(value?: PartialMessage<ServerChatUpdateDeleteMessages>): ServerChatUpdateDeleteMessages;
|
|
463
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateDeleteMessages): ServerChatUpdateDeleteMessages;
|
|
464
|
-
internalBinaryWrite(message: ServerChatUpdateDeleteMessages, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateDeleteMessages
|
|
468
|
-
*/
|
|
469
|
-
export declare const ServerChatUpdateDeleteMessages: ServerChatUpdateDeleteMessages$Type;
|
|
470
|
-
declare class ServerChatUpdateDeleteChat$Type extends MessageType<ServerChatUpdateDeleteChat> {
|
|
471
|
-
constructor();
|
|
472
|
-
create(value?: PartialMessage<ServerChatUpdateDeleteChat>): ServerChatUpdateDeleteChat;
|
|
473
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateDeleteChat): ServerChatUpdateDeleteChat;
|
|
474
|
-
internalBinaryWrite(message: ServerChatUpdateDeleteChat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
475
|
-
}
|
|
476
|
-
/**
|
|
477
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateDeleteChat
|
|
478
|
-
*/
|
|
479
|
-
export declare const ServerChatUpdateDeleteChat: ServerChatUpdateDeleteChat$Type;
|
|
480
|
-
declare class ServerChatUpdateNewChat$Type extends MessageType<ServerChatUpdateNewChat> {
|
|
481
|
-
constructor();
|
|
482
|
-
create(value?: PartialMessage<ServerChatUpdateNewChat>): ServerChatUpdateNewChat;
|
|
483
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateNewChat): ServerChatUpdateNewChat;
|
|
484
|
-
internalBinaryWrite(message: ServerChatUpdateNewChat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
487
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateNewChat
|
|
488
|
-
*/
|
|
489
|
-
export declare const ServerChatUpdateNewChat: ServerChatUpdateNewChat$Type;
|
|
490
|
-
declare class ServerChatUpdateParticipantDelete$Type extends MessageType<ServerChatUpdateParticipantDelete> {
|
|
491
|
-
constructor();
|
|
492
|
-
create(value?: PartialMessage<ServerChatUpdateParticipantDelete>): ServerChatUpdateParticipantDelete;
|
|
493
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateParticipantDelete): ServerChatUpdateParticipantDelete;
|
|
494
|
-
internalBinaryWrite(message: ServerChatUpdateParticipantDelete, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateParticipantDelete
|
|
498
|
-
*/
|
|
499
|
-
export declare const ServerChatUpdateParticipantDelete: ServerChatUpdateParticipantDelete$Type;
|
|
500
|
-
declare class ServerChatUpdateVisibility$Type extends MessageType<ServerChatUpdateVisibility> {
|
|
501
|
-
constructor();
|
|
502
|
-
create(value?: PartialMessage<ServerChatUpdateVisibility>): ServerChatUpdateVisibility;
|
|
503
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateVisibility): ServerChatUpdateVisibility;
|
|
504
|
-
internalBinaryWrite(message: ServerChatUpdateVisibility, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
505
|
-
}
|
|
506
|
-
/**
|
|
507
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateVisibility
|
|
508
|
-
*/
|
|
509
|
-
export declare const ServerChatUpdateVisibility: ServerChatUpdateVisibility$Type;
|
|
510
|
-
declare class ServerChatUpdatePinnedMessages$Type extends MessageType<ServerChatUpdatePinnedMessages> {
|
|
511
|
-
constructor();
|
|
512
|
-
create(value?: PartialMessage<ServerChatUpdatePinnedMessages>): ServerChatUpdatePinnedMessages;
|
|
513
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdatePinnedMessages): ServerChatUpdatePinnedMessages;
|
|
514
|
-
internalBinaryWrite(message: ServerChatUpdatePinnedMessages, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
515
|
-
}
|
|
516
|
-
/**
|
|
517
|
-
* @generated MessageType for protobuf message server.ServerChatUpdatePinnedMessages
|
|
518
|
-
*/
|
|
519
|
-
export declare const ServerChatUpdatePinnedMessages: ServerChatUpdatePinnedMessages$Type;
|
|
520
|
-
declare class ServerChatUpdateInfo$Type extends MessageType<ServerChatUpdateInfo> {
|
|
521
|
-
constructor();
|
|
522
|
-
create(value?: PartialMessage<ServerChatUpdateInfo>): ServerChatUpdateInfo;
|
|
523
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateInfo): ServerChatUpdateInfo;
|
|
524
|
-
internalBinaryWrite(message: ServerChatUpdateInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
525
|
-
}
|
|
526
|
-
/**
|
|
527
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateInfo
|
|
528
|
-
*/
|
|
529
|
-
export declare const ServerChatUpdateInfo: ServerChatUpdateInfo$Type;
|
|
530
|
-
declare class ServerChatUpdateMoved$Type extends MessageType<ServerChatUpdateMoved> {
|
|
531
|
-
constructor();
|
|
532
|
-
create(value?: PartialMessage<ServerChatUpdateMoved>): ServerChatUpdateMoved;
|
|
533
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerChatUpdateMoved): ServerChatUpdateMoved;
|
|
534
|
-
internalBinaryWrite(message: ServerChatUpdateMoved, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
535
|
-
}
|
|
536
|
-
/**
|
|
537
|
-
* @generated MessageType for protobuf message server.ServerChatUpdateMoved
|
|
538
|
-
*/
|
|
539
|
-
export declare const ServerChatUpdateMoved: ServerChatUpdateMoved$Type;
|
|
540
|
-
declare class ServerSpaceUpdateRemoveMember$Type extends MessageType<ServerSpaceUpdateRemoveMember> {
|
|
541
|
-
constructor();
|
|
542
|
-
create(value?: PartialMessage<ServerSpaceUpdateRemoveMember>): ServerSpaceUpdateRemoveMember;
|
|
543
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerSpaceUpdateRemoveMember): ServerSpaceUpdateRemoveMember;
|
|
544
|
-
internalBinaryWrite(message: ServerSpaceUpdateRemoveMember, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
545
|
-
}
|
|
546
|
-
/**
|
|
547
|
-
* @generated MessageType for protobuf message server.ServerSpaceUpdateRemoveMember
|
|
548
|
-
*/
|
|
549
|
-
export declare const ServerSpaceUpdateRemoveMember: ServerSpaceUpdateRemoveMember$Type;
|
|
550
|
-
declare class ServerSpaceUpdateMemberUpdate$Type extends MessageType<ServerSpaceUpdateMemberUpdate> {
|
|
551
|
-
constructor();
|
|
552
|
-
create(value?: PartialMessage<ServerSpaceUpdateMemberUpdate>): ServerSpaceUpdateMemberUpdate;
|
|
553
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerSpaceUpdateMemberUpdate): ServerSpaceUpdateMemberUpdate;
|
|
554
|
-
internalBinaryWrite(message: ServerSpaceUpdateMemberUpdate, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
555
|
-
}
|
|
556
|
-
/**
|
|
557
|
-
* @generated MessageType for protobuf message server.ServerSpaceUpdateMemberUpdate
|
|
558
|
-
*/
|
|
559
|
-
export declare const ServerSpaceUpdateMemberUpdate: ServerSpaceUpdateMemberUpdate$Type;
|
|
560
|
-
declare class ServerSpaceUpdateMemberAdd$Type extends MessageType<ServerSpaceUpdateMemberAdd> {
|
|
561
|
-
constructor();
|
|
562
|
-
create(value?: PartialMessage<ServerSpaceUpdateMemberAdd>): ServerSpaceUpdateMemberAdd;
|
|
563
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerSpaceUpdateMemberAdd): ServerSpaceUpdateMemberAdd;
|
|
564
|
-
internalBinaryWrite(message: ServerSpaceUpdateMemberAdd, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
565
|
-
}
|
|
566
|
-
/**
|
|
567
|
-
* @generated MessageType for protobuf message server.ServerSpaceUpdateMemberAdd
|
|
568
|
-
*/
|
|
569
|
-
export declare const ServerSpaceUpdateMemberAdd: ServerSpaceUpdateMemberAdd$Type;
|
|
570
|
-
declare class ServerUserUpdateSpaceMemberDelete$Type extends MessageType<ServerUserUpdateSpaceMemberDelete> {
|
|
571
|
-
constructor();
|
|
572
|
-
create(value?: PartialMessage<ServerUserUpdateSpaceMemberDelete>): ServerUserUpdateSpaceMemberDelete;
|
|
573
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerUserUpdateSpaceMemberDelete): ServerUserUpdateSpaceMemberDelete;
|
|
574
|
-
internalBinaryWrite(message: ServerUserUpdateSpaceMemberDelete, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
* @generated MessageType for protobuf message server.ServerUserUpdateSpaceMemberDelete
|
|
578
|
-
*/
|
|
579
|
-
export declare const ServerUserUpdateSpaceMemberDelete: ServerUserUpdateSpaceMemberDelete$Type;
|
|
580
|
-
declare class ServerUserUpdateChatParticipantDelete$Type extends MessageType<ServerUserUpdateChatParticipantDelete> {
|
|
581
|
-
constructor();
|
|
582
|
-
create(value?: PartialMessage<ServerUserUpdateChatParticipantDelete>): ServerUserUpdateChatParticipantDelete;
|
|
583
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerUserUpdateChatParticipantDelete): ServerUserUpdateChatParticipantDelete;
|
|
584
|
-
internalBinaryWrite(message: ServerUserUpdateChatParticipantDelete, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
585
|
-
}
|
|
586
|
-
/**
|
|
587
|
-
* @generated MessageType for protobuf message server.ServerUserUpdateChatParticipantDelete
|
|
588
|
-
*/
|
|
589
|
-
export declare const ServerUserUpdateChatParticipantDelete: ServerUserUpdateChatParticipantDelete$Type;
|
|
590
|
-
declare class ServerUserUpdateDialogArchived$Type extends MessageType<ServerUserUpdateDialogArchived> {
|
|
591
|
-
constructor();
|
|
592
|
-
create(value?: PartialMessage<ServerUserUpdateDialogArchived>): ServerUserUpdateDialogArchived;
|
|
593
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerUserUpdateDialogArchived): ServerUserUpdateDialogArchived;
|
|
594
|
-
internalBinaryWrite(message: ServerUserUpdateDialogArchived, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
595
|
-
}
|
|
596
|
-
/**
|
|
597
|
-
* @generated MessageType for protobuf message server.ServerUserUpdateDialogArchived
|
|
598
|
-
*/
|
|
599
|
-
export declare const ServerUserUpdateDialogArchived: ServerUserUpdateDialogArchived$Type;
|
|
600
|
-
declare class ServerUserUpdateJoinSpace$Type extends MessageType<ServerUserUpdateJoinSpace> {
|
|
601
|
-
constructor();
|
|
602
|
-
create(value?: PartialMessage<ServerUserUpdateJoinSpace>): ServerUserUpdateJoinSpace;
|
|
603
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerUserUpdateJoinSpace): ServerUserUpdateJoinSpace;
|
|
604
|
-
internalBinaryWrite(message: ServerUserUpdateJoinSpace, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
605
|
-
}
|
|
606
|
-
/**
|
|
607
|
-
* @generated MessageType for protobuf message server.ServerUserUpdateJoinSpace
|
|
608
|
-
*/
|
|
609
|
-
export declare const ServerUserUpdateJoinSpace: ServerUserUpdateJoinSpace$Type;
|
|
610
|
-
declare class ServerUserUpdateReadMaxId$Type extends MessageType<ServerUserUpdateReadMaxId> {
|
|
611
|
-
constructor();
|
|
612
|
-
create(value?: PartialMessage<ServerUserUpdateReadMaxId>): ServerUserUpdateReadMaxId;
|
|
613
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerUserUpdateReadMaxId): ServerUserUpdateReadMaxId;
|
|
614
|
-
internalBinaryWrite(message: ServerUserUpdateReadMaxId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
615
|
-
}
|
|
616
|
-
/**
|
|
617
|
-
* @generated MessageType for protobuf message server.ServerUserUpdateReadMaxId
|
|
618
|
-
*/
|
|
619
|
-
export declare const ServerUserUpdateReadMaxId: ServerUserUpdateReadMaxId$Type;
|
|
620
|
-
declare class ServerUserUpdateMarkAsUnread$Type extends MessageType<ServerUserUpdateMarkAsUnread> {
|
|
621
|
-
constructor();
|
|
622
|
-
create(value?: PartialMessage<ServerUserUpdateMarkAsUnread>): ServerUserUpdateMarkAsUnread;
|
|
623
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServerUserUpdateMarkAsUnread): ServerUserUpdateMarkAsUnread;
|
|
624
|
-
internalBinaryWrite(message: ServerUserUpdateMarkAsUnread, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
625
|
-
}
|
|
626
|
-
/**
|
|
627
|
-
* @generated MessageType for protobuf message server.ServerUserUpdateMarkAsUnread
|
|
628
|
-
*/
|
|
629
|
-
export declare const ServerUserUpdateMarkAsUnread: ServerUserUpdateMarkAsUnread$Type;
|
|
630
|
-
export {};
|