mezon-js-protobuf 1.5.42 → 1.5.43
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/api/api.ts +24 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +12 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +132 -0
- package/dist/mezon-js-protobuf.cjs.js +150 -18
- package/dist/mezon-js-protobuf.esm.mjs +150 -18
- package/package.json +1 -1
- package/rtapi/realtime.ts +134 -2
package/api/api.ts
CHANGED
|
@@ -648,6 +648,10 @@ export interface MessageReaction {
|
|
|
648
648
|
message_sender_id: string;
|
|
649
649
|
/** is public */
|
|
650
650
|
is_public: boolean;
|
|
651
|
+
/** The parent id to sent to. */
|
|
652
|
+
parent_id: string;
|
|
653
|
+
/** is parent public */
|
|
654
|
+
is_parent_public: boolean;
|
|
651
655
|
}
|
|
652
656
|
|
|
653
657
|
/** Message attachment */
|
|
@@ -6055,6 +6059,8 @@ function createBaseMessageReaction(): MessageReaction {
|
|
|
6055
6059
|
mode: 0,
|
|
6056
6060
|
message_sender_id: "",
|
|
6057
6061
|
is_public: false,
|
|
6062
|
+
parent_id: "",
|
|
6063
|
+
is_parent_public: false,
|
|
6058
6064
|
};
|
|
6059
6065
|
}
|
|
6060
6066
|
|
|
@@ -6102,6 +6108,12 @@ export const MessageReaction = {
|
|
|
6102
6108
|
if (message.is_public === true) {
|
|
6103
6109
|
writer.uint32(112).bool(message.is_public);
|
|
6104
6110
|
}
|
|
6111
|
+
if (message.parent_id !== "") {
|
|
6112
|
+
writer.uint32(122).string(message.parent_id);
|
|
6113
|
+
}
|
|
6114
|
+
if (message.is_parent_public === true) {
|
|
6115
|
+
writer.uint32(128).bool(message.is_parent_public);
|
|
6116
|
+
}
|
|
6105
6117
|
return writer;
|
|
6106
6118
|
},
|
|
6107
6119
|
|
|
@@ -6154,6 +6166,12 @@ export const MessageReaction = {
|
|
|
6154
6166
|
case 14:
|
|
6155
6167
|
message.is_public = reader.bool();
|
|
6156
6168
|
break;
|
|
6169
|
+
case 15:
|
|
6170
|
+
message.parent_id = reader.string();
|
|
6171
|
+
break;
|
|
6172
|
+
case 16:
|
|
6173
|
+
message.is_parent_public = reader.bool();
|
|
6174
|
+
break;
|
|
6157
6175
|
default:
|
|
6158
6176
|
reader.skipType(tag & 7);
|
|
6159
6177
|
break;
|
|
@@ -6178,6 +6196,8 @@ export const MessageReaction = {
|
|
|
6178
6196
|
mode: isSet(object.mode) ? Number(object.mode) : 0,
|
|
6179
6197
|
message_sender_id: isSet(object.message_sender_id) ? String(object.message_sender_id) : "",
|
|
6180
6198
|
is_public: isSet(object.is_public) ? Boolean(object.is_public) : false,
|
|
6199
|
+
parent_id: isSet(object.parent_id) ? String(object.parent_id) : "",
|
|
6200
|
+
is_parent_public: isSet(object.is_parent_public) ? Boolean(object.is_parent_public) : false,
|
|
6181
6201
|
};
|
|
6182
6202
|
},
|
|
6183
6203
|
|
|
@@ -6197,6 +6217,8 @@ export const MessageReaction = {
|
|
|
6197
6217
|
message.mode !== undefined && (obj.mode = Math.round(message.mode));
|
|
6198
6218
|
message.message_sender_id !== undefined && (obj.message_sender_id = message.message_sender_id);
|
|
6199
6219
|
message.is_public !== undefined && (obj.is_public = message.is_public);
|
|
6220
|
+
message.parent_id !== undefined && (obj.parent_id = message.parent_id);
|
|
6221
|
+
message.is_parent_public !== undefined && (obj.is_parent_public = message.is_parent_public);
|
|
6200
6222
|
return obj;
|
|
6201
6223
|
},
|
|
6202
6224
|
|
|
@@ -6220,6 +6242,8 @@ export const MessageReaction = {
|
|
|
6220
6242
|
message.mode = object.mode ?? 0;
|
|
6221
6243
|
message.message_sender_id = object.message_sender_id ?? "";
|
|
6222
6244
|
message.is_public = object.is_public ?? false;
|
|
6245
|
+
message.parent_id = object.parent_id ?? "";
|
|
6246
|
+
message.is_parent_public = object.is_parent_public ?? false;
|
|
6223
6247
|
return message;
|
|
6224
6248
|
},
|
|
6225
6249
|
};
|
|
@@ -466,6 +466,10 @@ export interface MessageReaction {
|
|
|
466
466
|
message_sender_id: string;
|
|
467
467
|
/** is public */
|
|
468
468
|
is_public: boolean;
|
|
469
|
+
/** The parent id to sent to. */
|
|
470
|
+
parent_id: string;
|
|
471
|
+
/** is parent public */
|
|
472
|
+
is_parent_public: boolean;
|
|
469
473
|
}
|
|
470
474
|
/** Message attachment */
|
|
471
475
|
export interface MessageAttachment {
|
|
@@ -3851,6 +3855,8 @@ export declare const MessageReaction: {
|
|
|
3851
3855
|
mode?: number | undefined;
|
|
3852
3856
|
message_sender_id?: string | undefined;
|
|
3853
3857
|
is_public?: boolean | undefined;
|
|
3858
|
+
parent_id?: string | undefined;
|
|
3859
|
+
is_parent_public?: boolean | undefined;
|
|
3854
3860
|
} & {
|
|
3855
3861
|
id?: string | undefined;
|
|
3856
3862
|
emoji_id?: string | undefined;
|
|
@@ -3866,6 +3872,8 @@ export declare const MessageReaction: {
|
|
|
3866
3872
|
mode?: number | undefined;
|
|
3867
3873
|
message_sender_id?: string | undefined;
|
|
3868
3874
|
is_public?: boolean | undefined;
|
|
3875
|
+
parent_id?: string | undefined;
|
|
3876
|
+
is_parent_public?: boolean | undefined;
|
|
3869
3877
|
} & { [K in Exclude<keyof I, keyof MessageReaction>]: never; }>(base?: I | undefined): MessageReaction;
|
|
3870
3878
|
fromPartial<I_1 extends {
|
|
3871
3879
|
id?: string | undefined;
|
|
@@ -3882,6 +3890,8 @@ export declare const MessageReaction: {
|
|
|
3882
3890
|
mode?: number | undefined;
|
|
3883
3891
|
message_sender_id?: string | undefined;
|
|
3884
3892
|
is_public?: boolean | undefined;
|
|
3893
|
+
parent_id?: string | undefined;
|
|
3894
|
+
is_parent_public?: boolean | undefined;
|
|
3885
3895
|
} & {
|
|
3886
3896
|
id?: string | undefined;
|
|
3887
3897
|
emoji_id?: string | undefined;
|
|
@@ -3897,6 +3907,8 @@ export declare const MessageReaction: {
|
|
|
3897
3907
|
mode?: number | undefined;
|
|
3898
3908
|
message_sender_id?: string | undefined;
|
|
3899
3909
|
is_public?: boolean | undefined;
|
|
3910
|
+
parent_id?: string | undefined;
|
|
3911
|
+
is_parent_public?: boolean | undefined;
|
|
3900
3912
|
} & { [K_1 in Exclude<keyof I_1, keyof MessageReaction>]: never; }>(object: I_1): MessageReaction;
|
|
3901
3913
|
};
|
|
3902
3914
|
export declare const MessageAttachment: {
|
|
@@ -343,6 +343,10 @@ export interface ChannelMessageSend {
|
|
|
343
343
|
avatar: string;
|
|
344
344
|
/** is public */
|
|
345
345
|
is_public: boolean;
|
|
346
|
+
/** The parent id to sent to. */
|
|
347
|
+
parent_id: string;
|
|
348
|
+
/** is parent public */
|
|
349
|
+
is_parent_public: boolean;
|
|
346
350
|
}
|
|
347
351
|
/** Update a message previously sent to a realtime channel. */
|
|
348
352
|
export interface ChannelMessageUpdate {
|
|
@@ -364,6 +368,10 @@ export interface ChannelMessageUpdate {
|
|
|
364
368
|
is_public: boolean;
|
|
365
369
|
/** hide editted */
|
|
366
370
|
hide_editted: boolean;
|
|
371
|
+
/** The parent id to sent to. */
|
|
372
|
+
parent_id: string;
|
|
373
|
+
/** is parent public */
|
|
374
|
+
is_parent_public: boolean;
|
|
367
375
|
}
|
|
368
376
|
/** Remove a message previously sent to a realtime channel. */
|
|
369
377
|
export interface ChannelMessageRemove {
|
|
@@ -377,6 +385,10 @@ export interface ChannelMessageRemove {
|
|
|
377
385
|
mode: number;
|
|
378
386
|
/** is public */
|
|
379
387
|
is_public: boolean;
|
|
388
|
+
/** The parent id to sent to. */
|
|
389
|
+
parent_id: string;
|
|
390
|
+
/** is parent public */
|
|
391
|
+
is_parent_public: boolean;
|
|
380
392
|
}
|
|
381
393
|
/** A set of joins and leaves on a particular channel. */
|
|
382
394
|
export interface ChannelPresenceEvent {
|
|
@@ -478,6 +490,10 @@ export interface LastPinMessageEvent {
|
|
|
478
490
|
operation: number;
|
|
479
491
|
/** is public */
|
|
480
492
|
is_public: boolean;
|
|
493
|
+
/** The parent id to sent to. */
|
|
494
|
+
parent_id: string;
|
|
495
|
+
/** is parent public */
|
|
496
|
+
is_parent_public: boolean;
|
|
481
497
|
}
|
|
482
498
|
/** Last seen message by user */
|
|
483
499
|
export interface LastSeenMessageEvent {
|
|
@@ -502,6 +518,10 @@ export interface MessageTypingEvent {
|
|
|
502
518
|
mode: number;
|
|
503
519
|
/** is public */
|
|
504
520
|
is_public: boolean;
|
|
521
|
+
/** The parent id to sent to. */
|
|
522
|
+
parent_id: string;
|
|
523
|
+
/** is parent public */
|
|
524
|
+
is_parent_public: boolean;
|
|
505
525
|
}
|
|
506
526
|
/** Voice Joined event */
|
|
507
527
|
export interface VoiceLeavedEvent {
|
|
@@ -951,6 +971,8 @@ export declare const Envelope: {
|
|
|
951
971
|
mention_everyone?: boolean | undefined;
|
|
952
972
|
avatar?: string | undefined;
|
|
953
973
|
is_public?: boolean | undefined;
|
|
974
|
+
parent_id?: string | undefined;
|
|
975
|
+
is_parent_public?: boolean | undefined;
|
|
954
976
|
} | undefined;
|
|
955
977
|
channel_message_update?: {
|
|
956
978
|
clan_id?: string | undefined;
|
|
@@ -978,6 +1000,8 @@ export declare const Envelope: {
|
|
|
978
1000
|
mode?: number | undefined;
|
|
979
1001
|
is_public?: boolean | undefined;
|
|
980
1002
|
hide_editted?: boolean | undefined;
|
|
1003
|
+
parent_id?: string | undefined;
|
|
1004
|
+
is_parent_public?: boolean | undefined;
|
|
981
1005
|
} | undefined;
|
|
982
1006
|
channel_message_remove?: {
|
|
983
1007
|
clan_id?: string | undefined;
|
|
@@ -985,6 +1009,8 @@ export declare const Envelope: {
|
|
|
985
1009
|
message_id?: string | undefined;
|
|
986
1010
|
mode?: number | undefined;
|
|
987
1011
|
is_public?: boolean | undefined;
|
|
1012
|
+
parent_id?: string | undefined;
|
|
1013
|
+
is_parent_public?: boolean | undefined;
|
|
988
1014
|
} | undefined;
|
|
989
1015
|
channel_presence_event?: {
|
|
990
1016
|
channel_id?: string | undefined;
|
|
@@ -1115,6 +1141,8 @@ export declare const Envelope: {
|
|
|
1115
1141
|
sender_id?: string | undefined;
|
|
1116
1142
|
mode?: number | undefined;
|
|
1117
1143
|
is_public?: boolean | undefined;
|
|
1144
|
+
parent_id?: string | undefined;
|
|
1145
|
+
is_parent_public?: boolean | undefined;
|
|
1118
1146
|
} | undefined;
|
|
1119
1147
|
last_seen_message_event?: {
|
|
1120
1148
|
channel_id?: string | undefined;
|
|
@@ -1137,6 +1165,8 @@ export declare const Envelope: {
|
|
|
1137
1165
|
mode?: number | undefined;
|
|
1138
1166
|
message_sender_id?: string | undefined;
|
|
1139
1167
|
is_public?: boolean | undefined;
|
|
1168
|
+
parent_id?: string | undefined;
|
|
1169
|
+
is_parent_public?: boolean | undefined;
|
|
1140
1170
|
} | undefined;
|
|
1141
1171
|
voice_joined_event?: {
|
|
1142
1172
|
clan_id?: string | undefined;
|
|
@@ -1203,6 +1233,8 @@ export declare const Envelope: {
|
|
|
1203
1233
|
timestamp_seconds?: number | undefined;
|
|
1204
1234
|
operation?: number | undefined;
|
|
1205
1235
|
is_public?: boolean | undefined;
|
|
1236
|
+
parent_id?: string | undefined;
|
|
1237
|
+
is_parent_public?: boolean | undefined;
|
|
1206
1238
|
} | undefined;
|
|
1207
1239
|
custom_status_event?: {
|
|
1208
1240
|
clan_id?: string | undefined;
|
|
@@ -1683,6 +1715,8 @@ export declare const Envelope: {
|
|
|
1683
1715
|
mention_everyone?: boolean | undefined;
|
|
1684
1716
|
avatar?: string | undefined;
|
|
1685
1717
|
is_public?: boolean | undefined;
|
|
1718
|
+
parent_id?: string | undefined;
|
|
1719
|
+
is_parent_public?: boolean | undefined;
|
|
1686
1720
|
} & {
|
|
1687
1721
|
clan_id?: string | undefined;
|
|
1688
1722
|
channel_id?: string | undefined;
|
|
@@ -1803,6 +1837,8 @@ export declare const Envelope: {
|
|
|
1803
1837
|
mention_everyone?: boolean | undefined;
|
|
1804
1838
|
avatar?: string | undefined;
|
|
1805
1839
|
is_public?: boolean | undefined;
|
|
1840
|
+
parent_id?: string | undefined;
|
|
1841
|
+
is_parent_public?: boolean | undefined;
|
|
1806
1842
|
} & { [K_15 in Exclude<keyof I["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
1807
1843
|
channel_message_update?: ({
|
|
1808
1844
|
clan_id?: string | undefined;
|
|
@@ -1830,6 +1866,8 @@ export declare const Envelope: {
|
|
|
1830
1866
|
mode?: number | undefined;
|
|
1831
1867
|
is_public?: boolean | undefined;
|
|
1832
1868
|
hide_editted?: boolean | undefined;
|
|
1869
|
+
parent_id?: string | undefined;
|
|
1870
|
+
is_parent_public?: boolean | undefined;
|
|
1833
1871
|
} & {
|
|
1834
1872
|
clan_id?: string | undefined;
|
|
1835
1873
|
channel_id?: string | undefined;
|
|
@@ -1904,6 +1942,8 @@ export declare const Envelope: {
|
|
|
1904
1942
|
mode?: number | undefined;
|
|
1905
1943
|
is_public?: boolean | undefined;
|
|
1906
1944
|
hide_editted?: boolean | undefined;
|
|
1945
|
+
parent_id?: string | undefined;
|
|
1946
|
+
is_parent_public?: boolean | undefined;
|
|
1907
1947
|
} & { [K_20 in Exclude<keyof I["channel_message_update"], keyof ChannelMessageUpdate>]: never; }) | undefined;
|
|
1908
1948
|
channel_message_remove?: ({
|
|
1909
1949
|
clan_id?: string | undefined;
|
|
@@ -1911,12 +1951,16 @@ export declare const Envelope: {
|
|
|
1911
1951
|
message_id?: string | undefined;
|
|
1912
1952
|
mode?: number | undefined;
|
|
1913
1953
|
is_public?: boolean | undefined;
|
|
1954
|
+
parent_id?: string | undefined;
|
|
1955
|
+
is_parent_public?: boolean | undefined;
|
|
1914
1956
|
} & {
|
|
1915
1957
|
clan_id?: string | undefined;
|
|
1916
1958
|
channel_id?: string | undefined;
|
|
1917
1959
|
message_id?: string | undefined;
|
|
1918
1960
|
mode?: number | undefined;
|
|
1919
1961
|
is_public?: boolean | undefined;
|
|
1962
|
+
parent_id?: string | undefined;
|
|
1963
|
+
is_parent_public?: boolean | undefined;
|
|
1920
1964
|
} & { [K_21 in Exclude<keyof I["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
1921
1965
|
channel_presence_event?: ({
|
|
1922
1966
|
channel_id?: string | undefined;
|
|
@@ -2337,12 +2381,16 @@ export declare const Envelope: {
|
|
|
2337
2381
|
sender_id?: string | undefined;
|
|
2338
2382
|
mode?: number | undefined;
|
|
2339
2383
|
is_public?: boolean | undefined;
|
|
2384
|
+
parent_id?: string | undefined;
|
|
2385
|
+
is_parent_public?: boolean | undefined;
|
|
2340
2386
|
} & {
|
|
2341
2387
|
clan_id?: string | undefined;
|
|
2342
2388
|
channel_id?: string | undefined;
|
|
2343
2389
|
sender_id?: string | undefined;
|
|
2344
2390
|
mode?: number | undefined;
|
|
2345
2391
|
is_public?: boolean | undefined;
|
|
2392
|
+
parent_id?: string | undefined;
|
|
2393
|
+
is_parent_public?: boolean | undefined;
|
|
2346
2394
|
} & { [K_58 in Exclude<keyof I["message_typing_event"], keyof MessageTypingEvent>]: never; }) | undefined;
|
|
2347
2395
|
last_seen_message_event?: ({
|
|
2348
2396
|
channel_id?: string | undefined;
|
|
@@ -2370,6 +2418,8 @@ export declare const Envelope: {
|
|
|
2370
2418
|
mode?: number | undefined;
|
|
2371
2419
|
message_sender_id?: string | undefined;
|
|
2372
2420
|
is_public?: boolean | undefined;
|
|
2421
|
+
parent_id?: string | undefined;
|
|
2422
|
+
is_parent_public?: boolean | undefined;
|
|
2373
2423
|
} & {
|
|
2374
2424
|
id?: string | undefined;
|
|
2375
2425
|
emoji_id?: string | undefined;
|
|
@@ -2385,6 +2435,8 @@ export declare const Envelope: {
|
|
|
2385
2435
|
mode?: number | undefined;
|
|
2386
2436
|
message_sender_id?: string | undefined;
|
|
2387
2437
|
is_public?: boolean | undefined;
|
|
2438
|
+
parent_id?: string | undefined;
|
|
2439
|
+
is_parent_public?: boolean | undefined;
|
|
2388
2440
|
} & { [K_60 in Exclude<keyof I["message_reaction_event"], keyof MessageReaction>]: never; }) | undefined;
|
|
2389
2441
|
voice_joined_event?: ({
|
|
2390
2442
|
clan_id?: string | undefined;
|
|
@@ -2500,6 +2552,8 @@ export declare const Envelope: {
|
|
|
2500
2552
|
timestamp_seconds?: number | undefined;
|
|
2501
2553
|
operation?: number | undefined;
|
|
2502
2554
|
is_public?: boolean | undefined;
|
|
2555
|
+
parent_id?: string | undefined;
|
|
2556
|
+
is_parent_public?: boolean | undefined;
|
|
2503
2557
|
} & {
|
|
2504
2558
|
clan_id?: string | undefined;
|
|
2505
2559
|
channel_id?: string | undefined;
|
|
@@ -2509,6 +2563,8 @@ export declare const Envelope: {
|
|
|
2509
2563
|
timestamp_seconds?: number | undefined;
|
|
2510
2564
|
operation?: number | undefined;
|
|
2511
2565
|
is_public?: boolean | undefined;
|
|
2566
|
+
parent_id?: string | undefined;
|
|
2567
|
+
is_parent_public?: boolean | undefined;
|
|
2512
2568
|
} & { [K_68 in Exclude<keyof I["last_pin_message_event"], keyof LastPinMessageEvent>]: never; }) | undefined;
|
|
2513
2569
|
custom_status_event?: ({
|
|
2514
2570
|
clan_id?: string | undefined;
|
|
@@ -3667,6 +3723,8 @@ export declare const Envelope: {
|
|
|
3667
3723
|
mention_everyone?: boolean | undefined;
|
|
3668
3724
|
avatar?: string | undefined;
|
|
3669
3725
|
is_public?: boolean | undefined;
|
|
3726
|
+
parent_id?: string | undefined;
|
|
3727
|
+
is_parent_public?: boolean | undefined;
|
|
3670
3728
|
} | undefined;
|
|
3671
3729
|
channel_message_update?: {
|
|
3672
3730
|
clan_id?: string | undefined;
|
|
@@ -3694,6 +3752,8 @@ export declare const Envelope: {
|
|
|
3694
3752
|
mode?: number | undefined;
|
|
3695
3753
|
is_public?: boolean | undefined;
|
|
3696
3754
|
hide_editted?: boolean | undefined;
|
|
3755
|
+
parent_id?: string | undefined;
|
|
3756
|
+
is_parent_public?: boolean | undefined;
|
|
3697
3757
|
} | undefined;
|
|
3698
3758
|
channel_message_remove?: {
|
|
3699
3759
|
clan_id?: string | undefined;
|
|
@@ -3701,6 +3761,8 @@ export declare const Envelope: {
|
|
|
3701
3761
|
message_id?: string | undefined;
|
|
3702
3762
|
mode?: number | undefined;
|
|
3703
3763
|
is_public?: boolean | undefined;
|
|
3764
|
+
parent_id?: string | undefined;
|
|
3765
|
+
is_parent_public?: boolean | undefined;
|
|
3704
3766
|
} | undefined;
|
|
3705
3767
|
channel_presence_event?: {
|
|
3706
3768
|
channel_id?: string | undefined;
|
|
@@ -3831,6 +3893,8 @@ export declare const Envelope: {
|
|
|
3831
3893
|
sender_id?: string | undefined;
|
|
3832
3894
|
mode?: number | undefined;
|
|
3833
3895
|
is_public?: boolean | undefined;
|
|
3896
|
+
parent_id?: string | undefined;
|
|
3897
|
+
is_parent_public?: boolean | undefined;
|
|
3834
3898
|
} | undefined;
|
|
3835
3899
|
last_seen_message_event?: {
|
|
3836
3900
|
channel_id?: string | undefined;
|
|
@@ -3853,6 +3917,8 @@ export declare const Envelope: {
|
|
|
3853
3917
|
mode?: number | undefined;
|
|
3854
3918
|
message_sender_id?: string | undefined;
|
|
3855
3919
|
is_public?: boolean | undefined;
|
|
3920
|
+
parent_id?: string | undefined;
|
|
3921
|
+
is_parent_public?: boolean | undefined;
|
|
3856
3922
|
} | undefined;
|
|
3857
3923
|
voice_joined_event?: {
|
|
3858
3924
|
clan_id?: string | undefined;
|
|
@@ -3919,6 +3985,8 @@ export declare const Envelope: {
|
|
|
3919
3985
|
timestamp_seconds?: number | undefined;
|
|
3920
3986
|
operation?: number | undefined;
|
|
3921
3987
|
is_public?: boolean | undefined;
|
|
3988
|
+
parent_id?: string | undefined;
|
|
3989
|
+
is_parent_public?: boolean | undefined;
|
|
3922
3990
|
} | undefined;
|
|
3923
3991
|
custom_status_event?: {
|
|
3924
3992
|
clan_id?: string | undefined;
|
|
@@ -4399,6 +4467,8 @@ export declare const Envelope: {
|
|
|
4399
4467
|
mention_everyone?: boolean | undefined;
|
|
4400
4468
|
avatar?: string | undefined;
|
|
4401
4469
|
is_public?: boolean | undefined;
|
|
4470
|
+
parent_id?: string | undefined;
|
|
4471
|
+
is_parent_public?: boolean | undefined;
|
|
4402
4472
|
} & {
|
|
4403
4473
|
clan_id?: string | undefined;
|
|
4404
4474
|
channel_id?: string | undefined;
|
|
@@ -4519,6 +4589,8 @@ export declare const Envelope: {
|
|
|
4519
4589
|
mention_everyone?: boolean | undefined;
|
|
4520
4590
|
avatar?: string | undefined;
|
|
4521
4591
|
is_public?: boolean | undefined;
|
|
4592
|
+
parent_id?: string | undefined;
|
|
4593
|
+
is_parent_public?: boolean | undefined;
|
|
4522
4594
|
} & { [K_149 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
4523
4595
|
channel_message_update?: ({
|
|
4524
4596
|
clan_id?: string | undefined;
|
|
@@ -4546,6 +4618,8 @@ export declare const Envelope: {
|
|
|
4546
4618
|
mode?: number | undefined;
|
|
4547
4619
|
is_public?: boolean | undefined;
|
|
4548
4620
|
hide_editted?: boolean | undefined;
|
|
4621
|
+
parent_id?: string | undefined;
|
|
4622
|
+
is_parent_public?: boolean | undefined;
|
|
4549
4623
|
} & {
|
|
4550
4624
|
clan_id?: string | undefined;
|
|
4551
4625
|
channel_id?: string | undefined;
|
|
@@ -4620,6 +4694,8 @@ export declare const Envelope: {
|
|
|
4620
4694
|
mode?: number | undefined;
|
|
4621
4695
|
is_public?: boolean | undefined;
|
|
4622
4696
|
hide_editted?: boolean | undefined;
|
|
4697
|
+
parent_id?: string | undefined;
|
|
4698
|
+
is_parent_public?: boolean | undefined;
|
|
4623
4699
|
} & { [K_154 in Exclude<keyof I_1["channel_message_update"], keyof ChannelMessageUpdate>]: never; }) | undefined;
|
|
4624
4700
|
channel_message_remove?: ({
|
|
4625
4701
|
clan_id?: string | undefined;
|
|
@@ -4627,12 +4703,16 @@ export declare const Envelope: {
|
|
|
4627
4703
|
message_id?: string | undefined;
|
|
4628
4704
|
mode?: number | undefined;
|
|
4629
4705
|
is_public?: boolean | undefined;
|
|
4706
|
+
parent_id?: string | undefined;
|
|
4707
|
+
is_parent_public?: boolean | undefined;
|
|
4630
4708
|
} & {
|
|
4631
4709
|
clan_id?: string | undefined;
|
|
4632
4710
|
channel_id?: string | undefined;
|
|
4633
4711
|
message_id?: string | undefined;
|
|
4634
4712
|
mode?: number | undefined;
|
|
4635
4713
|
is_public?: boolean | undefined;
|
|
4714
|
+
parent_id?: string | undefined;
|
|
4715
|
+
is_parent_public?: boolean | undefined;
|
|
4636
4716
|
} & { [K_155 in Exclude<keyof I_1["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
4637
4717
|
channel_presence_event?: ({
|
|
4638
4718
|
channel_id?: string | undefined;
|
|
@@ -5053,12 +5133,16 @@ export declare const Envelope: {
|
|
|
5053
5133
|
sender_id?: string | undefined;
|
|
5054
5134
|
mode?: number | undefined;
|
|
5055
5135
|
is_public?: boolean | undefined;
|
|
5136
|
+
parent_id?: string | undefined;
|
|
5137
|
+
is_parent_public?: boolean | undefined;
|
|
5056
5138
|
} & {
|
|
5057
5139
|
clan_id?: string | undefined;
|
|
5058
5140
|
channel_id?: string | undefined;
|
|
5059
5141
|
sender_id?: string | undefined;
|
|
5060
5142
|
mode?: number | undefined;
|
|
5061
5143
|
is_public?: boolean | undefined;
|
|
5144
|
+
parent_id?: string | undefined;
|
|
5145
|
+
is_parent_public?: boolean | undefined;
|
|
5062
5146
|
} & { [K_192 in Exclude<keyof I_1["message_typing_event"], keyof MessageTypingEvent>]: never; }) | undefined;
|
|
5063
5147
|
last_seen_message_event?: ({
|
|
5064
5148
|
channel_id?: string | undefined;
|
|
@@ -5086,6 +5170,8 @@ export declare const Envelope: {
|
|
|
5086
5170
|
mode?: number | undefined;
|
|
5087
5171
|
message_sender_id?: string | undefined;
|
|
5088
5172
|
is_public?: boolean | undefined;
|
|
5173
|
+
parent_id?: string | undefined;
|
|
5174
|
+
is_parent_public?: boolean | undefined;
|
|
5089
5175
|
} & {
|
|
5090
5176
|
id?: string | undefined;
|
|
5091
5177
|
emoji_id?: string | undefined;
|
|
@@ -5101,6 +5187,8 @@ export declare const Envelope: {
|
|
|
5101
5187
|
mode?: number | undefined;
|
|
5102
5188
|
message_sender_id?: string | undefined;
|
|
5103
5189
|
is_public?: boolean | undefined;
|
|
5190
|
+
parent_id?: string | undefined;
|
|
5191
|
+
is_parent_public?: boolean | undefined;
|
|
5104
5192
|
} & { [K_194 in Exclude<keyof I_1["message_reaction_event"], keyof MessageReaction>]: never; }) | undefined;
|
|
5105
5193
|
voice_joined_event?: ({
|
|
5106
5194
|
clan_id?: string | undefined;
|
|
@@ -5216,6 +5304,8 @@ export declare const Envelope: {
|
|
|
5216
5304
|
timestamp_seconds?: number | undefined;
|
|
5217
5305
|
operation?: number | undefined;
|
|
5218
5306
|
is_public?: boolean | undefined;
|
|
5307
|
+
parent_id?: string | undefined;
|
|
5308
|
+
is_parent_public?: boolean | undefined;
|
|
5219
5309
|
} & {
|
|
5220
5310
|
clan_id?: string | undefined;
|
|
5221
5311
|
channel_id?: string | undefined;
|
|
@@ -5225,6 +5315,8 @@ export declare const Envelope: {
|
|
|
5225
5315
|
timestamp_seconds?: number | undefined;
|
|
5226
5316
|
operation?: number | undefined;
|
|
5227
5317
|
is_public?: boolean | undefined;
|
|
5318
|
+
parent_id?: string | undefined;
|
|
5319
|
+
is_parent_public?: boolean | undefined;
|
|
5228
5320
|
} & { [K_202 in Exclude<keyof I_1["last_pin_message_event"], keyof LastPinMessageEvent>]: never; }) | undefined;
|
|
5229
5321
|
custom_status_event?: ({
|
|
5230
5322
|
clan_id?: string | undefined;
|
|
@@ -8468,6 +8560,8 @@ export declare const ChannelMessageSend: {
|
|
|
8468
8560
|
mention_everyone?: boolean | undefined;
|
|
8469
8561
|
avatar?: string | undefined;
|
|
8470
8562
|
is_public?: boolean | undefined;
|
|
8563
|
+
parent_id?: string | undefined;
|
|
8564
|
+
is_parent_public?: boolean | undefined;
|
|
8471
8565
|
} & {
|
|
8472
8566
|
clan_id?: string | undefined;
|
|
8473
8567
|
channel_id?: string | undefined;
|
|
@@ -8588,6 +8682,8 @@ export declare const ChannelMessageSend: {
|
|
|
8588
8682
|
mention_everyone?: boolean | undefined;
|
|
8589
8683
|
avatar?: string | undefined;
|
|
8590
8684
|
is_public?: boolean | undefined;
|
|
8685
|
+
parent_id?: string | undefined;
|
|
8686
|
+
is_parent_public?: boolean | undefined;
|
|
8591
8687
|
} & { [K_6 in Exclude<keyof I, keyof ChannelMessageSend>]: never; }>(base?: I | undefined): ChannelMessageSend;
|
|
8592
8688
|
fromPartial<I_1 extends {
|
|
8593
8689
|
clan_id?: string | undefined;
|
|
@@ -8628,6 +8724,8 @@ export declare const ChannelMessageSend: {
|
|
|
8628
8724
|
mention_everyone?: boolean | undefined;
|
|
8629
8725
|
avatar?: string | undefined;
|
|
8630
8726
|
is_public?: boolean | undefined;
|
|
8727
|
+
parent_id?: string | undefined;
|
|
8728
|
+
is_parent_public?: boolean | undefined;
|
|
8631
8729
|
} & {
|
|
8632
8730
|
clan_id?: string | undefined;
|
|
8633
8731
|
channel_id?: string | undefined;
|
|
@@ -8748,6 +8846,8 @@ export declare const ChannelMessageSend: {
|
|
|
8748
8846
|
mention_everyone?: boolean | undefined;
|
|
8749
8847
|
avatar?: string | undefined;
|
|
8750
8848
|
is_public?: boolean | undefined;
|
|
8849
|
+
parent_id?: string | undefined;
|
|
8850
|
+
is_parent_public?: boolean | undefined;
|
|
8751
8851
|
} & { [K_13 in Exclude<keyof I_1, keyof ChannelMessageSend>]: never; }>(object: I_1): ChannelMessageSend;
|
|
8752
8852
|
};
|
|
8753
8853
|
export declare const ChannelMessageUpdate: {
|
|
@@ -8781,6 +8881,8 @@ export declare const ChannelMessageUpdate: {
|
|
|
8781
8881
|
mode?: number | undefined;
|
|
8782
8882
|
is_public?: boolean | undefined;
|
|
8783
8883
|
hide_editted?: boolean | undefined;
|
|
8884
|
+
parent_id?: string | undefined;
|
|
8885
|
+
is_parent_public?: boolean | undefined;
|
|
8784
8886
|
} & {
|
|
8785
8887
|
clan_id?: string | undefined;
|
|
8786
8888
|
channel_id?: string | undefined;
|
|
@@ -8855,6 +8957,8 @@ export declare const ChannelMessageUpdate: {
|
|
|
8855
8957
|
mode?: number | undefined;
|
|
8856
8958
|
is_public?: boolean | undefined;
|
|
8857
8959
|
hide_editted?: boolean | undefined;
|
|
8960
|
+
parent_id?: string | undefined;
|
|
8961
|
+
is_parent_public?: boolean | undefined;
|
|
8858
8962
|
} & { [K_4 in Exclude<keyof I, keyof ChannelMessageUpdate>]: never; }>(base?: I | undefined): ChannelMessageUpdate;
|
|
8859
8963
|
fromPartial<I_1 extends {
|
|
8860
8964
|
clan_id?: string | undefined;
|
|
@@ -8882,6 +8986,8 @@ export declare const ChannelMessageUpdate: {
|
|
|
8882
8986
|
mode?: number | undefined;
|
|
8883
8987
|
is_public?: boolean | undefined;
|
|
8884
8988
|
hide_editted?: boolean | undefined;
|
|
8989
|
+
parent_id?: string | undefined;
|
|
8990
|
+
is_parent_public?: boolean | undefined;
|
|
8885
8991
|
} & {
|
|
8886
8992
|
clan_id?: string | undefined;
|
|
8887
8993
|
channel_id?: string | undefined;
|
|
@@ -8956,6 +9062,8 @@ export declare const ChannelMessageUpdate: {
|
|
|
8956
9062
|
mode?: number | undefined;
|
|
8957
9063
|
is_public?: boolean | undefined;
|
|
8958
9064
|
hide_editted?: boolean | undefined;
|
|
9065
|
+
parent_id?: string | undefined;
|
|
9066
|
+
is_parent_public?: boolean | undefined;
|
|
8959
9067
|
} & { [K_9 in Exclude<keyof I_1, keyof ChannelMessageUpdate>]: never; }>(object: I_1): ChannelMessageUpdate;
|
|
8960
9068
|
};
|
|
8961
9069
|
export declare const ChannelMessageRemove: {
|
|
@@ -8969,12 +9077,16 @@ export declare const ChannelMessageRemove: {
|
|
|
8969
9077
|
message_id?: string | undefined;
|
|
8970
9078
|
mode?: number | undefined;
|
|
8971
9079
|
is_public?: boolean | undefined;
|
|
9080
|
+
parent_id?: string | undefined;
|
|
9081
|
+
is_parent_public?: boolean | undefined;
|
|
8972
9082
|
} & {
|
|
8973
9083
|
clan_id?: string | undefined;
|
|
8974
9084
|
channel_id?: string | undefined;
|
|
8975
9085
|
message_id?: string | undefined;
|
|
8976
9086
|
mode?: number | undefined;
|
|
8977
9087
|
is_public?: boolean | undefined;
|
|
9088
|
+
parent_id?: string | undefined;
|
|
9089
|
+
is_parent_public?: boolean | undefined;
|
|
8978
9090
|
} & { [K in Exclude<keyof I, keyof ChannelMessageRemove>]: never; }>(base?: I | undefined): ChannelMessageRemove;
|
|
8979
9091
|
fromPartial<I_1 extends {
|
|
8980
9092
|
clan_id?: string | undefined;
|
|
@@ -8982,12 +9094,16 @@ export declare const ChannelMessageRemove: {
|
|
|
8982
9094
|
message_id?: string | undefined;
|
|
8983
9095
|
mode?: number | undefined;
|
|
8984
9096
|
is_public?: boolean | undefined;
|
|
9097
|
+
parent_id?: string | undefined;
|
|
9098
|
+
is_parent_public?: boolean | undefined;
|
|
8985
9099
|
} & {
|
|
8986
9100
|
clan_id?: string | undefined;
|
|
8987
9101
|
channel_id?: string | undefined;
|
|
8988
9102
|
message_id?: string | undefined;
|
|
8989
9103
|
mode?: number | undefined;
|
|
8990
9104
|
is_public?: boolean | undefined;
|
|
9105
|
+
parent_id?: string | undefined;
|
|
9106
|
+
is_parent_public?: boolean | undefined;
|
|
8991
9107
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelMessageRemove>]: never; }>(object: I_1): ChannelMessageRemove;
|
|
8992
9108
|
};
|
|
8993
9109
|
export declare const ChannelPresenceEvent: {
|
|
@@ -9604,6 +9720,8 @@ export declare const LastPinMessageEvent: {
|
|
|
9604
9720
|
timestamp_seconds?: number | undefined;
|
|
9605
9721
|
operation?: number | undefined;
|
|
9606
9722
|
is_public?: boolean | undefined;
|
|
9723
|
+
parent_id?: string | undefined;
|
|
9724
|
+
is_parent_public?: boolean | undefined;
|
|
9607
9725
|
} & {
|
|
9608
9726
|
clan_id?: string | undefined;
|
|
9609
9727
|
channel_id?: string | undefined;
|
|
@@ -9613,6 +9731,8 @@ export declare const LastPinMessageEvent: {
|
|
|
9613
9731
|
timestamp_seconds?: number | undefined;
|
|
9614
9732
|
operation?: number | undefined;
|
|
9615
9733
|
is_public?: boolean | undefined;
|
|
9734
|
+
parent_id?: string | undefined;
|
|
9735
|
+
is_parent_public?: boolean | undefined;
|
|
9616
9736
|
} & { [K in Exclude<keyof I, keyof LastPinMessageEvent>]: never; }>(base?: I | undefined): LastPinMessageEvent;
|
|
9617
9737
|
fromPartial<I_1 extends {
|
|
9618
9738
|
clan_id?: string | undefined;
|
|
@@ -9623,6 +9743,8 @@ export declare const LastPinMessageEvent: {
|
|
|
9623
9743
|
timestamp_seconds?: number | undefined;
|
|
9624
9744
|
operation?: number | undefined;
|
|
9625
9745
|
is_public?: boolean | undefined;
|
|
9746
|
+
parent_id?: string | undefined;
|
|
9747
|
+
is_parent_public?: boolean | undefined;
|
|
9626
9748
|
} & {
|
|
9627
9749
|
clan_id?: string | undefined;
|
|
9628
9750
|
channel_id?: string | undefined;
|
|
@@ -9632,6 +9754,8 @@ export declare const LastPinMessageEvent: {
|
|
|
9632
9754
|
timestamp_seconds?: number | undefined;
|
|
9633
9755
|
operation?: number | undefined;
|
|
9634
9756
|
is_public?: boolean | undefined;
|
|
9757
|
+
parent_id?: string | undefined;
|
|
9758
|
+
is_parent_public?: boolean | undefined;
|
|
9635
9759
|
} & { [K_1 in Exclude<keyof I_1, keyof LastPinMessageEvent>]: never; }>(object: I_1): LastPinMessageEvent;
|
|
9636
9760
|
};
|
|
9637
9761
|
export declare const LastSeenMessageEvent: {
|
|
@@ -9673,12 +9797,16 @@ export declare const MessageTypingEvent: {
|
|
|
9673
9797
|
sender_id?: string | undefined;
|
|
9674
9798
|
mode?: number | undefined;
|
|
9675
9799
|
is_public?: boolean | undefined;
|
|
9800
|
+
parent_id?: string | undefined;
|
|
9801
|
+
is_parent_public?: boolean | undefined;
|
|
9676
9802
|
} & {
|
|
9677
9803
|
clan_id?: string | undefined;
|
|
9678
9804
|
channel_id?: string | undefined;
|
|
9679
9805
|
sender_id?: string | undefined;
|
|
9680
9806
|
mode?: number | undefined;
|
|
9681
9807
|
is_public?: boolean | undefined;
|
|
9808
|
+
parent_id?: string | undefined;
|
|
9809
|
+
is_parent_public?: boolean | undefined;
|
|
9682
9810
|
} & { [K in Exclude<keyof I, keyof MessageTypingEvent>]: never; }>(base?: I | undefined): MessageTypingEvent;
|
|
9683
9811
|
fromPartial<I_1 extends {
|
|
9684
9812
|
clan_id?: string | undefined;
|
|
@@ -9686,12 +9814,16 @@ export declare const MessageTypingEvent: {
|
|
|
9686
9814
|
sender_id?: string | undefined;
|
|
9687
9815
|
mode?: number | undefined;
|
|
9688
9816
|
is_public?: boolean | undefined;
|
|
9817
|
+
parent_id?: string | undefined;
|
|
9818
|
+
is_parent_public?: boolean | undefined;
|
|
9689
9819
|
} & {
|
|
9690
9820
|
clan_id?: string | undefined;
|
|
9691
9821
|
channel_id?: string | undefined;
|
|
9692
9822
|
sender_id?: string | undefined;
|
|
9693
9823
|
mode?: number | undefined;
|
|
9694
9824
|
is_public?: boolean | undefined;
|
|
9825
|
+
parent_id?: string | undefined;
|
|
9826
|
+
is_parent_public?: boolean | undefined;
|
|
9695
9827
|
} & { [K_1 in Exclude<keyof I_1, keyof MessageTypingEvent>]: never; }>(object: I_1): MessageTypingEvent;
|
|
9696
9828
|
};
|
|
9697
9829
|
export declare const VoiceLeavedEvent: {
|