Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
jajbshjahavahh
GitHub Repository: jajbshjahavahh/Gojo-Satoru
Path: blob/master/node_modules/@adiwajshing/baileys/WAProto/index.d.ts
2593 views
1
import * as $protobuf from "protobufjs";
2
/** Namespace proto. */
3
export namespace proto {
4
5
/** Properties of an AppVersion. */
6
interface IAppVersion {
7
8
/** AppVersion primary */
9
primary?: (number|null);
10
11
/** AppVersion secondary */
12
secondary?: (number|null);
13
14
/** AppVersion tertiary */
15
tertiary?: (number|null);
16
17
/** AppVersion quaternary */
18
quaternary?: (number|null);
19
20
/** AppVersion quinary */
21
quinary?: (number|null);
22
}
23
24
/** Represents an AppVersion. */
25
class AppVersion implements IAppVersion {
26
27
/**
28
* Constructs a new AppVersion.
29
* @param [properties] Properties to set
30
*/
31
constructor(properties?: proto.IAppVersion);
32
33
/** AppVersion primary. */
34
public primary: number;
35
36
/** AppVersion secondary. */
37
public secondary: number;
38
39
/** AppVersion tertiary. */
40
public tertiary: number;
41
42
/** AppVersion quaternary. */
43
public quaternary: number;
44
45
/** AppVersion quinary. */
46
public quinary: number;
47
48
/**
49
* Creates a new AppVersion instance using the specified properties.
50
* @param [properties] Properties to set
51
* @returns AppVersion instance
52
*/
53
public static create(properties?: proto.IAppVersion): proto.AppVersion;
54
55
/**
56
* Encodes the specified AppVersion message. Does not implicitly {@link proto.AppVersion.verify|verify} messages.
57
* @param message AppVersion message or plain object to encode
58
* @param [writer] Writer to encode to
59
* @returns Writer
60
*/
61
public static encode(message: proto.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
62
63
/**
64
* Encodes the specified AppVersion message, length delimited. Does not implicitly {@link proto.AppVersion.verify|verify} messages.
65
* @param message AppVersion message or plain object to encode
66
* @param [writer] Writer to encode to
67
* @returns Writer
68
*/
69
public static encodeDelimited(message: proto.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
70
71
/**
72
* Decodes an AppVersion message from the specified reader or buffer.
73
* @param reader Reader or buffer to decode from
74
* @param [length] Message length if known beforehand
75
* @returns AppVersion
76
* @throws {Error} If the payload is not a reader or valid buffer
77
* @throws {$protobuf.util.ProtocolError} If required fields are missing
78
*/
79
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppVersion;
80
81
/**
82
* Decodes an AppVersion message from the specified reader or buffer, length delimited.
83
* @param reader Reader or buffer to decode from
84
* @returns AppVersion
85
* @throws {Error} If the payload is not a reader or valid buffer
86
* @throws {$protobuf.util.ProtocolError} If required fields are missing
87
*/
88
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppVersion;
89
90
/**
91
* Verifies an AppVersion message.
92
* @param message Plain object to verify
93
* @returns `null` if valid, otherwise the reason why it is not
94
*/
95
public static verify(message: { [k: string]: any }): (string|null);
96
97
/**
98
* Creates an AppVersion message from a plain object. Also converts values to their respective internal types.
99
* @param object Plain object
100
* @returns AppVersion
101
*/
102
public static fromObject(object: { [k: string]: any }): proto.AppVersion;
103
104
/**
105
* Creates a plain object from an AppVersion message. Also converts values to other types if specified.
106
* @param message AppVersion
107
* @param [options] Conversion options
108
* @returns Plain object
109
*/
110
public static toObject(message: proto.AppVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
111
112
/**
113
* Converts this AppVersion to JSON.
114
* @returns JSON object
115
*/
116
public toJSON(): { [k: string]: any };
117
}
118
119
/** Properties of a UserAgent. */
120
interface IUserAgent {
121
122
/** UserAgent platform */
123
platform?: (proto.UserAgent.UserAgentPlatform|null);
124
125
/** UserAgent appVersion */
126
appVersion?: (proto.IAppVersion|null);
127
128
/** UserAgent mcc */
129
mcc?: (string|null);
130
131
/** UserAgent mnc */
132
mnc?: (string|null);
133
134
/** UserAgent osVersion */
135
osVersion?: (string|null);
136
137
/** UserAgent manufacturer */
138
manufacturer?: (string|null);
139
140
/** UserAgent device */
141
device?: (string|null);
142
143
/** UserAgent osBuildNumber */
144
osBuildNumber?: (string|null);
145
146
/** UserAgent phoneId */
147
phoneId?: (string|null);
148
149
/** UserAgent releaseChannel */
150
releaseChannel?: (proto.UserAgent.UserAgentReleaseChannel|null);
151
152
/** UserAgent localeLanguageIso6391 */
153
localeLanguageIso6391?: (string|null);
154
155
/** UserAgent localeCountryIso31661Alpha2 */
156
localeCountryIso31661Alpha2?: (string|null);
157
158
/** UserAgent deviceBoard */
159
deviceBoard?: (string|null);
160
}
161
162
/** Represents a UserAgent. */
163
class UserAgent implements IUserAgent {
164
165
/**
166
* Constructs a new UserAgent.
167
* @param [properties] Properties to set
168
*/
169
constructor(properties?: proto.IUserAgent);
170
171
/** UserAgent platform. */
172
public platform: proto.UserAgent.UserAgentPlatform;
173
174
/** UserAgent appVersion. */
175
public appVersion?: (proto.IAppVersion|null);
176
177
/** UserAgent mcc. */
178
public mcc: string;
179
180
/** UserAgent mnc. */
181
public mnc: string;
182
183
/** UserAgent osVersion. */
184
public osVersion: string;
185
186
/** UserAgent manufacturer. */
187
public manufacturer: string;
188
189
/** UserAgent device. */
190
public device: string;
191
192
/** UserAgent osBuildNumber. */
193
public osBuildNumber: string;
194
195
/** UserAgent phoneId. */
196
public phoneId: string;
197
198
/** UserAgent releaseChannel. */
199
public releaseChannel: proto.UserAgent.UserAgentReleaseChannel;
200
201
/** UserAgent localeLanguageIso6391. */
202
public localeLanguageIso6391: string;
203
204
/** UserAgent localeCountryIso31661Alpha2. */
205
public localeCountryIso31661Alpha2: string;
206
207
/** UserAgent deviceBoard. */
208
public deviceBoard: string;
209
210
/**
211
* Creates a new UserAgent instance using the specified properties.
212
* @param [properties] Properties to set
213
* @returns UserAgent instance
214
*/
215
public static create(properties?: proto.IUserAgent): proto.UserAgent;
216
217
/**
218
* Encodes the specified UserAgent message. Does not implicitly {@link proto.UserAgent.verify|verify} messages.
219
* @param message UserAgent message or plain object to encode
220
* @param [writer] Writer to encode to
221
* @returns Writer
222
*/
223
public static encode(message: proto.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer;
224
225
/**
226
* Encodes the specified UserAgent message, length delimited. Does not implicitly {@link proto.UserAgent.verify|verify} messages.
227
* @param message UserAgent message or plain object to encode
228
* @param [writer] Writer to encode to
229
* @returns Writer
230
*/
231
public static encodeDelimited(message: proto.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer;
232
233
/**
234
* Decodes a UserAgent message from the specified reader or buffer.
235
* @param reader Reader or buffer to decode from
236
* @param [length] Message length if known beforehand
237
* @returns UserAgent
238
* @throws {Error} If the payload is not a reader or valid buffer
239
* @throws {$protobuf.util.ProtocolError} If required fields are missing
240
*/
241
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.UserAgent;
242
243
/**
244
* Decodes a UserAgent message from the specified reader or buffer, length delimited.
245
* @param reader Reader or buffer to decode from
246
* @returns UserAgent
247
* @throws {Error} If the payload is not a reader or valid buffer
248
* @throws {$protobuf.util.ProtocolError} If required fields are missing
249
*/
250
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.UserAgent;
251
252
/**
253
* Verifies a UserAgent message.
254
* @param message Plain object to verify
255
* @returns `null` if valid, otherwise the reason why it is not
256
*/
257
public static verify(message: { [k: string]: any }): (string|null);
258
259
/**
260
* Creates a UserAgent message from a plain object. Also converts values to their respective internal types.
261
* @param object Plain object
262
* @returns UserAgent
263
*/
264
public static fromObject(object: { [k: string]: any }): proto.UserAgent;
265
266
/**
267
* Creates a plain object from a UserAgent message. Also converts values to other types if specified.
268
* @param message UserAgent
269
* @param [options] Conversion options
270
* @returns Plain object
271
*/
272
public static toObject(message: proto.UserAgent, options?: $protobuf.IConversionOptions): { [k: string]: any };
273
274
/**
275
* Converts this UserAgent to JSON.
276
* @returns JSON object
277
*/
278
public toJSON(): { [k: string]: any };
279
}
280
281
namespace UserAgent {
282
283
/** UserAgentPlatform enum. */
284
enum UserAgentPlatform {
285
ANDROID = 0,
286
IOS = 1,
287
WINDOWS_PHONE = 2,
288
BLACKBERRY = 3,
289
BLACKBERRYX = 4,
290
S40 = 5,
291
S60 = 6,
292
PYTHON_CLIENT = 7,
293
TIZEN = 8,
294
ENTERPRISE = 9,
295
SMB_ANDROID = 10,
296
KAIOS = 11,
297
SMB_IOS = 12,
298
WINDOWS = 13,
299
WEB = 14,
300
PORTAL = 15,
301
GREEN_ANDROID = 16,
302
GREEN_IPHONE = 17,
303
BLUE_ANDROID = 18,
304
BLUE_IPHONE = 19,
305
FBLITE_ANDROID = 20,
306
MLITE_ANDROID = 21,
307
IGLITE_ANDROID = 22,
308
PAGE = 23,
309
MACOS = 24,
310
OCULUS_MSG = 25,
311
OCULUS_CALL = 26,
312
MILAN = 27,
313
CAPI = 28
314
}
315
316
/** UserAgentReleaseChannel enum. */
317
enum UserAgentReleaseChannel {
318
RELEASE = 0,
319
BETA = 1,
320
ALPHA = 2,
321
DEBUG = 3
322
}
323
}
324
325
/** Properties of a WebdPayload. */
326
interface IWebdPayload {
327
328
/** WebdPayload usesParticipantInKey */
329
usesParticipantInKey?: (boolean|null);
330
331
/** WebdPayload supportsStarredMessages */
332
supportsStarredMessages?: (boolean|null);
333
334
/** WebdPayload supportsDocumentMessages */
335
supportsDocumentMessages?: (boolean|null);
336
337
/** WebdPayload supportsUrlMessages */
338
supportsUrlMessages?: (boolean|null);
339
340
/** WebdPayload supportsMediaRetry */
341
supportsMediaRetry?: (boolean|null);
342
343
/** WebdPayload supportsE2EImage */
344
supportsE2EImage?: (boolean|null);
345
346
/** WebdPayload supportsE2EVideo */
347
supportsE2EVideo?: (boolean|null);
348
349
/** WebdPayload supportsE2EAudio */
350
supportsE2EAudio?: (boolean|null);
351
352
/** WebdPayload supportsE2EDocument */
353
supportsE2EDocument?: (boolean|null);
354
355
/** WebdPayload documentTypes */
356
documentTypes?: (string|null);
357
358
/** WebdPayload features */
359
features?: (Uint8Array|null);
360
}
361
362
/** Represents a WebdPayload. */
363
class WebdPayload implements IWebdPayload {
364
365
/**
366
* Constructs a new WebdPayload.
367
* @param [properties] Properties to set
368
*/
369
constructor(properties?: proto.IWebdPayload);
370
371
/** WebdPayload usesParticipantInKey. */
372
public usesParticipantInKey: boolean;
373
374
/** WebdPayload supportsStarredMessages. */
375
public supportsStarredMessages: boolean;
376
377
/** WebdPayload supportsDocumentMessages. */
378
public supportsDocumentMessages: boolean;
379
380
/** WebdPayload supportsUrlMessages. */
381
public supportsUrlMessages: boolean;
382
383
/** WebdPayload supportsMediaRetry. */
384
public supportsMediaRetry: boolean;
385
386
/** WebdPayload supportsE2EImage. */
387
public supportsE2EImage: boolean;
388
389
/** WebdPayload supportsE2EVideo. */
390
public supportsE2EVideo: boolean;
391
392
/** WebdPayload supportsE2EAudio. */
393
public supportsE2EAudio: boolean;
394
395
/** WebdPayload supportsE2EDocument. */
396
public supportsE2EDocument: boolean;
397
398
/** WebdPayload documentTypes. */
399
public documentTypes: string;
400
401
/** WebdPayload features. */
402
public features: Uint8Array;
403
404
/**
405
* Creates a new WebdPayload instance using the specified properties.
406
* @param [properties] Properties to set
407
* @returns WebdPayload instance
408
*/
409
public static create(properties?: proto.IWebdPayload): proto.WebdPayload;
410
411
/**
412
* Encodes the specified WebdPayload message. Does not implicitly {@link proto.WebdPayload.verify|verify} messages.
413
* @param message WebdPayload message or plain object to encode
414
* @param [writer] Writer to encode to
415
* @returns Writer
416
*/
417
public static encode(message: proto.IWebdPayload, writer?: $protobuf.Writer): $protobuf.Writer;
418
419
/**
420
* Encodes the specified WebdPayload message, length delimited. Does not implicitly {@link proto.WebdPayload.verify|verify} messages.
421
* @param message WebdPayload message or plain object to encode
422
* @param [writer] Writer to encode to
423
* @returns Writer
424
*/
425
public static encodeDelimited(message: proto.IWebdPayload, writer?: $protobuf.Writer): $protobuf.Writer;
426
427
/**
428
* Decodes a WebdPayload message from the specified reader or buffer.
429
* @param reader Reader or buffer to decode from
430
* @param [length] Message length if known beforehand
431
* @returns WebdPayload
432
* @throws {Error} If the payload is not a reader or valid buffer
433
* @throws {$protobuf.util.ProtocolError} If required fields are missing
434
*/
435
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.WebdPayload;
436
437
/**
438
* Decodes a WebdPayload message from the specified reader or buffer, length delimited.
439
* @param reader Reader or buffer to decode from
440
* @returns WebdPayload
441
* @throws {Error} If the payload is not a reader or valid buffer
442
* @throws {$protobuf.util.ProtocolError} If required fields are missing
443
*/
444
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.WebdPayload;
445
446
/**
447
* Verifies a WebdPayload message.
448
* @param message Plain object to verify
449
* @returns `null` if valid, otherwise the reason why it is not
450
*/
451
public static verify(message: { [k: string]: any }): (string|null);
452
453
/**
454
* Creates a WebdPayload message from a plain object. Also converts values to their respective internal types.
455
* @param object Plain object
456
* @returns WebdPayload
457
*/
458
public static fromObject(object: { [k: string]: any }): proto.WebdPayload;
459
460
/**
461
* Creates a plain object from a WebdPayload message. Also converts values to other types if specified.
462
* @param message WebdPayload
463
* @param [options] Conversion options
464
* @returns Plain object
465
*/
466
public static toObject(message: proto.WebdPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
467
468
/**
469
* Converts this WebdPayload to JSON.
470
* @returns JSON object
471
*/
472
public toJSON(): { [k: string]: any };
473
}
474
475
/** Properties of a WebInfo. */
476
interface IWebInfo {
477
478
/** WebInfo refToken */
479
refToken?: (string|null);
480
481
/** WebInfo version */
482
version?: (string|null);
483
484
/** WebInfo webdPayload */
485
webdPayload?: (proto.IWebdPayload|null);
486
487
/** WebInfo webSubPlatform */
488
webSubPlatform?: (proto.WebInfo.WebInfoWebSubPlatform|null);
489
}
490
491
/** Represents a WebInfo. */
492
class WebInfo implements IWebInfo {
493
494
/**
495
* Constructs a new WebInfo.
496
* @param [properties] Properties to set
497
*/
498
constructor(properties?: proto.IWebInfo);
499
500
/** WebInfo refToken. */
501
public refToken: string;
502
503
/** WebInfo version. */
504
public version: string;
505
506
/** WebInfo webdPayload. */
507
public webdPayload?: (proto.IWebdPayload|null);
508
509
/** WebInfo webSubPlatform. */
510
public webSubPlatform: proto.WebInfo.WebInfoWebSubPlatform;
511
512
/**
513
* Creates a new WebInfo instance using the specified properties.
514
* @param [properties] Properties to set
515
* @returns WebInfo instance
516
*/
517
public static create(properties?: proto.IWebInfo): proto.WebInfo;
518
519
/**
520
* Encodes the specified WebInfo message. Does not implicitly {@link proto.WebInfo.verify|verify} messages.
521
* @param message WebInfo message or plain object to encode
522
* @param [writer] Writer to encode to
523
* @returns Writer
524
*/
525
public static encode(message: proto.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer;
526
527
/**
528
* Encodes the specified WebInfo message, length delimited. Does not implicitly {@link proto.WebInfo.verify|verify} messages.
529
* @param message WebInfo message or plain object to encode
530
* @param [writer] Writer to encode to
531
* @returns Writer
532
*/
533
public static encodeDelimited(message: proto.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer;
534
535
/**
536
* Decodes a WebInfo message from the specified reader or buffer.
537
* @param reader Reader or buffer to decode from
538
* @param [length] Message length if known beforehand
539
* @returns WebInfo
540
* @throws {Error} If the payload is not a reader or valid buffer
541
* @throws {$protobuf.util.ProtocolError} If required fields are missing
542
*/
543
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.WebInfo;
544
545
/**
546
* Decodes a WebInfo message from the specified reader or buffer, length delimited.
547
* @param reader Reader or buffer to decode from
548
* @returns WebInfo
549
* @throws {Error} If the payload is not a reader or valid buffer
550
* @throws {$protobuf.util.ProtocolError} If required fields are missing
551
*/
552
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.WebInfo;
553
554
/**
555
* Verifies a WebInfo message.
556
* @param message Plain object to verify
557
* @returns `null` if valid, otherwise the reason why it is not
558
*/
559
public static verify(message: { [k: string]: any }): (string|null);
560
561
/**
562
* Creates a WebInfo message from a plain object. Also converts values to their respective internal types.
563
* @param object Plain object
564
* @returns WebInfo
565
*/
566
public static fromObject(object: { [k: string]: any }): proto.WebInfo;
567
568
/**
569
* Creates a plain object from a WebInfo message. Also converts values to other types if specified.
570
* @param message WebInfo
571
* @param [options] Conversion options
572
* @returns Plain object
573
*/
574
public static toObject(message: proto.WebInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
575
576
/**
577
* Converts this WebInfo to JSON.
578
* @returns JSON object
579
*/
580
public toJSON(): { [k: string]: any };
581
}
582
583
namespace WebInfo {
584
585
/** WebInfoWebSubPlatform enum. */
586
enum WebInfoWebSubPlatform {
587
WEB_BROWSER = 0,
588
APP_STORE = 1,
589
WIN_STORE = 2,
590
DARWIN = 3,
591
WIN32 = 4
592
}
593
}
594
595
/** Properties of a DNSSource. */
596
interface IDNSSource {
597
598
/** DNSSource dnsMethod */
599
dnsMethod?: (proto.DNSSource.DNSSourceDNSResolutionMethod|null);
600
601
/** DNSSource appCached */
602
appCached?: (boolean|null);
603
}
604
605
/** Represents a DNSSource. */
606
class DNSSource implements IDNSSource {
607
608
/**
609
* Constructs a new DNSSource.
610
* @param [properties] Properties to set
611
*/
612
constructor(properties?: proto.IDNSSource);
613
614
/** DNSSource dnsMethod. */
615
public dnsMethod: proto.DNSSource.DNSSourceDNSResolutionMethod;
616
617
/** DNSSource appCached. */
618
public appCached: boolean;
619
620
/**
621
* Creates a new DNSSource instance using the specified properties.
622
* @param [properties] Properties to set
623
* @returns DNSSource instance
624
*/
625
public static create(properties?: proto.IDNSSource): proto.DNSSource;
626
627
/**
628
* Encodes the specified DNSSource message. Does not implicitly {@link proto.DNSSource.verify|verify} messages.
629
* @param message DNSSource message or plain object to encode
630
* @param [writer] Writer to encode to
631
* @returns Writer
632
*/
633
public static encode(message: proto.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer;
634
635
/**
636
* Encodes the specified DNSSource message, length delimited. Does not implicitly {@link proto.DNSSource.verify|verify} messages.
637
* @param message DNSSource message or plain object to encode
638
* @param [writer] Writer to encode to
639
* @returns Writer
640
*/
641
public static encodeDelimited(message: proto.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer;
642
643
/**
644
* Decodes a DNSSource message from the specified reader or buffer.
645
* @param reader Reader or buffer to decode from
646
* @param [length] Message length if known beforehand
647
* @returns DNSSource
648
* @throws {Error} If the payload is not a reader or valid buffer
649
* @throws {$protobuf.util.ProtocolError} If required fields are missing
650
*/
651
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DNSSource;
652
653
/**
654
* Decodes a DNSSource message from the specified reader or buffer, length delimited.
655
* @param reader Reader or buffer to decode from
656
* @returns DNSSource
657
* @throws {Error} If the payload is not a reader or valid buffer
658
* @throws {$protobuf.util.ProtocolError} If required fields are missing
659
*/
660
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DNSSource;
661
662
/**
663
* Verifies a DNSSource message.
664
* @param message Plain object to verify
665
* @returns `null` if valid, otherwise the reason why it is not
666
*/
667
public static verify(message: { [k: string]: any }): (string|null);
668
669
/**
670
* Creates a DNSSource message from a plain object. Also converts values to their respective internal types.
671
* @param object Plain object
672
* @returns DNSSource
673
*/
674
public static fromObject(object: { [k: string]: any }): proto.DNSSource;
675
676
/**
677
* Creates a plain object from a DNSSource message. Also converts values to other types if specified.
678
* @param message DNSSource
679
* @param [options] Conversion options
680
* @returns Plain object
681
*/
682
public static toObject(message: proto.DNSSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
683
684
/**
685
* Converts this DNSSource to JSON.
686
* @returns JSON object
687
*/
688
public toJSON(): { [k: string]: any };
689
}
690
691
namespace DNSSource {
692
693
/** DNSSourceDNSResolutionMethod enum. */
694
enum DNSSourceDNSResolutionMethod {
695
SYSTEM = 0,
696
GOOGLE = 1,
697
HARDCODED = 2,
698
OVERRIDE = 3,
699
FALLBACK = 4
700
}
701
}
702
703
/** Properties of a CompanionRegData. */
704
interface ICompanionRegData {
705
706
/** CompanionRegData eRegid */
707
eRegid?: (Uint8Array|null);
708
709
/** CompanionRegData eKeytype */
710
eKeytype?: (Uint8Array|null);
711
712
/** CompanionRegData eIdent */
713
eIdent?: (Uint8Array|null);
714
715
/** CompanionRegData eSkeyId */
716
eSkeyId?: (Uint8Array|null);
717
718
/** CompanionRegData eSkeyVal */
719
eSkeyVal?: (Uint8Array|null);
720
721
/** CompanionRegData eSkeySig */
722
eSkeySig?: (Uint8Array|null);
723
724
/** CompanionRegData buildHash */
725
buildHash?: (Uint8Array|null);
726
727
/** CompanionRegData companionProps */
728
companionProps?: (Uint8Array|null);
729
}
730
731
/** Represents a CompanionRegData. */
732
class CompanionRegData implements ICompanionRegData {
733
734
/**
735
* Constructs a new CompanionRegData.
736
* @param [properties] Properties to set
737
*/
738
constructor(properties?: proto.ICompanionRegData);
739
740
/** CompanionRegData eRegid. */
741
public eRegid: Uint8Array;
742
743
/** CompanionRegData eKeytype. */
744
public eKeytype: Uint8Array;
745
746
/** CompanionRegData eIdent. */
747
public eIdent: Uint8Array;
748
749
/** CompanionRegData eSkeyId. */
750
public eSkeyId: Uint8Array;
751
752
/** CompanionRegData eSkeyVal. */
753
public eSkeyVal: Uint8Array;
754
755
/** CompanionRegData eSkeySig. */
756
public eSkeySig: Uint8Array;
757
758
/** CompanionRegData buildHash. */
759
public buildHash: Uint8Array;
760
761
/** CompanionRegData companionProps. */
762
public companionProps: Uint8Array;
763
764
/**
765
* Creates a new CompanionRegData instance using the specified properties.
766
* @param [properties] Properties to set
767
* @returns CompanionRegData instance
768
*/
769
public static create(properties?: proto.ICompanionRegData): proto.CompanionRegData;
770
771
/**
772
* Encodes the specified CompanionRegData message. Does not implicitly {@link proto.CompanionRegData.verify|verify} messages.
773
* @param message CompanionRegData message or plain object to encode
774
* @param [writer] Writer to encode to
775
* @returns Writer
776
*/
777
public static encode(message: proto.ICompanionRegData, writer?: $protobuf.Writer): $protobuf.Writer;
778
779
/**
780
* Encodes the specified CompanionRegData message, length delimited. Does not implicitly {@link proto.CompanionRegData.verify|verify} messages.
781
* @param message CompanionRegData message or plain object to encode
782
* @param [writer] Writer to encode to
783
* @returns Writer
784
*/
785
public static encodeDelimited(message: proto.ICompanionRegData, writer?: $protobuf.Writer): $protobuf.Writer;
786
787
/**
788
* Decodes a CompanionRegData message from the specified reader or buffer.
789
* @param reader Reader or buffer to decode from
790
* @param [length] Message length if known beforehand
791
* @returns CompanionRegData
792
* @throws {Error} If the payload is not a reader or valid buffer
793
* @throws {$protobuf.util.ProtocolError} If required fields are missing
794
*/
795
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CompanionRegData;
796
797
/**
798
* Decodes a CompanionRegData message from the specified reader or buffer, length delimited.
799
* @param reader Reader or buffer to decode from
800
* @returns CompanionRegData
801
* @throws {Error} If the payload is not a reader or valid buffer
802
* @throws {$protobuf.util.ProtocolError} If required fields are missing
803
*/
804
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CompanionRegData;
805
806
/**
807
* Verifies a CompanionRegData message.
808
* @param message Plain object to verify
809
* @returns `null` if valid, otherwise the reason why it is not
810
*/
811
public static verify(message: { [k: string]: any }): (string|null);
812
813
/**
814
* Creates a CompanionRegData message from a plain object. Also converts values to their respective internal types.
815
* @param object Plain object
816
* @returns CompanionRegData
817
*/
818
public static fromObject(object: { [k: string]: any }): proto.CompanionRegData;
819
820
/**
821
* Creates a plain object from a CompanionRegData message. Also converts values to other types if specified.
822
* @param message CompanionRegData
823
* @param [options] Conversion options
824
* @returns Plain object
825
*/
826
public static toObject(message: proto.CompanionRegData, options?: $protobuf.IConversionOptions): { [k: string]: any };
827
828
/**
829
* Converts this CompanionRegData to JSON.
830
* @returns JSON object
831
*/
832
public toJSON(): { [k: string]: any };
833
}
834
835
/** Properties of a ClientPayload. */
836
interface IClientPayload {
837
838
/** ClientPayload username */
839
username?: (number|Long|null);
840
841
/** ClientPayload passive */
842
passive?: (boolean|null);
843
844
/** ClientPayload userAgent */
845
userAgent?: (proto.IUserAgent|null);
846
847
/** ClientPayload webInfo */
848
webInfo?: (proto.IWebInfo|null);
849
850
/** ClientPayload pushName */
851
pushName?: (string|null);
852
853
/** ClientPayload sessionId */
854
sessionId?: (number|null);
855
856
/** ClientPayload shortConnect */
857
shortConnect?: (boolean|null);
858
859
/** ClientPayload connectType */
860
connectType?: (proto.ClientPayload.ClientPayloadConnectType|null);
861
862
/** ClientPayload connectReason */
863
connectReason?: (proto.ClientPayload.ClientPayloadConnectReason|null);
864
865
/** ClientPayload shards */
866
shards?: (number[]|null);
867
868
/** ClientPayload dnsSource */
869
dnsSource?: (proto.IDNSSource|null);
870
871
/** ClientPayload connectAttemptCount */
872
connectAttemptCount?: (number|null);
873
874
/** ClientPayload device */
875
device?: (number|null);
876
877
/** ClientPayload regData */
878
regData?: (proto.ICompanionRegData|null);
879
880
/** ClientPayload product */
881
product?: (proto.ClientPayload.ClientPayloadProduct|null);
882
883
/** ClientPayload fbCat */
884
fbCat?: (Uint8Array|null);
885
886
/** ClientPayload fbUserAgent */
887
fbUserAgent?: (Uint8Array|null);
888
889
/** ClientPayload oc */
890
oc?: (boolean|null);
891
892
/** ClientPayload lc */
893
lc?: (number|null);
894
895
/** ClientPayload iosAppExtension */
896
iosAppExtension?: (proto.ClientPayload.ClientPayloadIOSAppExtension|null);
897
898
/** ClientPayload fbAppId */
899
fbAppId?: (number|Long|null);
900
901
/** ClientPayload fbDeviceId */
902
fbDeviceId?: (Uint8Array|null);
903
}
904
905
/** Represents a ClientPayload. */
906
class ClientPayload implements IClientPayload {
907
908
/**
909
* Constructs a new ClientPayload.
910
* @param [properties] Properties to set
911
*/
912
constructor(properties?: proto.IClientPayload);
913
914
/** ClientPayload username. */
915
public username: (number|Long);
916
917
/** ClientPayload passive. */
918
public passive: boolean;
919
920
/** ClientPayload userAgent. */
921
public userAgent?: (proto.IUserAgent|null);
922
923
/** ClientPayload webInfo. */
924
public webInfo?: (proto.IWebInfo|null);
925
926
/** ClientPayload pushName. */
927
public pushName: string;
928
929
/** ClientPayload sessionId. */
930
public sessionId: number;
931
932
/** ClientPayload shortConnect. */
933
public shortConnect: boolean;
934
935
/** ClientPayload connectType. */
936
public connectType: proto.ClientPayload.ClientPayloadConnectType;
937
938
/** ClientPayload connectReason. */
939
public connectReason: proto.ClientPayload.ClientPayloadConnectReason;
940
941
/** ClientPayload shards. */
942
public shards: number[];
943
944
/** ClientPayload dnsSource. */
945
public dnsSource?: (proto.IDNSSource|null);
946
947
/** ClientPayload connectAttemptCount. */
948
public connectAttemptCount: number;
949
950
/** ClientPayload device. */
951
public device: number;
952
953
/** ClientPayload regData. */
954
public regData?: (proto.ICompanionRegData|null);
955
956
/** ClientPayload product. */
957
public product: proto.ClientPayload.ClientPayloadProduct;
958
959
/** ClientPayload fbCat. */
960
public fbCat: Uint8Array;
961
962
/** ClientPayload fbUserAgent. */
963
public fbUserAgent: Uint8Array;
964
965
/** ClientPayload oc. */
966
public oc: boolean;
967
968
/** ClientPayload lc. */
969
public lc: number;
970
971
/** ClientPayload iosAppExtension. */
972
public iosAppExtension: proto.ClientPayload.ClientPayloadIOSAppExtension;
973
974
/** ClientPayload fbAppId. */
975
public fbAppId: (number|Long);
976
977
/** ClientPayload fbDeviceId. */
978
public fbDeviceId: Uint8Array;
979
980
/**
981
* Creates a new ClientPayload instance using the specified properties.
982
* @param [properties] Properties to set
983
* @returns ClientPayload instance
984
*/
985
public static create(properties?: proto.IClientPayload): proto.ClientPayload;
986
987
/**
988
* Encodes the specified ClientPayload message. Does not implicitly {@link proto.ClientPayload.verify|verify} messages.
989
* @param message ClientPayload message or plain object to encode
990
* @param [writer] Writer to encode to
991
* @returns Writer
992
*/
993
public static encode(message: proto.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer;
994
995
/**
996
* Encodes the specified ClientPayload message, length delimited. Does not implicitly {@link proto.ClientPayload.verify|verify} messages.
997
* @param message ClientPayload message or plain object to encode
998
* @param [writer] Writer to encode to
999
* @returns Writer
1000
*/
1001
public static encodeDelimited(message: proto.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer;
1002
1003
/**
1004
* Decodes a ClientPayload message from the specified reader or buffer.
1005
* @param reader Reader or buffer to decode from
1006
* @param [length] Message length if known beforehand
1007
* @returns ClientPayload
1008
* @throws {Error} If the payload is not a reader or valid buffer
1009
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1010
*/
1011
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientPayload;
1012
1013
/**
1014
* Decodes a ClientPayload message from the specified reader or buffer, length delimited.
1015
* @param reader Reader or buffer to decode from
1016
* @returns ClientPayload
1017
* @throws {Error} If the payload is not a reader or valid buffer
1018
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1019
*/
1020
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientPayload;
1021
1022
/**
1023
* Verifies a ClientPayload message.
1024
* @param message Plain object to verify
1025
* @returns `null` if valid, otherwise the reason why it is not
1026
*/
1027
public static verify(message: { [k: string]: any }): (string|null);
1028
1029
/**
1030
* Creates a ClientPayload message from a plain object. Also converts values to their respective internal types.
1031
* @param object Plain object
1032
* @returns ClientPayload
1033
*/
1034
public static fromObject(object: { [k: string]: any }): proto.ClientPayload;
1035
1036
/**
1037
* Creates a plain object from a ClientPayload message. Also converts values to other types if specified.
1038
* @param message ClientPayload
1039
* @param [options] Conversion options
1040
* @returns Plain object
1041
*/
1042
public static toObject(message: proto.ClientPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
1043
1044
/**
1045
* Converts this ClientPayload to JSON.
1046
* @returns JSON object
1047
*/
1048
public toJSON(): { [k: string]: any };
1049
}
1050
1051
namespace ClientPayload {
1052
1053
/** ClientPayloadConnectType enum. */
1054
enum ClientPayloadConnectType {
1055
CELLULAR_UNKNOWN = 0,
1056
WIFI_UNKNOWN = 1,
1057
CELLULAR_EDGE = 100,
1058
CELLULAR_IDEN = 101,
1059
CELLULAR_UMTS = 102,
1060
CELLULAR_EVDO = 103,
1061
CELLULAR_GPRS = 104,
1062
CELLULAR_HSDPA = 105,
1063
CELLULAR_HSUPA = 106,
1064
CELLULAR_HSPA = 107,
1065
CELLULAR_CDMA = 108,
1066
CELLULAR_1XRTT = 109,
1067
CELLULAR_EHRPD = 110,
1068
CELLULAR_LTE = 111,
1069
CELLULAR_HSPAP = 112
1070
}
1071
1072
/** ClientPayloadConnectReason enum. */
1073
enum ClientPayloadConnectReason {
1074
PUSH = 0,
1075
USER_ACTIVATED = 1,
1076
SCHEDULED = 2,
1077
ERROR_RECONNECT = 3,
1078
NETWORK_SWITCH = 4,
1079
PING_RECONNECT = 5
1080
}
1081
1082
/** ClientPayloadProduct enum. */
1083
enum ClientPayloadProduct {
1084
WHATSAPP = 0,
1085
MESSENGER = 1
1086
}
1087
1088
/** ClientPayloadIOSAppExtension enum. */
1089
enum ClientPayloadIOSAppExtension {
1090
SHARE_EXTENSION = 0,
1091
SERVICE_EXTENSION = 1,
1092
INTENTS_EXTENSION = 2
1093
}
1094
}
1095
1096
/** Properties of a NoiseCertificateDetails. */
1097
interface INoiseCertificateDetails {
1098
1099
/** NoiseCertificateDetails serial */
1100
serial?: (number|null);
1101
1102
/** NoiseCertificateDetails issuer */
1103
issuer?: (string|null);
1104
1105
/** NoiseCertificateDetails expires */
1106
expires?: (number|Long|null);
1107
1108
/** NoiseCertificateDetails subject */
1109
subject?: (string|null);
1110
1111
/** NoiseCertificateDetails key */
1112
key?: (Uint8Array|null);
1113
}
1114
1115
/** Represents a NoiseCertificateDetails. */
1116
class NoiseCertificateDetails implements INoiseCertificateDetails {
1117
1118
/**
1119
* Constructs a new NoiseCertificateDetails.
1120
* @param [properties] Properties to set
1121
*/
1122
constructor(properties?: proto.INoiseCertificateDetails);
1123
1124
/** NoiseCertificateDetails serial. */
1125
public serial: number;
1126
1127
/** NoiseCertificateDetails issuer. */
1128
public issuer: string;
1129
1130
/** NoiseCertificateDetails expires. */
1131
public expires: (number|Long);
1132
1133
/** NoiseCertificateDetails subject. */
1134
public subject: string;
1135
1136
/** NoiseCertificateDetails key. */
1137
public key: Uint8Array;
1138
1139
/**
1140
* Creates a new NoiseCertificateDetails instance using the specified properties.
1141
* @param [properties] Properties to set
1142
* @returns NoiseCertificateDetails instance
1143
*/
1144
public static create(properties?: proto.INoiseCertificateDetails): proto.NoiseCertificateDetails;
1145
1146
/**
1147
* Encodes the specified NoiseCertificateDetails message. Does not implicitly {@link proto.NoiseCertificateDetails.verify|verify} messages.
1148
* @param message NoiseCertificateDetails message or plain object to encode
1149
* @param [writer] Writer to encode to
1150
* @returns Writer
1151
*/
1152
public static encode(message: proto.INoiseCertificateDetails, writer?: $protobuf.Writer): $protobuf.Writer;
1153
1154
/**
1155
* Encodes the specified NoiseCertificateDetails message, length delimited. Does not implicitly {@link proto.NoiseCertificateDetails.verify|verify} messages.
1156
* @param message NoiseCertificateDetails message or plain object to encode
1157
* @param [writer] Writer to encode to
1158
* @returns Writer
1159
*/
1160
public static encodeDelimited(message: proto.INoiseCertificateDetails, writer?: $protobuf.Writer): $protobuf.Writer;
1161
1162
/**
1163
* Decodes a NoiseCertificateDetails message from the specified reader or buffer.
1164
* @param reader Reader or buffer to decode from
1165
* @param [length] Message length if known beforehand
1166
* @returns NoiseCertificateDetails
1167
* @throws {Error} If the payload is not a reader or valid buffer
1168
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1169
*/
1170
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NoiseCertificateDetails;
1171
1172
/**
1173
* Decodes a NoiseCertificateDetails message from the specified reader or buffer, length delimited.
1174
* @param reader Reader or buffer to decode from
1175
* @returns NoiseCertificateDetails
1176
* @throws {Error} If the payload is not a reader or valid buffer
1177
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1178
*/
1179
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NoiseCertificateDetails;
1180
1181
/**
1182
* Verifies a NoiseCertificateDetails message.
1183
* @param message Plain object to verify
1184
* @returns `null` if valid, otherwise the reason why it is not
1185
*/
1186
public static verify(message: { [k: string]: any }): (string|null);
1187
1188
/**
1189
* Creates a NoiseCertificateDetails message from a plain object. Also converts values to their respective internal types.
1190
* @param object Plain object
1191
* @returns NoiseCertificateDetails
1192
*/
1193
public static fromObject(object: { [k: string]: any }): proto.NoiseCertificateDetails;
1194
1195
/**
1196
* Creates a plain object from a NoiseCertificateDetails message. Also converts values to other types if specified.
1197
* @param message NoiseCertificateDetails
1198
* @param [options] Conversion options
1199
* @returns Plain object
1200
*/
1201
public static toObject(message: proto.NoiseCertificateDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
1202
1203
/**
1204
* Converts this NoiseCertificateDetails to JSON.
1205
* @returns JSON object
1206
*/
1207
public toJSON(): { [k: string]: any };
1208
}
1209
1210
/** Properties of a NoiseCertificate. */
1211
interface INoiseCertificate {
1212
1213
/** NoiseCertificate details */
1214
details?: (Uint8Array|null);
1215
1216
/** NoiseCertificate signature */
1217
signature?: (Uint8Array|null);
1218
}
1219
1220
/** Represents a NoiseCertificate. */
1221
class NoiseCertificate implements INoiseCertificate {
1222
1223
/**
1224
* Constructs a new NoiseCertificate.
1225
* @param [properties] Properties to set
1226
*/
1227
constructor(properties?: proto.INoiseCertificate);
1228
1229
/** NoiseCertificate details. */
1230
public details: Uint8Array;
1231
1232
/** NoiseCertificate signature. */
1233
public signature: Uint8Array;
1234
1235
/**
1236
* Creates a new NoiseCertificate instance using the specified properties.
1237
* @param [properties] Properties to set
1238
* @returns NoiseCertificate instance
1239
*/
1240
public static create(properties?: proto.INoiseCertificate): proto.NoiseCertificate;
1241
1242
/**
1243
* Encodes the specified NoiseCertificate message. Does not implicitly {@link proto.NoiseCertificate.verify|verify} messages.
1244
* @param message NoiseCertificate message or plain object to encode
1245
* @param [writer] Writer to encode to
1246
* @returns Writer
1247
*/
1248
public static encode(message: proto.INoiseCertificate, writer?: $protobuf.Writer): $protobuf.Writer;
1249
1250
/**
1251
* Encodes the specified NoiseCertificate message, length delimited. Does not implicitly {@link proto.NoiseCertificate.verify|verify} messages.
1252
* @param message NoiseCertificate message or plain object to encode
1253
* @param [writer] Writer to encode to
1254
* @returns Writer
1255
*/
1256
public static encodeDelimited(message: proto.INoiseCertificate, writer?: $protobuf.Writer): $protobuf.Writer;
1257
1258
/**
1259
* Decodes a NoiseCertificate message from the specified reader or buffer.
1260
* @param reader Reader or buffer to decode from
1261
* @param [length] Message length if known beforehand
1262
* @returns NoiseCertificate
1263
* @throws {Error} If the payload is not a reader or valid buffer
1264
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1265
*/
1266
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NoiseCertificate;
1267
1268
/**
1269
* Decodes a NoiseCertificate message from the specified reader or buffer, length delimited.
1270
* @param reader Reader or buffer to decode from
1271
* @returns NoiseCertificate
1272
* @throws {Error} If the payload is not a reader or valid buffer
1273
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1274
*/
1275
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NoiseCertificate;
1276
1277
/**
1278
* Verifies a NoiseCertificate message.
1279
* @param message Plain object to verify
1280
* @returns `null` if valid, otherwise the reason why it is not
1281
*/
1282
public static verify(message: { [k: string]: any }): (string|null);
1283
1284
/**
1285
* Creates a NoiseCertificate message from a plain object. Also converts values to their respective internal types.
1286
* @param object Plain object
1287
* @returns NoiseCertificate
1288
*/
1289
public static fromObject(object: { [k: string]: any }): proto.NoiseCertificate;
1290
1291
/**
1292
* Creates a plain object from a NoiseCertificate message. Also converts values to other types if specified.
1293
* @param message NoiseCertificate
1294
* @param [options] Conversion options
1295
* @returns Plain object
1296
*/
1297
public static toObject(message: proto.NoiseCertificate, options?: $protobuf.IConversionOptions): { [k: string]: any };
1298
1299
/**
1300
* Converts this NoiseCertificate to JSON.
1301
* @returns JSON object
1302
*/
1303
public toJSON(): { [k: string]: any };
1304
}
1305
1306
/** Properties of a ClientHello. */
1307
interface IClientHello {
1308
1309
/** ClientHello ephemeral */
1310
ephemeral?: (Uint8Array|null);
1311
1312
/** ClientHello static */
1313
"static"?: (Uint8Array|null);
1314
1315
/** ClientHello payload */
1316
payload?: (Uint8Array|null);
1317
}
1318
1319
/** Represents a ClientHello. */
1320
class ClientHello implements IClientHello {
1321
1322
/**
1323
* Constructs a new ClientHello.
1324
* @param [properties] Properties to set
1325
*/
1326
constructor(properties?: proto.IClientHello);
1327
1328
/** ClientHello ephemeral. */
1329
public ephemeral: Uint8Array;
1330
1331
/** ClientHello static. */
1332
public static: Uint8Array;
1333
1334
/** ClientHello payload. */
1335
public payload: Uint8Array;
1336
1337
/**
1338
* Creates a new ClientHello instance using the specified properties.
1339
* @param [properties] Properties to set
1340
* @returns ClientHello instance
1341
*/
1342
public static create(properties?: proto.IClientHello): proto.ClientHello;
1343
1344
/**
1345
* Encodes the specified ClientHello message. Does not implicitly {@link proto.ClientHello.verify|verify} messages.
1346
* @param message ClientHello message or plain object to encode
1347
* @param [writer] Writer to encode to
1348
* @returns Writer
1349
*/
1350
public static encode(message: proto.IClientHello, writer?: $protobuf.Writer): $protobuf.Writer;
1351
1352
/**
1353
* Encodes the specified ClientHello message, length delimited. Does not implicitly {@link proto.ClientHello.verify|verify} messages.
1354
* @param message ClientHello message or plain object to encode
1355
* @param [writer] Writer to encode to
1356
* @returns Writer
1357
*/
1358
public static encodeDelimited(message: proto.IClientHello, writer?: $protobuf.Writer): $protobuf.Writer;
1359
1360
/**
1361
* Decodes a ClientHello message from the specified reader or buffer.
1362
* @param reader Reader or buffer to decode from
1363
* @param [length] Message length if known beforehand
1364
* @returns ClientHello
1365
* @throws {Error} If the payload is not a reader or valid buffer
1366
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1367
*/
1368
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientHello;
1369
1370
/**
1371
* Decodes a ClientHello message from the specified reader or buffer, length delimited.
1372
* @param reader Reader or buffer to decode from
1373
* @returns ClientHello
1374
* @throws {Error} If the payload is not a reader or valid buffer
1375
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1376
*/
1377
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientHello;
1378
1379
/**
1380
* Verifies a ClientHello message.
1381
* @param message Plain object to verify
1382
* @returns `null` if valid, otherwise the reason why it is not
1383
*/
1384
public static verify(message: { [k: string]: any }): (string|null);
1385
1386
/**
1387
* Creates a ClientHello message from a plain object. Also converts values to their respective internal types.
1388
* @param object Plain object
1389
* @returns ClientHello
1390
*/
1391
public static fromObject(object: { [k: string]: any }): proto.ClientHello;
1392
1393
/**
1394
* Creates a plain object from a ClientHello message. Also converts values to other types if specified.
1395
* @param message ClientHello
1396
* @param [options] Conversion options
1397
* @returns Plain object
1398
*/
1399
public static toObject(message: proto.ClientHello, options?: $protobuf.IConversionOptions): { [k: string]: any };
1400
1401
/**
1402
* Converts this ClientHello to JSON.
1403
* @returns JSON object
1404
*/
1405
public toJSON(): { [k: string]: any };
1406
}
1407
1408
/** Properties of a ServerHello. */
1409
interface IServerHello {
1410
1411
/** ServerHello ephemeral */
1412
ephemeral?: (Uint8Array|null);
1413
1414
/** ServerHello static */
1415
"static"?: (Uint8Array|null);
1416
1417
/** ServerHello payload */
1418
payload?: (Uint8Array|null);
1419
}
1420
1421
/** Represents a ServerHello. */
1422
class ServerHello implements IServerHello {
1423
1424
/**
1425
* Constructs a new ServerHello.
1426
* @param [properties] Properties to set
1427
*/
1428
constructor(properties?: proto.IServerHello);
1429
1430
/** ServerHello ephemeral. */
1431
public ephemeral: Uint8Array;
1432
1433
/** ServerHello static. */
1434
public static: Uint8Array;
1435
1436
/** ServerHello payload. */
1437
public payload: Uint8Array;
1438
1439
/**
1440
* Creates a new ServerHello instance using the specified properties.
1441
* @param [properties] Properties to set
1442
* @returns ServerHello instance
1443
*/
1444
public static create(properties?: proto.IServerHello): proto.ServerHello;
1445
1446
/**
1447
* Encodes the specified ServerHello message. Does not implicitly {@link proto.ServerHello.verify|verify} messages.
1448
* @param message ServerHello message or plain object to encode
1449
* @param [writer] Writer to encode to
1450
* @returns Writer
1451
*/
1452
public static encode(message: proto.IServerHello, writer?: $protobuf.Writer): $protobuf.Writer;
1453
1454
/**
1455
* Encodes the specified ServerHello message, length delimited. Does not implicitly {@link proto.ServerHello.verify|verify} messages.
1456
* @param message ServerHello message or plain object to encode
1457
* @param [writer] Writer to encode to
1458
* @returns Writer
1459
*/
1460
public static encodeDelimited(message: proto.IServerHello, writer?: $protobuf.Writer): $protobuf.Writer;
1461
1462
/**
1463
* Decodes a ServerHello message from the specified reader or buffer.
1464
* @param reader Reader or buffer to decode from
1465
* @param [length] Message length if known beforehand
1466
* @returns ServerHello
1467
* @throws {Error} If the payload is not a reader or valid buffer
1468
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1469
*/
1470
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ServerHello;
1471
1472
/**
1473
* Decodes a ServerHello message from the specified reader or buffer, length delimited.
1474
* @param reader Reader or buffer to decode from
1475
* @returns ServerHello
1476
* @throws {Error} If the payload is not a reader or valid buffer
1477
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1478
*/
1479
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ServerHello;
1480
1481
/**
1482
* Verifies a ServerHello message.
1483
* @param message Plain object to verify
1484
* @returns `null` if valid, otherwise the reason why it is not
1485
*/
1486
public static verify(message: { [k: string]: any }): (string|null);
1487
1488
/**
1489
* Creates a ServerHello message from a plain object. Also converts values to their respective internal types.
1490
* @param object Plain object
1491
* @returns ServerHello
1492
*/
1493
public static fromObject(object: { [k: string]: any }): proto.ServerHello;
1494
1495
/**
1496
* Creates a plain object from a ServerHello message. Also converts values to other types if specified.
1497
* @param message ServerHello
1498
* @param [options] Conversion options
1499
* @returns Plain object
1500
*/
1501
public static toObject(message: proto.ServerHello, options?: $protobuf.IConversionOptions): { [k: string]: any };
1502
1503
/**
1504
* Converts this ServerHello to JSON.
1505
* @returns JSON object
1506
*/
1507
public toJSON(): { [k: string]: any };
1508
}
1509
1510
/** Properties of a ClientFinish. */
1511
interface IClientFinish {
1512
1513
/** ClientFinish static */
1514
"static"?: (Uint8Array|null);
1515
1516
/** ClientFinish payload */
1517
payload?: (Uint8Array|null);
1518
}
1519
1520
/** Represents a ClientFinish. */
1521
class ClientFinish implements IClientFinish {
1522
1523
/**
1524
* Constructs a new ClientFinish.
1525
* @param [properties] Properties to set
1526
*/
1527
constructor(properties?: proto.IClientFinish);
1528
1529
/** ClientFinish static. */
1530
public static: Uint8Array;
1531
1532
/** ClientFinish payload. */
1533
public payload: Uint8Array;
1534
1535
/**
1536
* Creates a new ClientFinish instance using the specified properties.
1537
* @param [properties] Properties to set
1538
* @returns ClientFinish instance
1539
*/
1540
public static create(properties?: proto.IClientFinish): proto.ClientFinish;
1541
1542
/**
1543
* Encodes the specified ClientFinish message. Does not implicitly {@link proto.ClientFinish.verify|verify} messages.
1544
* @param message ClientFinish message or plain object to encode
1545
* @param [writer] Writer to encode to
1546
* @returns Writer
1547
*/
1548
public static encode(message: proto.IClientFinish, writer?: $protobuf.Writer): $protobuf.Writer;
1549
1550
/**
1551
* Encodes the specified ClientFinish message, length delimited. Does not implicitly {@link proto.ClientFinish.verify|verify} messages.
1552
* @param message ClientFinish message or plain object to encode
1553
* @param [writer] Writer to encode to
1554
* @returns Writer
1555
*/
1556
public static encodeDelimited(message: proto.IClientFinish, writer?: $protobuf.Writer): $protobuf.Writer;
1557
1558
/**
1559
* Decodes a ClientFinish message from the specified reader or buffer.
1560
* @param reader Reader or buffer to decode from
1561
* @param [length] Message length if known beforehand
1562
* @returns ClientFinish
1563
* @throws {Error} If the payload is not a reader or valid buffer
1564
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1565
*/
1566
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientFinish;
1567
1568
/**
1569
* Decodes a ClientFinish message from the specified reader or buffer, length delimited.
1570
* @param reader Reader or buffer to decode from
1571
* @returns ClientFinish
1572
* @throws {Error} If the payload is not a reader or valid buffer
1573
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1574
*/
1575
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientFinish;
1576
1577
/**
1578
* Verifies a ClientFinish message.
1579
* @param message Plain object to verify
1580
* @returns `null` if valid, otherwise the reason why it is not
1581
*/
1582
public static verify(message: { [k: string]: any }): (string|null);
1583
1584
/**
1585
* Creates a ClientFinish message from a plain object. Also converts values to their respective internal types.
1586
* @param object Plain object
1587
* @returns ClientFinish
1588
*/
1589
public static fromObject(object: { [k: string]: any }): proto.ClientFinish;
1590
1591
/**
1592
* Creates a plain object from a ClientFinish message. Also converts values to other types if specified.
1593
* @param message ClientFinish
1594
* @param [options] Conversion options
1595
* @returns Plain object
1596
*/
1597
public static toObject(message: proto.ClientFinish, options?: $protobuf.IConversionOptions): { [k: string]: any };
1598
1599
/**
1600
* Converts this ClientFinish to JSON.
1601
* @returns JSON object
1602
*/
1603
public toJSON(): { [k: string]: any };
1604
}
1605
1606
/** Properties of a HandshakeMessage. */
1607
interface IHandshakeMessage {
1608
1609
/** HandshakeMessage clientHello */
1610
clientHello?: (proto.IClientHello|null);
1611
1612
/** HandshakeMessage serverHello */
1613
serverHello?: (proto.IServerHello|null);
1614
1615
/** HandshakeMessage clientFinish */
1616
clientFinish?: (proto.IClientFinish|null);
1617
}
1618
1619
/** Represents a HandshakeMessage. */
1620
class HandshakeMessage implements IHandshakeMessage {
1621
1622
/**
1623
* Constructs a new HandshakeMessage.
1624
* @param [properties] Properties to set
1625
*/
1626
constructor(properties?: proto.IHandshakeMessage);
1627
1628
/** HandshakeMessage clientHello. */
1629
public clientHello?: (proto.IClientHello|null);
1630
1631
/** HandshakeMessage serverHello. */
1632
public serverHello?: (proto.IServerHello|null);
1633
1634
/** HandshakeMessage clientFinish. */
1635
public clientFinish?: (proto.IClientFinish|null);
1636
1637
/**
1638
* Creates a new HandshakeMessage instance using the specified properties.
1639
* @param [properties] Properties to set
1640
* @returns HandshakeMessage instance
1641
*/
1642
public static create(properties?: proto.IHandshakeMessage): proto.HandshakeMessage;
1643
1644
/**
1645
* Encodes the specified HandshakeMessage message. Does not implicitly {@link proto.HandshakeMessage.verify|verify} messages.
1646
* @param message HandshakeMessage message or plain object to encode
1647
* @param [writer] Writer to encode to
1648
* @returns Writer
1649
*/
1650
public static encode(message: proto.IHandshakeMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1651
1652
/**
1653
* Encodes the specified HandshakeMessage message, length delimited. Does not implicitly {@link proto.HandshakeMessage.verify|verify} messages.
1654
* @param message HandshakeMessage message or plain object to encode
1655
* @param [writer] Writer to encode to
1656
* @returns Writer
1657
*/
1658
public static encodeDelimited(message: proto.IHandshakeMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1659
1660
/**
1661
* Decodes a HandshakeMessage message from the specified reader or buffer.
1662
* @param reader Reader or buffer to decode from
1663
* @param [length] Message length if known beforehand
1664
* @returns HandshakeMessage
1665
* @throws {Error} If the payload is not a reader or valid buffer
1666
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1667
*/
1668
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HandshakeMessage;
1669
1670
/**
1671
* Decodes a HandshakeMessage message from the specified reader or buffer, length delimited.
1672
* @param reader Reader or buffer to decode from
1673
* @returns HandshakeMessage
1674
* @throws {Error} If the payload is not a reader or valid buffer
1675
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1676
*/
1677
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HandshakeMessage;
1678
1679
/**
1680
* Verifies a HandshakeMessage message.
1681
* @param message Plain object to verify
1682
* @returns `null` if valid, otherwise the reason why it is not
1683
*/
1684
public static verify(message: { [k: string]: any }): (string|null);
1685
1686
/**
1687
* Creates a HandshakeMessage message from a plain object. Also converts values to their respective internal types.
1688
* @param object Plain object
1689
* @returns HandshakeMessage
1690
*/
1691
public static fromObject(object: { [k: string]: any }): proto.HandshakeMessage;
1692
1693
/**
1694
* Creates a plain object from a HandshakeMessage message. Also converts values to other types if specified.
1695
* @param message HandshakeMessage
1696
* @param [options] Conversion options
1697
* @returns Plain object
1698
*/
1699
public static toObject(message: proto.HandshakeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1700
1701
/**
1702
* Converts this HandshakeMessage to JSON.
1703
* @returns JSON object
1704
*/
1705
public toJSON(): { [k: string]: any };
1706
}
1707
1708
/** Properties of a BizIdentityInfo. */
1709
interface IBizIdentityInfo {
1710
1711
/** BizIdentityInfo vlevel */
1712
vlevel?: (proto.BizIdentityInfo.BizIdentityInfoVerifiedLevelValue|null);
1713
1714
/** BizIdentityInfo vnameCert */
1715
vnameCert?: (proto.IVerifiedNameCertificate|null);
1716
1717
/** BizIdentityInfo signed */
1718
signed?: (boolean|null);
1719
1720
/** BizIdentityInfo revoked */
1721
revoked?: (boolean|null);
1722
1723
/** BizIdentityInfo hostStorage */
1724
hostStorage?: (proto.BizIdentityInfo.BizIdentityInfoHostStorageType|null);
1725
1726
/** BizIdentityInfo actualActors */
1727
actualActors?: (proto.BizIdentityInfo.BizIdentityInfoActualActorsType|null);
1728
1729
/** BizIdentityInfo privacyModeTs */
1730
privacyModeTs?: (number|Long|null);
1731
1732
/** BizIdentityInfo featureControls */
1733
featureControls?: (number|Long|null);
1734
}
1735
1736
/** Represents a BizIdentityInfo. */
1737
class BizIdentityInfo implements IBizIdentityInfo {
1738
1739
/**
1740
* Constructs a new BizIdentityInfo.
1741
* @param [properties] Properties to set
1742
*/
1743
constructor(properties?: proto.IBizIdentityInfo);
1744
1745
/** BizIdentityInfo vlevel. */
1746
public vlevel: proto.BizIdentityInfo.BizIdentityInfoVerifiedLevelValue;
1747
1748
/** BizIdentityInfo vnameCert. */
1749
public vnameCert?: (proto.IVerifiedNameCertificate|null);
1750
1751
/** BizIdentityInfo signed. */
1752
public signed: boolean;
1753
1754
/** BizIdentityInfo revoked. */
1755
public revoked: boolean;
1756
1757
/** BizIdentityInfo hostStorage. */
1758
public hostStorage: proto.BizIdentityInfo.BizIdentityInfoHostStorageType;
1759
1760
/** BizIdentityInfo actualActors. */
1761
public actualActors: proto.BizIdentityInfo.BizIdentityInfoActualActorsType;
1762
1763
/** BizIdentityInfo privacyModeTs. */
1764
public privacyModeTs: (number|Long);
1765
1766
/** BizIdentityInfo featureControls. */
1767
public featureControls: (number|Long);
1768
1769
/**
1770
* Creates a new BizIdentityInfo instance using the specified properties.
1771
* @param [properties] Properties to set
1772
* @returns BizIdentityInfo instance
1773
*/
1774
public static create(properties?: proto.IBizIdentityInfo): proto.BizIdentityInfo;
1775
1776
/**
1777
* Encodes the specified BizIdentityInfo message. Does not implicitly {@link proto.BizIdentityInfo.verify|verify} messages.
1778
* @param message BizIdentityInfo message or plain object to encode
1779
* @param [writer] Writer to encode to
1780
* @returns Writer
1781
*/
1782
public static encode(message: proto.IBizIdentityInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1783
1784
/**
1785
* Encodes the specified BizIdentityInfo message, length delimited. Does not implicitly {@link proto.BizIdentityInfo.verify|verify} messages.
1786
* @param message BizIdentityInfo message or plain object to encode
1787
* @param [writer] Writer to encode to
1788
* @returns Writer
1789
*/
1790
public static encodeDelimited(message: proto.IBizIdentityInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1791
1792
/**
1793
* Decodes a BizIdentityInfo message from the specified reader or buffer.
1794
* @param reader Reader or buffer to decode from
1795
* @param [length] Message length if known beforehand
1796
* @returns BizIdentityInfo
1797
* @throws {Error} If the payload is not a reader or valid buffer
1798
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1799
*/
1800
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.BizIdentityInfo;
1801
1802
/**
1803
* Decodes a BizIdentityInfo message from the specified reader or buffer, length delimited.
1804
* @param reader Reader or buffer to decode from
1805
* @returns BizIdentityInfo
1806
* @throws {Error} If the payload is not a reader or valid buffer
1807
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1808
*/
1809
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.BizIdentityInfo;
1810
1811
/**
1812
* Verifies a BizIdentityInfo message.
1813
* @param message Plain object to verify
1814
* @returns `null` if valid, otherwise the reason why it is not
1815
*/
1816
public static verify(message: { [k: string]: any }): (string|null);
1817
1818
/**
1819
* Creates a BizIdentityInfo message from a plain object. Also converts values to their respective internal types.
1820
* @param object Plain object
1821
* @returns BizIdentityInfo
1822
*/
1823
public static fromObject(object: { [k: string]: any }): proto.BizIdentityInfo;
1824
1825
/**
1826
* Creates a plain object from a BizIdentityInfo message. Also converts values to other types if specified.
1827
* @param message BizIdentityInfo
1828
* @param [options] Conversion options
1829
* @returns Plain object
1830
*/
1831
public static toObject(message: proto.BizIdentityInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
1832
1833
/**
1834
* Converts this BizIdentityInfo to JSON.
1835
* @returns JSON object
1836
*/
1837
public toJSON(): { [k: string]: any };
1838
}
1839
1840
namespace BizIdentityInfo {
1841
1842
/** BizIdentityInfoVerifiedLevelValue enum. */
1843
enum BizIdentityInfoVerifiedLevelValue {
1844
UNKNOWN = 0,
1845
LOW = 1,
1846
HIGH = 2
1847
}
1848
1849
/** BizIdentityInfoHostStorageType enum. */
1850
enum BizIdentityInfoHostStorageType {
1851
ON_PREMISE = 0,
1852
FACEBOOK = 1
1853
}
1854
1855
/** BizIdentityInfoActualActorsType enum. */
1856
enum BizIdentityInfoActualActorsType {
1857
SELF = 0,
1858
BSP = 1
1859
}
1860
}
1861
1862
/** Properties of a BizAccountLinkInfo. */
1863
interface IBizAccountLinkInfo {
1864
1865
/** BizAccountLinkInfo whatsappBizAcctFbid */
1866
whatsappBizAcctFbid?: (number|Long|null);
1867
1868
/** BizAccountLinkInfo whatsappAcctNumber */
1869
whatsappAcctNumber?: (string|null);
1870
1871
/** BizAccountLinkInfo issueTime */
1872
issueTime?: (number|Long|null);
1873
1874
/** BizAccountLinkInfo hostStorage */
1875
hostStorage?: (proto.BizAccountLinkInfo.BizAccountLinkInfoHostStorageType|null);
1876
1877
/** BizAccountLinkInfo accountType */
1878
accountType?: (proto.BizAccountLinkInfo.BizAccountLinkInfoAccountType|null);
1879
}
1880
1881
/** Represents a BizAccountLinkInfo. */
1882
class BizAccountLinkInfo implements IBizAccountLinkInfo {
1883
1884
/**
1885
* Constructs a new BizAccountLinkInfo.
1886
* @param [properties] Properties to set
1887
*/
1888
constructor(properties?: proto.IBizAccountLinkInfo);
1889
1890
/** BizAccountLinkInfo whatsappBizAcctFbid. */
1891
public whatsappBizAcctFbid: (number|Long);
1892
1893
/** BizAccountLinkInfo whatsappAcctNumber. */
1894
public whatsappAcctNumber: string;
1895
1896
/** BizAccountLinkInfo issueTime. */
1897
public issueTime: (number|Long);
1898
1899
/** BizAccountLinkInfo hostStorage. */
1900
public hostStorage: proto.BizAccountLinkInfo.BizAccountLinkInfoHostStorageType;
1901
1902
/** BizAccountLinkInfo accountType. */
1903
public accountType: proto.BizAccountLinkInfo.BizAccountLinkInfoAccountType;
1904
1905
/**
1906
* Creates a new BizAccountLinkInfo instance using the specified properties.
1907
* @param [properties] Properties to set
1908
* @returns BizAccountLinkInfo instance
1909
*/
1910
public static create(properties?: proto.IBizAccountLinkInfo): proto.BizAccountLinkInfo;
1911
1912
/**
1913
* Encodes the specified BizAccountLinkInfo message. Does not implicitly {@link proto.BizAccountLinkInfo.verify|verify} messages.
1914
* @param message BizAccountLinkInfo message or plain object to encode
1915
* @param [writer] Writer to encode to
1916
* @returns Writer
1917
*/
1918
public static encode(message: proto.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1919
1920
/**
1921
* Encodes the specified BizAccountLinkInfo message, length delimited. Does not implicitly {@link proto.BizAccountLinkInfo.verify|verify} messages.
1922
* @param message BizAccountLinkInfo message or plain object to encode
1923
* @param [writer] Writer to encode to
1924
* @returns Writer
1925
*/
1926
public static encodeDelimited(message: proto.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer;
1927
1928
/**
1929
* Decodes a BizAccountLinkInfo message from the specified reader or buffer.
1930
* @param reader Reader or buffer to decode from
1931
* @param [length] Message length if known beforehand
1932
* @returns BizAccountLinkInfo
1933
* @throws {Error} If the payload is not a reader or valid buffer
1934
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1935
*/
1936
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.BizAccountLinkInfo;
1937
1938
/**
1939
* Decodes a BizAccountLinkInfo message from the specified reader or buffer, length delimited.
1940
* @param reader Reader or buffer to decode from
1941
* @returns BizAccountLinkInfo
1942
* @throws {Error} If the payload is not a reader or valid buffer
1943
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1944
*/
1945
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.BizAccountLinkInfo;
1946
1947
/**
1948
* Verifies a BizAccountLinkInfo message.
1949
* @param message Plain object to verify
1950
* @returns `null` if valid, otherwise the reason why it is not
1951
*/
1952
public static verify(message: { [k: string]: any }): (string|null);
1953
1954
/**
1955
* Creates a BizAccountLinkInfo message from a plain object. Also converts values to their respective internal types.
1956
* @param object Plain object
1957
* @returns BizAccountLinkInfo
1958
*/
1959
public static fromObject(object: { [k: string]: any }): proto.BizAccountLinkInfo;
1960
1961
/**
1962
* Creates a plain object from a BizAccountLinkInfo message. Also converts values to other types if specified.
1963
* @param message BizAccountLinkInfo
1964
* @param [options] Conversion options
1965
* @returns Plain object
1966
*/
1967
public static toObject(message: proto.BizAccountLinkInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
1968
1969
/**
1970
* Converts this BizAccountLinkInfo to JSON.
1971
* @returns JSON object
1972
*/
1973
public toJSON(): { [k: string]: any };
1974
}
1975
1976
namespace BizAccountLinkInfo {
1977
1978
/** BizAccountLinkInfoHostStorageType enum. */
1979
enum BizAccountLinkInfoHostStorageType {
1980
ON_PREMISE = 0,
1981
FACEBOOK = 1
1982
}
1983
1984
/** BizAccountLinkInfoAccountType enum. */
1985
enum BizAccountLinkInfoAccountType {
1986
ENTERPRISE = 0
1987
}
1988
}
1989
1990
/** Properties of a BizAccountPayload. */
1991
interface IBizAccountPayload {
1992
1993
/** BizAccountPayload vnameCert */
1994
vnameCert?: (proto.IVerifiedNameCertificate|null);
1995
1996
/** BizAccountPayload bizAcctLinkInfo */
1997
bizAcctLinkInfo?: (Uint8Array|null);
1998
}
1999
2000
/** Represents a BizAccountPayload. */
2001
class BizAccountPayload implements IBizAccountPayload {
2002
2003
/**
2004
* Constructs a new BizAccountPayload.
2005
* @param [properties] Properties to set
2006
*/
2007
constructor(properties?: proto.IBizAccountPayload);
2008
2009
/** BizAccountPayload vnameCert. */
2010
public vnameCert?: (proto.IVerifiedNameCertificate|null);
2011
2012
/** BizAccountPayload bizAcctLinkInfo. */
2013
public bizAcctLinkInfo: Uint8Array;
2014
2015
/**
2016
* Creates a new BizAccountPayload instance using the specified properties.
2017
* @param [properties] Properties to set
2018
* @returns BizAccountPayload instance
2019
*/
2020
public static create(properties?: proto.IBizAccountPayload): proto.BizAccountPayload;
2021
2022
/**
2023
* Encodes the specified BizAccountPayload message. Does not implicitly {@link proto.BizAccountPayload.verify|verify} messages.
2024
* @param message BizAccountPayload message or plain object to encode
2025
* @param [writer] Writer to encode to
2026
* @returns Writer
2027
*/
2028
public static encode(message: proto.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer;
2029
2030
/**
2031
* Encodes the specified BizAccountPayload message, length delimited. Does not implicitly {@link proto.BizAccountPayload.verify|verify} messages.
2032
* @param message BizAccountPayload message or plain object to encode
2033
* @param [writer] Writer to encode to
2034
* @returns Writer
2035
*/
2036
public static encodeDelimited(message: proto.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer;
2037
2038
/**
2039
* Decodes a BizAccountPayload message from the specified reader or buffer.
2040
* @param reader Reader or buffer to decode from
2041
* @param [length] Message length if known beforehand
2042
* @returns BizAccountPayload
2043
* @throws {Error} If the payload is not a reader or valid buffer
2044
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2045
*/
2046
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.BizAccountPayload;
2047
2048
/**
2049
* Decodes a BizAccountPayload message from the specified reader or buffer, length delimited.
2050
* @param reader Reader or buffer to decode from
2051
* @returns BizAccountPayload
2052
* @throws {Error} If the payload is not a reader or valid buffer
2053
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2054
*/
2055
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.BizAccountPayload;
2056
2057
/**
2058
* Verifies a BizAccountPayload message.
2059
* @param message Plain object to verify
2060
* @returns `null` if valid, otherwise the reason why it is not
2061
*/
2062
public static verify(message: { [k: string]: any }): (string|null);
2063
2064
/**
2065
* Creates a BizAccountPayload message from a plain object. Also converts values to their respective internal types.
2066
* @param object Plain object
2067
* @returns BizAccountPayload
2068
*/
2069
public static fromObject(object: { [k: string]: any }): proto.BizAccountPayload;
2070
2071
/**
2072
* Creates a plain object from a BizAccountPayload message. Also converts values to other types if specified.
2073
* @param message BizAccountPayload
2074
* @param [options] Conversion options
2075
* @returns Plain object
2076
*/
2077
public static toObject(message: proto.BizAccountPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
2078
2079
/**
2080
* Converts this BizAccountPayload to JSON.
2081
* @returns JSON object
2082
*/
2083
public toJSON(): { [k: string]: any };
2084
}
2085
2086
/** Properties of a VerifiedNameDetails. */
2087
interface IVerifiedNameDetails {
2088
2089
/** VerifiedNameDetails serial */
2090
serial?: (number|Long|null);
2091
2092
/** VerifiedNameDetails issuer */
2093
issuer?: (string|null);
2094
2095
/** VerifiedNameDetails verifiedName */
2096
verifiedName?: (string|null);
2097
2098
/** VerifiedNameDetails localizedNames */
2099
localizedNames?: (proto.ILocalizedName[]|null);
2100
2101
/** VerifiedNameDetails issueTime */
2102
issueTime?: (number|Long|null);
2103
}
2104
2105
/** Represents a VerifiedNameDetails. */
2106
class VerifiedNameDetails implements IVerifiedNameDetails {
2107
2108
/**
2109
* Constructs a new VerifiedNameDetails.
2110
* @param [properties] Properties to set
2111
*/
2112
constructor(properties?: proto.IVerifiedNameDetails);
2113
2114
/** VerifiedNameDetails serial. */
2115
public serial: (number|Long);
2116
2117
/** VerifiedNameDetails issuer. */
2118
public issuer: string;
2119
2120
/** VerifiedNameDetails verifiedName. */
2121
public verifiedName: string;
2122
2123
/** VerifiedNameDetails localizedNames. */
2124
public localizedNames: proto.ILocalizedName[];
2125
2126
/** VerifiedNameDetails issueTime. */
2127
public issueTime: (number|Long);
2128
2129
/**
2130
* Creates a new VerifiedNameDetails instance using the specified properties.
2131
* @param [properties] Properties to set
2132
* @returns VerifiedNameDetails instance
2133
*/
2134
public static create(properties?: proto.IVerifiedNameDetails): proto.VerifiedNameDetails;
2135
2136
/**
2137
* Encodes the specified VerifiedNameDetails message. Does not implicitly {@link proto.VerifiedNameDetails.verify|verify} messages.
2138
* @param message VerifiedNameDetails message or plain object to encode
2139
* @param [writer] Writer to encode to
2140
* @returns Writer
2141
*/
2142
public static encode(message: proto.IVerifiedNameDetails, writer?: $protobuf.Writer): $protobuf.Writer;
2143
2144
/**
2145
* Encodes the specified VerifiedNameDetails message, length delimited. Does not implicitly {@link proto.VerifiedNameDetails.verify|verify} messages.
2146
* @param message VerifiedNameDetails message or plain object to encode
2147
* @param [writer] Writer to encode to
2148
* @returns Writer
2149
*/
2150
public static encodeDelimited(message: proto.IVerifiedNameDetails, writer?: $protobuf.Writer): $protobuf.Writer;
2151
2152
/**
2153
* Decodes a VerifiedNameDetails message from the specified reader or buffer.
2154
* @param reader Reader or buffer to decode from
2155
* @param [length] Message length if known beforehand
2156
* @returns VerifiedNameDetails
2157
* @throws {Error} If the payload is not a reader or valid buffer
2158
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2159
*/
2160
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.VerifiedNameDetails;
2161
2162
/**
2163
* Decodes a VerifiedNameDetails message from the specified reader or buffer, length delimited.
2164
* @param reader Reader or buffer to decode from
2165
* @returns VerifiedNameDetails
2166
* @throws {Error} If the payload is not a reader or valid buffer
2167
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2168
*/
2169
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.VerifiedNameDetails;
2170
2171
/**
2172
* Verifies a VerifiedNameDetails message.
2173
* @param message Plain object to verify
2174
* @returns `null` if valid, otherwise the reason why it is not
2175
*/
2176
public static verify(message: { [k: string]: any }): (string|null);
2177
2178
/**
2179
* Creates a VerifiedNameDetails message from a plain object. Also converts values to their respective internal types.
2180
* @param object Plain object
2181
* @returns VerifiedNameDetails
2182
*/
2183
public static fromObject(object: { [k: string]: any }): proto.VerifiedNameDetails;
2184
2185
/**
2186
* Creates a plain object from a VerifiedNameDetails message. Also converts values to other types if specified.
2187
* @param message VerifiedNameDetails
2188
* @param [options] Conversion options
2189
* @returns Plain object
2190
*/
2191
public static toObject(message: proto.VerifiedNameDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
2192
2193
/**
2194
* Converts this VerifiedNameDetails to JSON.
2195
* @returns JSON object
2196
*/
2197
public toJSON(): { [k: string]: any };
2198
}
2199
2200
/** Properties of a VerifiedNameCertificate. */
2201
interface IVerifiedNameCertificate {
2202
2203
/** VerifiedNameCertificate details */
2204
details?: (Uint8Array|null);
2205
2206
/** VerifiedNameCertificate signature */
2207
signature?: (Uint8Array|null);
2208
2209
/** VerifiedNameCertificate serverSignature */
2210
serverSignature?: (Uint8Array|null);
2211
}
2212
2213
/** Represents a VerifiedNameCertificate. */
2214
class VerifiedNameCertificate implements IVerifiedNameCertificate {
2215
2216
/**
2217
* Constructs a new VerifiedNameCertificate.
2218
* @param [properties] Properties to set
2219
*/
2220
constructor(properties?: proto.IVerifiedNameCertificate);
2221
2222
/** VerifiedNameCertificate details. */
2223
public details: Uint8Array;
2224
2225
/** VerifiedNameCertificate signature. */
2226
public signature: Uint8Array;
2227
2228
/** VerifiedNameCertificate serverSignature. */
2229
public serverSignature: Uint8Array;
2230
2231
/**
2232
* Creates a new VerifiedNameCertificate instance using the specified properties.
2233
* @param [properties] Properties to set
2234
* @returns VerifiedNameCertificate instance
2235
*/
2236
public static create(properties?: proto.IVerifiedNameCertificate): proto.VerifiedNameCertificate;
2237
2238
/**
2239
* Encodes the specified VerifiedNameCertificate message. Does not implicitly {@link proto.VerifiedNameCertificate.verify|verify} messages.
2240
* @param message VerifiedNameCertificate message or plain object to encode
2241
* @param [writer] Writer to encode to
2242
* @returns Writer
2243
*/
2244
public static encode(message: proto.IVerifiedNameCertificate, writer?: $protobuf.Writer): $protobuf.Writer;
2245
2246
/**
2247
* Encodes the specified VerifiedNameCertificate message, length delimited. Does not implicitly {@link proto.VerifiedNameCertificate.verify|verify} messages.
2248
* @param message VerifiedNameCertificate message or plain object to encode
2249
* @param [writer] Writer to encode to
2250
* @returns Writer
2251
*/
2252
public static encodeDelimited(message: proto.IVerifiedNameCertificate, writer?: $protobuf.Writer): $protobuf.Writer;
2253
2254
/**
2255
* Decodes a VerifiedNameCertificate message from the specified reader or buffer.
2256
* @param reader Reader or buffer to decode from
2257
* @param [length] Message length if known beforehand
2258
* @returns VerifiedNameCertificate
2259
* @throws {Error} If the payload is not a reader or valid buffer
2260
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2261
*/
2262
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.VerifiedNameCertificate;
2263
2264
/**
2265
* Decodes a VerifiedNameCertificate message from the specified reader or buffer, length delimited.
2266
* @param reader Reader or buffer to decode from
2267
* @returns VerifiedNameCertificate
2268
* @throws {Error} If the payload is not a reader or valid buffer
2269
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2270
*/
2271
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.VerifiedNameCertificate;
2272
2273
/**
2274
* Verifies a VerifiedNameCertificate message.
2275
* @param message Plain object to verify
2276
* @returns `null` if valid, otherwise the reason why it is not
2277
*/
2278
public static verify(message: { [k: string]: any }): (string|null);
2279
2280
/**
2281
* Creates a VerifiedNameCertificate message from a plain object. Also converts values to their respective internal types.
2282
* @param object Plain object
2283
* @returns VerifiedNameCertificate
2284
*/
2285
public static fromObject(object: { [k: string]: any }): proto.VerifiedNameCertificate;
2286
2287
/**
2288
* Creates a plain object from a VerifiedNameCertificate message. Also converts values to other types if specified.
2289
* @param message VerifiedNameCertificate
2290
* @param [options] Conversion options
2291
* @returns Plain object
2292
*/
2293
public static toObject(message: proto.VerifiedNameCertificate, options?: $protobuf.IConversionOptions): { [k: string]: any };
2294
2295
/**
2296
* Converts this VerifiedNameCertificate to JSON.
2297
* @returns JSON object
2298
*/
2299
public toJSON(): { [k: string]: any };
2300
}
2301
2302
/** Properties of a LocalizedName. */
2303
interface ILocalizedName {
2304
2305
/** LocalizedName lg */
2306
lg?: (string|null);
2307
2308
/** LocalizedName lc */
2309
lc?: (string|null);
2310
2311
/** LocalizedName verifiedName */
2312
verifiedName?: (string|null);
2313
}
2314
2315
/** Represents a LocalizedName. */
2316
class LocalizedName implements ILocalizedName {
2317
2318
/**
2319
* Constructs a new LocalizedName.
2320
* @param [properties] Properties to set
2321
*/
2322
constructor(properties?: proto.ILocalizedName);
2323
2324
/** LocalizedName lg. */
2325
public lg: string;
2326
2327
/** LocalizedName lc. */
2328
public lc: string;
2329
2330
/** LocalizedName verifiedName. */
2331
public verifiedName: string;
2332
2333
/**
2334
* Creates a new LocalizedName instance using the specified properties.
2335
* @param [properties] Properties to set
2336
* @returns LocalizedName instance
2337
*/
2338
public static create(properties?: proto.ILocalizedName): proto.LocalizedName;
2339
2340
/**
2341
* Encodes the specified LocalizedName message. Does not implicitly {@link proto.LocalizedName.verify|verify} messages.
2342
* @param message LocalizedName message or plain object to encode
2343
* @param [writer] Writer to encode to
2344
* @returns Writer
2345
*/
2346
public static encode(message: proto.ILocalizedName, writer?: $protobuf.Writer): $protobuf.Writer;
2347
2348
/**
2349
* Encodes the specified LocalizedName message, length delimited. Does not implicitly {@link proto.LocalizedName.verify|verify} messages.
2350
* @param message LocalizedName message or plain object to encode
2351
* @param [writer] Writer to encode to
2352
* @returns Writer
2353
*/
2354
public static encodeDelimited(message: proto.ILocalizedName, writer?: $protobuf.Writer): $protobuf.Writer;
2355
2356
/**
2357
* Decodes a LocalizedName message from the specified reader or buffer.
2358
* @param reader Reader or buffer to decode from
2359
* @param [length] Message length if known beforehand
2360
* @returns LocalizedName
2361
* @throws {Error} If the payload is not a reader or valid buffer
2362
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2363
*/
2364
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.LocalizedName;
2365
2366
/**
2367
* Decodes a LocalizedName message from the specified reader or buffer, length delimited.
2368
* @param reader Reader or buffer to decode from
2369
* @returns LocalizedName
2370
* @throws {Error} If the payload is not a reader or valid buffer
2371
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2372
*/
2373
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.LocalizedName;
2374
2375
/**
2376
* Verifies a LocalizedName message.
2377
* @param message Plain object to verify
2378
* @returns `null` if valid, otherwise the reason why it is not
2379
*/
2380
public static verify(message: { [k: string]: any }): (string|null);
2381
2382
/**
2383
* Creates a LocalizedName message from a plain object. Also converts values to their respective internal types.
2384
* @param object Plain object
2385
* @returns LocalizedName
2386
*/
2387
public static fromObject(object: { [k: string]: any }): proto.LocalizedName;
2388
2389
/**
2390
* Creates a plain object from a LocalizedName message. Also converts values to other types if specified.
2391
* @param message LocalizedName
2392
* @param [options] Conversion options
2393
* @returns Plain object
2394
*/
2395
public static toObject(message: proto.LocalizedName, options?: $protobuf.IConversionOptions): { [k: string]: any };
2396
2397
/**
2398
* Converts this LocalizedName to JSON.
2399
* @returns JSON object
2400
*/
2401
public toJSON(): { [k: string]: any };
2402
}
2403
2404
/** Properties of a SyncActionData. */
2405
interface ISyncActionData {
2406
2407
/** SyncActionData index */
2408
index?: (Uint8Array|null);
2409
2410
/** SyncActionData value */
2411
value?: (proto.ISyncActionValue|null);
2412
2413
/** SyncActionData padding */
2414
padding?: (Uint8Array|null);
2415
2416
/** SyncActionData version */
2417
version?: (number|null);
2418
}
2419
2420
/** Represents a SyncActionData. */
2421
class SyncActionData implements ISyncActionData {
2422
2423
/**
2424
* Constructs a new SyncActionData.
2425
* @param [properties] Properties to set
2426
*/
2427
constructor(properties?: proto.ISyncActionData);
2428
2429
/** SyncActionData index. */
2430
public index: Uint8Array;
2431
2432
/** SyncActionData value. */
2433
public value?: (proto.ISyncActionValue|null);
2434
2435
/** SyncActionData padding. */
2436
public padding: Uint8Array;
2437
2438
/** SyncActionData version. */
2439
public version: number;
2440
2441
/**
2442
* Creates a new SyncActionData instance using the specified properties.
2443
* @param [properties] Properties to set
2444
* @returns SyncActionData instance
2445
*/
2446
public static create(properties?: proto.ISyncActionData): proto.SyncActionData;
2447
2448
/**
2449
* Encodes the specified SyncActionData message. Does not implicitly {@link proto.SyncActionData.verify|verify} messages.
2450
* @param message SyncActionData message or plain object to encode
2451
* @param [writer] Writer to encode to
2452
* @returns Writer
2453
*/
2454
public static encode(message: proto.ISyncActionData, writer?: $protobuf.Writer): $protobuf.Writer;
2455
2456
/**
2457
* Encodes the specified SyncActionData message, length delimited. Does not implicitly {@link proto.SyncActionData.verify|verify} messages.
2458
* @param message SyncActionData message or plain object to encode
2459
* @param [writer] Writer to encode to
2460
* @returns Writer
2461
*/
2462
public static encodeDelimited(message: proto.ISyncActionData, writer?: $protobuf.Writer): $protobuf.Writer;
2463
2464
/**
2465
* Decodes a SyncActionData message from the specified reader or buffer.
2466
* @param reader Reader or buffer to decode from
2467
* @param [length] Message length if known beforehand
2468
* @returns SyncActionData
2469
* @throws {Error} If the payload is not a reader or valid buffer
2470
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2471
*/
2472
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncActionData;
2473
2474
/**
2475
* Decodes a SyncActionData message from the specified reader or buffer, length delimited.
2476
* @param reader Reader or buffer to decode from
2477
* @returns SyncActionData
2478
* @throws {Error} If the payload is not a reader or valid buffer
2479
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2480
*/
2481
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncActionData;
2482
2483
/**
2484
* Verifies a SyncActionData message.
2485
* @param message Plain object to verify
2486
* @returns `null` if valid, otherwise the reason why it is not
2487
*/
2488
public static verify(message: { [k: string]: any }): (string|null);
2489
2490
/**
2491
* Creates a SyncActionData message from a plain object. Also converts values to their respective internal types.
2492
* @param object Plain object
2493
* @returns SyncActionData
2494
*/
2495
public static fromObject(object: { [k: string]: any }): proto.SyncActionData;
2496
2497
/**
2498
* Creates a plain object from a SyncActionData message. Also converts values to other types if specified.
2499
* @param message SyncActionData
2500
* @param [options] Conversion options
2501
* @returns Plain object
2502
*/
2503
public static toObject(message: proto.SyncActionData, options?: $protobuf.IConversionOptions): { [k: string]: any };
2504
2505
/**
2506
* Converts this SyncActionData to JSON.
2507
* @returns JSON object
2508
*/
2509
public toJSON(): { [k: string]: any };
2510
}
2511
2512
/** Properties of a StarAction. */
2513
interface IStarAction {
2514
2515
/** StarAction starred */
2516
starred?: (boolean|null);
2517
}
2518
2519
/** Represents a StarAction. */
2520
class StarAction implements IStarAction {
2521
2522
/**
2523
* Constructs a new StarAction.
2524
* @param [properties] Properties to set
2525
*/
2526
constructor(properties?: proto.IStarAction);
2527
2528
/** StarAction starred. */
2529
public starred: boolean;
2530
2531
/**
2532
* Creates a new StarAction instance using the specified properties.
2533
* @param [properties] Properties to set
2534
* @returns StarAction instance
2535
*/
2536
public static create(properties?: proto.IStarAction): proto.StarAction;
2537
2538
/**
2539
* Encodes the specified StarAction message. Does not implicitly {@link proto.StarAction.verify|verify} messages.
2540
* @param message StarAction message or plain object to encode
2541
* @param [writer] Writer to encode to
2542
* @returns Writer
2543
*/
2544
public static encode(message: proto.IStarAction, writer?: $protobuf.Writer): $protobuf.Writer;
2545
2546
/**
2547
* Encodes the specified StarAction message, length delimited. Does not implicitly {@link proto.StarAction.verify|verify} messages.
2548
* @param message StarAction message or plain object to encode
2549
* @param [writer] Writer to encode to
2550
* @returns Writer
2551
*/
2552
public static encodeDelimited(message: proto.IStarAction, writer?: $protobuf.Writer): $protobuf.Writer;
2553
2554
/**
2555
* Decodes a StarAction message from the specified reader or buffer.
2556
* @param reader Reader or buffer to decode from
2557
* @param [length] Message length if known beforehand
2558
* @returns StarAction
2559
* @throws {Error} If the payload is not a reader or valid buffer
2560
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2561
*/
2562
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StarAction;
2563
2564
/**
2565
* Decodes a StarAction message from the specified reader or buffer, length delimited.
2566
* @param reader Reader or buffer to decode from
2567
* @returns StarAction
2568
* @throws {Error} If the payload is not a reader or valid buffer
2569
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2570
*/
2571
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StarAction;
2572
2573
/**
2574
* Verifies a StarAction message.
2575
* @param message Plain object to verify
2576
* @returns `null` if valid, otherwise the reason why it is not
2577
*/
2578
public static verify(message: { [k: string]: any }): (string|null);
2579
2580
/**
2581
* Creates a StarAction message from a plain object. Also converts values to their respective internal types.
2582
* @param object Plain object
2583
* @returns StarAction
2584
*/
2585
public static fromObject(object: { [k: string]: any }): proto.StarAction;
2586
2587
/**
2588
* Creates a plain object from a StarAction message. Also converts values to other types if specified.
2589
* @param message StarAction
2590
* @param [options] Conversion options
2591
* @returns Plain object
2592
*/
2593
public static toObject(message: proto.StarAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
2594
2595
/**
2596
* Converts this StarAction to JSON.
2597
* @returns JSON object
2598
*/
2599
public toJSON(): { [k: string]: any };
2600
}
2601
2602
/** Properties of a ContactAction. */
2603
interface IContactAction {
2604
2605
/** ContactAction fullName */
2606
fullName?: (string|null);
2607
2608
/** ContactAction firstName */
2609
firstName?: (string|null);
2610
}
2611
2612
/** Represents a ContactAction. */
2613
class ContactAction implements IContactAction {
2614
2615
/**
2616
* Constructs a new ContactAction.
2617
* @param [properties] Properties to set
2618
*/
2619
constructor(properties?: proto.IContactAction);
2620
2621
/** ContactAction fullName. */
2622
public fullName: string;
2623
2624
/** ContactAction firstName. */
2625
public firstName: string;
2626
2627
/**
2628
* Creates a new ContactAction instance using the specified properties.
2629
* @param [properties] Properties to set
2630
* @returns ContactAction instance
2631
*/
2632
public static create(properties?: proto.IContactAction): proto.ContactAction;
2633
2634
/**
2635
* Encodes the specified ContactAction message. Does not implicitly {@link proto.ContactAction.verify|verify} messages.
2636
* @param message ContactAction message or plain object to encode
2637
* @param [writer] Writer to encode to
2638
* @returns Writer
2639
*/
2640
public static encode(message: proto.IContactAction, writer?: $protobuf.Writer): $protobuf.Writer;
2641
2642
/**
2643
* Encodes the specified ContactAction message, length delimited. Does not implicitly {@link proto.ContactAction.verify|verify} messages.
2644
* @param message ContactAction message or plain object to encode
2645
* @param [writer] Writer to encode to
2646
* @returns Writer
2647
*/
2648
public static encodeDelimited(message: proto.IContactAction, writer?: $protobuf.Writer): $protobuf.Writer;
2649
2650
/**
2651
* Decodes a ContactAction message from the specified reader or buffer.
2652
* @param reader Reader or buffer to decode from
2653
* @param [length] Message length if known beforehand
2654
* @returns ContactAction
2655
* @throws {Error} If the payload is not a reader or valid buffer
2656
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2657
*/
2658
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ContactAction;
2659
2660
/**
2661
* Decodes a ContactAction message from the specified reader or buffer, length delimited.
2662
* @param reader Reader or buffer to decode from
2663
* @returns ContactAction
2664
* @throws {Error} If the payload is not a reader or valid buffer
2665
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2666
*/
2667
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ContactAction;
2668
2669
/**
2670
* Verifies a ContactAction message.
2671
* @param message Plain object to verify
2672
* @returns `null` if valid, otherwise the reason why it is not
2673
*/
2674
public static verify(message: { [k: string]: any }): (string|null);
2675
2676
/**
2677
* Creates a ContactAction message from a plain object. Also converts values to their respective internal types.
2678
* @param object Plain object
2679
* @returns ContactAction
2680
*/
2681
public static fromObject(object: { [k: string]: any }): proto.ContactAction;
2682
2683
/**
2684
* Creates a plain object from a ContactAction message. Also converts values to other types if specified.
2685
* @param message ContactAction
2686
* @param [options] Conversion options
2687
* @returns Plain object
2688
*/
2689
public static toObject(message: proto.ContactAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
2690
2691
/**
2692
* Converts this ContactAction to JSON.
2693
* @returns JSON object
2694
*/
2695
public toJSON(): { [k: string]: any };
2696
}
2697
2698
/** Properties of a MuteAction. */
2699
interface IMuteAction {
2700
2701
/** MuteAction muted */
2702
muted?: (boolean|null);
2703
2704
/** MuteAction muteEndTimestamp */
2705
muteEndTimestamp?: (number|Long|null);
2706
}
2707
2708
/** Represents a MuteAction. */
2709
class MuteAction implements IMuteAction {
2710
2711
/**
2712
* Constructs a new MuteAction.
2713
* @param [properties] Properties to set
2714
*/
2715
constructor(properties?: proto.IMuteAction);
2716
2717
/** MuteAction muted. */
2718
public muted: boolean;
2719
2720
/** MuteAction muteEndTimestamp. */
2721
public muteEndTimestamp: (number|Long);
2722
2723
/**
2724
* Creates a new MuteAction instance using the specified properties.
2725
* @param [properties] Properties to set
2726
* @returns MuteAction instance
2727
*/
2728
public static create(properties?: proto.IMuteAction): proto.MuteAction;
2729
2730
/**
2731
* Encodes the specified MuteAction message. Does not implicitly {@link proto.MuteAction.verify|verify} messages.
2732
* @param message MuteAction message or plain object to encode
2733
* @param [writer] Writer to encode to
2734
* @returns Writer
2735
*/
2736
public static encode(message: proto.IMuteAction, writer?: $protobuf.Writer): $protobuf.Writer;
2737
2738
/**
2739
* Encodes the specified MuteAction message, length delimited. Does not implicitly {@link proto.MuteAction.verify|verify} messages.
2740
* @param message MuteAction message or plain object to encode
2741
* @param [writer] Writer to encode to
2742
* @returns Writer
2743
*/
2744
public static encodeDelimited(message: proto.IMuteAction, writer?: $protobuf.Writer): $protobuf.Writer;
2745
2746
/**
2747
* Decodes a MuteAction message from the specified reader or buffer.
2748
* @param reader Reader or buffer to decode from
2749
* @param [length] Message length if known beforehand
2750
* @returns MuteAction
2751
* @throws {Error} If the payload is not a reader or valid buffer
2752
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2753
*/
2754
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MuteAction;
2755
2756
/**
2757
* Decodes a MuteAction message from the specified reader or buffer, length delimited.
2758
* @param reader Reader or buffer to decode from
2759
* @returns MuteAction
2760
* @throws {Error} If the payload is not a reader or valid buffer
2761
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2762
*/
2763
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MuteAction;
2764
2765
/**
2766
* Verifies a MuteAction message.
2767
* @param message Plain object to verify
2768
* @returns `null` if valid, otherwise the reason why it is not
2769
*/
2770
public static verify(message: { [k: string]: any }): (string|null);
2771
2772
/**
2773
* Creates a MuteAction message from a plain object. Also converts values to their respective internal types.
2774
* @param object Plain object
2775
* @returns MuteAction
2776
*/
2777
public static fromObject(object: { [k: string]: any }): proto.MuteAction;
2778
2779
/**
2780
* Creates a plain object from a MuteAction message. Also converts values to other types if specified.
2781
* @param message MuteAction
2782
* @param [options] Conversion options
2783
* @returns Plain object
2784
*/
2785
public static toObject(message: proto.MuteAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
2786
2787
/**
2788
* Converts this MuteAction to JSON.
2789
* @returns JSON object
2790
*/
2791
public toJSON(): { [k: string]: any };
2792
}
2793
2794
/** Properties of a PinAction. */
2795
interface IPinAction {
2796
2797
/** PinAction pinned */
2798
pinned?: (boolean|null);
2799
}
2800
2801
/** Represents a PinAction. */
2802
class PinAction implements IPinAction {
2803
2804
/**
2805
* Constructs a new PinAction.
2806
* @param [properties] Properties to set
2807
*/
2808
constructor(properties?: proto.IPinAction);
2809
2810
/** PinAction pinned. */
2811
public pinned: boolean;
2812
2813
/**
2814
* Creates a new PinAction instance using the specified properties.
2815
* @param [properties] Properties to set
2816
* @returns PinAction instance
2817
*/
2818
public static create(properties?: proto.IPinAction): proto.PinAction;
2819
2820
/**
2821
* Encodes the specified PinAction message. Does not implicitly {@link proto.PinAction.verify|verify} messages.
2822
* @param message PinAction message or plain object to encode
2823
* @param [writer] Writer to encode to
2824
* @returns Writer
2825
*/
2826
public static encode(message: proto.IPinAction, writer?: $protobuf.Writer): $protobuf.Writer;
2827
2828
/**
2829
* Encodes the specified PinAction message, length delimited. Does not implicitly {@link proto.PinAction.verify|verify} messages.
2830
* @param message PinAction message or plain object to encode
2831
* @param [writer] Writer to encode to
2832
* @returns Writer
2833
*/
2834
public static encodeDelimited(message: proto.IPinAction, writer?: $protobuf.Writer): $protobuf.Writer;
2835
2836
/**
2837
* Decodes a PinAction message from the specified reader or buffer.
2838
* @param reader Reader or buffer to decode from
2839
* @param [length] Message length if known beforehand
2840
* @returns PinAction
2841
* @throws {Error} If the payload is not a reader or valid buffer
2842
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2843
*/
2844
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PinAction;
2845
2846
/**
2847
* Decodes a PinAction message from the specified reader or buffer, length delimited.
2848
* @param reader Reader or buffer to decode from
2849
* @returns PinAction
2850
* @throws {Error} If the payload is not a reader or valid buffer
2851
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2852
*/
2853
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PinAction;
2854
2855
/**
2856
* Verifies a PinAction message.
2857
* @param message Plain object to verify
2858
* @returns `null` if valid, otherwise the reason why it is not
2859
*/
2860
public static verify(message: { [k: string]: any }): (string|null);
2861
2862
/**
2863
* Creates a PinAction message from a plain object. Also converts values to their respective internal types.
2864
* @param object Plain object
2865
* @returns PinAction
2866
*/
2867
public static fromObject(object: { [k: string]: any }): proto.PinAction;
2868
2869
/**
2870
* Creates a plain object from a PinAction message. Also converts values to other types if specified.
2871
* @param message PinAction
2872
* @param [options] Conversion options
2873
* @returns Plain object
2874
*/
2875
public static toObject(message: proto.PinAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
2876
2877
/**
2878
* Converts this PinAction to JSON.
2879
* @returns JSON object
2880
*/
2881
public toJSON(): { [k: string]: any };
2882
}
2883
2884
/** Properties of a SecurityNotificationSetting. */
2885
interface ISecurityNotificationSetting {
2886
2887
/** SecurityNotificationSetting showNotification */
2888
showNotification?: (boolean|null);
2889
}
2890
2891
/** Represents a SecurityNotificationSetting. */
2892
class SecurityNotificationSetting implements ISecurityNotificationSetting {
2893
2894
/**
2895
* Constructs a new SecurityNotificationSetting.
2896
* @param [properties] Properties to set
2897
*/
2898
constructor(properties?: proto.ISecurityNotificationSetting);
2899
2900
/** SecurityNotificationSetting showNotification. */
2901
public showNotification: boolean;
2902
2903
/**
2904
* Creates a new SecurityNotificationSetting instance using the specified properties.
2905
* @param [properties] Properties to set
2906
* @returns SecurityNotificationSetting instance
2907
*/
2908
public static create(properties?: proto.ISecurityNotificationSetting): proto.SecurityNotificationSetting;
2909
2910
/**
2911
* Encodes the specified SecurityNotificationSetting message. Does not implicitly {@link proto.SecurityNotificationSetting.verify|verify} messages.
2912
* @param message SecurityNotificationSetting message or plain object to encode
2913
* @param [writer] Writer to encode to
2914
* @returns Writer
2915
*/
2916
public static encode(message: proto.ISecurityNotificationSetting, writer?: $protobuf.Writer): $protobuf.Writer;
2917
2918
/**
2919
* Encodes the specified SecurityNotificationSetting message, length delimited. Does not implicitly {@link proto.SecurityNotificationSetting.verify|verify} messages.
2920
* @param message SecurityNotificationSetting message or plain object to encode
2921
* @param [writer] Writer to encode to
2922
* @returns Writer
2923
*/
2924
public static encodeDelimited(message: proto.ISecurityNotificationSetting, writer?: $protobuf.Writer): $protobuf.Writer;
2925
2926
/**
2927
* Decodes a SecurityNotificationSetting message from the specified reader or buffer.
2928
* @param reader Reader or buffer to decode from
2929
* @param [length] Message length if known beforehand
2930
* @returns SecurityNotificationSetting
2931
* @throws {Error} If the payload is not a reader or valid buffer
2932
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2933
*/
2934
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SecurityNotificationSetting;
2935
2936
/**
2937
* Decodes a SecurityNotificationSetting message from the specified reader or buffer, length delimited.
2938
* @param reader Reader or buffer to decode from
2939
* @returns SecurityNotificationSetting
2940
* @throws {Error} If the payload is not a reader or valid buffer
2941
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2942
*/
2943
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SecurityNotificationSetting;
2944
2945
/**
2946
* Verifies a SecurityNotificationSetting message.
2947
* @param message Plain object to verify
2948
* @returns `null` if valid, otherwise the reason why it is not
2949
*/
2950
public static verify(message: { [k: string]: any }): (string|null);
2951
2952
/**
2953
* Creates a SecurityNotificationSetting message from a plain object. Also converts values to their respective internal types.
2954
* @param object Plain object
2955
* @returns SecurityNotificationSetting
2956
*/
2957
public static fromObject(object: { [k: string]: any }): proto.SecurityNotificationSetting;
2958
2959
/**
2960
* Creates a plain object from a SecurityNotificationSetting message. Also converts values to other types if specified.
2961
* @param message SecurityNotificationSetting
2962
* @param [options] Conversion options
2963
* @returns Plain object
2964
*/
2965
public static toObject(message: proto.SecurityNotificationSetting, options?: $protobuf.IConversionOptions): { [k: string]: any };
2966
2967
/**
2968
* Converts this SecurityNotificationSetting to JSON.
2969
* @returns JSON object
2970
*/
2971
public toJSON(): { [k: string]: any };
2972
}
2973
2974
/** Properties of a PushNameSetting. */
2975
interface IPushNameSetting {
2976
2977
/** PushNameSetting name */
2978
name?: (string|null);
2979
}
2980
2981
/** Represents a PushNameSetting. */
2982
class PushNameSetting implements IPushNameSetting {
2983
2984
/**
2985
* Constructs a new PushNameSetting.
2986
* @param [properties] Properties to set
2987
*/
2988
constructor(properties?: proto.IPushNameSetting);
2989
2990
/** PushNameSetting name. */
2991
public name: string;
2992
2993
/**
2994
* Creates a new PushNameSetting instance using the specified properties.
2995
* @param [properties] Properties to set
2996
* @returns PushNameSetting instance
2997
*/
2998
public static create(properties?: proto.IPushNameSetting): proto.PushNameSetting;
2999
3000
/**
3001
* Encodes the specified PushNameSetting message. Does not implicitly {@link proto.PushNameSetting.verify|verify} messages.
3002
* @param message PushNameSetting message or plain object to encode
3003
* @param [writer] Writer to encode to
3004
* @returns Writer
3005
*/
3006
public static encode(message: proto.IPushNameSetting, writer?: $protobuf.Writer): $protobuf.Writer;
3007
3008
/**
3009
* Encodes the specified PushNameSetting message, length delimited. Does not implicitly {@link proto.PushNameSetting.verify|verify} messages.
3010
* @param message PushNameSetting message or plain object to encode
3011
* @param [writer] Writer to encode to
3012
* @returns Writer
3013
*/
3014
public static encodeDelimited(message: proto.IPushNameSetting, writer?: $protobuf.Writer): $protobuf.Writer;
3015
3016
/**
3017
* Decodes a PushNameSetting message from the specified reader or buffer.
3018
* @param reader Reader or buffer to decode from
3019
* @param [length] Message length if known beforehand
3020
* @returns PushNameSetting
3021
* @throws {Error} If the payload is not a reader or valid buffer
3022
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3023
*/
3024
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PushNameSetting;
3025
3026
/**
3027
* Decodes a PushNameSetting message from the specified reader or buffer, length delimited.
3028
* @param reader Reader or buffer to decode from
3029
* @returns PushNameSetting
3030
* @throws {Error} If the payload is not a reader or valid buffer
3031
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3032
*/
3033
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PushNameSetting;
3034
3035
/**
3036
* Verifies a PushNameSetting message.
3037
* @param message Plain object to verify
3038
* @returns `null` if valid, otherwise the reason why it is not
3039
*/
3040
public static verify(message: { [k: string]: any }): (string|null);
3041
3042
/**
3043
* Creates a PushNameSetting message from a plain object. Also converts values to their respective internal types.
3044
* @param object Plain object
3045
* @returns PushNameSetting
3046
*/
3047
public static fromObject(object: { [k: string]: any }): proto.PushNameSetting;
3048
3049
/**
3050
* Creates a plain object from a PushNameSetting message. Also converts values to other types if specified.
3051
* @param message PushNameSetting
3052
* @param [options] Conversion options
3053
* @returns Plain object
3054
*/
3055
public static toObject(message: proto.PushNameSetting, options?: $protobuf.IConversionOptions): { [k: string]: any };
3056
3057
/**
3058
* Converts this PushNameSetting to JSON.
3059
* @returns JSON object
3060
*/
3061
public toJSON(): { [k: string]: any };
3062
}
3063
3064
/** Properties of a LocaleSetting. */
3065
interface ILocaleSetting {
3066
3067
/** LocaleSetting locale */
3068
locale?: (string|null);
3069
}
3070
3071
/** Represents a LocaleSetting. */
3072
class LocaleSetting implements ILocaleSetting {
3073
3074
/**
3075
* Constructs a new LocaleSetting.
3076
* @param [properties] Properties to set
3077
*/
3078
constructor(properties?: proto.ILocaleSetting);
3079
3080
/** LocaleSetting locale. */
3081
public locale: string;
3082
3083
/**
3084
* Creates a new LocaleSetting instance using the specified properties.
3085
* @param [properties] Properties to set
3086
* @returns LocaleSetting instance
3087
*/
3088
public static create(properties?: proto.ILocaleSetting): proto.LocaleSetting;
3089
3090
/**
3091
* Encodes the specified LocaleSetting message. Does not implicitly {@link proto.LocaleSetting.verify|verify} messages.
3092
* @param message LocaleSetting message or plain object to encode
3093
* @param [writer] Writer to encode to
3094
* @returns Writer
3095
*/
3096
public static encode(message: proto.ILocaleSetting, writer?: $protobuf.Writer): $protobuf.Writer;
3097
3098
/**
3099
* Encodes the specified LocaleSetting message, length delimited. Does not implicitly {@link proto.LocaleSetting.verify|verify} messages.
3100
* @param message LocaleSetting message or plain object to encode
3101
* @param [writer] Writer to encode to
3102
* @returns Writer
3103
*/
3104
public static encodeDelimited(message: proto.ILocaleSetting, writer?: $protobuf.Writer): $protobuf.Writer;
3105
3106
/**
3107
* Decodes a LocaleSetting message from the specified reader or buffer.
3108
* @param reader Reader or buffer to decode from
3109
* @param [length] Message length if known beforehand
3110
* @returns LocaleSetting
3111
* @throws {Error} If the payload is not a reader or valid buffer
3112
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3113
*/
3114
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.LocaleSetting;
3115
3116
/**
3117
* Decodes a LocaleSetting message from the specified reader or buffer, length delimited.
3118
* @param reader Reader or buffer to decode from
3119
* @returns LocaleSetting
3120
* @throws {Error} If the payload is not a reader or valid buffer
3121
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3122
*/
3123
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.LocaleSetting;
3124
3125
/**
3126
* Verifies a LocaleSetting message.
3127
* @param message Plain object to verify
3128
* @returns `null` if valid, otherwise the reason why it is not
3129
*/
3130
public static verify(message: { [k: string]: any }): (string|null);
3131
3132
/**
3133
* Creates a LocaleSetting message from a plain object. Also converts values to their respective internal types.
3134
* @param object Plain object
3135
* @returns LocaleSetting
3136
*/
3137
public static fromObject(object: { [k: string]: any }): proto.LocaleSetting;
3138
3139
/**
3140
* Creates a plain object from a LocaleSetting message. Also converts values to other types if specified.
3141
* @param message LocaleSetting
3142
* @param [options] Conversion options
3143
* @returns Plain object
3144
*/
3145
public static toObject(message: proto.LocaleSetting, options?: $protobuf.IConversionOptions): { [k: string]: any };
3146
3147
/**
3148
* Converts this LocaleSetting to JSON.
3149
* @returns JSON object
3150
*/
3151
public toJSON(): { [k: string]: any };
3152
}
3153
3154
/** Properties of a QuickReplyAction. */
3155
interface IQuickReplyAction {
3156
3157
/** QuickReplyAction shortcut */
3158
shortcut?: (string|null);
3159
3160
/** QuickReplyAction message */
3161
message?: (string|null);
3162
3163
/** QuickReplyAction keywords */
3164
keywords?: (string[]|null);
3165
3166
/** QuickReplyAction count */
3167
count?: (number|null);
3168
3169
/** QuickReplyAction deleted */
3170
deleted?: (boolean|null);
3171
}
3172
3173
/** Represents a QuickReplyAction. */
3174
class QuickReplyAction implements IQuickReplyAction {
3175
3176
/**
3177
* Constructs a new QuickReplyAction.
3178
* @param [properties] Properties to set
3179
*/
3180
constructor(properties?: proto.IQuickReplyAction);
3181
3182
/** QuickReplyAction shortcut. */
3183
public shortcut: string;
3184
3185
/** QuickReplyAction message. */
3186
public message: string;
3187
3188
/** QuickReplyAction keywords. */
3189
public keywords: string[];
3190
3191
/** QuickReplyAction count. */
3192
public count: number;
3193
3194
/** QuickReplyAction deleted. */
3195
public deleted: boolean;
3196
3197
/**
3198
* Creates a new QuickReplyAction instance using the specified properties.
3199
* @param [properties] Properties to set
3200
* @returns QuickReplyAction instance
3201
*/
3202
public static create(properties?: proto.IQuickReplyAction): proto.QuickReplyAction;
3203
3204
/**
3205
* Encodes the specified QuickReplyAction message. Does not implicitly {@link proto.QuickReplyAction.verify|verify} messages.
3206
* @param message QuickReplyAction message or plain object to encode
3207
* @param [writer] Writer to encode to
3208
* @returns Writer
3209
*/
3210
public static encode(message: proto.IQuickReplyAction, writer?: $protobuf.Writer): $protobuf.Writer;
3211
3212
/**
3213
* Encodes the specified QuickReplyAction message, length delimited. Does not implicitly {@link proto.QuickReplyAction.verify|verify} messages.
3214
* @param message QuickReplyAction message or plain object to encode
3215
* @param [writer] Writer to encode to
3216
* @returns Writer
3217
*/
3218
public static encodeDelimited(message: proto.IQuickReplyAction, writer?: $protobuf.Writer): $protobuf.Writer;
3219
3220
/**
3221
* Decodes a QuickReplyAction message from the specified reader or buffer.
3222
* @param reader Reader or buffer to decode from
3223
* @param [length] Message length if known beforehand
3224
* @returns QuickReplyAction
3225
* @throws {Error} If the payload is not a reader or valid buffer
3226
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3227
*/
3228
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.QuickReplyAction;
3229
3230
/**
3231
* Decodes a QuickReplyAction message from the specified reader or buffer, length delimited.
3232
* @param reader Reader or buffer to decode from
3233
* @returns QuickReplyAction
3234
* @throws {Error} If the payload is not a reader or valid buffer
3235
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3236
*/
3237
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.QuickReplyAction;
3238
3239
/**
3240
* Verifies a QuickReplyAction message.
3241
* @param message Plain object to verify
3242
* @returns `null` if valid, otherwise the reason why it is not
3243
*/
3244
public static verify(message: { [k: string]: any }): (string|null);
3245
3246
/**
3247
* Creates a QuickReplyAction message from a plain object. Also converts values to their respective internal types.
3248
* @param object Plain object
3249
* @returns QuickReplyAction
3250
*/
3251
public static fromObject(object: { [k: string]: any }): proto.QuickReplyAction;
3252
3253
/**
3254
* Creates a plain object from a QuickReplyAction message. Also converts values to other types if specified.
3255
* @param message QuickReplyAction
3256
* @param [options] Conversion options
3257
* @returns Plain object
3258
*/
3259
public static toObject(message: proto.QuickReplyAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3260
3261
/**
3262
* Converts this QuickReplyAction to JSON.
3263
* @returns JSON object
3264
*/
3265
public toJSON(): { [k: string]: any };
3266
}
3267
3268
/** Properties of a LabelAssociationAction. */
3269
interface ILabelAssociationAction {
3270
3271
/** LabelAssociationAction labeled */
3272
labeled?: (boolean|null);
3273
}
3274
3275
/** Represents a LabelAssociationAction. */
3276
class LabelAssociationAction implements ILabelAssociationAction {
3277
3278
/**
3279
* Constructs a new LabelAssociationAction.
3280
* @param [properties] Properties to set
3281
*/
3282
constructor(properties?: proto.ILabelAssociationAction);
3283
3284
/** LabelAssociationAction labeled. */
3285
public labeled: boolean;
3286
3287
/**
3288
* Creates a new LabelAssociationAction instance using the specified properties.
3289
* @param [properties] Properties to set
3290
* @returns LabelAssociationAction instance
3291
*/
3292
public static create(properties?: proto.ILabelAssociationAction): proto.LabelAssociationAction;
3293
3294
/**
3295
* Encodes the specified LabelAssociationAction message. Does not implicitly {@link proto.LabelAssociationAction.verify|verify} messages.
3296
* @param message LabelAssociationAction message or plain object to encode
3297
* @param [writer] Writer to encode to
3298
* @returns Writer
3299
*/
3300
public static encode(message: proto.ILabelAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer;
3301
3302
/**
3303
* Encodes the specified LabelAssociationAction message, length delimited. Does not implicitly {@link proto.LabelAssociationAction.verify|verify} messages.
3304
* @param message LabelAssociationAction message or plain object to encode
3305
* @param [writer] Writer to encode to
3306
* @returns Writer
3307
*/
3308
public static encodeDelimited(message: proto.ILabelAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer;
3309
3310
/**
3311
* Decodes a LabelAssociationAction message from the specified reader or buffer.
3312
* @param reader Reader or buffer to decode from
3313
* @param [length] Message length if known beforehand
3314
* @returns LabelAssociationAction
3315
* @throws {Error} If the payload is not a reader or valid buffer
3316
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3317
*/
3318
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.LabelAssociationAction;
3319
3320
/**
3321
* Decodes a LabelAssociationAction message from the specified reader or buffer, length delimited.
3322
* @param reader Reader or buffer to decode from
3323
* @returns LabelAssociationAction
3324
* @throws {Error} If the payload is not a reader or valid buffer
3325
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3326
*/
3327
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.LabelAssociationAction;
3328
3329
/**
3330
* Verifies a LabelAssociationAction message.
3331
* @param message Plain object to verify
3332
* @returns `null` if valid, otherwise the reason why it is not
3333
*/
3334
public static verify(message: { [k: string]: any }): (string|null);
3335
3336
/**
3337
* Creates a LabelAssociationAction message from a plain object. Also converts values to their respective internal types.
3338
* @param object Plain object
3339
* @returns LabelAssociationAction
3340
*/
3341
public static fromObject(object: { [k: string]: any }): proto.LabelAssociationAction;
3342
3343
/**
3344
* Creates a plain object from a LabelAssociationAction message. Also converts values to other types if specified.
3345
* @param message LabelAssociationAction
3346
* @param [options] Conversion options
3347
* @returns Plain object
3348
*/
3349
public static toObject(message: proto.LabelAssociationAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3350
3351
/**
3352
* Converts this LabelAssociationAction to JSON.
3353
* @returns JSON object
3354
*/
3355
public toJSON(): { [k: string]: any };
3356
}
3357
3358
/** Properties of a LabelEditAction. */
3359
interface ILabelEditAction {
3360
3361
/** LabelEditAction name */
3362
name?: (string|null);
3363
3364
/** LabelEditAction color */
3365
color?: (number|null);
3366
3367
/** LabelEditAction predefinedId */
3368
predefinedId?: (number|null);
3369
3370
/** LabelEditAction deleted */
3371
deleted?: (boolean|null);
3372
}
3373
3374
/** Represents a LabelEditAction. */
3375
class LabelEditAction implements ILabelEditAction {
3376
3377
/**
3378
* Constructs a new LabelEditAction.
3379
* @param [properties] Properties to set
3380
*/
3381
constructor(properties?: proto.ILabelEditAction);
3382
3383
/** LabelEditAction name. */
3384
public name: string;
3385
3386
/** LabelEditAction color. */
3387
public color: number;
3388
3389
/** LabelEditAction predefinedId. */
3390
public predefinedId: number;
3391
3392
/** LabelEditAction deleted. */
3393
public deleted: boolean;
3394
3395
/**
3396
* Creates a new LabelEditAction instance using the specified properties.
3397
* @param [properties] Properties to set
3398
* @returns LabelEditAction instance
3399
*/
3400
public static create(properties?: proto.ILabelEditAction): proto.LabelEditAction;
3401
3402
/**
3403
* Encodes the specified LabelEditAction message. Does not implicitly {@link proto.LabelEditAction.verify|verify} messages.
3404
* @param message LabelEditAction message or plain object to encode
3405
* @param [writer] Writer to encode to
3406
* @returns Writer
3407
*/
3408
public static encode(message: proto.ILabelEditAction, writer?: $protobuf.Writer): $protobuf.Writer;
3409
3410
/**
3411
* Encodes the specified LabelEditAction message, length delimited. Does not implicitly {@link proto.LabelEditAction.verify|verify} messages.
3412
* @param message LabelEditAction message or plain object to encode
3413
* @param [writer] Writer to encode to
3414
* @returns Writer
3415
*/
3416
public static encodeDelimited(message: proto.ILabelEditAction, writer?: $protobuf.Writer): $protobuf.Writer;
3417
3418
/**
3419
* Decodes a LabelEditAction message from the specified reader or buffer.
3420
* @param reader Reader or buffer to decode from
3421
* @param [length] Message length if known beforehand
3422
* @returns LabelEditAction
3423
* @throws {Error} If the payload is not a reader or valid buffer
3424
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3425
*/
3426
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.LabelEditAction;
3427
3428
/**
3429
* Decodes a LabelEditAction message from the specified reader or buffer, length delimited.
3430
* @param reader Reader or buffer to decode from
3431
* @returns LabelEditAction
3432
* @throws {Error} If the payload is not a reader or valid buffer
3433
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3434
*/
3435
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.LabelEditAction;
3436
3437
/**
3438
* Verifies a LabelEditAction message.
3439
* @param message Plain object to verify
3440
* @returns `null` if valid, otherwise the reason why it is not
3441
*/
3442
public static verify(message: { [k: string]: any }): (string|null);
3443
3444
/**
3445
* Creates a LabelEditAction message from a plain object. Also converts values to their respective internal types.
3446
* @param object Plain object
3447
* @returns LabelEditAction
3448
*/
3449
public static fromObject(object: { [k: string]: any }): proto.LabelEditAction;
3450
3451
/**
3452
* Creates a plain object from a LabelEditAction message. Also converts values to other types if specified.
3453
* @param message LabelEditAction
3454
* @param [options] Conversion options
3455
* @returns Plain object
3456
*/
3457
public static toObject(message: proto.LabelEditAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3458
3459
/**
3460
* Converts this LabelEditAction to JSON.
3461
* @returns JSON object
3462
*/
3463
public toJSON(): { [k: string]: any };
3464
}
3465
3466
/** Properties of a RecentStickerWeightsAction. */
3467
interface IRecentStickerWeightsAction {
3468
3469
/** RecentStickerWeightsAction weights */
3470
weights?: (proto.IRecentStickerWeight[]|null);
3471
}
3472
3473
/** Represents a RecentStickerWeightsAction. */
3474
class RecentStickerWeightsAction implements IRecentStickerWeightsAction {
3475
3476
/**
3477
* Constructs a new RecentStickerWeightsAction.
3478
* @param [properties] Properties to set
3479
*/
3480
constructor(properties?: proto.IRecentStickerWeightsAction);
3481
3482
/** RecentStickerWeightsAction weights. */
3483
public weights: proto.IRecentStickerWeight[];
3484
3485
/**
3486
* Creates a new RecentStickerWeightsAction instance using the specified properties.
3487
* @param [properties] Properties to set
3488
* @returns RecentStickerWeightsAction instance
3489
*/
3490
public static create(properties?: proto.IRecentStickerWeightsAction): proto.RecentStickerWeightsAction;
3491
3492
/**
3493
* Encodes the specified RecentStickerWeightsAction message. Does not implicitly {@link proto.RecentStickerWeightsAction.verify|verify} messages.
3494
* @param message RecentStickerWeightsAction message or plain object to encode
3495
* @param [writer] Writer to encode to
3496
* @returns Writer
3497
*/
3498
public static encode(message: proto.IRecentStickerWeightsAction, writer?: $protobuf.Writer): $protobuf.Writer;
3499
3500
/**
3501
* Encodes the specified RecentStickerWeightsAction message, length delimited. Does not implicitly {@link proto.RecentStickerWeightsAction.verify|verify} messages.
3502
* @param message RecentStickerWeightsAction message or plain object to encode
3503
* @param [writer] Writer to encode to
3504
* @returns Writer
3505
*/
3506
public static encodeDelimited(message: proto.IRecentStickerWeightsAction, writer?: $protobuf.Writer): $protobuf.Writer;
3507
3508
/**
3509
* Decodes a RecentStickerWeightsAction message from the specified reader or buffer.
3510
* @param reader Reader or buffer to decode from
3511
* @param [length] Message length if known beforehand
3512
* @returns RecentStickerWeightsAction
3513
* @throws {Error} If the payload is not a reader or valid buffer
3514
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3515
*/
3516
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.RecentStickerWeightsAction;
3517
3518
/**
3519
* Decodes a RecentStickerWeightsAction message from the specified reader or buffer, length delimited.
3520
* @param reader Reader or buffer to decode from
3521
* @returns RecentStickerWeightsAction
3522
* @throws {Error} If the payload is not a reader or valid buffer
3523
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3524
*/
3525
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.RecentStickerWeightsAction;
3526
3527
/**
3528
* Verifies a RecentStickerWeightsAction message.
3529
* @param message Plain object to verify
3530
* @returns `null` if valid, otherwise the reason why it is not
3531
*/
3532
public static verify(message: { [k: string]: any }): (string|null);
3533
3534
/**
3535
* Creates a RecentStickerWeightsAction message from a plain object. Also converts values to their respective internal types.
3536
* @param object Plain object
3537
* @returns RecentStickerWeightsAction
3538
*/
3539
public static fromObject(object: { [k: string]: any }): proto.RecentStickerWeightsAction;
3540
3541
/**
3542
* Creates a plain object from a RecentStickerWeightsAction message. Also converts values to other types if specified.
3543
* @param message RecentStickerWeightsAction
3544
* @param [options] Conversion options
3545
* @returns Plain object
3546
*/
3547
public static toObject(message: proto.RecentStickerWeightsAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3548
3549
/**
3550
* Converts this RecentStickerWeightsAction to JSON.
3551
* @returns JSON object
3552
*/
3553
public toJSON(): { [k: string]: any };
3554
}
3555
3556
/** Properties of a RecentStickerMetadata. */
3557
interface IRecentStickerMetadata {
3558
3559
/** RecentStickerMetadata directPath */
3560
directPath?: (string|null);
3561
3562
/** RecentStickerMetadata encFilehash */
3563
encFilehash?: (string|null);
3564
3565
/** RecentStickerMetadata mediaKey */
3566
mediaKey?: (string|null);
3567
3568
/** RecentStickerMetadata stanzaId */
3569
stanzaId?: (string|null);
3570
3571
/** RecentStickerMetadata chatJid */
3572
chatJid?: (string|null);
3573
3574
/** RecentStickerMetadata participant */
3575
participant?: (string|null);
3576
3577
/** RecentStickerMetadata isSentByMe */
3578
isSentByMe?: (boolean|null);
3579
}
3580
3581
/** Represents a RecentStickerMetadata. */
3582
class RecentStickerMetadata implements IRecentStickerMetadata {
3583
3584
/**
3585
* Constructs a new RecentStickerMetadata.
3586
* @param [properties] Properties to set
3587
*/
3588
constructor(properties?: proto.IRecentStickerMetadata);
3589
3590
/** RecentStickerMetadata directPath. */
3591
public directPath: string;
3592
3593
/** RecentStickerMetadata encFilehash. */
3594
public encFilehash: string;
3595
3596
/** RecentStickerMetadata mediaKey. */
3597
public mediaKey: string;
3598
3599
/** RecentStickerMetadata stanzaId. */
3600
public stanzaId: string;
3601
3602
/** RecentStickerMetadata chatJid. */
3603
public chatJid: string;
3604
3605
/** RecentStickerMetadata participant. */
3606
public participant: string;
3607
3608
/** RecentStickerMetadata isSentByMe. */
3609
public isSentByMe: boolean;
3610
3611
/**
3612
* Creates a new RecentStickerMetadata instance using the specified properties.
3613
* @param [properties] Properties to set
3614
* @returns RecentStickerMetadata instance
3615
*/
3616
public static create(properties?: proto.IRecentStickerMetadata): proto.RecentStickerMetadata;
3617
3618
/**
3619
* Encodes the specified RecentStickerMetadata message. Does not implicitly {@link proto.RecentStickerMetadata.verify|verify} messages.
3620
* @param message RecentStickerMetadata message or plain object to encode
3621
* @param [writer] Writer to encode to
3622
* @returns Writer
3623
*/
3624
public static encode(message: proto.IRecentStickerMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
3625
3626
/**
3627
* Encodes the specified RecentStickerMetadata message, length delimited. Does not implicitly {@link proto.RecentStickerMetadata.verify|verify} messages.
3628
* @param message RecentStickerMetadata message or plain object to encode
3629
* @param [writer] Writer to encode to
3630
* @returns Writer
3631
*/
3632
public static encodeDelimited(message: proto.IRecentStickerMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
3633
3634
/**
3635
* Decodes a RecentStickerMetadata message from the specified reader or buffer.
3636
* @param reader Reader or buffer to decode from
3637
* @param [length] Message length if known beforehand
3638
* @returns RecentStickerMetadata
3639
* @throws {Error} If the payload is not a reader or valid buffer
3640
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3641
*/
3642
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.RecentStickerMetadata;
3643
3644
/**
3645
* Decodes a RecentStickerMetadata message from the specified reader or buffer, length delimited.
3646
* @param reader Reader or buffer to decode from
3647
* @returns RecentStickerMetadata
3648
* @throws {Error} If the payload is not a reader or valid buffer
3649
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3650
*/
3651
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.RecentStickerMetadata;
3652
3653
/**
3654
* Verifies a RecentStickerMetadata message.
3655
* @param message Plain object to verify
3656
* @returns `null` if valid, otherwise the reason why it is not
3657
*/
3658
public static verify(message: { [k: string]: any }): (string|null);
3659
3660
/**
3661
* Creates a RecentStickerMetadata message from a plain object. Also converts values to their respective internal types.
3662
* @param object Plain object
3663
* @returns RecentStickerMetadata
3664
*/
3665
public static fromObject(object: { [k: string]: any }): proto.RecentStickerMetadata;
3666
3667
/**
3668
* Creates a plain object from a RecentStickerMetadata message. Also converts values to other types if specified.
3669
* @param message RecentStickerMetadata
3670
* @param [options] Conversion options
3671
* @returns Plain object
3672
*/
3673
public static toObject(message: proto.RecentStickerMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
3674
3675
/**
3676
* Converts this RecentStickerMetadata to JSON.
3677
* @returns JSON object
3678
*/
3679
public toJSON(): { [k: string]: any };
3680
}
3681
3682
/** Properties of a RecentEmojiWeightsAction. */
3683
interface IRecentEmojiWeightsAction {
3684
3685
/** RecentEmojiWeightsAction weights */
3686
weights?: (proto.IRecentEmojiWeight[]|null);
3687
}
3688
3689
/** Represents a RecentEmojiWeightsAction. */
3690
class RecentEmojiWeightsAction implements IRecentEmojiWeightsAction {
3691
3692
/**
3693
* Constructs a new RecentEmojiWeightsAction.
3694
* @param [properties] Properties to set
3695
*/
3696
constructor(properties?: proto.IRecentEmojiWeightsAction);
3697
3698
/** RecentEmojiWeightsAction weights. */
3699
public weights: proto.IRecentEmojiWeight[];
3700
3701
/**
3702
* Creates a new RecentEmojiWeightsAction instance using the specified properties.
3703
* @param [properties] Properties to set
3704
* @returns RecentEmojiWeightsAction instance
3705
*/
3706
public static create(properties?: proto.IRecentEmojiWeightsAction): proto.RecentEmojiWeightsAction;
3707
3708
/**
3709
* Encodes the specified RecentEmojiWeightsAction message. Does not implicitly {@link proto.RecentEmojiWeightsAction.verify|verify} messages.
3710
* @param message RecentEmojiWeightsAction message or plain object to encode
3711
* @param [writer] Writer to encode to
3712
* @returns Writer
3713
*/
3714
public static encode(message: proto.IRecentEmojiWeightsAction, writer?: $protobuf.Writer): $protobuf.Writer;
3715
3716
/**
3717
* Encodes the specified RecentEmojiWeightsAction message, length delimited. Does not implicitly {@link proto.RecentEmojiWeightsAction.verify|verify} messages.
3718
* @param message RecentEmojiWeightsAction message or plain object to encode
3719
* @param [writer] Writer to encode to
3720
* @returns Writer
3721
*/
3722
public static encodeDelimited(message: proto.IRecentEmojiWeightsAction, writer?: $protobuf.Writer): $protobuf.Writer;
3723
3724
/**
3725
* Decodes a RecentEmojiWeightsAction message from the specified reader or buffer.
3726
* @param reader Reader or buffer to decode from
3727
* @param [length] Message length if known beforehand
3728
* @returns RecentEmojiWeightsAction
3729
* @throws {Error} If the payload is not a reader or valid buffer
3730
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3731
*/
3732
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.RecentEmojiWeightsAction;
3733
3734
/**
3735
* Decodes a RecentEmojiWeightsAction message from the specified reader or buffer, length delimited.
3736
* @param reader Reader or buffer to decode from
3737
* @returns RecentEmojiWeightsAction
3738
* @throws {Error} If the payload is not a reader or valid buffer
3739
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3740
*/
3741
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.RecentEmojiWeightsAction;
3742
3743
/**
3744
* Verifies a RecentEmojiWeightsAction message.
3745
* @param message Plain object to verify
3746
* @returns `null` if valid, otherwise the reason why it is not
3747
*/
3748
public static verify(message: { [k: string]: any }): (string|null);
3749
3750
/**
3751
* Creates a RecentEmojiWeightsAction message from a plain object. Also converts values to their respective internal types.
3752
* @param object Plain object
3753
* @returns RecentEmojiWeightsAction
3754
*/
3755
public static fromObject(object: { [k: string]: any }): proto.RecentEmojiWeightsAction;
3756
3757
/**
3758
* Creates a plain object from a RecentEmojiWeightsAction message. Also converts values to other types if specified.
3759
* @param message RecentEmojiWeightsAction
3760
* @param [options] Conversion options
3761
* @returns Plain object
3762
*/
3763
public static toObject(message: proto.RecentEmojiWeightsAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3764
3765
/**
3766
* Converts this RecentEmojiWeightsAction to JSON.
3767
* @returns JSON object
3768
*/
3769
public toJSON(): { [k: string]: any };
3770
}
3771
3772
/** Properties of a FavoriteStickerAction. */
3773
interface IFavoriteStickerAction {
3774
3775
/** FavoriteStickerAction directPath */
3776
directPath?: (string|null);
3777
3778
/** FavoriteStickerAction lastUploadTimestamp */
3779
lastUploadTimestamp?: (string|null);
3780
3781
/** FavoriteStickerAction handle */
3782
handle?: (string|null);
3783
3784
/** FavoriteStickerAction encFilehash */
3785
encFilehash?: (string|null);
3786
3787
/** FavoriteStickerAction stickerHashWithoutMeta */
3788
stickerHashWithoutMeta?: (string|null);
3789
3790
/** FavoriteStickerAction mediaKey */
3791
mediaKey?: (string|null);
3792
3793
/** FavoriteStickerAction mediaKeyTimestamp */
3794
mediaKeyTimestamp?: (number|Long|null);
3795
3796
/** FavoriteStickerAction isFavorite */
3797
isFavorite?: (boolean|null);
3798
}
3799
3800
/** Represents a FavoriteStickerAction. */
3801
class FavoriteStickerAction implements IFavoriteStickerAction {
3802
3803
/**
3804
* Constructs a new FavoriteStickerAction.
3805
* @param [properties] Properties to set
3806
*/
3807
constructor(properties?: proto.IFavoriteStickerAction);
3808
3809
/** FavoriteStickerAction directPath. */
3810
public directPath: string;
3811
3812
/** FavoriteStickerAction lastUploadTimestamp. */
3813
public lastUploadTimestamp: string;
3814
3815
/** FavoriteStickerAction handle. */
3816
public handle: string;
3817
3818
/** FavoriteStickerAction encFilehash. */
3819
public encFilehash: string;
3820
3821
/** FavoriteStickerAction stickerHashWithoutMeta. */
3822
public stickerHashWithoutMeta: string;
3823
3824
/** FavoriteStickerAction mediaKey. */
3825
public mediaKey: string;
3826
3827
/** FavoriteStickerAction mediaKeyTimestamp. */
3828
public mediaKeyTimestamp: (number|Long);
3829
3830
/** FavoriteStickerAction isFavorite. */
3831
public isFavorite: boolean;
3832
3833
/**
3834
* Creates a new FavoriteStickerAction instance using the specified properties.
3835
* @param [properties] Properties to set
3836
* @returns FavoriteStickerAction instance
3837
*/
3838
public static create(properties?: proto.IFavoriteStickerAction): proto.FavoriteStickerAction;
3839
3840
/**
3841
* Encodes the specified FavoriteStickerAction message. Does not implicitly {@link proto.FavoriteStickerAction.verify|verify} messages.
3842
* @param message FavoriteStickerAction message or plain object to encode
3843
* @param [writer] Writer to encode to
3844
* @returns Writer
3845
*/
3846
public static encode(message: proto.IFavoriteStickerAction, writer?: $protobuf.Writer): $protobuf.Writer;
3847
3848
/**
3849
* Encodes the specified FavoriteStickerAction message, length delimited. Does not implicitly {@link proto.FavoriteStickerAction.verify|verify} messages.
3850
* @param message FavoriteStickerAction message or plain object to encode
3851
* @param [writer] Writer to encode to
3852
* @returns Writer
3853
*/
3854
public static encodeDelimited(message: proto.IFavoriteStickerAction, writer?: $protobuf.Writer): $protobuf.Writer;
3855
3856
/**
3857
* Decodes a FavoriteStickerAction message from the specified reader or buffer.
3858
* @param reader Reader or buffer to decode from
3859
* @param [length] Message length if known beforehand
3860
* @returns FavoriteStickerAction
3861
* @throws {Error} If the payload is not a reader or valid buffer
3862
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3863
*/
3864
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FavoriteStickerAction;
3865
3866
/**
3867
* Decodes a FavoriteStickerAction message from the specified reader or buffer, length delimited.
3868
* @param reader Reader or buffer to decode from
3869
* @returns FavoriteStickerAction
3870
* @throws {Error} If the payload is not a reader or valid buffer
3871
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3872
*/
3873
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FavoriteStickerAction;
3874
3875
/**
3876
* Verifies a FavoriteStickerAction message.
3877
* @param message Plain object to verify
3878
* @returns `null` if valid, otherwise the reason why it is not
3879
*/
3880
public static verify(message: { [k: string]: any }): (string|null);
3881
3882
/**
3883
* Creates a FavoriteStickerAction message from a plain object. Also converts values to their respective internal types.
3884
* @param object Plain object
3885
* @returns FavoriteStickerAction
3886
*/
3887
public static fromObject(object: { [k: string]: any }): proto.FavoriteStickerAction;
3888
3889
/**
3890
* Creates a plain object from a FavoriteStickerAction message. Also converts values to other types if specified.
3891
* @param message FavoriteStickerAction
3892
* @param [options] Conversion options
3893
* @returns Plain object
3894
*/
3895
public static toObject(message: proto.FavoriteStickerAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3896
3897
/**
3898
* Converts this FavoriteStickerAction to JSON.
3899
* @returns JSON object
3900
*/
3901
public toJSON(): { [k: string]: any };
3902
}
3903
3904
/** Properties of an ArchiveChatAction. */
3905
interface IArchiveChatAction {
3906
3907
/** ArchiveChatAction archived */
3908
archived?: (boolean|null);
3909
3910
/** ArchiveChatAction messageRange */
3911
messageRange?: (proto.ISyncActionMessageRange|null);
3912
}
3913
3914
/** Represents an ArchiveChatAction. */
3915
class ArchiveChatAction implements IArchiveChatAction {
3916
3917
/**
3918
* Constructs a new ArchiveChatAction.
3919
* @param [properties] Properties to set
3920
*/
3921
constructor(properties?: proto.IArchiveChatAction);
3922
3923
/** ArchiveChatAction archived. */
3924
public archived: boolean;
3925
3926
/** ArchiveChatAction messageRange. */
3927
public messageRange?: (proto.ISyncActionMessageRange|null);
3928
3929
/**
3930
* Creates a new ArchiveChatAction instance using the specified properties.
3931
* @param [properties] Properties to set
3932
* @returns ArchiveChatAction instance
3933
*/
3934
public static create(properties?: proto.IArchiveChatAction): proto.ArchiveChatAction;
3935
3936
/**
3937
* Encodes the specified ArchiveChatAction message. Does not implicitly {@link proto.ArchiveChatAction.verify|verify} messages.
3938
* @param message ArchiveChatAction message or plain object to encode
3939
* @param [writer] Writer to encode to
3940
* @returns Writer
3941
*/
3942
public static encode(message: proto.IArchiveChatAction, writer?: $protobuf.Writer): $protobuf.Writer;
3943
3944
/**
3945
* Encodes the specified ArchiveChatAction message, length delimited. Does not implicitly {@link proto.ArchiveChatAction.verify|verify} messages.
3946
* @param message ArchiveChatAction message or plain object to encode
3947
* @param [writer] Writer to encode to
3948
* @returns Writer
3949
*/
3950
public static encodeDelimited(message: proto.IArchiveChatAction, writer?: $protobuf.Writer): $protobuf.Writer;
3951
3952
/**
3953
* Decodes an ArchiveChatAction message from the specified reader or buffer.
3954
* @param reader Reader or buffer to decode from
3955
* @param [length] Message length if known beforehand
3956
* @returns ArchiveChatAction
3957
* @throws {Error} If the payload is not a reader or valid buffer
3958
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3959
*/
3960
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ArchiveChatAction;
3961
3962
/**
3963
* Decodes an ArchiveChatAction message from the specified reader or buffer, length delimited.
3964
* @param reader Reader or buffer to decode from
3965
* @returns ArchiveChatAction
3966
* @throws {Error} If the payload is not a reader or valid buffer
3967
* @throws {$protobuf.util.ProtocolError} If required fields are missing
3968
*/
3969
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ArchiveChatAction;
3970
3971
/**
3972
* Verifies an ArchiveChatAction message.
3973
* @param message Plain object to verify
3974
* @returns `null` if valid, otherwise the reason why it is not
3975
*/
3976
public static verify(message: { [k: string]: any }): (string|null);
3977
3978
/**
3979
* Creates an ArchiveChatAction message from a plain object. Also converts values to their respective internal types.
3980
* @param object Plain object
3981
* @returns ArchiveChatAction
3982
*/
3983
public static fromObject(object: { [k: string]: any }): proto.ArchiveChatAction;
3984
3985
/**
3986
* Creates a plain object from an ArchiveChatAction message. Also converts values to other types if specified.
3987
* @param message ArchiveChatAction
3988
* @param [options] Conversion options
3989
* @returns Plain object
3990
*/
3991
public static toObject(message: proto.ArchiveChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
3992
3993
/**
3994
* Converts this ArchiveChatAction to JSON.
3995
* @returns JSON object
3996
*/
3997
public toJSON(): { [k: string]: any };
3998
}
3999
4000
/** Properties of a DeleteMessageForMeAction. */
4001
interface IDeleteMessageForMeAction {
4002
4003
/** DeleteMessageForMeAction deleteMedia */
4004
deleteMedia?: (boolean|null);
4005
4006
/** DeleteMessageForMeAction messageTimestamp */
4007
messageTimestamp?: (number|Long|null);
4008
}
4009
4010
/** Represents a DeleteMessageForMeAction. */
4011
class DeleteMessageForMeAction implements IDeleteMessageForMeAction {
4012
4013
/**
4014
* Constructs a new DeleteMessageForMeAction.
4015
* @param [properties] Properties to set
4016
*/
4017
constructor(properties?: proto.IDeleteMessageForMeAction);
4018
4019
/** DeleteMessageForMeAction deleteMedia. */
4020
public deleteMedia: boolean;
4021
4022
/** DeleteMessageForMeAction messageTimestamp. */
4023
public messageTimestamp: (number|Long);
4024
4025
/**
4026
* Creates a new DeleteMessageForMeAction instance using the specified properties.
4027
* @param [properties] Properties to set
4028
* @returns DeleteMessageForMeAction instance
4029
*/
4030
public static create(properties?: proto.IDeleteMessageForMeAction): proto.DeleteMessageForMeAction;
4031
4032
/**
4033
* Encodes the specified DeleteMessageForMeAction message. Does not implicitly {@link proto.DeleteMessageForMeAction.verify|verify} messages.
4034
* @param message DeleteMessageForMeAction message or plain object to encode
4035
* @param [writer] Writer to encode to
4036
* @returns Writer
4037
*/
4038
public static encode(message: proto.IDeleteMessageForMeAction, writer?: $protobuf.Writer): $protobuf.Writer;
4039
4040
/**
4041
* Encodes the specified DeleteMessageForMeAction message, length delimited. Does not implicitly {@link proto.DeleteMessageForMeAction.verify|verify} messages.
4042
* @param message DeleteMessageForMeAction message or plain object to encode
4043
* @param [writer] Writer to encode to
4044
* @returns Writer
4045
*/
4046
public static encodeDelimited(message: proto.IDeleteMessageForMeAction, writer?: $protobuf.Writer): $protobuf.Writer;
4047
4048
/**
4049
* Decodes a DeleteMessageForMeAction message from the specified reader or buffer.
4050
* @param reader Reader or buffer to decode from
4051
* @param [length] Message length if known beforehand
4052
* @returns DeleteMessageForMeAction
4053
* @throws {Error} If the payload is not a reader or valid buffer
4054
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4055
*/
4056
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DeleteMessageForMeAction;
4057
4058
/**
4059
* Decodes a DeleteMessageForMeAction message from the specified reader or buffer, length delimited.
4060
* @param reader Reader or buffer to decode from
4061
* @returns DeleteMessageForMeAction
4062
* @throws {Error} If the payload is not a reader or valid buffer
4063
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4064
*/
4065
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DeleteMessageForMeAction;
4066
4067
/**
4068
* Verifies a DeleteMessageForMeAction message.
4069
* @param message Plain object to verify
4070
* @returns `null` if valid, otherwise the reason why it is not
4071
*/
4072
public static verify(message: { [k: string]: any }): (string|null);
4073
4074
/**
4075
* Creates a DeleteMessageForMeAction message from a plain object. Also converts values to their respective internal types.
4076
* @param object Plain object
4077
* @returns DeleteMessageForMeAction
4078
*/
4079
public static fromObject(object: { [k: string]: any }): proto.DeleteMessageForMeAction;
4080
4081
/**
4082
* Creates a plain object from a DeleteMessageForMeAction message. Also converts values to other types if specified.
4083
* @param message DeleteMessageForMeAction
4084
* @param [options] Conversion options
4085
* @returns Plain object
4086
*/
4087
public static toObject(message: proto.DeleteMessageForMeAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
4088
4089
/**
4090
* Converts this DeleteMessageForMeAction to JSON.
4091
* @returns JSON object
4092
*/
4093
public toJSON(): { [k: string]: any };
4094
}
4095
4096
/** Properties of a MarkChatAsReadAction. */
4097
interface IMarkChatAsReadAction {
4098
4099
/** MarkChatAsReadAction read */
4100
read?: (boolean|null);
4101
4102
/** MarkChatAsReadAction messageRange */
4103
messageRange?: (proto.ISyncActionMessageRange|null);
4104
}
4105
4106
/** Represents a MarkChatAsReadAction. */
4107
class MarkChatAsReadAction implements IMarkChatAsReadAction {
4108
4109
/**
4110
* Constructs a new MarkChatAsReadAction.
4111
* @param [properties] Properties to set
4112
*/
4113
constructor(properties?: proto.IMarkChatAsReadAction);
4114
4115
/** MarkChatAsReadAction read. */
4116
public read: boolean;
4117
4118
/** MarkChatAsReadAction messageRange. */
4119
public messageRange?: (proto.ISyncActionMessageRange|null);
4120
4121
/**
4122
* Creates a new MarkChatAsReadAction instance using the specified properties.
4123
* @param [properties] Properties to set
4124
* @returns MarkChatAsReadAction instance
4125
*/
4126
public static create(properties?: proto.IMarkChatAsReadAction): proto.MarkChatAsReadAction;
4127
4128
/**
4129
* Encodes the specified MarkChatAsReadAction message. Does not implicitly {@link proto.MarkChatAsReadAction.verify|verify} messages.
4130
* @param message MarkChatAsReadAction message or plain object to encode
4131
* @param [writer] Writer to encode to
4132
* @returns Writer
4133
*/
4134
public static encode(message: proto.IMarkChatAsReadAction, writer?: $protobuf.Writer): $protobuf.Writer;
4135
4136
/**
4137
* Encodes the specified MarkChatAsReadAction message, length delimited. Does not implicitly {@link proto.MarkChatAsReadAction.verify|verify} messages.
4138
* @param message MarkChatAsReadAction message or plain object to encode
4139
* @param [writer] Writer to encode to
4140
* @returns Writer
4141
*/
4142
public static encodeDelimited(message: proto.IMarkChatAsReadAction, writer?: $protobuf.Writer): $protobuf.Writer;
4143
4144
/**
4145
* Decodes a MarkChatAsReadAction message from the specified reader or buffer.
4146
* @param reader Reader or buffer to decode from
4147
* @param [length] Message length if known beforehand
4148
* @returns MarkChatAsReadAction
4149
* @throws {Error} If the payload is not a reader or valid buffer
4150
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4151
*/
4152
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MarkChatAsReadAction;
4153
4154
/**
4155
* Decodes a MarkChatAsReadAction message from the specified reader or buffer, length delimited.
4156
* @param reader Reader or buffer to decode from
4157
* @returns MarkChatAsReadAction
4158
* @throws {Error} If the payload is not a reader or valid buffer
4159
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4160
*/
4161
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MarkChatAsReadAction;
4162
4163
/**
4164
* Verifies a MarkChatAsReadAction message.
4165
* @param message Plain object to verify
4166
* @returns `null` if valid, otherwise the reason why it is not
4167
*/
4168
public static verify(message: { [k: string]: any }): (string|null);
4169
4170
/**
4171
* Creates a MarkChatAsReadAction message from a plain object. Also converts values to their respective internal types.
4172
* @param object Plain object
4173
* @returns MarkChatAsReadAction
4174
*/
4175
public static fromObject(object: { [k: string]: any }): proto.MarkChatAsReadAction;
4176
4177
/**
4178
* Creates a plain object from a MarkChatAsReadAction message. Also converts values to other types if specified.
4179
* @param message MarkChatAsReadAction
4180
* @param [options] Conversion options
4181
* @returns Plain object
4182
*/
4183
public static toObject(message: proto.MarkChatAsReadAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
4184
4185
/**
4186
* Converts this MarkChatAsReadAction to JSON.
4187
* @returns JSON object
4188
*/
4189
public toJSON(): { [k: string]: any };
4190
}
4191
4192
/** Properties of a ClearChatAction. */
4193
interface IClearChatAction {
4194
4195
/** ClearChatAction messageRange */
4196
messageRange?: (proto.ISyncActionMessageRange|null);
4197
}
4198
4199
/** Represents a ClearChatAction. */
4200
class ClearChatAction implements IClearChatAction {
4201
4202
/**
4203
* Constructs a new ClearChatAction.
4204
* @param [properties] Properties to set
4205
*/
4206
constructor(properties?: proto.IClearChatAction);
4207
4208
/** ClearChatAction messageRange. */
4209
public messageRange?: (proto.ISyncActionMessageRange|null);
4210
4211
/**
4212
* Creates a new ClearChatAction instance using the specified properties.
4213
* @param [properties] Properties to set
4214
* @returns ClearChatAction instance
4215
*/
4216
public static create(properties?: proto.IClearChatAction): proto.ClearChatAction;
4217
4218
/**
4219
* Encodes the specified ClearChatAction message. Does not implicitly {@link proto.ClearChatAction.verify|verify} messages.
4220
* @param message ClearChatAction message or plain object to encode
4221
* @param [writer] Writer to encode to
4222
* @returns Writer
4223
*/
4224
public static encode(message: proto.IClearChatAction, writer?: $protobuf.Writer): $protobuf.Writer;
4225
4226
/**
4227
* Encodes the specified ClearChatAction message, length delimited. Does not implicitly {@link proto.ClearChatAction.verify|verify} messages.
4228
* @param message ClearChatAction message or plain object to encode
4229
* @param [writer] Writer to encode to
4230
* @returns Writer
4231
*/
4232
public static encodeDelimited(message: proto.IClearChatAction, writer?: $protobuf.Writer): $protobuf.Writer;
4233
4234
/**
4235
* Decodes a ClearChatAction message from the specified reader or buffer.
4236
* @param reader Reader or buffer to decode from
4237
* @param [length] Message length if known beforehand
4238
* @returns ClearChatAction
4239
* @throws {Error} If the payload is not a reader or valid buffer
4240
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4241
*/
4242
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClearChatAction;
4243
4244
/**
4245
* Decodes a ClearChatAction message from the specified reader or buffer, length delimited.
4246
* @param reader Reader or buffer to decode from
4247
* @returns ClearChatAction
4248
* @throws {Error} If the payload is not a reader or valid buffer
4249
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4250
*/
4251
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClearChatAction;
4252
4253
/**
4254
* Verifies a ClearChatAction message.
4255
* @param message Plain object to verify
4256
* @returns `null` if valid, otherwise the reason why it is not
4257
*/
4258
public static verify(message: { [k: string]: any }): (string|null);
4259
4260
/**
4261
* Creates a ClearChatAction message from a plain object. Also converts values to their respective internal types.
4262
* @param object Plain object
4263
* @returns ClearChatAction
4264
*/
4265
public static fromObject(object: { [k: string]: any }): proto.ClearChatAction;
4266
4267
/**
4268
* Creates a plain object from a ClearChatAction message. Also converts values to other types if specified.
4269
* @param message ClearChatAction
4270
* @param [options] Conversion options
4271
* @returns Plain object
4272
*/
4273
public static toObject(message: proto.ClearChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
4274
4275
/**
4276
* Converts this ClearChatAction to JSON.
4277
* @returns JSON object
4278
*/
4279
public toJSON(): { [k: string]: any };
4280
}
4281
4282
/** Properties of a DeleteChatAction. */
4283
interface IDeleteChatAction {
4284
4285
/** DeleteChatAction messageRange */
4286
messageRange?: (proto.ISyncActionMessageRange|null);
4287
}
4288
4289
/** Represents a DeleteChatAction. */
4290
class DeleteChatAction implements IDeleteChatAction {
4291
4292
/**
4293
* Constructs a new DeleteChatAction.
4294
* @param [properties] Properties to set
4295
*/
4296
constructor(properties?: proto.IDeleteChatAction);
4297
4298
/** DeleteChatAction messageRange. */
4299
public messageRange?: (proto.ISyncActionMessageRange|null);
4300
4301
/**
4302
* Creates a new DeleteChatAction instance using the specified properties.
4303
* @param [properties] Properties to set
4304
* @returns DeleteChatAction instance
4305
*/
4306
public static create(properties?: proto.IDeleteChatAction): proto.DeleteChatAction;
4307
4308
/**
4309
* Encodes the specified DeleteChatAction message. Does not implicitly {@link proto.DeleteChatAction.verify|verify} messages.
4310
* @param message DeleteChatAction message or plain object to encode
4311
* @param [writer] Writer to encode to
4312
* @returns Writer
4313
*/
4314
public static encode(message: proto.IDeleteChatAction, writer?: $protobuf.Writer): $protobuf.Writer;
4315
4316
/**
4317
* Encodes the specified DeleteChatAction message, length delimited. Does not implicitly {@link proto.DeleteChatAction.verify|verify} messages.
4318
* @param message DeleteChatAction message or plain object to encode
4319
* @param [writer] Writer to encode to
4320
* @returns Writer
4321
*/
4322
public static encodeDelimited(message: proto.IDeleteChatAction, writer?: $protobuf.Writer): $protobuf.Writer;
4323
4324
/**
4325
* Decodes a DeleteChatAction message from the specified reader or buffer.
4326
* @param reader Reader or buffer to decode from
4327
* @param [length] Message length if known beforehand
4328
* @returns DeleteChatAction
4329
* @throws {Error} If the payload is not a reader or valid buffer
4330
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4331
*/
4332
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DeleteChatAction;
4333
4334
/**
4335
* Decodes a DeleteChatAction message from the specified reader or buffer, length delimited.
4336
* @param reader Reader or buffer to decode from
4337
* @returns DeleteChatAction
4338
* @throws {Error} If the payload is not a reader or valid buffer
4339
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4340
*/
4341
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DeleteChatAction;
4342
4343
/**
4344
* Verifies a DeleteChatAction message.
4345
* @param message Plain object to verify
4346
* @returns `null` if valid, otherwise the reason why it is not
4347
*/
4348
public static verify(message: { [k: string]: any }): (string|null);
4349
4350
/**
4351
* Creates a DeleteChatAction message from a plain object. Also converts values to their respective internal types.
4352
* @param object Plain object
4353
* @returns DeleteChatAction
4354
*/
4355
public static fromObject(object: { [k: string]: any }): proto.DeleteChatAction;
4356
4357
/**
4358
* Creates a plain object from a DeleteChatAction message. Also converts values to other types if specified.
4359
* @param message DeleteChatAction
4360
* @param [options] Conversion options
4361
* @returns Plain object
4362
*/
4363
public static toObject(message: proto.DeleteChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
4364
4365
/**
4366
* Converts this DeleteChatAction to JSON.
4367
* @returns JSON object
4368
*/
4369
public toJSON(): { [k: string]: any };
4370
}
4371
4372
/** Properties of an UnarchiveChatsSetting. */
4373
interface IUnarchiveChatsSetting {
4374
4375
/** UnarchiveChatsSetting unarchiveChats */
4376
unarchiveChats?: (boolean|null);
4377
}
4378
4379
/** Represents an UnarchiveChatsSetting. */
4380
class UnarchiveChatsSetting implements IUnarchiveChatsSetting {
4381
4382
/**
4383
* Constructs a new UnarchiveChatsSetting.
4384
* @param [properties] Properties to set
4385
*/
4386
constructor(properties?: proto.IUnarchiveChatsSetting);
4387
4388
/** UnarchiveChatsSetting unarchiveChats. */
4389
public unarchiveChats: boolean;
4390
4391
/**
4392
* Creates a new UnarchiveChatsSetting instance using the specified properties.
4393
* @param [properties] Properties to set
4394
* @returns UnarchiveChatsSetting instance
4395
*/
4396
public static create(properties?: proto.IUnarchiveChatsSetting): proto.UnarchiveChatsSetting;
4397
4398
/**
4399
* Encodes the specified UnarchiveChatsSetting message. Does not implicitly {@link proto.UnarchiveChatsSetting.verify|verify} messages.
4400
* @param message UnarchiveChatsSetting message or plain object to encode
4401
* @param [writer] Writer to encode to
4402
* @returns Writer
4403
*/
4404
public static encode(message: proto.IUnarchiveChatsSetting, writer?: $protobuf.Writer): $protobuf.Writer;
4405
4406
/**
4407
* Encodes the specified UnarchiveChatsSetting message, length delimited. Does not implicitly {@link proto.UnarchiveChatsSetting.verify|verify} messages.
4408
* @param message UnarchiveChatsSetting message or plain object to encode
4409
* @param [writer] Writer to encode to
4410
* @returns Writer
4411
*/
4412
public static encodeDelimited(message: proto.IUnarchiveChatsSetting, writer?: $protobuf.Writer): $protobuf.Writer;
4413
4414
/**
4415
* Decodes an UnarchiveChatsSetting message from the specified reader or buffer.
4416
* @param reader Reader or buffer to decode from
4417
* @param [length] Message length if known beforehand
4418
* @returns UnarchiveChatsSetting
4419
* @throws {Error} If the payload is not a reader or valid buffer
4420
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4421
*/
4422
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.UnarchiveChatsSetting;
4423
4424
/**
4425
* Decodes an UnarchiveChatsSetting message from the specified reader or buffer, length delimited.
4426
* @param reader Reader or buffer to decode from
4427
* @returns UnarchiveChatsSetting
4428
* @throws {Error} If the payload is not a reader or valid buffer
4429
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4430
*/
4431
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.UnarchiveChatsSetting;
4432
4433
/**
4434
* Verifies an UnarchiveChatsSetting message.
4435
* @param message Plain object to verify
4436
* @returns `null` if valid, otherwise the reason why it is not
4437
*/
4438
public static verify(message: { [k: string]: any }): (string|null);
4439
4440
/**
4441
* Creates an UnarchiveChatsSetting message from a plain object. Also converts values to their respective internal types.
4442
* @param object Plain object
4443
* @returns UnarchiveChatsSetting
4444
*/
4445
public static fromObject(object: { [k: string]: any }): proto.UnarchiveChatsSetting;
4446
4447
/**
4448
* Creates a plain object from an UnarchiveChatsSetting message. Also converts values to other types if specified.
4449
* @param message UnarchiveChatsSetting
4450
* @param [options] Conversion options
4451
* @returns Plain object
4452
*/
4453
public static toObject(message: proto.UnarchiveChatsSetting, options?: $protobuf.IConversionOptions): { [k: string]: any };
4454
4455
/**
4456
* Converts this UnarchiveChatsSetting to JSON.
4457
* @returns JSON object
4458
*/
4459
public toJSON(): { [k: string]: any };
4460
}
4461
4462
/** Properties of a SyncActionMessageRange. */
4463
interface ISyncActionMessageRange {
4464
4465
/** SyncActionMessageRange lastMessageTimestamp */
4466
lastMessageTimestamp?: (number|Long|null);
4467
4468
/** SyncActionMessageRange lastSystemMessageTimestamp */
4469
lastSystemMessageTimestamp?: (number|Long|null);
4470
4471
/** SyncActionMessageRange messages */
4472
messages?: (proto.ISyncActionMessage[]|null);
4473
}
4474
4475
/** Represents a SyncActionMessageRange. */
4476
class SyncActionMessageRange implements ISyncActionMessageRange {
4477
4478
/**
4479
* Constructs a new SyncActionMessageRange.
4480
* @param [properties] Properties to set
4481
*/
4482
constructor(properties?: proto.ISyncActionMessageRange);
4483
4484
/** SyncActionMessageRange lastMessageTimestamp. */
4485
public lastMessageTimestamp: (number|Long);
4486
4487
/** SyncActionMessageRange lastSystemMessageTimestamp. */
4488
public lastSystemMessageTimestamp: (number|Long);
4489
4490
/** SyncActionMessageRange messages. */
4491
public messages: proto.ISyncActionMessage[];
4492
4493
/**
4494
* Creates a new SyncActionMessageRange instance using the specified properties.
4495
* @param [properties] Properties to set
4496
* @returns SyncActionMessageRange instance
4497
*/
4498
public static create(properties?: proto.ISyncActionMessageRange): proto.SyncActionMessageRange;
4499
4500
/**
4501
* Encodes the specified SyncActionMessageRange message. Does not implicitly {@link proto.SyncActionMessageRange.verify|verify} messages.
4502
* @param message SyncActionMessageRange message or plain object to encode
4503
* @param [writer] Writer to encode to
4504
* @returns Writer
4505
*/
4506
public static encode(message: proto.ISyncActionMessageRange, writer?: $protobuf.Writer): $protobuf.Writer;
4507
4508
/**
4509
* Encodes the specified SyncActionMessageRange message, length delimited. Does not implicitly {@link proto.SyncActionMessageRange.verify|verify} messages.
4510
* @param message SyncActionMessageRange message or plain object to encode
4511
* @param [writer] Writer to encode to
4512
* @returns Writer
4513
*/
4514
public static encodeDelimited(message: proto.ISyncActionMessageRange, writer?: $protobuf.Writer): $protobuf.Writer;
4515
4516
/**
4517
* Decodes a SyncActionMessageRange message from the specified reader or buffer.
4518
* @param reader Reader or buffer to decode from
4519
* @param [length] Message length if known beforehand
4520
* @returns SyncActionMessageRange
4521
* @throws {Error} If the payload is not a reader or valid buffer
4522
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4523
*/
4524
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncActionMessageRange;
4525
4526
/**
4527
* Decodes a SyncActionMessageRange message from the specified reader or buffer, length delimited.
4528
* @param reader Reader or buffer to decode from
4529
* @returns SyncActionMessageRange
4530
* @throws {Error} If the payload is not a reader or valid buffer
4531
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4532
*/
4533
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncActionMessageRange;
4534
4535
/**
4536
* Verifies a SyncActionMessageRange message.
4537
* @param message Plain object to verify
4538
* @returns `null` if valid, otherwise the reason why it is not
4539
*/
4540
public static verify(message: { [k: string]: any }): (string|null);
4541
4542
/**
4543
* Creates a SyncActionMessageRange message from a plain object. Also converts values to their respective internal types.
4544
* @param object Plain object
4545
* @returns SyncActionMessageRange
4546
*/
4547
public static fromObject(object: { [k: string]: any }): proto.SyncActionMessageRange;
4548
4549
/**
4550
* Creates a plain object from a SyncActionMessageRange message. Also converts values to other types if specified.
4551
* @param message SyncActionMessageRange
4552
* @param [options] Conversion options
4553
* @returns Plain object
4554
*/
4555
public static toObject(message: proto.SyncActionMessageRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
4556
4557
/**
4558
* Converts this SyncActionMessageRange to JSON.
4559
* @returns JSON object
4560
*/
4561
public toJSON(): { [k: string]: any };
4562
}
4563
4564
/** Properties of a SyncActionMessage. */
4565
interface ISyncActionMessage {
4566
4567
/** SyncActionMessage key */
4568
key?: (proto.IMessageKey|null);
4569
4570
/** SyncActionMessage timestamp */
4571
timestamp?: (number|Long|null);
4572
}
4573
4574
/** Represents a SyncActionMessage. */
4575
class SyncActionMessage implements ISyncActionMessage {
4576
4577
/**
4578
* Constructs a new SyncActionMessage.
4579
* @param [properties] Properties to set
4580
*/
4581
constructor(properties?: proto.ISyncActionMessage);
4582
4583
/** SyncActionMessage key. */
4584
public key?: (proto.IMessageKey|null);
4585
4586
/** SyncActionMessage timestamp. */
4587
public timestamp: (number|Long);
4588
4589
/**
4590
* Creates a new SyncActionMessage instance using the specified properties.
4591
* @param [properties] Properties to set
4592
* @returns SyncActionMessage instance
4593
*/
4594
public static create(properties?: proto.ISyncActionMessage): proto.SyncActionMessage;
4595
4596
/**
4597
* Encodes the specified SyncActionMessage message. Does not implicitly {@link proto.SyncActionMessage.verify|verify} messages.
4598
* @param message SyncActionMessage message or plain object to encode
4599
* @param [writer] Writer to encode to
4600
* @returns Writer
4601
*/
4602
public static encode(message: proto.ISyncActionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
4603
4604
/**
4605
* Encodes the specified SyncActionMessage message, length delimited. Does not implicitly {@link proto.SyncActionMessage.verify|verify} messages.
4606
* @param message SyncActionMessage message or plain object to encode
4607
* @param [writer] Writer to encode to
4608
* @returns Writer
4609
*/
4610
public static encodeDelimited(message: proto.ISyncActionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
4611
4612
/**
4613
* Decodes a SyncActionMessage message from the specified reader or buffer.
4614
* @param reader Reader or buffer to decode from
4615
* @param [length] Message length if known beforehand
4616
* @returns SyncActionMessage
4617
* @throws {Error} If the payload is not a reader or valid buffer
4618
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4619
*/
4620
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncActionMessage;
4621
4622
/**
4623
* Decodes a SyncActionMessage message from the specified reader or buffer, length delimited.
4624
* @param reader Reader or buffer to decode from
4625
* @returns SyncActionMessage
4626
* @throws {Error} If the payload is not a reader or valid buffer
4627
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4628
*/
4629
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncActionMessage;
4630
4631
/**
4632
* Verifies a SyncActionMessage message.
4633
* @param message Plain object to verify
4634
* @returns `null` if valid, otherwise the reason why it is not
4635
*/
4636
public static verify(message: { [k: string]: any }): (string|null);
4637
4638
/**
4639
* Creates a SyncActionMessage message from a plain object. Also converts values to their respective internal types.
4640
* @param object Plain object
4641
* @returns SyncActionMessage
4642
*/
4643
public static fromObject(object: { [k: string]: any }): proto.SyncActionMessage;
4644
4645
/**
4646
* Creates a plain object from a SyncActionMessage message. Also converts values to other types if specified.
4647
* @param message SyncActionMessage
4648
* @param [options] Conversion options
4649
* @returns Plain object
4650
*/
4651
public static toObject(message: proto.SyncActionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
4652
4653
/**
4654
* Converts this SyncActionMessage to JSON.
4655
* @returns JSON object
4656
*/
4657
public toJSON(): { [k: string]: any };
4658
}
4659
4660
/** Properties of a KeyExpiration. */
4661
interface IKeyExpiration {
4662
4663
/** KeyExpiration expiredKeyEpoch */
4664
expiredKeyEpoch?: (number|null);
4665
}
4666
4667
/** Represents a KeyExpiration. */
4668
class KeyExpiration implements IKeyExpiration {
4669
4670
/**
4671
* Constructs a new KeyExpiration.
4672
* @param [properties] Properties to set
4673
*/
4674
constructor(properties?: proto.IKeyExpiration);
4675
4676
/** KeyExpiration expiredKeyEpoch. */
4677
public expiredKeyEpoch: number;
4678
4679
/**
4680
* Creates a new KeyExpiration instance using the specified properties.
4681
* @param [properties] Properties to set
4682
* @returns KeyExpiration instance
4683
*/
4684
public static create(properties?: proto.IKeyExpiration): proto.KeyExpiration;
4685
4686
/**
4687
* Encodes the specified KeyExpiration message. Does not implicitly {@link proto.KeyExpiration.verify|verify} messages.
4688
* @param message KeyExpiration message or plain object to encode
4689
* @param [writer] Writer to encode to
4690
* @returns Writer
4691
*/
4692
public static encode(message: proto.IKeyExpiration, writer?: $protobuf.Writer): $protobuf.Writer;
4693
4694
/**
4695
* Encodes the specified KeyExpiration message, length delimited. Does not implicitly {@link proto.KeyExpiration.verify|verify} messages.
4696
* @param message KeyExpiration message or plain object to encode
4697
* @param [writer] Writer to encode to
4698
* @returns Writer
4699
*/
4700
public static encodeDelimited(message: proto.IKeyExpiration, writer?: $protobuf.Writer): $protobuf.Writer;
4701
4702
/**
4703
* Decodes a KeyExpiration message from the specified reader or buffer.
4704
* @param reader Reader or buffer to decode from
4705
* @param [length] Message length if known beforehand
4706
* @returns KeyExpiration
4707
* @throws {Error} If the payload is not a reader or valid buffer
4708
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4709
*/
4710
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.KeyExpiration;
4711
4712
/**
4713
* Decodes a KeyExpiration message from the specified reader or buffer, length delimited.
4714
* @param reader Reader or buffer to decode from
4715
* @returns KeyExpiration
4716
* @throws {Error} If the payload is not a reader or valid buffer
4717
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4718
*/
4719
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.KeyExpiration;
4720
4721
/**
4722
* Verifies a KeyExpiration message.
4723
* @param message Plain object to verify
4724
* @returns `null` if valid, otherwise the reason why it is not
4725
*/
4726
public static verify(message: { [k: string]: any }): (string|null);
4727
4728
/**
4729
* Creates a KeyExpiration message from a plain object. Also converts values to their respective internal types.
4730
* @param object Plain object
4731
* @returns KeyExpiration
4732
*/
4733
public static fromObject(object: { [k: string]: any }): proto.KeyExpiration;
4734
4735
/**
4736
* Creates a plain object from a KeyExpiration message. Also converts values to other types if specified.
4737
* @param message KeyExpiration
4738
* @param [options] Conversion options
4739
* @returns Plain object
4740
*/
4741
public static toObject(message: proto.KeyExpiration, options?: $protobuf.IConversionOptions): { [k: string]: any };
4742
4743
/**
4744
* Converts this KeyExpiration to JSON.
4745
* @returns JSON object
4746
*/
4747
public toJSON(): { [k: string]: any };
4748
}
4749
4750
/** Properties of a PrimaryFeature. */
4751
interface IPrimaryFeature {
4752
4753
/** PrimaryFeature flags */
4754
flags?: (string[]|null);
4755
}
4756
4757
/** Represents a PrimaryFeature. */
4758
class PrimaryFeature implements IPrimaryFeature {
4759
4760
/**
4761
* Constructs a new PrimaryFeature.
4762
* @param [properties] Properties to set
4763
*/
4764
constructor(properties?: proto.IPrimaryFeature);
4765
4766
/** PrimaryFeature flags. */
4767
public flags: string[];
4768
4769
/**
4770
* Creates a new PrimaryFeature instance using the specified properties.
4771
* @param [properties] Properties to set
4772
* @returns PrimaryFeature instance
4773
*/
4774
public static create(properties?: proto.IPrimaryFeature): proto.PrimaryFeature;
4775
4776
/**
4777
* Encodes the specified PrimaryFeature message. Does not implicitly {@link proto.PrimaryFeature.verify|verify} messages.
4778
* @param message PrimaryFeature message or plain object to encode
4779
* @param [writer] Writer to encode to
4780
* @returns Writer
4781
*/
4782
public static encode(message: proto.IPrimaryFeature, writer?: $protobuf.Writer): $protobuf.Writer;
4783
4784
/**
4785
* Encodes the specified PrimaryFeature message, length delimited. Does not implicitly {@link proto.PrimaryFeature.verify|verify} messages.
4786
* @param message PrimaryFeature message or plain object to encode
4787
* @param [writer] Writer to encode to
4788
* @returns Writer
4789
*/
4790
public static encodeDelimited(message: proto.IPrimaryFeature, writer?: $protobuf.Writer): $protobuf.Writer;
4791
4792
/**
4793
* Decodes a PrimaryFeature message from the specified reader or buffer.
4794
* @param reader Reader or buffer to decode from
4795
* @param [length] Message length if known beforehand
4796
* @returns PrimaryFeature
4797
* @throws {Error} If the payload is not a reader or valid buffer
4798
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4799
*/
4800
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PrimaryFeature;
4801
4802
/**
4803
* Decodes a PrimaryFeature message from the specified reader or buffer, length delimited.
4804
* @param reader Reader or buffer to decode from
4805
* @returns PrimaryFeature
4806
* @throws {Error} If the payload is not a reader or valid buffer
4807
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4808
*/
4809
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PrimaryFeature;
4810
4811
/**
4812
* Verifies a PrimaryFeature message.
4813
* @param message Plain object to verify
4814
* @returns `null` if valid, otherwise the reason why it is not
4815
*/
4816
public static verify(message: { [k: string]: any }): (string|null);
4817
4818
/**
4819
* Creates a PrimaryFeature message from a plain object. Also converts values to their respective internal types.
4820
* @param object Plain object
4821
* @returns PrimaryFeature
4822
*/
4823
public static fromObject(object: { [k: string]: any }): proto.PrimaryFeature;
4824
4825
/**
4826
* Creates a plain object from a PrimaryFeature message. Also converts values to other types if specified.
4827
* @param message PrimaryFeature
4828
* @param [options] Conversion options
4829
* @returns Plain object
4830
*/
4831
public static toObject(message: proto.PrimaryFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
4832
4833
/**
4834
* Converts this PrimaryFeature to JSON.
4835
* @returns JSON object
4836
*/
4837
public toJSON(): { [k: string]: any };
4838
}
4839
4840
/** Properties of an AndroidUnsupportedActions. */
4841
interface IAndroidUnsupportedActions {
4842
4843
/** AndroidUnsupportedActions allowed */
4844
allowed?: (boolean|null);
4845
}
4846
4847
/** Represents an AndroidUnsupportedActions. */
4848
class AndroidUnsupportedActions implements IAndroidUnsupportedActions {
4849
4850
/**
4851
* Constructs a new AndroidUnsupportedActions.
4852
* @param [properties] Properties to set
4853
*/
4854
constructor(properties?: proto.IAndroidUnsupportedActions);
4855
4856
/** AndroidUnsupportedActions allowed. */
4857
public allowed: boolean;
4858
4859
/**
4860
* Creates a new AndroidUnsupportedActions instance using the specified properties.
4861
* @param [properties] Properties to set
4862
* @returns AndroidUnsupportedActions instance
4863
*/
4864
public static create(properties?: proto.IAndroidUnsupportedActions): proto.AndroidUnsupportedActions;
4865
4866
/**
4867
* Encodes the specified AndroidUnsupportedActions message. Does not implicitly {@link proto.AndroidUnsupportedActions.verify|verify} messages.
4868
* @param message AndroidUnsupportedActions message or plain object to encode
4869
* @param [writer] Writer to encode to
4870
* @returns Writer
4871
*/
4872
public static encode(message: proto.IAndroidUnsupportedActions, writer?: $protobuf.Writer): $protobuf.Writer;
4873
4874
/**
4875
* Encodes the specified AndroidUnsupportedActions message, length delimited. Does not implicitly {@link proto.AndroidUnsupportedActions.verify|verify} messages.
4876
* @param message AndroidUnsupportedActions message or plain object to encode
4877
* @param [writer] Writer to encode to
4878
* @returns Writer
4879
*/
4880
public static encodeDelimited(message: proto.IAndroidUnsupportedActions, writer?: $protobuf.Writer): $protobuf.Writer;
4881
4882
/**
4883
* Decodes an AndroidUnsupportedActions message from the specified reader or buffer.
4884
* @param reader Reader or buffer to decode from
4885
* @param [length] Message length if known beforehand
4886
* @returns AndroidUnsupportedActions
4887
* @throws {Error} If the payload is not a reader or valid buffer
4888
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4889
*/
4890
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AndroidUnsupportedActions;
4891
4892
/**
4893
* Decodes an AndroidUnsupportedActions message from the specified reader or buffer, length delimited.
4894
* @param reader Reader or buffer to decode from
4895
* @returns AndroidUnsupportedActions
4896
* @throws {Error} If the payload is not a reader or valid buffer
4897
* @throws {$protobuf.util.ProtocolError} If required fields are missing
4898
*/
4899
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AndroidUnsupportedActions;
4900
4901
/**
4902
* Verifies an AndroidUnsupportedActions message.
4903
* @param message Plain object to verify
4904
* @returns `null` if valid, otherwise the reason why it is not
4905
*/
4906
public static verify(message: { [k: string]: any }): (string|null);
4907
4908
/**
4909
* Creates an AndroidUnsupportedActions message from a plain object. Also converts values to their respective internal types.
4910
* @param object Plain object
4911
* @returns AndroidUnsupportedActions
4912
*/
4913
public static fromObject(object: { [k: string]: any }): proto.AndroidUnsupportedActions;
4914
4915
/**
4916
* Creates a plain object from an AndroidUnsupportedActions message. Also converts values to other types if specified.
4917
* @param message AndroidUnsupportedActions
4918
* @param [options] Conversion options
4919
* @returns Plain object
4920
*/
4921
public static toObject(message: proto.AndroidUnsupportedActions, options?: $protobuf.IConversionOptions): { [k: string]: any };
4922
4923
/**
4924
* Converts this AndroidUnsupportedActions to JSON.
4925
* @returns JSON object
4926
*/
4927
public toJSON(): { [k: string]: any };
4928
}
4929
4930
/** Properties of a SyncActionValue. */
4931
interface ISyncActionValue {
4932
4933
/** SyncActionValue timestamp */
4934
timestamp?: (number|Long|null);
4935
4936
/** SyncActionValue starAction */
4937
starAction?: (proto.IStarAction|null);
4938
4939
/** SyncActionValue contactAction */
4940
contactAction?: (proto.IContactAction|null);
4941
4942
/** SyncActionValue muteAction */
4943
muteAction?: (proto.IMuteAction|null);
4944
4945
/** SyncActionValue pinAction */
4946
pinAction?: (proto.IPinAction|null);
4947
4948
/** SyncActionValue securityNotificationSetting */
4949
securityNotificationSetting?: (proto.ISecurityNotificationSetting|null);
4950
4951
/** SyncActionValue pushNameSetting */
4952
pushNameSetting?: (proto.IPushNameSetting|null);
4953
4954
/** SyncActionValue quickReplyAction */
4955
quickReplyAction?: (proto.IQuickReplyAction|null);
4956
4957
/** SyncActionValue recentStickerWeightsAction */
4958
recentStickerWeightsAction?: (proto.IRecentStickerWeightsAction|null);
4959
4960
/** SyncActionValue recentStickerMetadata */
4961
recentStickerMetadata?: (proto.IRecentStickerMetadata|null);
4962
4963
/** SyncActionValue recentEmojiWeightsAction */
4964
recentEmojiWeightsAction?: (proto.IRecentEmojiWeightsAction|null);
4965
4966
/** SyncActionValue labelEditAction */
4967
labelEditAction?: (proto.ILabelEditAction|null);
4968
4969
/** SyncActionValue labelAssociationAction */
4970
labelAssociationAction?: (proto.ILabelAssociationAction|null);
4971
4972
/** SyncActionValue localeSetting */
4973
localeSetting?: (proto.ILocaleSetting|null);
4974
4975
/** SyncActionValue archiveChatAction */
4976
archiveChatAction?: (proto.IArchiveChatAction|null);
4977
4978
/** SyncActionValue deleteMessageForMeAction */
4979
deleteMessageForMeAction?: (proto.IDeleteMessageForMeAction|null);
4980
4981
/** SyncActionValue keyExpiration */
4982
keyExpiration?: (proto.IKeyExpiration|null);
4983
4984
/** SyncActionValue markChatAsReadAction */
4985
markChatAsReadAction?: (proto.IMarkChatAsReadAction|null);
4986
4987
/** SyncActionValue clearChatAction */
4988
clearChatAction?: (proto.IClearChatAction|null);
4989
4990
/** SyncActionValue deleteChatAction */
4991
deleteChatAction?: (proto.IDeleteChatAction|null);
4992
4993
/** SyncActionValue unarchiveChatsSetting */
4994
unarchiveChatsSetting?: (proto.IUnarchiveChatsSetting|null);
4995
4996
/** SyncActionValue primaryFeature */
4997
primaryFeature?: (proto.IPrimaryFeature|null);
4998
4999
/** SyncActionValue favoriteStickerAction */
5000
favoriteStickerAction?: (proto.IFavoriteStickerAction|null);
5001
5002
/** SyncActionValue androidUnsupportedActions */
5003
androidUnsupportedActions?: (proto.IAndroidUnsupportedActions|null);
5004
}
5005
5006
/** Represents a SyncActionValue. */
5007
class SyncActionValue implements ISyncActionValue {
5008
5009
/**
5010
* Constructs a new SyncActionValue.
5011
* @param [properties] Properties to set
5012
*/
5013
constructor(properties?: proto.ISyncActionValue);
5014
5015
/** SyncActionValue timestamp. */
5016
public timestamp: (number|Long);
5017
5018
/** SyncActionValue starAction. */
5019
public starAction?: (proto.IStarAction|null);
5020
5021
/** SyncActionValue contactAction. */
5022
public contactAction?: (proto.IContactAction|null);
5023
5024
/** SyncActionValue muteAction. */
5025
public muteAction?: (proto.IMuteAction|null);
5026
5027
/** SyncActionValue pinAction. */
5028
public pinAction?: (proto.IPinAction|null);
5029
5030
/** SyncActionValue securityNotificationSetting. */
5031
public securityNotificationSetting?: (proto.ISecurityNotificationSetting|null);
5032
5033
/** SyncActionValue pushNameSetting. */
5034
public pushNameSetting?: (proto.IPushNameSetting|null);
5035
5036
/** SyncActionValue quickReplyAction. */
5037
public quickReplyAction?: (proto.IQuickReplyAction|null);
5038
5039
/** SyncActionValue recentStickerWeightsAction. */
5040
public recentStickerWeightsAction?: (proto.IRecentStickerWeightsAction|null);
5041
5042
/** SyncActionValue recentStickerMetadata. */
5043
public recentStickerMetadata?: (proto.IRecentStickerMetadata|null);
5044
5045
/** SyncActionValue recentEmojiWeightsAction. */
5046
public recentEmojiWeightsAction?: (proto.IRecentEmojiWeightsAction|null);
5047
5048
/** SyncActionValue labelEditAction. */
5049
public labelEditAction?: (proto.ILabelEditAction|null);
5050
5051
/** SyncActionValue labelAssociationAction. */
5052
public labelAssociationAction?: (proto.ILabelAssociationAction|null);
5053
5054
/** SyncActionValue localeSetting. */
5055
public localeSetting?: (proto.ILocaleSetting|null);
5056
5057
/** SyncActionValue archiveChatAction. */
5058
public archiveChatAction?: (proto.IArchiveChatAction|null);
5059
5060
/** SyncActionValue deleteMessageForMeAction. */
5061
public deleteMessageForMeAction?: (proto.IDeleteMessageForMeAction|null);
5062
5063
/** SyncActionValue keyExpiration. */
5064
public keyExpiration?: (proto.IKeyExpiration|null);
5065
5066
/** SyncActionValue markChatAsReadAction. */
5067
public markChatAsReadAction?: (proto.IMarkChatAsReadAction|null);
5068
5069
/** SyncActionValue clearChatAction. */
5070
public clearChatAction?: (proto.IClearChatAction|null);
5071
5072
/** SyncActionValue deleteChatAction. */
5073
public deleteChatAction?: (proto.IDeleteChatAction|null);
5074
5075
/** SyncActionValue unarchiveChatsSetting. */
5076
public unarchiveChatsSetting?: (proto.IUnarchiveChatsSetting|null);
5077
5078
/** SyncActionValue primaryFeature. */
5079
public primaryFeature?: (proto.IPrimaryFeature|null);
5080
5081
/** SyncActionValue favoriteStickerAction. */
5082
public favoriteStickerAction?: (proto.IFavoriteStickerAction|null);
5083
5084
/** SyncActionValue androidUnsupportedActions. */
5085
public androidUnsupportedActions?: (proto.IAndroidUnsupportedActions|null);
5086
5087
/**
5088
* Creates a new SyncActionValue instance using the specified properties.
5089
* @param [properties] Properties to set
5090
* @returns SyncActionValue instance
5091
*/
5092
public static create(properties?: proto.ISyncActionValue): proto.SyncActionValue;
5093
5094
/**
5095
* Encodes the specified SyncActionValue message. Does not implicitly {@link proto.SyncActionValue.verify|verify} messages.
5096
* @param message SyncActionValue message or plain object to encode
5097
* @param [writer] Writer to encode to
5098
* @returns Writer
5099
*/
5100
public static encode(message: proto.ISyncActionValue, writer?: $protobuf.Writer): $protobuf.Writer;
5101
5102
/**
5103
* Encodes the specified SyncActionValue message, length delimited. Does not implicitly {@link proto.SyncActionValue.verify|verify} messages.
5104
* @param message SyncActionValue message or plain object to encode
5105
* @param [writer] Writer to encode to
5106
* @returns Writer
5107
*/
5108
public static encodeDelimited(message: proto.ISyncActionValue, writer?: $protobuf.Writer): $protobuf.Writer;
5109
5110
/**
5111
* Decodes a SyncActionValue message from the specified reader or buffer.
5112
* @param reader Reader or buffer to decode from
5113
* @param [length] Message length if known beforehand
5114
* @returns SyncActionValue
5115
* @throws {Error} If the payload is not a reader or valid buffer
5116
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5117
*/
5118
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncActionValue;
5119
5120
/**
5121
* Decodes a SyncActionValue message from the specified reader or buffer, length delimited.
5122
* @param reader Reader or buffer to decode from
5123
* @returns SyncActionValue
5124
* @throws {Error} If the payload is not a reader or valid buffer
5125
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5126
*/
5127
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncActionValue;
5128
5129
/**
5130
* Verifies a SyncActionValue message.
5131
* @param message Plain object to verify
5132
* @returns `null` if valid, otherwise the reason why it is not
5133
*/
5134
public static verify(message: { [k: string]: any }): (string|null);
5135
5136
/**
5137
* Creates a SyncActionValue message from a plain object. Also converts values to their respective internal types.
5138
* @param object Plain object
5139
* @returns SyncActionValue
5140
*/
5141
public static fromObject(object: { [k: string]: any }): proto.SyncActionValue;
5142
5143
/**
5144
* Creates a plain object from a SyncActionValue message. Also converts values to other types if specified.
5145
* @param message SyncActionValue
5146
* @param [options] Conversion options
5147
* @returns Plain object
5148
*/
5149
public static toObject(message: proto.SyncActionValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
5150
5151
/**
5152
* Converts this SyncActionValue to JSON.
5153
* @returns JSON object
5154
*/
5155
public toJSON(): { [k: string]: any };
5156
}
5157
5158
/** Properties of a RecentEmojiWeight. */
5159
interface IRecentEmojiWeight {
5160
5161
/** RecentEmojiWeight emoji */
5162
emoji?: (string|null);
5163
5164
/** RecentEmojiWeight weight */
5165
weight?: (number|null);
5166
}
5167
5168
/** Represents a RecentEmojiWeight. */
5169
class RecentEmojiWeight implements IRecentEmojiWeight {
5170
5171
/**
5172
* Constructs a new RecentEmojiWeight.
5173
* @param [properties] Properties to set
5174
*/
5175
constructor(properties?: proto.IRecentEmojiWeight);
5176
5177
/** RecentEmojiWeight emoji. */
5178
public emoji: string;
5179
5180
/** RecentEmojiWeight weight. */
5181
public weight: number;
5182
5183
/**
5184
* Creates a new RecentEmojiWeight instance using the specified properties.
5185
* @param [properties] Properties to set
5186
* @returns RecentEmojiWeight instance
5187
*/
5188
public static create(properties?: proto.IRecentEmojiWeight): proto.RecentEmojiWeight;
5189
5190
/**
5191
* Encodes the specified RecentEmojiWeight message. Does not implicitly {@link proto.RecentEmojiWeight.verify|verify} messages.
5192
* @param message RecentEmojiWeight message or plain object to encode
5193
* @param [writer] Writer to encode to
5194
* @returns Writer
5195
*/
5196
public static encode(message: proto.IRecentEmojiWeight, writer?: $protobuf.Writer): $protobuf.Writer;
5197
5198
/**
5199
* Encodes the specified RecentEmojiWeight message, length delimited. Does not implicitly {@link proto.RecentEmojiWeight.verify|verify} messages.
5200
* @param message RecentEmojiWeight message or plain object to encode
5201
* @param [writer] Writer to encode to
5202
* @returns Writer
5203
*/
5204
public static encodeDelimited(message: proto.IRecentEmojiWeight, writer?: $protobuf.Writer): $protobuf.Writer;
5205
5206
/**
5207
* Decodes a RecentEmojiWeight message from the specified reader or buffer.
5208
* @param reader Reader or buffer to decode from
5209
* @param [length] Message length if known beforehand
5210
* @returns RecentEmojiWeight
5211
* @throws {Error} If the payload is not a reader or valid buffer
5212
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5213
*/
5214
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.RecentEmojiWeight;
5215
5216
/**
5217
* Decodes a RecentEmojiWeight message from the specified reader or buffer, length delimited.
5218
* @param reader Reader or buffer to decode from
5219
* @returns RecentEmojiWeight
5220
* @throws {Error} If the payload is not a reader or valid buffer
5221
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5222
*/
5223
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.RecentEmojiWeight;
5224
5225
/**
5226
* Verifies a RecentEmojiWeight message.
5227
* @param message Plain object to verify
5228
* @returns `null` if valid, otherwise the reason why it is not
5229
*/
5230
public static verify(message: { [k: string]: any }): (string|null);
5231
5232
/**
5233
* Creates a RecentEmojiWeight message from a plain object. Also converts values to their respective internal types.
5234
* @param object Plain object
5235
* @returns RecentEmojiWeight
5236
*/
5237
public static fromObject(object: { [k: string]: any }): proto.RecentEmojiWeight;
5238
5239
/**
5240
* Creates a plain object from a RecentEmojiWeight message. Also converts values to other types if specified.
5241
* @param message RecentEmojiWeight
5242
* @param [options] Conversion options
5243
* @returns Plain object
5244
*/
5245
public static toObject(message: proto.RecentEmojiWeight, options?: $protobuf.IConversionOptions): { [k: string]: any };
5246
5247
/**
5248
* Converts this RecentEmojiWeight to JSON.
5249
* @returns JSON object
5250
*/
5251
public toJSON(): { [k: string]: any };
5252
}
5253
5254
/** Properties of a RecentStickerWeight. */
5255
interface IRecentStickerWeight {
5256
5257
/** RecentStickerWeight filehash */
5258
filehash?: (string|null);
5259
5260
/** RecentStickerWeight weight */
5261
weight?: (number|null);
5262
}
5263
5264
/** Represents a RecentStickerWeight. */
5265
class RecentStickerWeight implements IRecentStickerWeight {
5266
5267
/**
5268
* Constructs a new RecentStickerWeight.
5269
* @param [properties] Properties to set
5270
*/
5271
constructor(properties?: proto.IRecentStickerWeight);
5272
5273
/** RecentStickerWeight filehash. */
5274
public filehash: string;
5275
5276
/** RecentStickerWeight weight. */
5277
public weight: number;
5278
5279
/**
5280
* Creates a new RecentStickerWeight instance using the specified properties.
5281
* @param [properties] Properties to set
5282
* @returns RecentStickerWeight instance
5283
*/
5284
public static create(properties?: proto.IRecentStickerWeight): proto.RecentStickerWeight;
5285
5286
/**
5287
* Encodes the specified RecentStickerWeight message. Does not implicitly {@link proto.RecentStickerWeight.verify|verify} messages.
5288
* @param message RecentStickerWeight message or plain object to encode
5289
* @param [writer] Writer to encode to
5290
* @returns Writer
5291
*/
5292
public static encode(message: proto.IRecentStickerWeight, writer?: $protobuf.Writer): $protobuf.Writer;
5293
5294
/**
5295
* Encodes the specified RecentStickerWeight message, length delimited. Does not implicitly {@link proto.RecentStickerWeight.verify|verify} messages.
5296
* @param message RecentStickerWeight message or plain object to encode
5297
* @param [writer] Writer to encode to
5298
* @returns Writer
5299
*/
5300
public static encodeDelimited(message: proto.IRecentStickerWeight, writer?: $protobuf.Writer): $protobuf.Writer;
5301
5302
/**
5303
* Decodes a RecentStickerWeight message from the specified reader or buffer.
5304
* @param reader Reader or buffer to decode from
5305
* @param [length] Message length if known beforehand
5306
* @returns RecentStickerWeight
5307
* @throws {Error} If the payload is not a reader or valid buffer
5308
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5309
*/
5310
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.RecentStickerWeight;
5311
5312
/**
5313
* Decodes a RecentStickerWeight message from the specified reader or buffer, length delimited.
5314
* @param reader Reader or buffer to decode from
5315
* @returns RecentStickerWeight
5316
* @throws {Error} If the payload is not a reader or valid buffer
5317
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5318
*/
5319
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.RecentStickerWeight;
5320
5321
/**
5322
* Verifies a RecentStickerWeight message.
5323
* @param message Plain object to verify
5324
* @returns `null` if valid, otherwise the reason why it is not
5325
*/
5326
public static verify(message: { [k: string]: any }): (string|null);
5327
5328
/**
5329
* Creates a RecentStickerWeight message from a plain object. Also converts values to their respective internal types.
5330
* @param object Plain object
5331
* @returns RecentStickerWeight
5332
*/
5333
public static fromObject(object: { [k: string]: any }): proto.RecentStickerWeight;
5334
5335
/**
5336
* Creates a plain object from a RecentStickerWeight message. Also converts values to other types if specified.
5337
* @param message RecentStickerWeight
5338
* @param [options] Conversion options
5339
* @returns Plain object
5340
*/
5341
public static toObject(message: proto.RecentStickerWeight, options?: $protobuf.IConversionOptions): { [k: string]: any };
5342
5343
/**
5344
* Converts this RecentStickerWeight to JSON.
5345
* @returns JSON object
5346
*/
5347
public toJSON(): { [k: string]: any };
5348
}
5349
5350
/** Properties of a SyncdPatch. */
5351
interface ISyncdPatch {
5352
5353
/** SyncdPatch version */
5354
version?: (proto.ISyncdVersion|null);
5355
5356
/** SyncdPatch mutations */
5357
mutations?: (proto.ISyncdMutation[]|null);
5358
5359
/** SyncdPatch externalMutations */
5360
externalMutations?: (proto.IExternalBlobReference|null);
5361
5362
/** SyncdPatch snapshotMac */
5363
snapshotMac?: (Uint8Array|null);
5364
5365
/** SyncdPatch patchMac */
5366
patchMac?: (Uint8Array|null);
5367
5368
/** SyncdPatch keyId */
5369
keyId?: (proto.IKeyId|null);
5370
5371
/** SyncdPatch exitCode */
5372
exitCode?: (proto.IExitCode|null);
5373
5374
/** SyncdPatch deviceIndex */
5375
deviceIndex?: (number|null);
5376
}
5377
5378
/** Represents a SyncdPatch. */
5379
class SyncdPatch implements ISyncdPatch {
5380
5381
/**
5382
* Constructs a new SyncdPatch.
5383
* @param [properties] Properties to set
5384
*/
5385
constructor(properties?: proto.ISyncdPatch);
5386
5387
/** SyncdPatch version. */
5388
public version?: (proto.ISyncdVersion|null);
5389
5390
/** SyncdPatch mutations. */
5391
public mutations: proto.ISyncdMutation[];
5392
5393
/** SyncdPatch externalMutations. */
5394
public externalMutations?: (proto.IExternalBlobReference|null);
5395
5396
/** SyncdPatch snapshotMac. */
5397
public snapshotMac: Uint8Array;
5398
5399
/** SyncdPatch patchMac. */
5400
public patchMac: Uint8Array;
5401
5402
/** SyncdPatch keyId. */
5403
public keyId?: (proto.IKeyId|null);
5404
5405
/** SyncdPatch exitCode. */
5406
public exitCode?: (proto.IExitCode|null);
5407
5408
/** SyncdPatch deviceIndex. */
5409
public deviceIndex: number;
5410
5411
/**
5412
* Creates a new SyncdPatch instance using the specified properties.
5413
* @param [properties] Properties to set
5414
* @returns SyncdPatch instance
5415
*/
5416
public static create(properties?: proto.ISyncdPatch): proto.SyncdPatch;
5417
5418
/**
5419
* Encodes the specified SyncdPatch message. Does not implicitly {@link proto.SyncdPatch.verify|verify} messages.
5420
* @param message SyncdPatch message or plain object to encode
5421
* @param [writer] Writer to encode to
5422
* @returns Writer
5423
*/
5424
public static encode(message: proto.ISyncdPatch, writer?: $protobuf.Writer): $protobuf.Writer;
5425
5426
/**
5427
* Encodes the specified SyncdPatch message, length delimited. Does not implicitly {@link proto.SyncdPatch.verify|verify} messages.
5428
* @param message SyncdPatch message or plain object to encode
5429
* @param [writer] Writer to encode to
5430
* @returns Writer
5431
*/
5432
public static encodeDelimited(message: proto.ISyncdPatch, writer?: $protobuf.Writer): $protobuf.Writer;
5433
5434
/**
5435
* Decodes a SyncdPatch message from the specified reader or buffer.
5436
* @param reader Reader or buffer to decode from
5437
* @param [length] Message length if known beforehand
5438
* @returns SyncdPatch
5439
* @throws {Error} If the payload is not a reader or valid buffer
5440
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5441
*/
5442
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdPatch;
5443
5444
/**
5445
* Decodes a SyncdPatch message from the specified reader or buffer, length delimited.
5446
* @param reader Reader or buffer to decode from
5447
* @returns SyncdPatch
5448
* @throws {Error} If the payload is not a reader or valid buffer
5449
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5450
*/
5451
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdPatch;
5452
5453
/**
5454
* Verifies a SyncdPatch message.
5455
* @param message Plain object to verify
5456
* @returns `null` if valid, otherwise the reason why it is not
5457
*/
5458
public static verify(message: { [k: string]: any }): (string|null);
5459
5460
/**
5461
* Creates a SyncdPatch message from a plain object. Also converts values to their respective internal types.
5462
* @param object Plain object
5463
* @returns SyncdPatch
5464
*/
5465
public static fromObject(object: { [k: string]: any }): proto.SyncdPatch;
5466
5467
/**
5468
* Creates a plain object from a SyncdPatch message. Also converts values to other types if specified.
5469
* @param message SyncdPatch
5470
* @param [options] Conversion options
5471
* @returns Plain object
5472
*/
5473
public static toObject(message: proto.SyncdPatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
5474
5475
/**
5476
* Converts this SyncdPatch to JSON.
5477
* @returns JSON object
5478
*/
5479
public toJSON(): { [k: string]: any };
5480
}
5481
5482
/** Properties of a SyncdMutation. */
5483
interface ISyncdMutation {
5484
5485
/** SyncdMutation operation */
5486
operation?: (proto.SyncdMutation.SyncdMutationSyncdOperation|null);
5487
5488
/** SyncdMutation record */
5489
record?: (proto.ISyncdRecord|null);
5490
}
5491
5492
/** Represents a SyncdMutation. */
5493
class SyncdMutation implements ISyncdMutation {
5494
5495
/**
5496
* Constructs a new SyncdMutation.
5497
* @param [properties] Properties to set
5498
*/
5499
constructor(properties?: proto.ISyncdMutation);
5500
5501
/** SyncdMutation operation. */
5502
public operation: proto.SyncdMutation.SyncdMutationSyncdOperation;
5503
5504
/** SyncdMutation record. */
5505
public record?: (proto.ISyncdRecord|null);
5506
5507
/**
5508
* Creates a new SyncdMutation instance using the specified properties.
5509
* @param [properties] Properties to set
5510
* @returns SyncdMutation instance
5511
*/
5512
public static create(properties?: proto.ISyncdMutation): proto.SyncdMutation;
5513
5514
/**
5515
* Encodes the specified SyncdMutation message. Does not implicitly {@link proto.SyncdMutation.verify|verify} messages.
5516
* @param message SyncdMutation message or plain object to encode
5517
* @param [writer] Writer to encode to
5518
* @returns Writer
5519
*/
5520
public static encode(message: proto.ISyncdMutation, writer?: $protobuf.Writer): $protobuf.Writer;
5521
5522
/**
5523
* Encodes the specified SyncdMutation message, length delimited. Does not implicitly {@link proto.SyncdMutation.verify|verify} messages.
5524
* @param message SyncdMutation message or plain object to encode
5525
* @param [writer] Writer to encode to
5526
* @returns Writer
5527
*/
5528
public static encodeDelimited(message: proto.ISyncdMutation, writer?: $protobuf.Writer): $protobuf.Writer;
5529
5530
/**
5531
* Decodes a SyncdMutation message from the specified reader or buffer.
5532
* @param reader Reader or buffer to decode from
5533
* @param [length] Message length if known beforehand
5534
* @returns SyncdMutation
5535
* @throws {Error} If the payload is not a reader or valid buffer
5536
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5537
*/
5538
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdMutation;
5539
5540
/**
5541
* Decodes a SyncdMutation message from the specified reader or buffer, length delimited.
5542
* @param reader Reader or buffer to decode from
5543
* @returns SyncdMutation
5544
* @throws {Error} If the payload is not a reader or valid buffer
5545
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5546
*/
5547
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdMutation;
5548
5549
/**
5550
* Verifies a SyncdMutation message.
5551
* @param message Plain object to verify
5552
* @returns `null` if valid, otherwise the reason why it is not
5553
*/
5554
public static verify(message: { [k: string]: any }): (string|null);
5555
5556
/**
5557
* Creates a SyncdMutation message from a plain object. Also converts values to their respective internal types.
5558
* @param object Plain object
5559
* @returns SyncdMutation
5560
*/
5561
public static fromObject(object: { [k: string]: any }): proto.SyncdMutation;
5562
5563
/**
5564
* Creates a plain object from a SyncdMutation message. Also converts values to other types if specified.
5565
* @param message SyncdMutation
5566
* @param [options] Conversion options
5567
* @returns Plain object
5568
*/
5569
public static toObject(message: proto.SyncdMutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
5570
5571
/**
5572
* Converts this SyncdMutation to JSON.
5573
* @returns JSON object
5574
*/
5575
public toJSON(): { [k: string]: any };
5576
}
5577
5578
namespace SyncdMutation {
5579
5580
/** SyncdMutationSyncdOperation enum. */
5581
enum SyncdMutationSyncdOperation {
5582
SET = 0,
5583
REMOVE = 1
5584
}
5585
}
5586
5587
/** Properties of a SyncdMutations. */
5588
interface ISyncdMutations {
5589
5590
/** SyncdMutations mutations */
5591
mutations?: (proto.ISyncdMutation[]|null);
5592
}
5593
5594
/** Represents a SyncdMutations. */
5595
class SyncdMutations implements ISyncdMutations {
5596
5597
/**
5598
* Constructs a new SyncdMutations.
5599
* @param [properties] Properties to set
5600
*/
5601
constructor(properties?: proto.ISyncdMutations);
5602
5603
/** SyncdMutations mutations. */
5604
public mutations: proto.ISyncdMutation[];
5605
5606
/**
5607
* Creates a new SyncdMutations instance using the specified properties.
5608
* @param [properties] Properties to set
5609
* @returns SyncdMutations instance
5610
*/
5611
public static create(properties?: proto.ISyncdMutations): proto.SyncdMutations;
5612
5613
/**
5614
* Encodes the specified SyncdMutations message. Does not implicitly {@link proto.SyncdMutations.verify|verify} messages.
5615
* @param message SyncdMutations message or plain object to encode
5616
* @param [writer] Writer to encode to
5617
* @returns Writer
5618
*/
5619
public static encode(message: proto.ISyncdMutations, writer?: $protobuf.Writer): $protobuf.Writer;
5620
5621
/**
5622
* Encodes the specified SyncdMutations message, length delimited. Does not implicitly {@link proto.SyncdMutations.verify|verify} messages.
5623
* @param message SyncdMutations message or plain object to encode
5624
* @param [writer] Writer to encode to
5625
* @returns Writer
5626
*/
5627
public static encodeDelimited(message: proto.ISyncdMutations, writer?: $protobuf.Writer): $protobuf.Writer;
5628
5629
/**
5630
* Decodes a SyncdMutations message from the specified reader or buffer.
5631
* @param reader Reader or buffer to decode from
5632
* @param [length] Message length if known beforehand
5633
* @returns SyncdMutations
5634
* @throws {Error} If the payload is not a reader or valid buffer
5635
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5636
*/
5637
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdMutations;
5638
5639
/**
5640
* Decodes a SyncdMutations message from the specified reader or buffer, length delimited.
5641
* @param reader Reader or buffer to decode from
5642
* @returns SyncdMutations
5643
* @throws {Error} If the payload is not a reader or valid buffer
5644
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5645
*/
5646
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdMutations;
5647
5648
/**
5649
* Verifies a SyncdMutations message.
5650
* @param message Plain object to verify
5651
* @returns `null` if valid, otherwise the reason why it is not
5652
*/
5653
public static verify(message: { [k: string]: any }): (string|null);
5654
5655
/**
5656
* Creates a SyncdMutations message from a plain object. Also converts values to their respective internal types.
5657
* @param object Plain object
5658
* @returns SyncdMutations
5659
*/
5660
public static fromObject(object: { [k: string]: any }): proto.SyncdMutations;
5661
5662
/**
5663
* Creates a plain object from a SyncdMutations message. Also converts values to other types if specified.
5664
* @param message SyncdMutations
5665
* @param [options] Conversion options
5666
* @returns Plain object
5667
*/
5668
public static toObject(message: proto.SyncdMutations, options?: $protobuf.IConversionOptions): { [k: string]: any };
5669
5670
/**
5671
* Converts this SyncdMutations to JSON.
5672
* @returns JSON object
5673
*/
5674
public toJSON(): { [k: string]: any };
5675
}
5676
5677
/** Properties of a SyncdSnapshot. */
5678
interface ISyncdSnapshot {
5679
5680
/** SyncdSnapshot version */
5681
version?: (proto.ISyncdVersion|null);
5682
5683
/** SyncdSnapshot records */
5684
records?: (proto.ISyncdRecord[]|null);
5685
5686
/** SyncdSnapshot mac */
5687
mac?: (Uint8Array|null);
5688
5689
/** SyncdSnapshot keyId */
5690
keyId?: (proto.IKeyId|null);
5691
}
5692
5693
/** Represents a SyncdSnapshot. */
5694
class SyncdSnapshot implements ISyncdSnapshot {
5695
5696
/**
5697
* Constructs a new SyncdSnapshot.
5698
* @param [properties] Properties to set
5699
*/
5700
constructor(properties?: proto.ISyncdSnapshot);
5701
5702
/** SyncdSnapshot version. */
5703
public version?: (proto.ISyncdVersion|null);
5704
5705
/** SyncdSnapshot records. */
5706
public records: proto.ISyncdRecord[];
5707
5708
/** SyncdSnapshot mac. */
5709
public mac: Uint8Array;
5710
5711
/** SyncdSnapshot keyId. */
5712
public keyId?: (proto.IKeyId|null);
5713
5714
/**
5715
* Creates a new SyncdSnapshot instance using the specified properties.
5716
* @param [properties] Properties to set
5717
* @returns SyncdSnapshot instance
5718
*/
5719
public static create(properties?: proto.ISyncdSnapshot): proto.SyncdSnapshot;
5720
5721
/**
5722
* Encodes the specified SyncdSnapshot message. Does not implicitly {@link proto.SyncdSnapshot.verify|verify} messages.
5723
* @param message SyncdSnapshot message or plain object to encode
5724
* @param [writer] Writer to encode to
5725
* @returns Writer
5726
*/
5727
public static encode(message: proto.ISyncdSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
5728
5729
/**
5730
* Encodes the specified SyncdSnapshot message, length delimited. Does not implicitly {@link proto.SyncdSnapshot.verify|verify} messages.
5731
* @param message SyncdSnapshot message or plain object to encode
5732
* @param [writer] Writer to encode to
5733
* @returns Writer
5734
*/
5735
public static encodeDelimited(message: proto.ISyncdSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
5736
5737
/**
5738
* Decodes a SyncdSnapshot message from the specified reader or buffer.
5739
* @param reader Reader or buffer to decode from
5740
* @param [length] Message length if known beforehand
5741
* @returns SyncdSnapshot
5742
* @throws {Error} If the payload is not a reader or valid buffer
5743
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5744
*/
5745
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdSnapshot;
5746
5747
/**
5748
* Decodes a SyncdSnapshot message from the specified reader or buffer, length delimited.
5749
* @param reader Reader or buffer to decode from
5750
* @returns SyncdSnapshot
5751
* @throws {Error} If the payload is not a reader or valid buffer
5752
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5753
*/
5754
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdSnapshot;
5755
5756
/**
5757
* Verifies a SyncdSnapshot message.
5758
* @param message Plain object to verify
5759
* @returns `null` if valid, otherwise the reason why it is not
5760
*/
5761
public static verify(message: { [k: string]: any }): (string|null);
5762
5763
/**
5764
* Creates a SyncdSnapshot message from a plain object. Also converts values to their respective internal types.
5765
* @param object Plain object
5766
* @returns SyncdSnapshot
5767
*/
5768
public static fromObject(object: { [k: string]: any }): proto.SyncdSnapshot;
5769
5770
/**
5771
* Creates a plain object from a SyncdSnapshot message. Also converts values to other types if specified.
5772
* @param message SyncdSnapshot
5773
* @param [options] Conversion options
5774
* @returns Plain object
5775
*/
5776
public static toObject(message: proto.SyncdSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
5777
5778
/**
5779
* Converts this SyncdSnapshot to JSON.
5780
* @returns JSON object
5781
*/
5782
public toJSON(): { [k: string]: any };
5783
}
5784
5785
/** Properties of an ExternalBlobReference. */
5786
interface IExternalBlobReference {
5787
5788
/** ExternalBlobReference mediaKey */
5789
mediaKey?: (Uint8Array|null);
5790
5791
/** ExternalBlobReference directPath */
5792
directPath?: (string|null);
5793
5794
/** ExternalBlobReference handle */
5795
handle?: (string|null);
5796
5797
/** ExternalBlobReference fileSizeBytes */
5798
fileSizeBytes?: (number|Long|null);
5799
5800
/** ExternalBlobReference fileSha256 */
5801
fileSha256?: (Uint8Array|null);
5802
5803
/** ExternalBlobReference fileEncSha256 */
5804
fileEncSha256?: (Uint8Array|null);
5805
}
5806
5807
/** Represents an ExternalBlobReference. */
5808
class ExternalBlobReference implements IExternalBlobReference {
5809
5810
/**
5811
* Constructs a new ExternalBlobReference.
5812
* @param [properties] Properties to set
5813
*/
5814
constructor(properties?: proto.IExternalBlobReference);
5815
5816
/** ExternalBlobReference mediaKey. */
5817
public mediaKey: Uint8Array;
5818
5819
/** ExternalBlobReference directPath. */
5820
public directPath: string;
5821
5822
/** ExternalBlobReference handle. */
5823
public handle: string;
5824
5825
/** ExternalBlobReference fileSizeBytes. */
5826
public fileSizeBytes: (number|Long);
5827
5828
/** ExternalBlobReference fileSha256. */
5829
public fileSha256: Uint8Array;
5830
5831
/** ExternalBlobReference fileEncSha256. */
5832
public fileEncSha256: Uint8Array;
5833
5834
/**
5835
* Creates a new ExternalBlobReference instance using the specified properties.
5836
* @param [properties] Properties to set
5837
* @returns ExternalBlobReference instance
5838
*/
5839
public static create(properties?: proto.IExternalBlobReference): proto.ExternalBlobReference;
5840
5841
/**
5842
* Encodes the specified ExternalBlobReference message. Does not implicitly {@link proto.ExternalBlobReference.verify|verify} messages.
5843
* @param message ExternalBlobReference message or plain object to encode
5844
* @param [writer] Writer to encode to
5845
* @returns Writer
5846
*/
5847
public static encode(message: proto.IExternalBlobReference, writer?: $protobuf.Writer): $protobuf.Writer;
5848
5849
/**
5850
* Encodes the specified ExternalBlobReference message, length delimited. Does not implicitly {@link proto.ExternalBlobReference.verify|verify} messages.
5851
* @param message ExternalBlobReference message or plain object to encode
5852
* @param [writer] Writer to encode to
5853
* @returns Writer
5854
*/
5855
public static encodeDelimited(message: proto.IExternalBlobReference, writer?: $protobuf.Writer): $protobuf.Writer;
5856
5857
/**
5858
* Decodes an ExternalBlobReference message from the specified reader or buffer.
5859
* @param reader Reader or buffer to decode from
5860
* @param [length] Message length if known beforehand
5861
* @returns ExternalBlobReference
5862
* @throws {Error} If the payload is not a reader or valid buffer
5863
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5864
*/
5865
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ExternalBlobReference;
5866
5867
/**
5868
* Decodes an ExternalBlobReference message from the specified reader or buffer, length delimited.
5869
* @param reader Reader or buffer to decode from
5870
* @returns ExternalBlobReference
5871
* @throws {Error} If the payload is not a reader or valid buffer
5872
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5873
*/
5874
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ExternalBlobReference;
5875
5876
/**
5877
* Verifies an ExternalBlobReference message.
5878
* @param message Plain object to verify
5879
* @returns `null` if valid, otherwise the reason why it is not
5880
*/
5881
public static verify(message: { [k: string]: any }): (string|null);
5882
5883
/**
5884
* Creates an ExternalBlobReference message from a plain object. Also converts values to their respective internal types.
5885
* @param object Plain object
5886
* @returns ExternalBlobReference
5887
*/
5888
public static fromObject(object: { [k: string]: any }): proto.ExternalBlobReference;
5889
5890
/**
5891
* Creates a plain object from an ExternalBlobReference message. Also converts values to other types if specified.
5892
* @param message ExternalBlobReference
5893
* @param [options] Conversion options
5894
* @returns Plain object
5895
*/
5896
public static toObject(message: proto.ExternalBlobReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
5897
5898
/**
5899
* Converts this ExternalBlobReference to JSON.
5900
* @returns JSON object
5901
*/
5902
public toJSON(): { [k: string]: any };
5903
}
5904
5905
/** Properties of a SyncdRecord. */
5906
interface ISyncdRecord {
5907
5908
/** SyncdRecord index */
5909
index?: (proto.ISyncdIndex|null);
5910
5911
/** SyncdRecord value */
5912
value?: (proto.ISyncdValue|null);
5913
5914
/** SyncdRecord keyId */
5915
keyId?: (proto.IKeyId|null);
5916
}
5917
5918
/** Represents a SyncdRecord. */
5919
class SyncdRecord implements ISyncdRecord {
5920
5921
/**
5922
* Constructs a new SyncdRecord.
5923
* @param [properties] Properties to set
5924
*/
5925
constructor(properties?: proto.ISyncdRecord);
5926
5927
/** SyncdRecord index. */
5928
public index?: (proto.ISyncdIndex|null);
5929
5930
/** SyncdRecord value. */
5931
public value?: (proto.ISyncdValue|null);
5932
5933
/** SyncdRecord keyId. */
5934
public keyId?: (proto.IKeyId|null);
5935
5936
/**
5937
* Creates a new SyncdRecord instance using the specified properties.
5938
* @param [properties] Properties to set
5939
* @returns SyncdRecord instance
5940
*/
5941
public static create(properties?: proto.ISyncdRecord): proto.SyncdRecord;
5942
5943
/**
5944
* Encodes the specified SyncdRecord message. Does not implicitly {@link proto.SyncdRecord.verify|verify} messages.
5945
* @param message SyncdRecord message or plain object to encode
5946
* @param [writer] Writer to encode to
5947
* @returns Writer
5948
*/
5949
public static encode(message: proto.ISyncdRecord, writer?: $protobuf.Writer): $protobuf.Writer;
5950
5951
/**
5952
* Encodes the specified SyncdRecord message, length delimited. Does not implicitly {@link proto.SyncdRecord.verify|verify} messages.
5953
* @param message SyncdRecord message or plain object to encode
5954
* @param [writer] Writer to encode to
5955
* @returns Writer
5956
*/
5957
public static encodeDelimited(message: proto.ISyncdRecord, writer?: $protobuf.Writer): $protobuf.Writer;
5958
5959
/**
5960
* Decodes a SyncdRecord message from the specified reader or buffer.
5961
* @param reader Reader or buffer to decode from
5962
* @param [length] Message length if known beforehand
5963
* @returns SyncdRecord
5964
* @throws {Error} If the payload is not a reader or valid buffer
5965
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5966
*/
5967
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdRecord;
5968
5969
/**
5970
* Decodes a SyncdRecord message from the specified reader or buffer, length delimited.
5971
* @param reader Reader or buffer to decode from
5972
* @returns SyncdRecord
5973
* @throws {Error} If the payload is not a reader or valid buffer
5974
* @throws {$protobuf.util.ProtocolError} If required fields are missing
5975
*/
5976
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdRecord;
5977
5978
/**
5979
* Verifies a SyncdRecord message.
5980
* @param message Plain object to verify
5981
* @returns `null` if valid, otherwise the reason why it is not
5982
*/
5983
public static verify(message: { [k: string]: any }): (string|null);
5984
5985
/**
5986
* Creates a SyncdRecord message from a plain object. Also converts values to their respective internal types.
5987
* @param object Plain object
5988
* @returns SyncdRecord
5989
*/
5990
public static fromObject(object: { [k: string]: any }): proto.SyncdRecord;
5991
5992
/**
5993
* Creates a plain object from a SyncdRecord message. Also converts values to other types if specified.
5994
* @param message SyncdRecord
5995
* @param [options] Conversion options
5996
* @returns Plain object
5997
*/
5998
public static toObject(message: proto.SyncdRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
5999
6000
/**
6001
* Converts this SyncdRecord to JSON.
6002
* @returns JSON object
6003
*/
6004
public toJSON(): { [k: string]: any };
6005
}
6006
6007
/** Properties of a KeyId. */
6008
interface IKeyId {
6009
6010
/** KeyId id */
6011
id?: (Uint8Array|null);
6012
}
6013
6014
/** Represents a KeyId. */
6015
class KeyId implements IKeyId {
6016
6017
/**
6018
* Constructs a new KeyId.
6019
* @param [properties] Properties to set
6020
*/
6021
constructor(properties?: proto.IKeyId);
6022
6023
/** KeyId id. */
6024
public id: Uint8Array;
6025
6026
/**
6027
* Creates a new KeyId instance using the specified properties.
6028
* @param [properties] Properties to set
6029
* @returns KeyId instance
6030
*/
6031
public static create(properties?: proto.IKeyId): proto.KeyId;
6032
6033
/**
6034
* Encodes the specified KeyId message. Does not implicitly {@link proto.KeyId.verify|verify} messages.
6035
* @param message KeyId message or plain object to encode
6036
* @param [writer] Writer to encode to
6037
* @returns Writer
6038
*/
6039
public static encode(message: proto.IKeyId, writer?: $protobuf.Writer): $protobuf.Writer;
6040
6041
/**
6042
* Encodes the specified KeyId message, length delimited. Does not implicitly {@link proto.KeyId.verify|verify} messages.
6043
* @param message KeyId message or plain object to encode
6044
* @param [writer] Writer to encode to
6045
* @returns Writer
6046
*/
6047
public static encodeDelimited(message: proto.IKeyId, writer?: $protobuf.Writer): $protobuf.Writer;
6048
6049
/**
6050
* Decodes a KeyId message from the specified reader or buffer.
6051
* @param reader Reader or buffer to decode from
6052
* @param [length] Message length if known beforehand
6053
* @returns KeyId
6054
* @throws {Error} If the payload is not a reader or valid buffer
6055
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6056
*/
6057
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.KeyId;
6058
6059
/**
6060
* Decodes a KeyId message from the specified reader or buffer, length delimited.
6061
* @param reader Reader or buffer to decode from
6062
* @returns KeyId
6063
* @throws {Error} If the payload is not a reader or valid buffer
6064
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6065
*/
6066
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.KeyId;
6067
6068
/**
6069
* Verifies a KeyId message.
6070
* @param message Plain object to verify
6071
* @returns `null` if valid, otherwise the reason why it is not
6072
*/
6073
public static verify(message: { [k: string]: any }): (string|null);
6074
6075
/**
6076
* Creates a KeyId message from a plain object. Also converts values to their respective internal types.
6077
* @param object Plain object
6078
* @returns KeyId
6079
*/
6080
public static fromObject(object: { [k: string]: any }): proto.KeyId;
6081
6082
/**
6083
* Creates a plain object from a KeyId message. Also converts values to other types if specified.
6084
* @param message KeyId
6085
* @param [options] Conversion options
6086
* @returns Plain object
6087
*/
6088
public static toObject(message: proto.KeyId, options?: $protobuf.IConversionOptions): { [k: string]: any };
6089
6090
/**
6091
* Converts this KeyId to JSON.
6092
* @returns JSON object
6093
*/
6094
public toJSON(): { [k: string]: any };
6095
}
6096
6097
/** Properties of a SyncdValue. */
6098
interface ISyncdValue {
6099
6100
/** SyncdValue blob */
6101
blob?: (Uint8Array|null);
6102
}
6103
6104
/** Represents a SyncdValue. */
6105
class SyncdValue implements ISyncdValue {
6106
6107
/**
6108
* Constructs a new SyncdValue.
6109
* @param [properties] Properties to set
6110
*/
6111
constructor(properties?: proto.ISyncdValue);
6112
6113
/** SyncdValue blob. */
6114
public blob: Uint8Array;
6115
6116
/**
6117
* Creates a new SyncdValue instance using the specified properties.
6118
* @param [properties] Properties to set
6119
* @returns SyncdValue instance
6120
*/
6121
public static create(properties?: proto.ISyncdValue): proto.SyncdValue;
6122
6123
/**
6124
* Encodes the specified SyncdValue message. Does not implicitly {@link proto.SyncdValue.verify|verify} messages.
6125
* @param message SyncdValue message or plain object to encode
6126
* @param [writer] Writer to encode to
6127
* @returns Writer
6128
*/
6129
public static encode(message: proto.ISyncdValue, writer?: $protobuf.Writer): $protobuf.Writer;
6130
6131
/**
6132
* Encodes the specified SyncdValue message, length delimited. Does not implicitly {@link proto.SyncdValue.verify|verify} messages.
6133
* @param message SyncdValue message or plain object to encode
6134
* @param [writer] Writer to encode to
6135
* @returns Writer
6136
*/
6137
public static encodeDelimited(message: proto.ISyncdValue, writer?: $protobuf.Writer): $protobuf.Writer;
6138
6139
/**
6140
* Decodes a SyncdValue message from the specified reader or buffer.
6141
* @param reader Reader or buffer to decode from
6142
* @param [length] Message length if known beforehand
6143
* @returns SyncdValue
6144
* @throws {Error} If the payload is not a reader or valid buffer
6145
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6146
*/
6147
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdValue;
6148
6149
/**
6150
* Decodes a SyncdValue message from the specified reader or buffer, length delimited.
6151
* @param reader Reader or buffer to decode from
6152
* @returns SyncdValue
6153
* @throws {Error} If the payload is not a reader or valid buffer
6154
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6155
*/
6156
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdValue;
6157
6158
/**
6159
* Verifies a SyncdValue message.
6160
* @param message Plain object to verify
6161
* @returns `null` if valid, otherwise the reason why it is not
6162
*/
6163
public static verify(message: { [k: string]: any }): (string|null);
6164
6165
/**
6166
* Creates a SyncdValue message from a plain object. Also converts values to their respective internal types.
6167
* @param object Plain object
6168
* @returns SyncdValue
6169
*/
6170
public static fromObject(object: { [k: string]: any }): proto.SyncdValue;
6171
6172
/**
6173
* Creates a plain object from a SyncdValue message. Also converts values to other types if specified.
6174
* @param message SyncdValue
6175
* @param [options] Conversion options
6176
* @returns Plain object
6177
*/
6178
public static toObject(message: proto.SyncdValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
6179
6180
/**
6181
* Converts this SyncdValue to JSON.
6182
* @returns JSON object
6183
*/
6184
public toJSON(): { [k: string]: any };
6185
}
6186
6187
/** Properties of a SyncdIndex. */
6188
interface ISyncdIndex {
6189
6190
/** SyncdIndex blob */
6191
blob?: (Uint8Array|null);
6192
}
6193
6194
/** Represents a SyncdIndex. */
6195
class SyncdIndex implements ISyncdIndex {
6196
6197
/**
6198
* Constructs a new SyncdIndex.
6199
* @param [properties] Properties to set
6200
*/
6201
constructor(properties?: proto.ISyncdIndex);
6202
6203
/** SyncdIndex blob. */
6204
public blob: Uint8Array;
6205
6206
/**
6207
* Creates a new SyncdIndex instance using the specified properties.
6208
* @param [properties] Properties to set
6209
* @returns SyncdIndex instance
6210
*/
6211
public static create(properties?: proto.ISyncdIndex): proto.SyncdIndex;
6212
6213
/**
6214
* Encodes the specified SyncdIndex message. Does not implicitly {@link proto.SyncdIndex.verify|verify} messages.
6215
* @param message SyncdIndex message or plain object to encode
6216
* @param [writer] Writer to encode to
6217
* @returns Writer
6218
*/
6219
public static encode(message: proto.ISyncdIndex, writer?: $protobuf.Writer): $protobuf.Writer;
6220
6221
/**
6222
* Encodes the specified SyncdIndex message, length delimited. Does not implicitly {@link proto.SyncdIndex.verify|verify} messages.
6223
* @param message SyncdIndex message or plain object to encode
6224
* @param [writer] Writer to encode to
6225
* @returns Writer
6226
*/
6227
public static encodeDelimited(message: proto.ISyncdIndex, writer?: $protobuf.Writer): $protobuf.Writer;
6228
6229
/**
6230
* Decodes a SyncdIndex message from the specified reader or buffer.
6231
* @param reader Reader or buffer to decode from
6232
* @param [length] Message length if known beforehand
6233
* @returns SyncdIndex
6234
* @throws {Error} If the payload is not a reader or valid buffer
6235
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6236
*/
6237
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdIndex;
6238
6239
/**
6240
* Decodes a SyncdIndex message from the specified reader or buffer, length delimited.
6241
* @param reader Reader or buffer to decode from
6242
* @returns SyncdIndex
6243
* @throws {Error} If the payload is not a reader or valid buffer
6244
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6245
*/
6246
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdIndex;
6247
6248
/**
6249
* Verifies a SyncdIndex message.
6250
* @param message Plain object to verify
6251
* @returns `null` if valid, otherwise the reason why it is not
6252
*/
6253
public static verify(message: { [k: string]: any }): (string|null);
6254
6255
/**
6256
* Creates a SyncdIndex message from a plain object. Also converts values to their respective internal types.
6257
* @param object Plain object
6258
* @returns SyncdIndex
6259
*/
6260
public static fromObject(object: { [k: string]: any }): proto.SyncdIndex;
6261
6262
/**
6263
* Creates a plain object from a SyncdIndex message. Also converts values to other types if specified.
6264
* @param message SyncdIndex
6265
* @param [options] Conversion options
6266
* @returns Plain object
6267
*/
6268
public static toObject(message: proto.SyncdIndex, options?: $protobuf.IConversionOptions): { [k: string]: any };
6269
6270
/**
6271
* Converts this SyncdIndex to JSON.
6272
* @returns JSON object
6273
*/
6274
public toJSON(): { [k: string]: any };
6275
}
6276
6277
/** Properties of an ExitCode. */
6278
interface IExitCode {
6279
6280
/** ExitCode code */
6281
code?: (number|Long|null);
6282
6283
/** ExitCode text */
6284
text?: (string|null);
6285
}
6286
6287
/** Represents an ExitCode. */
6288
class ExitCode implements IExitCode {
6289
6290
/**
6291
* Constructs a new ExitCode.
6292
* @param [properties] Properties to set
6293
*/
6294
constructor(properties?: proto.IExitCode);
6295
6296
/** ExitCode code. */
6297
public code: (number|Long);
6298
6299
/** ExitCode text. */
6300
public text: string;
6301
6302
/**
6303
* Creates a new ExitCode instance using the specified properties.
6304
* @param [properties] Properties to set
6305
* @returns ExitCode instance
6306
*/
6307
public static create(properties?: proto.IExitCode): proto.ExitCode;
6308
6309
/**
6310
* Encodes the specified ExitCode message. Does not implicitly {@link proto.ExitCode.verify|verify} messages.
6311
* @param message ExitCode message or plain object to encode
6312
* @param [writer] Writer to encode to
6313
* @returns Writer
6314
*/
6315
public static encode(message: proto.IExitCode, writer?: $protobuf.Writer): $protobuf.Writer;
6316
6317
/**
6318
* Encodes the specified ExitCode message, length delimited. Does not implicitly {@link proto.ExitCode.verify|verify} messages.
6319
* @param message ExitCode message or plain object to encode
6320
* @param [writer] Writer to encode to
6321
* @returns Writer
6322
*/
6323
public static encodeDelimited(message: proto.IExitCode, writer?: $protobuf.Writer): $protobuf.Writer;
6324
6325
/**
6326
* Decodes an ExitCode message from the specified reader or buffer.
6327
* @param reader Reader or buffer to decode from
6328
* @param [length] Message length if known beforehand
6329
* @returns ExitCode
6330
* @throws {Error} If the payload is not a reader or valid buffer
6331
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6332
*/
6333
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ExitCode;
6334
6335
/**
6336
* Decodes an ExitCode message from the specified reader or buffer, length delimited.
6337
* @param reader Reader or buffer to decode from
6338
* @returns ExitCode
6339
* @throws {Error} If the payload is not a reader or valid buffer
6340
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6341
*/
6342
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ExitCode;
6343
6344
/**
6345
* Verifies an ExitCode message.
6346
* @param message Plain object to verify
6347
* @returns `null` if valid, otherwise the reason why it is not
6348
*/
6349
public static verify(message: { [k: string]: any }): (string|null);
6350
6351
/**
6352
* Creates an ExitCode message from a plain object. Also converts values to their respective internal types.
6353
* @param object Plain object
6354
* @returns ExitCode
6355
*/
6356
public static fromObject(object: { [k: string]: any }): proto.ExitCode;
6357
6358
/**
6359
* Creates a plain object from an ExitCode message. Also converts values to other types if specified.
6360
* @param message ExitCode
6361
* @param [options] Conversion options
6362
* @returns Plain object
6363
*/
6364
public static toObject(message: proto.ExitCode, options?: $protobuf.IConversionOptions): { [k: string]: any };
6365
6366
/**
6367
* Converts this ExitCode to JSON.
6368
* @returns JSON object
6369
*/
6370
public toJSON(): { [k: string]: any };
6371
}
6372
6373
/** Properties of a SyncdVersion. */
6374
interface ISyncdVersion {
6375
6376
/** SyncdVersion version */
6377
version?: (number|Long|null);
6378
}
6379
6380
/** Represents a SyncdVersion. */
6381
class SyncdVersion implements ISyncdVersion {
6382
6383
/**
6384
* Constructs a new SyncdVersion.
6385
* @param [properties] Properties to set
6386
*/
6387
constructor(properties?: proto.ISyncdVersion);
6388
6389
/** SyncdVersion version. */
6390
public version: (number|Long);
6391
6392
/**
6393
* Creates a new SyncdVersion instance using the specified properties.
6394
* @param [properties] Properties to set
6395
* @returns SyncdVersion instance
6396
*/
6397
public static create(properties?: proto.ISyncdVersion): proto.SyncdVersion;
6398
6399
/**
6400
* Encodes the specified SyncdVersion message. Does not implicitly {@link proto.SyncdVersion.verify|verify} messages.
6401
* @param message SyncdVersion message or plain object to encode
6402
* @param [writer] Writer to encode to
6403
* @returns Writer
6404
*/
6405
public static encode(message: proto.ISyncdVersion, writer?: $protobuf.Writer): $protobuf.Writer;
6406
6407
/**
6408
* Encodes the specified SyncdVersion message, length delimited. Does not implicitly {@link proto.SyncdVersion.verify|verify} messages.
6409
* @param message SyncdVersion message or plain object to encode
6410
* @param [writer] Writer to encode to
6411
* @returns Writer
6412
*/
6413
public static encodeDelimited(message: proto.ISyncdVersion, writer?: $protobuf.Writer): $protobuf.Writer;
6414
6415
/**
6416
* Decodes a SyncdVersion message from the specified reader or buffer.
6417
* @param reader Reader or buffer to decode from
6418
* @param [length] Message length if known beforehand
6419
* @returns SyncdVersion
6420
* @throws {Error} If the payload is not a reader or valid buffer
6421
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6422
*/
6423
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncdVersion;
6424
6425
/**
6426
* Decodes a SyncdVersion message from the specified reader or buffer, length delimited.
6427
* @param reader Reader or buffer to decode from
6428
* @returns SyncdVersion
6429
* @throws {Error} If the payload is not a reader or valid buffer
6430
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6431
*/
6432
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncdVersion;
6433
6434
/**
6435
* Verifies a SyncdVersion message.
6436
* @param message Plain object to verify
6437
* @returns `null` if valid, otherwise the reason why it is not
6438
*/
6439
public static verify(message: { [k: string]: any }): (string|null);
6440
6441
/**
6442
* Creates a SyncdVersion message from a plain object. Also converts values to their respective internal types.
6443
* @param object Plain object
6444
* @returns SyncdVersion
6445
*/
6446
public static fromObject(object: { [k: string]: any }): proto.SyncdVersion;
6447
6448
/**
6449
* Creates a plain object from a SyncdVersion message. Also converts values to other types if specified.
6450
* @param message SyncdVersion
6451
* @param [options] Conversion options
6452
* @returns Plain object
6453
*/
6454
public static toObject(message: proto.SyncdVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
6455
6456
/**
6457
* Converts this SyncdVersion to JSON.
6458
* @returns JSON object
6459
*/
6460
public toJSON(): { [k: string]: any };
6461
}
6462
6463
/** Properties of a ServerErrorReceipt. */
6464
interface IServerErrorReceipt {
6465
6466
/** ServerErrorReceipt stanzaId */
6467
stanzaId?: (string|null);
6468
}
6469
6470
/** Represents a ServerErrorReceipt. */
6471
class ServerErrorReceipt implements IServerErrorReceipt {
6472
6473
/**
6474
* Constructs a new ServerErrorReceipt.
6475
* @param [properties] Properties to set
6476
*/
6477
constructor(properties?: proto.IServerErrorReceipt);
6478
6479
/** ServerErrorReceipt stanzaId. */
6480
public stanzaId: string;
6481
6482
/**
6483
* Creates a new ServerErrorReceipt instance using the specified properties.
6484
* @param [properties] Properties to set
6485
* @returns ServerErrorReceipt instance
6486
*/
6487
public static create(properties?: proto.IServerErrorReceipt): proto.ServerErrorReceipt;
6488
6489
/**
6490
* Encodes the specified ServerErrorReceipt message. Does not implicitly {@link proto.ServerErrorReceipt.verify|verify} messages.
6491
* @param message ServerErrorReceipt message or plain object to encode
6492
* @param [writer] Writer to encode to
6493
* @returns Writer
6494
*/
6495
public static encode(message: proto.IServerErrorReceipt, writer?: $protobuf.Writer): $protobuf.Writer;
6496
6497
/**
6498
* Encodes the specified ServerErrorReceipt message, length delimited. Does not implicitly {@link proto.ServerErrorReceipt.verify|verify} messages.
6499
* @param message ServerErrorReceipt message or plain object to encode
6500
* @param [writer] Writer to encode to
6501
* @returns Writer
6502
*/
6503
public static encodeDelimited(message: proto.IServerErrorReceipt, writer?: $protobuf.Writer): $protobuf.Writer;
6504
6505
/**
6506
* Decodes a ServerErrorReceipt message from the specified reader or buffer.
6507
* @param reader Reader or buffer to decode from
6508
* @param [length] Message length if known beforehand
6509
* @returns ServerErrorReceipt
6510
* @throws {Error} If the payload is not a reader or valid buffer
6511
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6512
*/
6513
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ServerErrorReceipt;
6514
6515
/**
6516
* Decodes a ServerErrorReceipt message from the specified reader or buffer, length delimited.
6517
* @param reader Reader or buffer to decode from
6518
* @returns ServerErrorReceipt
6519
* @throws {Error} If the payload is not a reader or valid buffer
6520
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6521
*/
6522
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ServerErrorReceipt;
6523
6524
/**
6525
* Verifies a ServerErrorReceipt message.
6526
* @param message Plain object to verify
6527
* @returns `null` if valid, otherwise the reason why it is not
6528
*/
6529
public static verify(message: { [k: string]: any }): (string|null);
6530
6531
/**
6532
* Creates a ServerErrorReceipt message from a plain object. Also converts values to their respective internal types.
6533
* @param object Plain object
6534
* @returns ServerErrorReceipt
6535
*/
6536
public static fromObject(object: { [k: string]: any }): proto.ServerErrorReceipt;
6537
6538
/**
6539
* Creates a plain object from a ServerErrorReceipt message. Also converts values to other types if specified.
6540
* @param message ServerErrorReceipt
6541
* @param [options] Conversion options
6542
* @returns Plain object
6543
*/
6544
public static toObject(message: proto.ServerErrorReceipt, options?: $protobuf.IConversionOptions): { [k: string]: any };
6545
6546
/**
6547
* Converts this ServerErrorReceipt to JSON.
6548
* @returns JSON object
6549
*/
6550
public toJSON(): { [k: string]: any };
6551
}
6552
6553
/** Properties of a MediaRetryNotification. */
6554
interface IMediaRetryNotification {
6555
6556
/** MediaRetryNotification stanzaId */
6557
stanzaId?: (string|null);
6558
6559
/** MediaRetryNotification directPath */
6560
directPath?: (string|null);
6561
6562
/** MediaRetryNotification result */
6563
result?: (proto.MediaRetryNotification.MediaRetryNotificationResultType|null);
6564
}
6565
6566
/** Represents a MediaRetryNotification. */
6567
class MediaRetryNotification implements IMediaRetryNotification {
6568
6569
/**
6570
* Constructs a new MediaRetryNotification.
6571
* @param [properties] Properties to set
6572
*/
6573
constructor(properties?: proto.IMediaRetryNotification);
6574
6575
/** MediaRetryNotification stanzaId. */
6576
public stanzaId: string;
6577
6578
/** MediaRetryNotification directPath. */
6579
public directPath: string;
6580
6581
/** MediaRetryNotification result. */
6582
public result: proto.MediaRetryNotification.MediaRetryNotificationResultType;
6583
6584
/**
6585
* Creates a new MediaRetryNotification instance using the specified properties.
6586
* @param [properties] Properties to set
6587
* @returns MediaRetryNotification instance
6588
*/
6589
public static create(properties?: proto.IMediaRetryNotification): proto.MediaRetryNotification;
6590
6591
/**
6592
* Encodes the specified MediaRetryNotification message. Does not implicitly {@link proto.MediaRetryNotification.verify|verify} messages.
6593
* @param message MediaRetryNotification message or plain object to encode
6594
* @param [writer] Writer to encode to
6595
* @returns Writer
6596
*/
6597
public static encode(message: proto.IMediaRetryNotification, writer?: $protobuf.Writer): $protobuf.Writer;
6598
6599
/**
6600
* Encodes the specified MediaRetryNotification message, length delimited. Does not implicitly {@link proto.MediaRetryNotification.verify|verify} messages.
6601
* @param message MediaRetryNotification message or plain object to encode
6602
* @param [writer] Writer to encode to
6603
* @returns Writer
6604
*/
6605
public static encodeDelimited(message: proto.IMediaRetryNotification, writer?: $protobuf.Writer): $protobuf.Writer;
6606
6607
/**
6608
* Decodes a MediaRetryNotification message from the specified reader or buffer.
6609
* @param reader Reader or buffer to decode from
6610
* @param [length] Message length if known beforehand
6611
* @returns MediaRetryNotification
6612
* @throws {Error} If the payload is not a reader or valid buffer
6613
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6614
*/
6615
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MediaRetryNotification;
6616
6617
/**
6618
* Decodes a MediaRetryNotification message from the specified reader or buffer, length delimited.
6619
* @param reader Reader or buffer to decode from
6620
* @returns MediaRetryNotification
6621
* @throws {Error} If the payload is not a reader or valid buffer
6622
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6623
*/
6624
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MediaRetryNotification;
6625
6626
/**
6627
* Verifies a MediaRetryNotification message.
6628
* @param message Plain object to verify
6629
* @returns `null` if valid, otherwise the reason why it is not
6630
*/
6631
public static verify(message: { [k: string]: any }): (string|null);
6632
6633
/**
6634
* Creates a MediaRetryNotification message from a plain object. Also converts values to their respective internal types.
6635
* @param object Plain object
6636
* @returns MediaRetryNotification
6637
*/
6638
public static fromObject(object: { [k: string]: any }): proto.MediaRetryNotification;
6639
6640
/**
6641
* Creates a plain object from a MediaRetryNotification message. Also converts values to other types if specified.
6642
* @param message MediaRetryNotification
6643
* @param [options] Conversion options
6644
* @returns Plain object
6645
*/
6646
public static toObject(message: proto.MediaRetryNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
6647
6648
/**
6649
* Converts this MediaRetryNotification to JSON.
6650
* @returns JSON object
6651
*/
6652
public toJSON(): { [k: string]: any };
6653
}
6654
6655
namespace MediaRetryNotification {
6656
6657
/** MediaRetryNotificationResultType enum. */
6658
enum MediaRetryNotificationResultType {
6659
GENERAL_ERROR = 0,
6660
SUCCESS = 1,
6661
NOT_FOUND = 2,
6662
DECRYPTION_ERROR = 3
6663
}
6664
}
6665
6666
/** Properties of a MsgOpaqueData. */
6667
interface IMsgOpaqueData {
6668
6669
/** MsgOpaqueData body */
6670
body?: (string|null);
6671
6672
/** MsgOpaqueData caption */
6673
caption?: (string|null);
6674
6675
/** MsgOpaqueData lng */
6676
lng?: (number|null);
6677
6678
/** MsgOpaqueData lat */
6679
lat?: (number|null);
6680
6681
/** MsgOpaqueData paymentAmount1000 */
6682
paymentAmount1000?: (number|null);
6683
6684
/** MsgOpaqueData paymentNoteMsgBody */
6685
paymentNoteMsgBody?: (string|null);
6686
6687
/** MsgOpaqueData canonicalUrl */
6688
canonicalUrl?: (string|null);
6689
6690
/** MsgOpaqueData matchedText */
6691
matchedText?: (string|null);
6692
6693
/** MsgOpaqueData title */
6694
title?: (string|null);
6695
6696
/** MsgOpaqueData description */
6697
description?: (string|null);
6698
6699
/** MsgOpaqueData futureproofBuffer */
6700
futureproofBuffer?: (Uint8Array|null);
6701
6702
/** MsgOpaqueData clientUrl */
6703
clientUrl?: (string|null);
6704
6705
/** MsgOpaqueData loc */
6706
loc?: (string|null);
6707
}
6708
6709
/** Represents a MsgOpaqueData. */
6710
class MsgOpaqueData implements IMsgOpaqueData {
6711
6712
/**
6713
* Constructs a new MsgOpaqueData.
6714
* @param [properties] Properties to set
6715
*/
6716
constructor(properties?: proto.IMsgOpaqueData);
6717
6718
/** MsgOpaqueData body. */
6719
public body: string;
6720
6721
/** MsgOpaqueData caption. */
6722
public caption: string;
6723
6724
/** MsgOpaqueData lng. */
6725
public lng: number;
6726
6727
/** MsgOpaqueData lat. */
6728
public lat: number;
6729
6730
/** MsgOpaqueData paymentAmount1000. */
6731
public paymentAmount1000: number;
6732
6733
/** MsgOpaqueData paymentNoteMsgBody. */
6734
public paymentNoteMsgBody: string;
6735
6736
/** MsgOpaqueData canonicalUrl. */
6737
public canonicalUrl: string;
6738
6739
/** MsgOpaqueData matchedText. */
6740
public matchedText: string;
6741
6742
/** MsgOpaqueData title. */
6743
public title: string;
6744
6745
/** MsgOpaqueData description. */
6746
public description: string;
6747
6748
/** MsgOpaqueData futureproofBuffer. */
6749
public futureproofBuffer: Uint8Array;
6750
6751
/** MsgOpaqueData clientUrl. */
6752
public clientUrl: string;
6753
6754
/** MsgOpaqueData loc. */
6755
public loc: string;
6756
6757
/**
6758
* Creates a new MsgOpaqueData instance using the specified properties.
6759
* @param [properties] Properties to set
6760
* @returns MsgOpaqueData instance
6761
*/
6762
public static create(properties?: proto.IMsgOpaqueData): proto.MsgOpaqueData;
6763
6764
/**
6765
* Encodes the specified MsgOpaqueData message. Does not implicitly {@link proto.MsgOpaqueData.verify|verify} messages.
6766
* @param message MsgOpaqueData message or plain object to encode
6767
* @param [writer] Writer to encode to
6768
* @returns Writer
6769
*/
6770
public static encode(message: proto.IMsgOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer;
6771
6772
/**
6773
* Encodes the specified MsgOpaqueData message, length delimited. Does not implicitly {@link proto.MsgOpaqueData.verify|verify} messages.
6774
* @param message MsgOpaqueData message or plain object to encode
6775
* @param [writer] Writer to encode to
6776
* @returns Writer
6777
*/
6778
public static encodeDelimited(message: proto.IMsgOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer;
6779
6780
/**
6781
* Decodes a MsgOpaqueData message from the specified reader or buffer.
6782
* @param reader Reader or buffer to decode from
6783
* @param [length] Message length if known beforehand
6784
* @returns MsgOpaqueData
6785
* @throws {Error} If the payload is not a reader or valid buffer
6786
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6787
*/
6788
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MsgOpaqueData;
6789
6790
/**
6791
* Decodes a MsgOpaqueData message from the specified reader or buffer, length delimited.
6792
* @param reader Reader or buffer to decode from
6793
* @returns MsgOpaqueData
6794
* @throws {Error} If the payload is not a reader or valid buffer
6795
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6796
*/
6797
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MsgOpaqueData;
6798
6799
/**
6800
* Verifies a MsgOpaqueData message.
6801
* @param message Plain object to verify
6802
* @returns `null` if valid, otherwise the reason why it is not
6803
*/
6804
public static verify(message: { [k: string]: any }): (string|null);
6805
6806
/**
6807
* Creates a MsgOpaqueData message from a plain object. Also converts values to their respective internal types.
6808
* @param object Plain object
6809
* @returns MsgOpaqueData
6810
*/
6811
public static fromObject(object: { [k: string]: any }): proto.MsgOpaqueData;
6812
6813
/**
6814
* Creates a plain object from a MsgOpaqueData message. Also converts values to other types if specified.
6815
* @param message MsgOpaqueData
6816
* @param [options] Conversion options
6817
* @returns Plain object
6818
*/
6819
public static toObject(message: proto.MsgOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any };
6820
6821
/**
6822
* Converts this MsgOpaqueData to JSON.
6823
* @returns JSON object
6824
*/
6825
public toJSON(): { [k: string]: any };
6826
}
6827
6828
/** Properties of a MsgRowOpaqueData. */
6829
interface IMsgRowOpaqueData {
6830
6831
/** MsgRowOpaqueData currentMsg */
6832
currentMsg?: (proto.IMsgOpaqueData|null);
6833
6834
/** MsgRowOpaqueData quotedMsg */
6835
quotedMsg?: (proto.IMsgOpaqueData|null);
6836
}
6837
6838
/** Represents a MsgRowOpaqueData. */
6839
class MsgRowOpaqueData implements IMsgRowOpaqueData {
6840
6841
/**
6842
* Constructs a new MsgRowOpaqueData.
6843
* @param [properties] Properties to set
6844
*/
6845
constructor(properties?: proto.IMsgRowOpaqueData);
6846
6847
/** MsgRowOpaqueData currentMsg. */
6848
public currentMsg?: (proto.IMsgOpaqueData|null);
6849
6850
/** MsgRowOpaqueData quotedMsg. */
6851
public quotedMsg?: (proto.IMsgOpaqueData|null);
6852
6853
/**
6854
* Creates a new MsgRowOpaqueData instance using the specified properties.
6855
* @param [properties] Properties to set
6856
* @returns MsgRowOpaqueData instance
6857
*/
6858
public static create(properties?: proto.IMsgRowOpaqueData): proto.MsgRowOpaqueData;
6859
6860
/**
6861
* Encodes the specified MsgRowOpaqueData message. Does not implicitly {@link proto.MsgRowOpaqueData.verify|verify} messages.
6862
* @param message MsgRowOpaqueData message or plain object to encode
6863
* @param [writer] Writer to encode to
6864
* @returns Writer
6865
*/
6866
public static encode(message: proto.IMsgRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer;
6867
6868
/**
6869
* Encodes the specified MsgRowOpaqueData message, length delimited. Does not implicitly {@link proto.MsgRowOpaqueData.verify|verify} messages.
6870
* @param message MsgRowOpaqueData message or plain object to encode
6871
* @param [writer] Writer to encode to
6872
* @returns Writer
6873
*/
6874
public static encodeDelimited(message: proto.IMsgRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer;
6875
6876
/**
6877
* Decodes a MsgRowOpaqueData message from the specified reader or buffer.
6878
* @param reader Reader or buffer to decode from
6879
* @param [length] Message length if known beforehand
6880
* @returns MsgRowOpaqueData
6881
* @throws {Error} If the payload is not a reader or valid buffer
6882
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6883
*/
6884
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MsgRowOpaqueData;
6885
6886
/**
6887
* Decodes a MsgRowOpaqueData message from the specified reader or buffer, length delimited.
6888
* @param reader Reader or buffer to decode from
6889
* @returns MsgRowOpaqueData
6890
* @throws {Error} If the payload is not a reader or valid buffer
6891
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6892
*/
6893
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MsgRowOpaqueData;
6894
6895
/**
6896
* Verifies a MsgRowOpaqueData message.
6897
* @param message Plain object to verify
6898
* @returns `null` if valid, otherwise the reason why it is not
6899
*/
6900
public static verify(message: { [k: string]: any }): (string|null);
6901
6902
/**
6903
* Creates a MsgRowOpaqueData message from a plain object. Also converts values to their respective internal types.
6904
* @param object Plain object
6905
* @returns MsgRowOpaqueData
6906
*/
6907
public static fromObject(object: { [k: string]: any }): proto.MsgRowOpaqueData;
6908
6909
/**
6910
* Creates a plain object from a MsgRowOpaqueData message. Also converts values to other types if specified.
6911
* @param message MsgRowOpaqueData
6912
* @param [options] Conversion options
6913
* @returns Plain object
6914
*/
6915
public static toObject(message: proto.MsgRowOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any };
6916
6917
/**
6918
* Converts this MsgRowOpaqueData to JSON.
6919
* @returns JSON object
6920
*/
6921
public toJSON(): { [k: string]: any };
6922
}
6923
6924
/** Properties of a GlobalSettings. */
6925
interface IGlobalSettings {
6926
6927
/** GlobalSettings lightThemeWallpaper */
6928
lightThemeWallpaper?: (proto.IWallpaperSettings|null);
6929
6930
/** GlobalSettings mediaVisibility */
6931
mediaVisibility?: (proto.MediaVisibility|null);
6932
6933
/** GlobalSettings darkThemeWallpaper */
6934
darkThemeWallpaper?: (proto.IWallpaperSettings|null);
6935
}
6936
6937
/** Represents a GlobalSettings. */
6938
class GlobalSettings implements IGlobalSettings {
6939
6940
/**
6941
* Constructs a new GlobalSettings.
6942
* @param [properties] Properties to set
6943
*/
6944
constructor(properties?: proto.IGlobalSettings);
6945
6946
/** GlobalSettings lightThemeWallpaper. */
6947
public lightThemeWallpaper?: (proto.IWallpaperSettings|null);
6948
6949
/** GlobalSettings mediaVisibility. */
6950
public mediaVisibility: proto.MediaVisibility;
6951
6952
/** GlobalSettings darkThemeWallpaper. */
6953
public darkThemeWallpaper?: (proto.IWallpaperSettings|null);
6954
6955
/**
6956
* Creates a new GlobalSettings instance using the specified properties.
6957
* @param [properties] Properties to set
6958
* @returns GlobalSettings instance
6959
*/
6960
public static create(properties?: proto.IGlobalSettings): proto.GlobalSettings;
6961
6962
/**
6963
* Encodes the specified GlobalSettings message. Does not implicitly {@link proto.GlobalSettings.verify|verify} messages.
6964
* @param message GlobalSettings message or plain object to encode
6965
* @param [writer] Writer to encode to
6966
* @returns Writer
6967
*/
6968
public static encode(message: proto.IGlobalSettings, writer?: $protobuf.Writer): $protobuf.Writer;
6969
6970
/**
6971
* Encodes the specified GlobalSettings message, length delimited. Does not implicitly {@link proto.GlobalSettings.verify|verify} messages.
6972
* @param message GlobalSettings message or plain object to encode
6973
* @param [writer] Writer to encode to
6974
* @returns Writer
6975
*/
6976
public static encodeDelimited(message: proto.IGlobalSettings, writer?: $protobuf.Writer): $protobuf.Writer;
6977
6978
/**
6979
* Decodes a GlobalSettings message from the specified reader or buffer.
6980
* @param reader Reader or buffer to decode from
6981
* @param [length] Message length if known beforehand
6982
* @returns GlobalSettings
6983
* @throws {Error} If the payload is not a reader or valid buffer
6984
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6985
*/
6986
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.GlobalSettings;
6987
6988
/**
6989
* Decodes a GlobalSettings message from the specified reader or buffer, length delimited.
6990
* @param reader Reader or buffer to decode from
6991
* @returns GlobalSettings
6992
* @throws {Error} If the payload is not a reader or valid buffer
6993
* @throws {$protobuf.util.ProtocolError} If required fields are missing
6994
*/
6995
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.GlobalSettings;
6996
6997
/**
6998
* Verifies a GlobalSettings message.
6999
* @param message Plain object to verify
7000
* @returns `null` if valid, otherwise the reason why it is not
7001
*/
7002
public static verify(message: { [k: string]: any }): (string|null);
7003
7004
/**
7005
* Creates a GlobalSettings message from a plain object. Also converts values to their respective internal types.
7006
* @param object Plain object
7007
* @returns GlobalSettings
7008
*/
7009
public static fromObject(object: { [k: string]: any }): proto.GlobalSettings;
7010
7011
/**
7012
* Creates a plain object from a GlobalSettings message. Also converts values to other types if specified.
7013
* @param message GlobalSettings
7014
* @param [options] Conversion options
7015
* @returns Plain object
7016
*/
7017
public static toObject(message: proto.GlobalSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
7018
7019
/**
7020
* Converts this GlobalSettings to JSON.
7021
* @returns JSON object
7022
*/
7023
public toJSON(): { [k: string]: any };
7024
}
7025
7026
/** Properties of a WallpaperSettings. */
7027
interface IWallpaperSettings {
7028
7029
/** WallpaperSettings filename */
7030
filename?: (string|null);
7031
7032
/** WallpaperSettings opacity */
7033
opacity?: (number|null);
7034
}
7035
7036
/** Represents a WallpaperSettings. */
7037
class WallpaperSettings implements IWallpaperSettings {
7038
7039
/**
7040
* Constructs a new WallpaperSettings.
7041
* @param [properties] Properties to set
7042
*/
7043
constructor(properties?: proto.IWallpaperSettings);
7044
7045
/** WallpaperSettings filename. */
7046
public filename: string;
7047
7048
/** WallpaperSettings opacity. */
7049
public opacity: number;
7050
7051
/**
7052
* Creates a new WallpaperSettings instance using the specified properties.
7053
* @param [properties] Properties to set
7054
* @returns WallpaperSettings instance
7055
*/
7056
public static create(properties?: proto.IWallpaperSettings): proto.WallpaperSettings;
7057
7058
/**
7059
* Encodes the specified WallpaperSettings message. Does not implicitly {@link proto.WallpaperSettings.verify|verify} messages.
7060
* @param message WallpaperSettings message or plain object to encode
7061
* @param [writer] Writer to encode to
7062
* @returns Writer
7063
*/
7064
public static encode(message: proto.IWallpaperSettings, writer?: $protobuf.Writer): $protobuf.Writer;
7065
7066
/**
7067
* Encodes the specified WallpaperSettings message, length delimited. Does not implicitly {@link proto.WallpaperSettings.verify|verify} messages.
7068
* @param message WallpaperSettings message or plain object to encode
7069
* @param [writer] Writer to encode to
7070
* @returns Writer
7071
*/
7072
public static encodeDelimited(message: proto.IWallpaperSettings, writer?: $protobuf.Writer): $protobuf.Writer;
7073
7074
/**
7075
* Decodes a WallpaperSettings message from the specified reader or buffer.
7076
* @param reader Reader or buffer to decode from
7077
* @param [length] Message length if known beforehand
7078
* @returns WallpaperSettings
7079
* @throws {Error} If the payload is not a reader or valid buffer
7080
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7081
*/
7082
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.WallpaperSettings;
7083
7084
/**
7085
* Decodes a WallpaperSettings message from the specified reader or buffer, length delimited.
7086
* @param reader Reader or buffer to decode from
7087
* @returns WallpaperSettings
7088
* @throws {Error} If the payload is not a reader or valid buffer
7089
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7090
*/
7091
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.WallpaperSettings;
7092
7093
/**
7094
* Verifies a WallpaperSettings message.
7095
* @param message Plain object to verify
7096
* @returns `null` if valid, otherwise the reason why it is not
7097
*/
7098
public static verify(message: { [k: string]: any }): (string|null);
7099
7100
/**
7101
* Creates a WallpaperSettings message from a plain object. Also converts values to their respective internal types.
7102
* @param object Plain object
7103
* @returns WallpaperSettings
7104
*/
7105
public static fromObject(object: { [k: string]: any }): proto.WallpaperSettings;
7106
7107
/**
7108
* Creates a plain object from a WallpaperSettings message. Also converts values to other types if specified.
7109
* @param message WallpaperSettings
7110
* @param [options] Conversion options
7111
* @returns Plain object
7112
*/
7113
public static toObject(message: proto.WallpaperSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
7114
7115
/**
7116
* Converts this WallpaperSettings to JSON.
7117
* @returns JSON object
7118
*/
7119
public toJSON(): { [k: string]: any };
7120
}
7121
7122
/** Properties of a GroupParticipant. */
7123
interface IGroupParticipant {
7124
7125
/** GroupParticipant userJid */
7126
userJid: string;
7127
7128
/** GroupParticipant rank */
7129
rank?: (proto.GroupParticipant.GroupParticipantRank|null);
7130
}
7131
7132
/** Represents a GroupParticipant. */
7133
class GroupParticipant implements IGroupParticipant {
7134
7135
/**
7136
* Constructs a new GroupParticipant.
7137
* @param [properties] Properties to set
7138
*/
7139
constructor(properties?: proto.IGroupParticipant);
7140
7141
/** GroupParticipant userJid. */
7142
public userJid: string;
7143
7144
/** GroupParticipant rank. */
7145
public rank: proto.GroupParticipant.GroupParticipantRank;
7146
7147
/**
7148
* Creates a new GroupParticipant instance using the specified properties.
7149
* @param [properties] Properties to set
7150
* @returns GroupParticipant instance
7151
*/
7152
public static create(properties?: proto.IGroupParticipant): proto.GroupParticipant;
7153
7154
/**
7155
* Encodes the specified GroupParticipant message. Does not implicitly {@link proto.GroupParticipant.verify|verify} messages.
7156
* @param message GroupParticipant message or plain object to encode
7157
* @param [writer] Writer to encode to
7158
* @returns Writer
7159
*/
7160
public static encode(message: proto.IGroupParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
7161
7162
/**
7163
* Encodes the specified GroupParticipant message, length delimited. Does not implicitly {@link proto.GroupParticipant.verify|verify} messages.
7164
* @param message GroupParticipant message or plain object to encode
7165
* @param [writer] Writer to encode to
7166
* @returns Writer
7167
*/
7168
public static encodeDelimited(message: proto.IGroupParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
7169
7170
/**
7171
* Decodes a GroupParticipant message from the specified reader or buffer.
7172
* @param reader Reader or buffer to decode from
7173
* @param [length] Message length if known beforehand
7174
* @returns GroupParticipant
7175
* @throws {Error} If the payload is not a reader or valid buffer
7176
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7177
*/
7178
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.GroupParticipant;
7179
7180
/**
7181
* Decodes a GroupParticipant message from the specified reader or buffer, length delimited.
7182
* @param reader Reader or buffer to decode from
7183
* @returns GroupParticipant
7184
* @throws {Error} If the payload is not a reader or valid buffer
7185
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7186
*/
7187
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.GroupParticipant;
7188
7189
/**
7190
* Verifies a GroupParticipant message.
7191
* @param message Plain object to verify
7192
* @returns `null` if valid, otherwise the reason why it is not
7193
*/
7194
public static verify(message: { [k: string]: any }): (string|null);
7195
7196
/**
7197
* Creates a GroupParticipant message from a plain object. Also converts values to their respective internal types.
7198
* @param object Plain object
7199
* @returns GroupParticipant
7200
*/
7201
public static fromObject(object: { [k: string]: any }): proto.GroupParticipant;
7202
7203
/**
7204
* Creates a plain object from a GroupParticipant message. Also converts values to other types if specified.
7205
* @param message GroupParticipant
7206
* @param [options] Conversion options
7207
* @returns Plain object
7208
*/
7209
public static toObject(message: proto.GroupParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any };
7210
7211
/**
7212
* Converts this GroupParticipant to JSON.
7213
* @returns JSON object
7214
*/
7215
public toJSON(): { [k: string]: any };
7216
}
7217
7218
namespace GroupParticipant {
7219
7220
/** GroupParticipantRank enum. */
7221
enum GroupParticipantRank {
7222
REGULAR = 0,
7223
ADMIN = 1,
7224
SUPERADMIN = 2
7225
}
7226
}
7227
7228
/** Properties of a Pushname. */
7229
interface IPushname {
7230
7231
/** Pushname id */
7232
id?: (string|null);
7233
7234
/** Pushname pushname */
7235
pushname?: (string|null);
7236
}
7237
7238
/** Represents a Pushname. */
7239
class Pushname implements IPushname {
7240
7241
/**
7242
* Constructs a new Pushname.
7243
* @param [properties] Properties to set
7244
*/
7245
constructor(properties?: proto.IPushname);
7246
7247
/** Pushname id. */
7248
public id: string;
7249
7250
/** Pushname pushname. */
7251
public pushname: string;
7252
7253
/**
7254
* Creates a new Pushname instance using the specified properties.
7255
* @param [properties] Properties to set
7256
* @returns Pushname instance
7257
*/
7258
public static create(properties?: proto.IPushname): proto.Pushname;
7259
7260
/**
7261
* Encodes the specified Pushname message. Does not implicitly {@link proto.Pushname.verify|verify} messages.
7262
* @param message Pushname message or plain object to encode
7263
* @param [writer] Writer to encode to
7264
* @returns Writer
7265
*/
7266
public static encode(message: proto.IPushname, writer?: $protobuf.Writer): $protobuf.Writer;
7267
7268
/**
7269
* Encodes the specified Pushname message, length delimited. Does not implicitly {@link proto.Pushname.verify|verify} messages.
7270
* @param message Pushname message or plain object to encode
7271
* @param [writer] Writer to encode to
7272
* @returns Writer
7273
*/
7274
public static encodeDelimited(message: proto.IPushname, writer?: $protobuf.Writer): $protobuf.Writer;
7275
7276
/**
7277
* Decodes a Pushname message from the specified reader or buffer.
7278
* @param reader Reader or buffer to decode from
7279
* @param [length] Message length if known beforehand
7280
* @returns Pushname
7281
* @throws {Error} If the payload is not a reader or valid buffer
7282
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7283
*/
7284
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Pushname;
7285
7286
/**
7287
* Decodes a Pushname message from the specified reader or buffer, length delimited.
7288
* @param reader Reader or buffer to decode from
7289
* @returns Pushname
7290
* @throws {Error} If the payload is not a reader or valid buffer
7291
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7292
*/
7293
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Pushname;
7294
7295
/**
7296
* Verifies a Pushname message.
7297
* @param message Plain object to verify
7298
* @returns `null` if valid, otherwise the reason why it is not
7299
*/
7300
public static verify(message: { [k: string]: any }): (string|null);
7301
7302
/**
7303
* Creates a Pushname message from a plain object. Also converts values to their respective internal types.
7304
* @param object Plain object
7305
* @returns Pushname
7306
*/
7307
public static fromObject(object: { [k: string]: any }): proto.Pushname;
7308
7309
/**
7310
* Creates a plain object from a Pushname message. Also converts values to other types if specified.
7311
* @param message Pushname
7312
* @param [options] Conversion options
7313
* @returns Plain object
7314
*/
7315
public static toObject(message: proto.Pushname, options?: $protobuf.IConversionOptions): { [k: string]: any };
7316
7317
/**
7318
* Converts this Pushname to JSON.
7319
* @returns JSON object
7320
*/
7321
public toJSON(): { [k: string]: any };
7322
}
7323
7324
/** Properties of a HistorySyncMsg. */
7325
interface IHistorySyncMsg {
7326
7327
/** HistorySyncMsg message */
7328
message?: (proto.IWebMessageInfo|null);
7329
7330
/** HistorySyncMsg msgOrderId */
7331
msgOrderId?: (number|Long|null);
7332
}
7333
7334
/** Represents a HistorySyncMsg. */
7335
class HistorySyncMsg implements IHistorySyncMsg {
7336
7337
/**
7338
* Constructs a new HistorySyncMsg.
7339
* @param [properties] Properties to set
7340
*/
7341
constructor(properties?: proto.IHistorySyncMsg);
7342
7343
/** HistorySyncMsg message. */
7344
public message?: (proto.IWebMessageInfo|null);
7345
7346
/** HistorySyncMsg msgOrderId. */
7347
public msgOrderId: (number|Long);
7348
7349
/**
7350
* Creates a new HistorySyncMsg instance using the specified properties.
7351
* @param [properties] Properties to set
7352
* @returns HistorySyncMsg instance
7353
*/
7354
public static create(properties?: proto.IHistorySyncMsg): proto.HistorySyncMsg;
7355
7356
/**
7357
* Encodes the specified HistorySyncMsg message. Does not implicitly {@link proto.HistorySyncMsg.verify|verify} messages.
7358
* @param message HistorySyncMsg message or plain object to encode
7359
* @param [writer] Writer to encode to
7360
* @returns Writer
7361
*/
7362
public static encode(message: proto.IHistorySyncMsg, writer?: $protobuf.Writer): $protobuf.Writer;
7363
7364
/**
7365
* Encodes the specified HistorySyncMsg message, length delimited. Does not implicitly {@link proto.HistorySyncMsg.verify|verify} messages.
7366
* @param message HistorySyncMsg message or plain object to encode
7367
* @param [writer] Writer to encode to
7368
* @returns Writer
7369
*/
7370
public static encodeDelimited(message: proto.IHistorySyncMsg, writer?: $protobuf.Writer): $protobuf.Writer;
7371
7372
/**
7373
* Decodes a HistorySyncMsg message from the specified reader or buffer.
7374
* @param reader Reader or buffer to decode from
7375
* @param [length] Message length if known beforehand
7376
* @returns HistorySyncMsg
7377
* @throws {Error} If the payload is not a reader or valid buffer
7378
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7379
*/
7380
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HistorySyncMsg;
7381
7382
/**
7383
* Decodes a HistorySyncMsg message from the specified reader or buffer, length delimited.
7384
* @param reader Reader or buffer to decode from
7385
* @returns HistorySyncMsg
7386
* @throws {Error} If the payload is not a reader or valid buffer
7387
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7388
*/
7389
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HistorySyncMsg;
7390
7391
/**
7392
* Verifies a HistorySyncMsg message.
7393
* @param message Plain object to verify
7394
* @returns `null` if valid, otherwise the reason why it is not
7395
*/
7396
public static verify(message: { [k: string]: any }): (string|null);
7397
7398
/**
7399
* Creates a HistorySyncMsg message from a plain object. Also converts values to their respective internal types.
7400
* @param object Plain object
7401
* @returns HistorySyncMsg
7402
*/
7403
public static fromObject(object: { [k: string]: any }): proto.HistorySyncMsg;
7404
7405
/**
7406
* Creates a plain object from a HistorySyncMsg message. Also converts values to other types if specified.
7407
* @param message HistorySyncMsg
7408
* @param [options] Conversion options
7409
* @returns Plain object
7410
*/
7411
public static toObject(message: proto.HistorySyncMsg, options?: $protobuf.IConversionOptions): { [k: string]: any };
7412
7413
/**
7414
* Converts this HistorySyncMsg to JSON.
7415
* @returns JSON object
7416
*/
7417
public toJSON(): { [k: string]: any };
7418
}
7419
7420
/** Properties of a Conversation. */
7421
interface IConversation {
7422
7423
/** Conversation id */
7424
id: string;
7425
7426
/** Conversation messages */
7427
messages?: (proto.IHistorySyncMsg[]|null);
7428
7429
/** Conversation newJid */
7430
newJid?: (string|null);
7431
7432
/** Conversation oldJid */
7433
oldJid?: (string|null);
7434
7435
/** Conversation lastMsgTimestamp */
7436
lastMsgTimestamp?: (number|Long|null);
7437
7438
/** Conversation unreadCount */
7439
unreadCount?: (number|null);
7440
7441
/** Conversation readOnly */
7442
readOnly?: (boolean|null);
7443
7444
/** Conversation endOfHistoryTransfer */
7445
endOfHistoryTransfer?: (boolean|null);
7446
7447
/** Conversation ephemeralExpiration */
7448
ephemeralExpiration?: (number|null);
7449
7450
/** Conversation ephemeralSettingTimestamp */
7451
ephemeralSettingTimestamp?: (number|Long|null);
7452
7453
/** Conversation endOfHistoryTransferType */
7454
endOfHistoryTransferType?: (proto.Conversation.ConversationEndOfHistoryTransferType|null);
7455
7456
/** Conversation conversationTimestamp */
7457
conversationTimestamp?: (number|Long|null);
7458
7459
/** Conversation name */
7460
name?: (string|null);
7461
7462
/** Conversation pHash */
7463
pHash?: (string|null);
7464
7465
/** Conversation notSpam */
7466
notSpam?: (boolean|null);
7467
7468
/** Conversation archived */
7469
archived?: (boolean|null);
7470
7471
/** Conversation disappearingMode */
7472
disappearingMode?: (proto.IDisappearingMode|null);
7473
7474
/** Conversation unreadMentionCount */
7475
unreadMentionCount?: (number|null);
7476
7477
/** Conversation markedAsUnread */
7478
markedAsUnread?: (boolean|null);
7479
7480
/** Conversation participant */
7481
participant?: (proto.IGroupParticipant[]|null);
7482
7483
/** Conversation tcToken */
7484
tcToken?: (Uint8Array|null);
7485
7486
/** Conversation tcTokenTimestamp */
7487
tcTokenTimestamp?: (number|Long|null);
7488
7489
/** Conversation contactPrimaryIdentityKey */
7490
contactPrimaryIdentityKey?: (Uint8Array|null);
7491
7492
/** Conversation pinned */
7493
pinned?: (number|null);
7494
7495
/** Conversation muteEndTime */
7496
muteEndTime?: (number|Long|null);
7497
7498
/** Conversation wallpaper */
7499
wallpaper?: (proto.IWallpaperSettings|null);
7500
7501
/** Conversation mediaVisibility */
7502
mediaVisibility?: (proto.MediaVisibility|null);
7503
7504
/** Conversation tcTokenSenderTimestamp */
7505
tcTokenSenderTimestamp?: (number|Long|null);
7506
7507
/** Conversation suspended */
7508
suspended?: (boolean|null);
7509
}
7510
7511
/** Represents a Conversation. */
7512
class Conversation implements IConversation {
7513
7514
/**
7515
* Constructs a new Conversation.
7516
* @param [properties] Properties to set
7517
*/
7518
constructor(properties?: proto.IConversation);
7519
7520
/** Conversation id. */
7521
public id: string;
7522
7523
/** Conversation messages. */
7524
public messages: proto.IHistorySyncMsg[];
7525
7526
/** Conversation newJid. */
7527
public newJid: string;
7528
7529
/** Conversation oldJid. */
7530
public oldJid: string;
7531
7532
/** Conversation lastMsgTimestamp. */
7533
public lastMsgTimestamp: (number|Long);
7534
7535
/** Conversation unreadCount. */
7536
public unreadCount: number;
7537
7538
/** Conversation readOnly. */
7539
public readOnly: boolean;
7540
7541
/** Conversation endOfHistoryTransfer. */
7542
public endOfHistoryTransfer: boolean;
7543
7544
/** Conversation ephemeralExpiration. */
7545
public ephemeralExpiration: number;
7546
7547
/** Conversation ephemeralSettingTimestamp. */
7548
public ephemeralSettingTimestamp: (number|Long);
7549
7550
/** Conversation endOfHistoryTransferType. */
7551
public endOfHistoryTransferType: proto.Conversation.ConversationEndOfHistoryTransferType;
7552
7553
/** Conversation conversationTimestamp. */
7554
public conversationTimestamp: (number|Long);
7555
7556
/** Conversation name. */
7557
public name: string;
7558
7559
/** Conversation pHash. */
7560
public pHash: string;
7561
7562
/** Conversation notSpam. */
7563
public notSpam: boolean;
7564
7565
/** Conversation archived. */
7566
public archived: boolean;
7567
7568
/** Conversation disappearingMode. */
7569
public disappearingMode?: (proto.IDisappearingMode|null);
7570
7571
/** Conversation unreadMentionCount. */
7572
public unreadMentionCount: number;
7573
7574
/** Conversation markedAsUnread. */
7575
public markedAsUnread: boolean;
7576
7577
/** Conversation participant. */
7578
public participant: proto.IGroupParticipant[];
7579
7580
/** Conversation tcToken. */
7581
public tcToken: Uint8Array;
7582
7583
/** Conversation tcTokenTimestamp. */
7584
public tcTokenTimestamp: (number|Long);
7585
7586
/** Conversation contactPrimaryIdentityKey. */
7587
public contactPrimaryIdentityKey: Uint8Array;
7588
7589
/** Conversation pinned. */
7590
public pinned: number;
7591
7592
/** Conversation muteEndTime. */
7593
public muteEndTime: (number|Long);
7594
7595
/** Conversation wallpaper. */
7596
public wallpaper?: (proto.IWallpaperSettings|null);
7597
7598
/** Conversation mediaVisibility. */
7599
public mediaVisibility: proto.MediaVisibility;
7600
7601
/** Conversation tcTokenSenderTimestamp. */
7602
public tcTokenSenderTimestamp: (number|Long);
7603
7604
/** Conversation suspended. */
7605
public suspended: boolean;
7606
7607
/**
7608
* Creates a new Conversation instance using the specified properties.
7609
* @param [properties] Properties to set
7610
* @returns Conversation instance
7611
*/
7612
public static create(properties?: proto.IConversation): proto.Conversation;
7613
7614
/**
7615
* Encodes the specified Conversation message. Does not implicitly {@link proto.Conversation.verify|verify} messages.
7616
* @param message Conversation message or plain object to encode
7617
* @param [writer] Writer to encode to
7618
* @returns Writer
7619
*/
7620
public static encode(message: proto.IConversation, writer?: $protobuf.Writer): $protobuf.Writer;
7621
7622
/**
7623
* Encodes the specified Conversation message, length delimited. Does not implicitly {@link proto.Conversation.verify|verify} messages.
7624
* @param message Conversation message or plain object to encode
7625
* @param [writer] Writer to encode to
7626
* @returns Writer
7627
*/
7628
public static encodeDelimited(message: proto.IConversation, writer?: $protobuf.Writer): $protobuf.Writer;
7629
7630
/**
7631
* Decodes a Conversation message from the specified reader or buffer.
7632
* @param reader Reader or buffer to decode from
7633
* @param [length] Message length if known beforehand
7634
* @returns Conversation
7635
* @throws {Error} If the payload is not a reader or valid buffer
7636
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7637
*/
7638
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Conversation;
7639
7640
/**
7641
* Decodes a Conversation message from the specified reader or buffer, length delimited.
7642
* @param reader Reader or buffer to decode from
7643
* @returns Conversation
7644
* @throws {Error} If the payload is not a reader or valid buffer
7645
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7646
*/
7647
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Conversation;
7648
7649
/**
7650
* Verifies a Conversation message.
7651
* @param message Plain object to verify
7652
* @returns `null` if valid, otherwise the reason why it is not
7653
*/
7654
public static verify(message: { [k: string]: any }): (string|null);
7655
7656
/**
7657
* Creates a Conversation message from a plain object. Also converts values to their respective internal types.
7658
* @param object Plain object
7659
* @returns Conversation
7660
*/
7661
public static fromObject(object: { [k: string]: any }): proto.Conversation;
7662
7663
/**
7664
* Creates a plain object from a Conversation message. Also converts values to other types if specified.
7665
* @param message Conversation
7666
* @param [options] Conversion options
7667
* @returns Plain object
7668
*/
7669
public static toObject(message: proto.Conversation, options?: $protobuf.IConversionOptions): { [k: string]: any };
7670
7671
/**
7672
* Converts this Conversation to JSON.
7673
* @returns JSON object
7674
*/
7675
public toJSON(): { [k: string]: any };
7676
}
7677
7678
namespace Conversation {
7679
7680
/** ConversationEndOfHistoryTransferType enum. */
7681
enum ConversationEndOfHistoryTransferType {
7682
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0,
7683
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1
7684
}
7685
}
7686
7687
/** Properties of a HistorySync. */
7688
interface IHistorySync {
7689
7690
/** HistorySync syncType */
7691
syncType: proto.HistorySync.HistorySyncHistorySyncType;
7692
7693
/** HistorySync conversations */
7694
conversations?: (proto.IConversation[]|null);
7695
7696
/** HistorySync statusV3Messages */
7697
statusV3Messages?: (proto.IWebMessageInfo[]|null);
7698
7699
/** HistorySync chunkOrder */
7700
chunkOrder?: (number|null);
7701
7702
/** HistorySync progress */
7703
progress?: (number|null);
7704
7705
/** HistorySync pushnames */
7706
pushnames?: (proto.IPushname[]|null);
7707
7708
/** HistorySync globalSettings */
7709
globalSettings?: (proto.IGlobalSettings|null);
7710
7711
/** HistorySync threadIdUserSecret */
7712
threadIdUserSecret?: (Uint8Array|null);
7713
7714
/** HistorySync threadDsTimeframeOffset */
7715
threadDsTimeframeOffset?: (number|null);
7716
}
7717
7718
/** Represents a HistorySync. */
7719
class HistorySync implements IHistorySync {
7720
7721
/**
7722
* Constructs a new HistorySync.
7723
* @param [properties] Properties to set
7724
*/
7725
constructor(properties?: proto.IHistorySync);
7726
7727
/** HistorySync syncType. */
7728
public syncType: proto.HistorySync.HistorySyncHistorySyncType;
7729
7730
/** HistorySync conversations. */
7731
public conversations: proto.IConversation[];
7732
7733
/** HistorySync statusV3Messages. */
7734
public statusV3Messages: proto.IWebMessageInfo[];
7735
7736
/** HistorySync chunkOrder. */
7737
public chunkOrder: number;
7738
7739
/** HistorySync progress. */
7740
public progress: number;
7741
7742
/** HistorySync pushnames. */
7743
public pushnames: proto.IPushname[];
7744
7745
/** HistorySync globalSettings. */
7746
public globalSettings?: (proto.IGlobalSettings|null);
7747
7748
/** HistorySync threadIdUserSecret. */
7749
public threadIdUserSecret: Uint8Array;
7750
7751
/** HistorySync threadDsTimeframeOffset. */
7752
public threadDsTimeframeOffset: number;
7753
7754
/**
7755
* Creates a new HistorySync instance using the specified properties.
7756
* @param [properties] Properties to set
7757
* @returns HistorySync instance
7758
*/
7759
public static create(properties?: proto.IHistorySync): proto.HistorySync;
7760
7761
/**
7762
* Encodes the specified HistorySync message. Does not implicitly {@link proto.HistorySync.verify|verify} messages.
7763
* @param message HistorySync message or plain object to encode
7764
* @param [writer] Writer to encode to
7765
* @returns Writer
7766
*/
7767
public static encode(message: proto.IHistorySync, writer?: $protobuf.Writer): $protobuf.Writer;
7768
7769
/**
7770
* Encodes the specified HistorySync message, length delimited. Does not implicitly {@link proto.HistorySync.verify|verify} messages.
7771
* @param message HistorySync message or plain object to encode
7772
* @param [writer] Writer to encode to
7773
* @returns Writer
7774
*/
7775
public static encodeDelimited(message: proto.IHistorySync, writer?: $protobuf.Writer): $protobuf.Writer;
7776
7777
/**
7778
* Decodes a HistorySync message from the specified reader or buffer.
7779
* @param reader Reader or buffer to decode from
7780
* @param [length] Message length if known beforehand
7781
* @returns HistorySync
7782
* @throws {Error} If the payload is not a reader or valid buffer
7783
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7784
*/
7785
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HistorySync;
7786
7787
/**
7788
* Decodes a HistorySync message from the specified reader or buffer, length delimited.
7789
* @param reader Reader or buffer to decode from
7790
* @returns HistorySync
7791
* @throws {Error} If the payload is not a reader or valid buffer
7792
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7793
*/
7794
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HistorySync;
7795
7796
/**
7797
* Verifies a HistorySync message.
7798
* @param message Plain object to verify
7799
* @returns `null` if valid, otherwise the reason why it is not
7800
*/
7801
public static verify(message: { [k: string]: any }): (string|null);
7802
7803
/**
7804
* Creates a HistorySync message from a plain object. Also converts values to their respective internal types.
7805
* @param object Plain object
7806
* @returns HistorySync
7807
*/
7808
public static fromObject(object: { [k: string]: any }): proto.HistorySync;
7809
7810
/**
7811
* Creates a plain object from a HistorySync message. Also converts values to other types if specified.
7812
* @param message HistorySync
7813
* @param [options] Conversion options
7814
* @returns Plain object
7815
*/
7816
public static toObject(message: proto.HistorySync, options?: $protobuf.IConversionOptions): { [k: string]: any };
7817
7818
/**
7819
* Converts this HistorySync to JSON.
7820
* @returns JSON object
7821
*/
7822
public toJSON(): { [k: string]: any };
7823
}
7824
7825
namespace HistorySync {
7826
7827
/** HistorySyncHistorySyncType enum. */
7828
enum HistorySyncHistorySyncType {
7829
INITIAL_BOOTSTRAP = 0,
7830
INITIAL_STATUS_V3 = 1,
7831
FULL = 2,
7832
RECENT = 3,
7833
PUSH_NAME = 4
7834
}
7835
}
7836
7837
/** MediaVisibility enum. */
7838
enum MediaVisibility {
7839
DEFAULT = 0,
7840
OFF = 1,
7841
ON = 2
7842
}
7843
7844
/** Properties of an EphemeralSetting. */
7845
interface IEphemeralSetting {
7846
7847
/** EphemeralSetting duration */
7848
duration?: (number|null);
7849
7850
/** EphemeralSetting timestamp */
7851
timestamp?: (number|Long|null);
7852
}
7853
7854
/** Represents an EphemeralSetting. */
7855
class EphemeralSetting implements IEphemeralSetting {
7856
7857
/**
7858
* Constructs a new EphemeralSetting.
7859
* @param [properties] Properties to set
7860
*/
7861
constructor(properties?: proto.IEphemeralSetting);
7862
7863
/** EphemeralSetting duration. */
7864
public duration: number;
7865
7866
/** EphemeralSetting timestamp. */
7867
public timestamp: (number|Long);
7868
7869
/**
7870
* Creates a new EphemeralSetting instance using the specified properties.
7871
* @param [properties] Properties to set
7872
* @returns EphemeralSetting instance
7873
*/
7874
public static create(properties?: proto.IEphemeralSetting): proto.EphemeralSetting;
7875
7876
/**
7877
* Encodes the specified EphemeralSetting message. Does not implicitly {@link proto.EphemeralSetting.verify|verify} messages.
7878
* @param message EphemeralSetting message or plain object to encode
7879
* @param [writer] Writer to encode to
7880
* @returns Writer
7881
*/
7882
public static encode(message: proto.IEphemeralSetting, writer?: $protobuf.Writer): $protobuf.Writer;
7883
7884
/**
7885
* Encodes the specified EphemeralSetting message, length delimited. Does not implicitly {@link proto.EphemeralSetting.verify|verify} messages.
7886
* @param message EphemeralSetting message or plain object to encode
7887
* @param [writer] Writer to encode to
7888
* @returns Writer
7889
*/
7890
public static encodeDelimited(message: proto.IEphemeralSetting, writer?: $protobuf.Writer): $protobuf.Writer;
7891
7892
/**
7893
* Decodes an EphemeralSetting message from the specified reader or buffer.
7894
* @param reader Reader or buffer to decode from
7895
* @param [length] Message length if known beforehand
7896
* @returns EphemeralSetting
7897
* @throws {Error} If the payload is not a reader or valid buffer
7898
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7899
*/
7900
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.EphemeralSetting;
7901
7902
/**
7903
* Decodes an EphemeralSetting message from the specified reader or buffer, length delimited.
7904
* @param reader Reader or buffer to decode from
7905
* @returns EphemeralSetting
7906
* @throws {Error} If the payload is not a reader or valid buffer
7907
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7908
*/
7909
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.EphemeralSetting;
7910
7911
/**
7912
* Verifies an EphemeralSetting message.
7913
* @param message Plain object to verify
7914
* @returns `null` if valid, otherwise the reason why it is not
7915
*/
7916
public static verify(message: { [k: string]: any }): (string|null);
7917
7918
/**
7919
* Creates an EphemeralSetting message from a plain object. Also converts values to their respective internal types.
7920
* @param object Plain object
7921
* @returns EphemeralSetting
7922
*/
7923
public static fromObject(object: { [k: string]: any }): proto.EphemeralSetting;
7924
7925
/**
7926
* Creates a plain object from an EphemeralSetting message. Also converts values to other types if specified.
7927
* @param message EphemeralSetting
7928
* @param [options] Conversion options
7929
* @returns Plain object
7930
*/
7931
public static toObject(message: proto.EphemeralSetting, options?: $protobuf.IConversionOptions): { [k: string]: any };
7932
7933
/**
7934
* Converts this EphemeralSetting to JSON.
7935
* @returns JSON object
7936
*/
7937
public toJSON(): { [k: string]: any };
7938
}
7939
7940
/** Properties of an InteractiveAnnotation. */
7941
interface IInteractiveAnnotation {
7942
7943
/** InteractiveAnnotation polygonVertices */
7944
polygonVertices?: (proto.IPoint[]|null);
7945
7946
/** InteractiveAnnotation location */
7947
location?: (proto.ILocation|null);
7948
}
7949
7950
/** Represents an InteractiveAnnotation. */
7951
class InteractiveAnnotation implements IInteractiveAnnotation {
7952
7953
/**
7954
* Constructs a new InteractiveAnnotation.
7955
* @param [properties] Properties to set
7956
*/
7957
constructor(properties?: proto.IInteractiveAnnotation);
7958
7959
/** InteractiveAnnotation polygonVertices. */
7960
public polygonVertices: proto.IPoint[];
7961
7962
/** InteractiveAnnotation location. */
7963
public location?: (proto.ILocation|null);
7964
7965
/** InteractiveAnnotation action. */
7966
public action?: "location";
7967
7968
/**
7969
* Creates a new InteractiveAnnotation instance using the specified properties.
7970
* @param [properties] Properties to set
7971
* @returns InteractiveAnnotation instance
7972
*/
7973
public static create(properties?: proto.IInteractiveAnnotation): proto.InteractiveAnnotation;
7974
7975
/**
7976
* Encodes the specified InteractiveAnnotation message. Does not implicitly {@link proto.InteractiveAnnotation.verify|verify} messages.
7977
* @param message InteractiveAnnotation message or plain object to encode
7978
* @param [writer] Writer to encode to
7979
* @returns Writer
7980
*/
7981
public static encode(message: proto.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
7982
7983
/**
7984
* Encodes the specified InteractiveAnnotation message, length delimited. Does not implicitly {@link proto.InteractiveAnnotation.verify|verify} messages.
7985
* @param message InteractiveAnnotation message or plain object to encode
7986
* @param [writer] Writer to encode to
7987
* @returns Writer
7988
*/
7989
public static encodeDelimited(message: proto.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
7990
7991
/**
7992
* Decodes an InteractiveAnnotation message from the specified reader or buffer.
7993
* @param reader Reader or buffer to decode from
7994
* @param [length] Message length if known beforehand
7995
* @returns InteractiveAnnotation
7996
* @throws {Error} If the payload is not a reader or valid buffer
7997
* @throws {$protobuf.util.ProtocolError} If required fields are missing
7998
*/
7999
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.InteractiveAnnotation;
8000
8001
/**
8002
* Decodes an InteractiveAnnotation message from the specified reader or buffer, length delimited.
8003
* @param reader Reader or buffer to decode from
8004
* @returns InteractiveAnnotation
8005
* @throws {Error} If the payload is not a reader or valid buffer
8006
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8007
*/
8008
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.InteractiveAnnotation;
8009
8010
/**
8011
* Verifies an InteractiveAnnotation message.
8012
* @param message Plain object to verify
8013
* @returns `null` if valid, otherwise the reason why it is not
8014
*/
8015
public static verify(message: { [k: string]: any }): (string|null);
8016
8017
/**
8018
* Creates an InteractiveAnnotation message from a plain object. Also converts values to their respective internal types.
8019
* @param object Plain object
8020
* @returns InteractiveAnnotation
8021
*/
8022
public static fromObject(object: { [k: string]: any }): proto.InteractiveAnnotation;
8023
8024
/**
8025
* Creates a plain object from an InteractiveAnnotation message. Also converts values to other types if specified.
8026
* @param message InteractiveAnnotation
8027
* @param [options] Conversion options
8028
* @returns Plain object
8029
*/
8030
public static toObject(message: proto.InteractiveAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
8031
8032
/**
8033
* Converts this InteractiveAnnotation to JSON.
8034
* @returns JSON object
8035
*/
8036
public toJSON(): { [k: string]: any };
8037
}
8038
8039
/** Properties of a DeviceListMetadata. */
8040
interface IDeviceListMetadata {
8041
8042
/** DeviceListMetadata senderKeyHash */
8043
senderKeyHash?: (Uint8Array|null);
8044
8045
/** DeviceListMetadata senderTimestamp */
8046
senderTimestamp?: (number|Long|null);
8047
8048
/** DeviceListMetadata senderKeyIndexes */
8049
senderKeyIndexes?: (number[]|null);
8050
8051
/** DeviceListMetadata recipientKeyHash */
8052
recipientKeyHash?: (Uint8Array|null);
8053
8054
/** DeviceListMetadata recipientTimestamp */
8055
recipientTimestamp?: (number|Long|null);
8056
8057
/** DeviceListMetadata recipientKeyIndexes */
8058
recipientKeyIndexes?: (number[]|null);
8059
}
8060
8061
/** Represents a DeviceListMetadata. */
8062
class DeviceListMetadata implements IDeviceListMetadata {
8063
8064
/**
8065
* Constructs a new DeviceListMetadata.
8066
* @param [properties] Properties to set
8067
*/
8068
constructor(properties?: proto.IDeviceListMetadata);
8069
8070
/** DeviceListMetadata senderKeyHash. */
8071
public senderKeyHash: Uint8Array;
8072
8073
/** DeviceListMetadata senderTimestamp. */
8074
public senderTimestamp: (number|Long);
8075
8076
/** DeviceListMetadata senderKeyIndexes. */
8077
public senderKeyIndexes: number[];
8078
8079
/** DeviceListMetadata recipientKeyHash. */
8080
public recipientKeyHash: Uint8Array;
8081
8082
/** DeviceListMetadata recipientTimestamp. */
8083
public recipientTimestamp: (number|Long);
8084
8085
/** DeviceListMetadata recipientKeyIndexes. */
8086
public recipientKeyIndexes: number[];
8087
8088
/**
8089
* Creates a new DeviceListMetadata instance using the specified properties.
8090
* @param [properties] Properties to set
8091
* @returns DeviceListMetadata instance
8092
*/
8093
public static create(properties?: proto.IDeviceListMetadata): proto.DeviceListMetadata;
8094
8095
/**
8096
* Encodes the specified DeviceListMetadata message. Does not implicitly {@link proto.DeviceListMetadata.verify|verify} messages.
8097
* @param message DeviceListMetadata message or plain object to encode
8098
* @param [writer] Writer to encode to
8099
* @returns Writer
8100
*/
8101
public static encode(message: proto.IDeviceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
8102
8103
/**
8104
* Encodes the specified DeviceListMetadata message, length delimited. Does not implicitly {@link proto.DeviceListMetadata.verify|verify} messages.
8105
* @param message DeviceListMetadata message or plain object to encode
8106
* @param [writer] Writer to encode to
8107
* @returns Writer
8108
*/
8109
public static encodeDelimited(message: proto.IDeviceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
8110
8111
/**
8112
* Decodes a DeviceListMetadata message from the specified reader or buffer.
8113
* @param reader Reader or buffer to decode from
8114
* @param [length] Message length if known beforehand
8115
* @returns DeviceListMetadata
8116
* @throws {Error} If the payload is not a reader or valid buffer
8117
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8118
*/
8119
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DeviceListMetadata;
8120
8121
/**
8122
* Decodes a DeviceListMetadata message from the specified reader or buffer, length delimited.
8123
* @param reader Reader or buffer to decode from
8124
* @returns DeviceListMetadata
8125
* @throws {Error} If the payload is not a reader or valid buffer
8126
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8127
*/
8128
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DeviceListMetadata;
8129
8130
/**
8131
* Verifies a DeviceListMetadata message.
8132
* @param message Plain object to verify
8133
* @returns `null` if valid, otherwise the reason why it is not
8134
*/
8135
public static verify(message: { [k: string]: any }): (string|null);
8136
8137
/**
8138
* Creates a DeviceListMetadata message from a plain object. Also converts values to their respective internal types.
8139
* @param object Plain object
8140
* @returns DeviceListMetadata
8141
*/
8142
public static fromObject(object: { [k: string]: any }): proto.DeviceListMetadata;
8143
8144
/**
8145
* Creates a plain object from a DeviceListMetadata message. Also converts values to other types if specified.
8146
* @param message DeviceListMetadata
8147
* @param [options] Conversion options
8148
* @returns Plain object
8149
*/
8150
public static toObject(message: proto.DeviceListMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
8151
8152
/**
8153
* Converts this DeviceListMetadata to JSON.
8154
* @returns JSON object
8155
*/
8156
public toJSON(): { [k: string]: any };
8157
}
8158
8159
/** Properties of a MessageContextInfo. */
8160
interface IMessageContextInfo {
8161
8162
/** MessageContextInfo deviceListMetadata */
8163
deviceListMetadata?: (proto.IDeviceListMetadata|null);
8164
8165
/** MessageContextInfo deviceListMetadataVersion */
8166
deviceListMetadataVersion?: (number|null);
8167
}
8168
8169
/** Represents a MessageContextInfo. */
8170
class MessageContextInfo implements IMessageContextInfo {
8171
8172
/**
8173
* Constructs a new MessageContextInfo.
8174
* @param [properties] Properties to set
8175
*/
8176
constructor(properties?: proto.IMessageContextInfo);
8177
8178
/** MessageContextInfo deviceListMetadata. */
8179
public deviceListMetadata?: (proto.IDeviceListMetadata|null);
8180
8181
/** MessageContextInfo deviceListMetadataVersion. */
8182
public deviceListMetadataVersion: number;
8183
8184
/**
8185
* Creates a new MessageContextInfo instance using the specified properties.
8186
* @param [properties] Properties to set
8187
* @returns MessageContextInfo instance
8188
*/
8189
public static create(properties?: proto.IMessageContextInfo): proto.MessageContextInfo;
8190
8191
/**
8192
* Encodes the specified MessageContextInfo message. Does not implicitly {@link proto.MessageContextInfo.verify|verify} messages.
8193
* @param message MessageContextInfo message or plain object to encode
8194
* @param [writer] Writer to encode to
8195
* @returns Writer
8196
*/
8197
public static encode(message: proto.IMessageContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8198
8199
/**
8200
* Encodes the specified MessageContextInfo message, length delimited. Does not implicitly {@link proto.MessageContextInfo.verify|verify} messages.
8201
* @param message MessageContextInfo message or plain object to encode
8202
* @param [writer] Writer to encode to
8203
* @returns Writer
8204
*/
8205
public static encodeDelimited(message: proto.IMessageContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8206
8207
/**
8208
* Decodes a MessageContextInfo message from the specified reader or buffer.
8209
* @param reader Reader or buffer to decode from
8210
* @param [length] Message length if known beforehand
8211
* @returns MessageContextInfo
8212
* @throws {Error} If the payload is not a reader or valid buffer
8213
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8214
*/
8215
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MessageContextInfo;
8216
8217
/**
8218
* Decodes a MessageContextInfo message from the specified reader or buffer, length delimited.
8219
* @param reader Reader or buffer to decode from
8220
* @returns MessageContextInfo
8221
* @throws {Error} If the payload is not a reader or valid buffer
8222
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8223
*/
8224
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MessageContextInfo;
8225
8226
/**
8227
* Verifies a MessageContextInfo message.
8228
* @param message Plain object to verify
8229
* @returns `null` if valid, otherwise the reason why it is not
8230
*/
8231
public static verify(message: { [k: string]: any }): (string|null);
8232
8233
/**
8234
* Creates a MessageContextInfo message from a plain object. Also converts values to their respective internal types.
8235
* @param object Plain object
8236
* @returns MessageContextInfo
8237
*/
8238
public static fromObject(object: { [k: string]: any }): proto.MessageContextInfo;
8239
8240
/**
8241
* Creates a plain object from a MessageContextInfo message. Also converts values to other types if specified.
8242
* @param message MessageContextInfo
8243
* @param [options] Conversion options
8244
* @returns Plain object
8245
*/
8246
public static toObject(message: proto.MessageContextInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
8247
8248
/**
8249
* Converts this MessageContextInfo to JSON.
8250
* @returns JSON object
8251
*/
8252
public toJSON(): { [k: string]: any };
8253
}
8254
8255
/** Properties of an AdReplyInfo. */
8256
interface IAdReplyInfo {
8257
8258
/** AdReplyInfo advertiserName */
8259
advertiserName?: (string|null);
8260
8261
/** AdReplyInfo mediaType */
8262
mediaType?: (proto.AdReplyInfo.AdReplyInfoMediaType|null);
8263
8264
/** AdReplyInfo jpegThumbnail */
8265
jpegThumbnail?: (Uint8Array|null);
8266
8267
/** AdReplyInfo caption */
8268
caption?: (string|null);
8269
}
8270
8271
/** Represents an AdReplyInfo. */
8272
class AdReplyInfo implements IAdReplyInfo {
8273
8274
/**
8275
* Constructs a new AdReplyInfo.
8276
* @param [properties] Properties to set
8277
*/
8278
constructor(properties?: proto.IAdReplyInfo);
8279
8280
/** AdReplyInfo advertiserName. */
8281
public advertiserName: string;
8282
8283
/** AdReplyInfo mediaType. */
8284
public mediaType: proto.AdReplyInfo.AdReplyInfoMediaType;
8285
8286
/** AdReplyInfo jpegThumbnail. */
8287
public jpegThumbnail: Uint8Array;
8288
8289
/** AdReplyInfo caption. */
8290
public caption: string;
8291
8292
/**
8293
* Creates a new AdReplyInfo instance using the specified properties.
8294
* @param [properties] Properties to set
8295
* @returns AdReplyInfo instance
8296
*/
8297
public static create(properties?: proto.IAdReplyInfo): proto.AdReplyInfo;
8298
8299
/**
8300
* Encodes the specified AdReplyInfo message. Does not implicitly {@link proto.AdReplyInfo.verify|verify} messages.
8301
* @param message AdReplyInfo message or plain object to encode
8302
* @param [writer] Writer to encode to
8303
* @returns Writer
8304
*/
8305
public static encode(message: proto.IAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8306
8307
/**
8308
* Encodes the specified AdReplyInfo message, length delimited. Does not implicitly {@link proto.AdReplyInfo.verify|verify} messages.
8309
* @param message AdReplyInfo message or plain object to encode
8310
* @param [writer] Writer to encode to
8311
* @returns Writer
8312
*/
8313
public static encodeDelimited(message: proto.IAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8314
8315
/**
8316
* Decodes an AdReplyInfo message from the specified reader or buffer.
8317
* @param reader Reader or buffer to decode from
8318
* @param [length] Message length if known beforehand
8319
* @returns AdReplyInfo
8320
* @throws {Error} If the payload is not a reader or valid buffer
8321
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8322
*/
8323
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AdReplyInfo;
8324
8325
/**
8326
* Decodes an AdReplyInfo message from the specified reader or buffer, length delimited.
8327
* @param reader Reader or buffer to decode from
8328
* @returns AdReplyInfo
8329
* @throws {Error} If the payload is not a reader or valid buffer
8330
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8331
*/
8332
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AdReplyInfo;
8333
8334
/**
8335
* Verifies an AdReplyInfo message.
8336
* @param message Plain object to verify
8337
* @returns `null` if valid, otherwise the reason why it is not
8338
*/
8339
public static verify(message: { [k: string]: any }): (string|null);
8340
8341
/**
8342
* Creates an AdReplyInfo message from a plain object. Also converts values to their respective internal types.
8343
* @param object Plain object
8344
* @returns AdReplyInfo
8345
*/
8346
public static fromObject(object: { [k: string]: any }): proto.AdReplyInfo;
8347
8348
/**
8349
* Creates a plain object from an AdReplyInfo message. Also converts values to other types if specified.
8350
* @param message AdReplyInfo
8351
* @param [options] Conversion options
8352
* @returns Plain object
8353
*/
8354
public static toObject(message: proto.AdReplyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
8355
8356
/**
8357
* Converts this AdReplyInfo to JSON.
8358
* @returns JSON object
8359
*/
8360
public toJSON(): { [k: string]: any };
8361
}
8362
8363
namespace AdReplyInfo {
8364
8365
/** AdReplyInfoMediaType enum. */
8366
enum AdReplyInfoMediaType {
8367
NONE = 0,
8368
IMAGE = 1,
8369
VIDEO = 2
8370
}
8371
}
8372
8373
/** Properties of an ExternalAdReplyInfo. */
8374
interface IExternalAdReplyInfo {
8375
8376
/** ExternalAdReplyInfo title */
8377
title?: (string|null);
8378
8379
/** ExternalAdReplyInfo body */
8380
body?: (string|null);
8381
8382
/** ExternalAdReplyInfo mediaType */
8383
mediaType?: (proto.ExternalAdReplyInfo.ExternalAdReplyInfoMediaType|null);
8384
8385
/** ExternalAdReplyInfo thumbnailUrl */
8386
thumbnailUrl?: (string|null);
8387
8388
/** ExternalAdReplyInfo mediaUrl */
8389
mediaUrl?: (string|null);
8390
8391
/** ExternalAdReplyInfo thumbnail */
8392
thumbnail?: (Uint8Array|null);
8393
8394
/** ExternalAdReplyInfo sourceType */
8395
sourceType?: (string|null);
8396
8397
/** ExternalAdReplyInfo sourceId */
8398
sourceId?: (string|null);
8399
8400
/** ExternalAdReplyInfo sourceUrl */
8401
sourceUrl?: (string|null);
8402
8403
/** ExternalAdReplyInfo containsAutoReply */
8404
containsAutoReply?: (boolean|null);
8405
}
8406
8407
/** Represents an ExternalAdReplyInfo. */
8408
class ExternalAdReplyInfo implements IExternalAdReplyInfo {
8409
8410
/**
8411
* Constructs a new ExternalAdReplyInfo.
8412
* @param [properties] Properties to set
8413
*/
8414
constructor(properties?: proto.IExternalAdReplyInfo);
8415
8416
/** ExternalAdReplyInfo title. */
8417
public title: string;
8418
8419
/** ExternalAdReplyInfo body. */
8420
public body: string;
8421
8422
/** ExternalAdReplyInfo mediaType. */
8423
public mediaType: proto.ExternalAdReplyInfo.ExternalAdReplyInfoMediaType;
8424
8425
/** ExternalAdReplyInfo thumbnailUrl. */
8426
public thumbnailUrl: string;
8427
8428
/** ExternalAdReplyInfo mediaUrl. */
8429
public mediaUrl: string;
8430
8431
/** ExternalAdReplyInfo thumbnail. */
8432
public thumbnail: Uint8Array;
8433
8434
/** ExternalAdReplyInfo sourceType. */
8435
public sourceType: string;
8436
8437
/** ExternalAdReplyInfo sourceId. */
8438
public sourceId: string;
8439
8440
/** ExternalAdReplyInfo sourceUrl. */
8441
public sourceUrl: string;
8442
8443
/** ExternalAdReplyInfo containsAutoReply. */
8444
public containsAutoReply: boolean;
8445
8446
/**
8447
* Creates a new ExternalAdReplyInfo instance using the specified properties.
8448
* @param [properties] Properties to set
8449
* @returns ExternalAdReplyInfo instance
8450
*/
8451
public static create(properties?: proto.IExternalAdReplyInfo): proto.ExternalAdReplyInfo;
8452
8453
/**
8454
* Encodes the specified ExternalAdReplyInfo message. Does not implicitly {@link proto.ExternalAdReplyInfo.verify|verify} messages.
8455
* @param message ExternalAdReplyInfo message or plain object to encode
8456
* @param [writer] Writer to encode to
8457
* @returns Writer
8458
*/
8459
public static encode(message: proto.IExternalAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8460
8461
/**
8462
* Encodes the specified ExternalAdReplyInfo message, length delimited. Does not implicitly {@link proto.ExternalAdReplyInfo.verify|verify} messages.
8463
* @param message ExternalAdReplyInfo message or plain object to encode
8464
* @param [writer] Writer to encode to
8465
* @returns Writer
8466
*/
8467
public static encodeDelimited(message: proto.IExternalAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8468
8469
/**
8470
* Decodes an ExternalAdReplyInfo message from the specified reader or buffer.
8471
* @param reader Reader or buffer to decode from
8472
* @param [length] Message length if known beforehand
8473
* @returns ExternalAdReplyInfo
8474
* @throws {Error} If the payload is not a reader or valid buffer
8475
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8476
*/
8477
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ExternalAdReplyInfo;
8478
8479
/**
8480
* Decodes an ExternalAdReplyInfo message from the specified reader or buffer, length delimited.
8481
* @param reader Reader or buffer to decode from
8482
* @returns ExternalAdReplyInfo
8483
* @throws {Error} If the payload is not a reader or valid buffer
8484
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8485
*/
8486
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ExternalAdReplyInfo;
8487
8488
/**
8489
* Verifies an ExternalAdReplyInfo message.
8490
* @param message Plain object to verify
8491
* @returns `null` if valid, otherwise the reason why it is not
8492
*/
8493
public static verify(message: { [k: string]: any }): (string|null);
8494
8495
/**
8496
* Creates an ExternalAdReplyInfo message from a plain object. Also converts values to their respective internal types.
8497
* @param object Plain object
8498
* @returns ExternalAdReplyInfo
8499
*/
8500
public static fromObject(object: { [k: string]: any }): proto.ExternalAdReplyInfo;
8501
8502
/**
8503
* Creates a plain object from an ExternalAdReplyInfo message. Also converts values to other types if specified.
8504
* @param message ExternalAdReplyInfo
8505
* @param [options] Conversion options
8506
* @returns Plain object
8507
*/
8508
public static toObject(message: proto.ExternalAdReplyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
8509
8510
/**
8511
* Converts this ExternalAdReplyInfo to JSON.
8512
* @returns JSON object
8513
*/
8514
public toJSON(): { [k: string]: any };
8515
}
8516
8517
namespace ExternalAdReplyInfo {
8518
8519
/** ExternalAdReplyInfoMediaType enum. */
8520
enum ExternalAdReplyInfoMediaType {
8521
NONE = 0,
8522
IMAGE = 1,
8523
VIDEO = 2
8524
}
8525
}
8526
8527
/** Properties of a ContextInfo. */
8528
interface IContextInfo {
8529
8530
/** ContextInfo stanzaId */
8531
stanzaId?: (string|null);
8532
8533
/** ContextInfo participant */
8534
participant?: (string|null);
8535
8536
/** ContextInfo quotedMessage */
8537
quotedMessage?: (proto.IMessage|null);
8538
8539
/** ContextInfo remoteJid */
8540
remoteJid?: (string|null);
8541
8542
/** ContextInfo mentionedJid */
8543
mentionedJid?: (string[]|null);
8544
8545
/** ContextInfo conversionSource */
8546
conversionSource?: (string|null);
8547
8548
/** ContextInfo conversionData */
8549
conversionData?: (Uint8Array|null);
8550
8551
/** ContextInfo conversionDelaySeconds */
8552
conversionDelaySeconds?: (number|null);
8553
8554
/** ContextInfo forwardingScore */
8555
forwardingScore?: (number|null);
8556
8557
/** ContextInfo isForwarded */
8558
isForwarded?: (boolean|null);
8559
8560
/** ContextInfo quotedAd */
8561
quotedAd?: (proto.IAdReplyInfo|null);
8562
8563
/** ContextInfo placeholderKey */
8564
placeholderKey?: (proto.IMessageKey|null);
8565
8566
/** ContextInfo expiration */
8567
expiration?: (number|null);
8568
8569
/** ContextInfo ephemeralSettingTimestamp */
8570
ephemeralSettingTimestamp?: (number|Long|null);
8571
8572
/** ContextInfo ephemeralSharedSecret */
8573
ephemeralSharedSecret?: (Uint8Array|null);
8574
8575
/** ContextInfo externalAdReply */
8576
externalAdReply?: (proto.IExternalAdReplyInfo|null);
8577
8578
/** ContextInfo entryPointConversionSource */
8579
entryPointConversionSource?: (string|null);
8580
8581
/** ContextInfo entryPointConversionApp */
8582
entryPointConversionApp?: (string|null);
8583
8584
/** ContextInfo entryPointConversionDelaySeconds */
8585
entryPointConversionDelaySeconds?: (number|null);
8586
8587
/** ContextInfo disappearingMode */
8588
disappearingMode?: (proto.IDisappearingMode|null);
8589
8590
/** ContextInfo actionLink */
8591
actionLink?: (proto.IActionLink|null);
8592
8593
/** ContextInfo groupSubject */
8594
groupSubject?: (string|null);
8595
8596
/** ContextInfo parentGroupJid */
8597
parentGroupJid?: (string|null);
8598
}
8599
8600
/** Represents a ContextInfo. */
8601
class ContextInfo implements IContextInfo {
8602
8603
/**
8604
* Constructs a new ContextInfo.
8605
* @param [properties] Properties to set
8606
*/
8607
constructor(properties?: proto.IContextInfo);
8608
8609
/** ContextInfo stanzaId. */
8610
public stanzaId: string;
8611
8612
/** ContextInfo participant. */
8613
public participant: string;
8614
8615
/** ContextInfo quotedMessage. */
8616
public quotedMessage?: (proto.IMessage|null);
8617
8618
/** ContextInfo remoteJid. */
8619
public remoteJid: string;
8620
8621
/** ContextInfo mentionedJid. */
8622
public mentionedJid: string[];
8623
8624
/** ContextInfo conversionSource. */
8625
public conversionSource: string;
8626
8627
/** ContextInfo conversionData. */
8628
public conversionData: Uint8Array;
8629
8630
/** ContextInfo conversionDelaySeconds. */
8631
public conversionDelaySeconds: number;
8632
8633
/** ContextInfo forwardingScore. */
8634
public forwardingScore: number;
8635
8636
/** ContextInfo isForwarded. */
8637
public isForwarded: boolean;
8638
8639
/** ContextInfo quotedAd. */
8640
public quotedAd?: (proto.IAdReplyInfo|null);
8641
8642
/** ContextInfo placeholderKey. */
8643
public placeholderKey?: (proto.IMessageKey|null);
8644
8645
/** ContextInfo expiration. */
8646
public expiration: number;
8647
8648
/** ContextInfo ephemeralSettingTimestamp. */
8649
public ephemeralSettingTimestamp: (number|Long);
8650
8651
/** ContextInfo ephemeralSharedSecret. */
8652
public ephemeralSharedSecret: Uint8Array;
8653
8654
/** ContextInfo externalAdReply. */
8655
public externalAdReply?: (proto.IExternalAdReplyInfo|null);
8656
8657
/** ContextInfo entryPointConversionSource. */
8658
public entryPointConversionSource: string;
8659
8660
/** ContextInfo entryPointConversionApp. */
8661
public entryPointConversionApp: string;
8662
8663
/** ContextInfo entryPointConversionDelaySeconds. */
8664
public entryPointConversionDelaySeconds: number;
8665
8666
/** ContextInfo disappearingMode. */
8667
public disappearingMode?: (proto.IDisappearingMode|null);
8668
8669
/** ContextInfo actionLink. */
8670
public actionLink?: (proto.IActionLink|null);
8671
8672
/** ContextInfo groupSubject. */
8673
public groupSubject: string;
8674
8675
/** ContextInfo parentGroupJid. */
8676
public parentGroupJid: string;
8677
8678
/**
8679
* Creates a new ContextInfo instance using the specified properties.
8680
* @param [properties] Properties to set
8681
* @returns ContextInfo instance
8682
*/
8683
public static create(properties?: proto.IContextInfo): proto.ContextInfo;
8684
8685
/**
8686
* Encodes the specified ContextInfo message. Does not implicitly {@link proto.ContextInfo.verify|verify} messages.
8687
* @param message ContextInfo message or plain object to encode
8688
* @param [writer] Writer to encode to
8689
* @returns Writer
8690
*/
8691
public static encode(message: proto.IContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8692
8693
/**
8694
* Encodes the specified ContextInfo message, length delimited. Does not implicitly {@link proto.ContextInfo.verify|verify} messages.
8695
* @param message ContextInfo message or plain object to encode
8696
* @param [writer] Writer to encode to
8697
* @returns Writer
8698
*/
8699
public static encodeDelimited(message: proto.IContextInfo, writer?: $protobuf.Writer): $protobuf.Writer;
8700
8701
/**
8702
* Decodes a ContextInfo message from the specified reader or buffer.
8703
* @param reader Reader or buffer to decode from
8704
* @param [length] Message length if known beforehand
8705
* @returns ContextInfo
8706
* @throws {Error} If the payload is not a reader or valid buffer
8707
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8708
*/
8709
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ContextInfo;
8710
8711
/**
8712
* Decodes a ContextInfo message from the specified reader or buffer, length delimited.
8713
* @param reader Reader or buffer to decode from
8714
* @returns ContextInfo
8715
* @throws {Error} If the payload is not a reader or valid buffer
8716
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8717
*/
8718
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ContextInfo;
8719
8720
/**
8721
* Verifies a ContextInfo message.
8722
* @param message Plain object to verify
8723
* @returns `null` if valid, otherwise the reason why it is not
8724
*/
8725
public static verify(message: { [k: string]: any }): (string|null);
8726
8727
/**
8728
* Creates a ContextInfo message from a plain object. Also converts values to their respective internal types.
8729
* @param object Plain object
8730
* @returns ContextInfo
8731
*/
8732
public static fromObject(object: { [k: string]: any }): proto.ContextInfo;
8733
8734
/**
8735
* Creates a plain object from a ContextInfo message. Also converts values to other types if specified.
8736
* @param message ContextInfo
8737
* @param [options] Conversion options
8738
* @returns Plain object
8739
*/
8740
public static toObject(message: proto.ContextInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
8741
8742
/**
8743
* Converts this ContextInfo to JSON.
8744
* @returns JSON object
8745
*/
8746
public toJSON(): { [k: string]: any };
8747
}
8748
8749
/** Properties of a SenderKeyDistributionMessage. */
8750
interface ISenderKeyDistributionMessage {
8751
8752
/** SenderKeyDistributionMessage groupId */
8753
groupId?: (string|null);
8754
8755
/** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage */
8756
axolotlSenderKeyDistributionMessage?: (Uint8Array|null);
8757
}
8758
8759
/** Represents a SenderKeyDistributionMessage. */
8760
class SenderKeyDistributionMessage implements ISenderKeyDistributionMessage {
8761
8762
/**
8763
* Constructs a new SenderKeyDistributionMessage.
8764
* @param [properties] Properties to set
8765
*/
8766
constructor(properties?: proto.ISenderKeyDistributionMessage);
8767
8768
/** SenderKeyDistributionMessage groupId. */
8769
public groupId: string;
8770
8771
/** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage. */
8772
public axolotlSenderKeyDistributionMessage: Uint8Array;
8773
8774
/**
8775
* Creates a new SenderKeyDistributionMessage instance using the specified properties.
8776
* @param [properties] Properties to set
8777
* @returns SenderKeyDistributionMessage instance
8778
*/
8779
public static create(properties?: proto.ISenderKeyDistributionMessage): proto.SenderKeyDistributionMessage;
8780
8781
/**
8782
* Encodes the specified SenderKeyDistributionMessage message. Does not implicitly {@link proto.SenderKeyDistributionMessage.verify|verify} messages.
8783
* @param message SenderKeyDistributionMessage message or plain object to encode
8784
* @param [writer] Writer to encode to
8785
* @returns Writer
8786
*/
8787
public static encode(message: proto.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
8788
8789
/**
8790
* Encodes the specified SenderKeyDistributionMessage message, length delimited. Does not implicitly {@link proto.SenderKeyDistributionMessage.verify|verify} messages.
8791
* @param message SenderKeyDistributionMessage message or plain object to encode
8792
* @param [writer] Writer to encode to
8793
* @returns Writer
8794
*/
8795
public static encodeDelimited(message: proto.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
8796
8797
/**
8798
* Decodes a SenderKeyDistributionMessage message from the specified reader or buffer.
8799
* @param reader Reader or buffer to decode from
8800
* @param [length] Message length if known beforehand
8801
* @returns SenderKeyDistributionMessage
8802
* @throws {Error} If the payload is not a reader or valid buffer
8803
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8804
*/
8805
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SenderKeyDistributionMessage;
8806
8807
/**
8808
* Decodes a SenderKeyDistributionMessage message from the specified reader or buffer, length delimited.
8809
* @param reader Reader or buffer to decode from
8810
* @returns SenderKeyDistributionMessage
8811
* @throws {Error} If the payload is not a reader or valid buffer
8812
* @throws {$protobuf.util.ProtocolError} If required fields are missing
8813
*/
8814
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SenderKeyDistributionMessage;
8815
8816
/**
8817
* Verifies a SenderKeyDistributionMessage message.
8818
* @param message Plain object to verify
8819
* @returns `null` if valid, otherwise the reason why it is not
8820
*/
8821
public static verify(message: { [k: string]: any }): (string|null);
8822
8823
/**
8824
* Creates a SenderKeyDistributionMessage message from a plain object. Also converts values to their respective internal types.
8825
* @param object Plain object
8826
* @returns SenderKeyDistributionMessage
8827
*/
8828
public static fromObject(object: { [k: string]: any }): proto.SenderKeyDistributionMessage;
8829
8830
/**
8831
* Creates a plain object from a SenderKeyDistributionMessage message. Also converts values to other types if specified.
8832
* @param message SenderKeyDistributionMessage
8833
* @param [options] Conversion options
8834
* @returns Plain object
8835
*/
8836
public static toObject(message: proto.SenderKeyDistributionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
8837
8838
/**
8839
* Converts this SenderKeyDistributionMessage to JSON.
8840
* @returns JSON object
8841
*/
8842
public toJSON(): { [k: string]: any };
8843
}
8844
8845
/** Properties of an ImageMessage. */
8846
interface IImageMessage {
8847
8848
/** ImageMessage url */
8849
url?: (string|null);
8850
8851
/** ImageMessage mimetype */
8852
mimetype?: (string|null);
8853
8854
/** ImageMessage caption */
8855
caption?: (string|null);
8856
8857
/** ImageMessage fileSha256 */
8858
fileSha256?: (Uint8Array|null);
8859
8860
/** ImageMessage fileLength */
8861
fileLength?: (number|Long|null);
8862
8863
/** ImageMessage height */
8864
height?: (number|null);
8865
8866
/** ImageMessage width */
8867
width?: (number|null);
8868
8869
/** ImageMessage mediaKey */
8870
mediaKey?: (Uint8Array|null);
8871
8872
/** ImageMessage fileEncSha256 */
8873
fileEncSha256?: (Uint8Array|null);
8874
8875
/** ImageMessage interactiveAnnotations */
8876
interactiveAnnotations?: (proto.IInteractiveAnnotation[]|null);
8877
8878
/** ImageMessage directPath */
8879
directPath?: (string|null);
8880
8881
/** ImageMessage mediaKeyTimestamp */
8882
mediaKeyTimestamp?: (number|Long|null);
8883
8884
/** ImageMessage jpegThumbnail */
8885
jpegThumbnail?: (Uint8Array|null);
8886
8887
/** ImageMessage contextInfo */
8888
contextInfo?: (proto.IContextInfo|null);
8889
8890
/** ImageMessage firstScanSidecar */
8891
firstScanSidecar?: (Uint8Array|null);
8892
8893
/** ImageMessage firstScanLength */
8894
firstScanLength?: (number|null);
8895
8896
/** ImageMessage experimentGroupId */
8897
experimentGroupId?: (number|null);
8898
8899
/** ImageMessage scansSidecar */
8900
scansSidecar?: (Uint8Array|null);
8901
8902
/** ImageMessage scanLengths */
8903
scanLengths?: (number[]|null);
8904
8905
/** ImageMessage midQualityFileSha256 */
8906
midQualityFileSha256?: (Uint8Array|null);
8907
8908
/** ImageMessage midQualityFileEncSha256 */
8909
midQualityFileEncSha256?: (Uint8Array|null);
8910
8911
/** ImageMessage viewOnce */
8912
viewOnce?: (boolean|null);
8913
8914
/** ImageMessage thumbnailDirectPath */
8915
thumbnailDirectPath?: (string|null);
8916
8917
/** ImageMessage thumbnailSha256 */
8918
thumbnailSha256?: (Uint8Array|null);
8919
8920
/** ImageMessage thumbnailEncSha256 */
8921
thumbnailEncSha256?: (Uint8Array|null);
8922
8923
/** ImageMessage staticUrl */
8924
staticUrl?: (string|null);
8925
}
8926
8927
/** Represents an ImageMessage. */
8928
class ImageMessage implements IImageMessage {
8929
8930
/**
8931
* Constructs a new ImageMessage.
8932
* @param [properties] Properties to set
8933
*/
8934
constructor(properties?: proto.IImageMessage);
8935
8936
/** ImageMessage url. */
8937
public url: string;
8938
8939
/** ImageMessage mimetype. */
8940
public mimetype: string;
8941
8942
/** ImageMessage caption. */
8943
public caption: string;
8944
8945
/** ImageMessage fileSha256. */
8946
public fileSha256: Uint8Array;
8947
8948
/** ImageMessage fileLength. */
8949
public fileLength: (number|Long);
8950
8951
/** ImageMessage height. */
8952
public height: number;
8953
8954
/** ImageMessage width. */
8955
public width: number;
8956
8957
/** ImageMessage mediaKey. */
8958
public mediaKey: Uint8Array;
8959
8960
/** ImageMessage fileEncSha256. */
8961
public fileEncSha256: Uint8Array;
8962
8963
/** ImageMessage interactiveAnnotations. */
8964
public interactiveAnnotations: proto.IInteractiveAnnotation[];
8965
8966
/** ImageMessage directPath. */
8967
public directPath: string;
8968
8969
/** ImageMessage mediaKeyTimestamp. */
8970
public mediaKeyTimestamp: (number|Long);
8971
8972
/** ImageMessage jpegThumbnail. */
8973
public jpegThumbnail: Uint8Array;
8974
8975
/** ImageMessage contextInfo. */
8976
public contextInfo?: (proto.IContextInfo|null);
8977
8978
/** ImageMessage firstScanSidecar. */
8979
public firstScanSidecar: Uint8Array;
8980
8981
/** ImageMessage firstScanLength. */
8982
public firstScanLength: number;
8983
8984
/** ImageMessage experimentGroupId. */
8985
public experimentGroupId: number;
8986
8987
/** ImageMessage scansSidecar. */
8988
public scansSidecar: Uint8Array;
8989
8990
/** ImageMessage scanLengths. */
8991
public scanLengths: number[];
8992
8993
/** ImageMessage midQualityFileSha256. */
8994
public midQualityFileSha256: Uint8Array;
8995
8996
/** ImageMessage midQualityFileEncSha256. */
8997
public midQualityFileEncSha256: Uint8Array;
8998
8999
/** ImageMessage viewOnce. */
9000
public viewOnce: boolean;
9001
9002
/** ImageMessage thumbnailDirectPath. */
9003
public thumbnailDirectPath: string;
9004
9005
/** ImageMessage thumbnailSha256. */
9006
public thumbnailSha256: Uint8Array;
9007
9008
/** ImageMessage thumbnailEncSha256. */
9009
public thumbnailEncSha256: Uint8Array;
9010
9011
/** ImageMessage staticUrl. */
9012
public staticUrl: string;
9013
9014
/**
9015
* Creates a new ImageMessage instance using the specified properties.
9016
* @param [properties] Properties to set
9017
* @returns ImageMessage instance
9018
*/
9019
public static create(properties?: proto.IImageMessage): proto.ImageMessage;
9020
9021
/**
9022
* Encodes the specified ImageMessage message. Does not implicitly {@link proto.ImageMessage.verify|verify} messages.
9023
* @param message ImageMessage message or plain object to encode
9024
* @param [writer] Writer to encode to
9025
* @returns Writer
9026
*/
9027
public static encode(message: proto.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9028
9029
/**
9030
* Encodes the specified ImageMessage message, length delimited. Does not implicitly {@link proto.ImageMessage.verify|verify} messages.
9031
* @param message ImageMessage message or plain object to encode
9032
* @param [writer] Writer to encode to
9033
* @returns Writer
9034
*/
9035
public static encodeDelimited(message: proto.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9036
9037
/**
9038
* Decodes an ImageMessage message from the specified reader or buffer.
9039
* @param reader Reader or buffer to decode from
9040
* @param [length] Message length if known beforehand
9041
* @returns ImageMessage
9042
* @throws {Error} If the payload is not a reader or valid buffer
9043
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9044
*/
9045
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ImageMessage;
9046
9047
/**
9048
* Decodes an ImageMessage message from the specified reader or buffer, length delimited.
9049
* @param reader Reader or buffer to decode from
9050
* @returns ImageMessage
9051
* @throws {Error} If the payload is not a reader or valid buffer
9052
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9053
*/
9054
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ImageMessage;
9055
9056
/**
9057
* Verifies an ImageMessage message.
9058
* @param message Plain object to verify
9059
* @returns `null` if valid, otherwise the reason why it is not
9060
*/
9061
public static verify(message: { [k: string]: any }): (string|null);
9062
9063
/**
9064
* Creates an ImageMessage message from a plain object. Also converts values to their respective internal types.
9065
* @param object Plain object
9066
* @returns ImageMessage
9067
*/
9068
public static fromObject(object: { [k: string]: any }): proto.ImageMessage;
9069
9070
/**
9071
* Creates a plain object from an ImageMessage message. Also converts values to other types if specified.
9072
* @param message ImageMessage
9073
* @param [options] Conversion options
9074
* @returns Plain object
9075
*/
9076
public static toObject(message: proto.ImageMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
9077
9078
/**
9079
* Converts this ImageMessage to JSON.
9080
* @returns JSON object
9081
*/
9082
public toJSON(): { [k: string]: any };
9083
}
9084
9085
/** Properties of an InvoiceMessage. */
9086
interface IInvoiceMessage {
9087
9088
/** InvoiceMessage note */
9089
note?: (string|null);
9090
9091
/** InvoiceMessage token */
9092
token?: (string|null);
9093
9094
/** InvoiceMessage attachmentType */
9095
attachmentType?: (proto.InvoiceMessage.InvoiceMessageAttachmentType|null);
9096
9097
/** InvoiceMessage attachmentMimetype */
9098
attachmentMimetype?: (string|null);
9099
9100
/** InvoiceMessage attachmentMediaKey */
9101
attachmentMediaKey?: (Uint8Array|null);
9102
9103
/** InvoiceMessage attachmentMediaKeyTimestamp */
9104
attachmentMediaKeyTimestamp?: (number|Long|null);
9105
9106
/** InvoiceMessage attachmentFileSha256 */
9107
attachmentFileSha256?: (Uint8Array|null);
9108
9109
/** InvoiceMessage attachmentFileEncSha256 */
9110
attachmentFileEncSha256?: (Uint8Array|null);
9111
9112
/** InvoiceMessage attachmentDirectPath */
9113
attachmentDirectPath?: (string|null);
9114
9115
/** InvoiceMessage attachmentJpegThumbnail */
9116
attachmentJpegThumbnail?: (Uint8Array|null);
9117
}
9118
9119
/** Represents an InvoiceMessage. */
9120
class InvoiceMessage implements IInvoiceMessage {
9121
9122
/**
9123
* Constructs a new InvoiceMessage.
9124
* @param [properties] Properties to set
9125
*/
9126
constructor(properties?: proto.IInvoiceMessage);
9127
9128
/** InvoiceMessage note. */
9129
public note: string;
9130
9131
/** InvoiceMessage token. */
9132
public token: string;
9133
9134
/** InvoiceMessage attachmentType. */
9135
public attachmentType: proto.InvoiceMessage.InvoiceMessageAttachmentType;
9136
9137
/** InvoiceMessage attachmentMimetype. */
9138
public attachmentMimetype: string;
9139
9140
/** InvoiceMessage attachmentMediaKey. */
9141
public attachmentMediaKey: Uint8Array;
9142
9143
/** InvoiceMessage attachmentMediaKeyTimestamp. */
9144
public attachmentMediaKeyTimestamp: (number|Long);
9145
9146
/** InvoiceMessage attachmentFileSha256. */
9147
public attachmentFileSha256: Uint8Array;
9148
9149
/** InvoiceMessage attachmentFileEncSha256. */
9150
public attachmentFileEncSha256: Uint8Array;
9151
9152
/** InvoiceMessage attachmentDirectPath. */
9153
public attachmentDirectPath: string;
9154
9155
/** InvoiceMessage attachmentJpegThumbnail. */
9156
public attachmentJpegThumbnail: Uint8Array;
9157
9158
/**
9159
* Creates a new InvoiceMessage instance using the specified properties.
9160
* @param [properties] Properties to set
9161
* @returns InvoiceMessage instance
9162
*/
9163
public static create(properties?: proto.IInvoiceMessage): proto.InvoiceMessage;
9164
9165
/**
9166
* Encodes the specified InvoiceMessage message. Does not implicitly {@link proto.InvoiceMessage.verify|verify} messages.
9167
* @param message InvoiceMessage message or plain object to encode
9168
* @param [writer] Writer to encode to
9169
* @returns Writer
9170
*/
9171
public static encode(message: proto.IInvoiceMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9172
9173
/**
9174
* Encodes the specified InvoiceMessage message, length delimited. Does not implicitly {@link proto.InvoiceMessage.verify|verify} messages.
9175
* @param message InvoiceMessage message or plain object to encode
9176
* @param [writer] Writer to encode to
9177
* @returns Writer
9178
*/
9179
public static encodeDelimited(message: proto.IInvoiceMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9180
9181
/**
9182
* Decodes an InvoiceMessage message from the specified reader or buffer.
9183
* @param reader Reader or buffer to decode from
9184
* @param [length] Message length if known beforehand
9185
* @returns InvoiceMessage
9186
* @throws {Error} If the payload is not a reader or valid buffer
9187
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9188
*/
9189
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.InvoiceMessage;
9190
9191
/**
9192
* Decodes an InvoiceMessage message from the specified reader or buffer, length delimited.
9193
* @param reader Reader or buffer to decode from
9194
* @returns InvoiceMessage
9195
* @throws {Error} If the payload is not a reader or valid buffer
9196
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9197
*/
9198
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.InvoiceMessage;
9199
9200
/**
9201
* Verifies an InvoiceMessage message.
9202
* @param message Plain object to verify
9203
* @returns `null` if valid, otherwise the reason why it is not
9204
*/
9205
public static verify(message: { [k: string]: any }): (string|null);
9206
9207
/**
9208
* Creates an InvoiceMessage message from a plain object. Also converts values to their respective internal types.
9209
* @param object Plain object
9210
* @returns InvoiceMessage
9211
*/
9212
public static fromObject(object: { [k: string]: any }): proto.InvoiceMessage;
9213
9214
/**
9215
* Creates a plain object from an InvoiceMessage message. Also converts values to other types if specified.
9216
* @param message InvoiceMessage
9217
* @param [options] Conversion options
9218
* @returns Plain object
9219
*/
9220
public static toObject(message: proto.InvoiceMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
9221
9222
/**
9223
* Converts this InvoiceMessage to JSON.
9224
* @returns JSON object
9225
*/
9226
public toJSON(): { [k: string]: any };
9227
}
9228
9229
namespace InvoiceMessage {
9230
9231
/** InvoiceMessageAttachmentType enum. */
9232
enum InvoiceMessageAttachmentType {
9233
IMAGE = 0,
9234
PDF = 1
9235
}
9236
}
9237
9238
/** Properties of a ContactMessage. */
9239
interface IContactMessage {
9240
9241
/** ContactMessage displayName */
9242
displayName?: (string|null);
9243
9244
/** ContactMessage vcard */
9245
vcard?: (string|null);
9246
9247
/** ContactMessage contextInfo */
9248
contextInfo?: (proto.IContextInfo|null);
9249
}
9250
9251
/** Represents a ContactMessage. */
9252
class ContactMessage implements IContactMessage {
9253
9254
/**
9255
* Constructs a new ContactMessage.
9256
* @param [properties] Properties to set
9257
*/
9258
constructor(properties?: proto.IContactMessage);
9259
9260
/** ContactMessage displayName. */
9261
public displayName: string;
9262
9263
/** ContactMessage vcard. */
9264
public vcard: string;
9265
9266
/** ContactMessage contextInfo. */
9267
public contextInfo?: (proto.IContextInfo|null);
9268
9269
/**
9270
* Creates a new ContactMessage instance using the specified properties.
9271
* @param [properties] Properties to set
9272
* @returns ContactMessage instance
9273
*/
9274
public static create(properties?: proto.IContactMessage): proto.ContactMessage;
9275
9276
/**
9277
* Encodes the specified ContactMessage message. Does not implicitly {@link proto.ContactMessage.verify|verify} messages.
9278
* @param message ContactMessage message or plain object to encode
9279
* @param [writer] Writer to encode to
9280
* @returns Writer
9281
*/
9282
public static encode(message: proto.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9283
9284
/**
9285
* Encodes the specified ContactMessage message, length delimited. Does not implicitly {@link proto.ContactMessage.verify|verify} messages.
9286
* @param message ContactMessage message or plain object to encode
9287
* @param [writer] Writer to encode to
9288
* @returns Writer
9289
*/
9290
public static encodeDelimited(message: proto.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9291
9292
/**
9293
* Decodes a ContactMessage message from the specified reader or buffer.
9294
* @param reader Reader or buffer to decode from
9295
* @param [length] Message length if known beforehand
9296
* @returns ContactMessage
9297
* @throws {Error} If the payload is not a reader or valid buffer
9298
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9299
*/
9300
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ContactMessage;
9301
9302
/**
9303
* Decodes a ContactMessage message from the specified reader or buffer, length delimited.
9304
* @param reader Reader or buffer to decode from
9305
* @returns ContactMessage
9306
* @throws {Error} If the payload is not a reader or valid buffer
9307
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9308
*/
9309
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ContactMessage;
9310
9311
/**
9312
* Verifies a ContactMessage message.
9313
* @param message Plain object to verify
9314
* @returns `null` if valid, otherwise the reason why it is not
9315
*/
9316
public static verify(message: { [k: string]: any }): (string|null);
9317
9318
/**
9319
* Creates a ContactMessage message from a plain object. Also converts values to their respective internal types.
9320
* @param object Plain object
9321
* @returns ContactMessage
9322
*/
9323
public static fromObject(object: { [k: string]: any }): proto.ContactMessage;
9324
9325
/**
9326
* Creates a plain object from a ContactMessage message. Also converts values to other types if specified.
9327
* @param message ContactMessage
9328
* @param [options] Conversion options
9329
* @returns Plain object
9330
*/
9331
public static toObject(message: proto.ContactMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
9332
9333
/**
9334
* Converts this ContactMessage to JSON.
9335
* @returns JSON object
9336
*/
9337
public toJSON(): { [k: string]: any };
9338
}
9339
9340
/** Properties of a LocationMessage. */
9341
interface ILocationMessage {
9342
9343
/** LocationMessage degreesLatitude */
9344
degreesLatitude?: (number|null);
9345
9346
/** LocationMessage degreesLongitude */
9347
degreesLongitude?: (number|null);
9348
9349
/** LocationMessage name */
9350
name?: (string|null);
9351
9352
/** LocationMessage address */
9353
address?: (string|null);
9354
9355
/** LocationMessage url */
9356
url?: (string|null);
9357
9358
/** LocationMessage isLive */
9359
isLive?: (boolean|null);
9360
9361
/** LocationMessage accuracyInMeters */
9362
accuracyInMeters?: (number|null);
9363
9364
/** LocationMessage speedInMps */
9365
speedInMps?: (number|null);
9366
9367
/** LocationMessage degreesClockwiseFromMagneticNorth */
9368
degreesClockwiseFromMagneticNorth?: (number|null);
9369
9370
/** LocationMessage comment */
9371
comment?: (string|null);
9372
9373
/** LocationMessage jpegThumbnail */
9374
jpegThumbnail?: (Uint8Array|null);
9375
9376
/** LocationMessage contextInfo */
9377
contextInfo?: (proto.IContextInfo|null);
9378
}
9379
9380
/** Represents a LocationMessage. */
9381
class LocationMessage implements ILocationMessage {
9382
9383
/**
9384
* Constructs a new LocationMessage.
9385
* @param [properties] Properties to set
9386
*/
9387
constructor(properties?: proto.ILocationMessage);
9388
9389
/** LocationMessage degreesLatitude. */
9390
public degreesLatitude: number;
9391
9392
/** LocationMessage degreesLongitude. */
9393
public degreesLongitude: number;
9394
9395
/** LocationMessage name. */
9396
public name: string;
9397
9398
/** LocationMessage address. */
9399
public address: string;
9400
9401
/** LocationMessage url. */
9402
public url: string;
9403
9404
/** LocationMessage isLive. */
9405
public isLive: boolean;
9406
9407
/** LocationMessage accuracyInMeters. */
9408
public accuracyInMeters: number;
9409
9410
/** LocationMessage speedInMps. */
9411
public speedInMps: number;
9412
9413
/** LocationMessage degreesClockwiseFromMagneticNorth. */
9414
public degreesClockwiseFromMagneticNorth: number;
9415
9416
/** LocationMessage comment. */
9417
public comment: string;
9418
9419
/** LocationMessage jpegThumbnail. */
9420
public jpegThumbnail: Uint8Array;
9421
9422
/** LocationMessage contextInfo. */
9423
public contextInfo?: (proto.IContextInfo|null);
9424
9425
/**
9426
* Creates a new LocationMessage instance using the specified properties.
9427
* @param [properties] Properties to set
9428
* @returns LocationMessage instance
9429
*/
9430
public static create(properties?: proto.ILocationMessage): proto.LocationMessage;
9431
9432
/**
9433
* Encodes the specified LocationMessage message. Does not implicitly {@link proto.LocationMessage.verify|verify} messages.
9434
* @param message LocationMessage message or plain object to encode
9435
* @param [writer] Writer to encode to
9436
* @returns Writer
9437
*/
9438
public static encode(message: proto.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9439
9440
/**
9441
* Encodes the specified LocationMessage message, length delimited. Does not implicitly {@link proto.LocationMessage.verify|verify} messages.
9442
* @param message LocationMessage message or plain object to encode
9443
* @param [writer] Writer to encode to
9444
* @returns Writer
9445
*/
9446
public static encodeDelimited(message: proto.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9447
9448
/**
9449
* Decodes a LocationMessage message from the specified reader or buffer.
9450
* @param reader Reader or buffer to decode from
9451
* @param [length] Message length if known beforehand
9452
* @returns LocationMessage
9453
* @throws {Error} If the payload is not a reader or valid buffer
9454
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9455
*/
9456
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.LocationMessage;
9457
9458
/**
9459
* Decodes a LocationMessage message from the specified reader or buffer, length delimited.
9460
* @param reader Reader or buffer to decode from
9461
* @returns LocationMessage
9462
* @throws {Error} If the payload is not a reader or valid buffer
9463
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9464
*/
9465
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.LocationMessage;
9466
9467
/**
9468
* Verifies a LocationMessage message.
9469
* @param message Plain object to verify
9470
* @returns `null` if valid, otherwise the reason why it is not
9471
*/
9472
public static verify(message: { [k: string]: any }): (string|null);
9473
9474
/**
9475
* Creates a LocationMessage message from a plain object. Also converts values to their respective internal types.
9476
* @param object Plain object
9477
* @returns LocationMessage
9478
*/
9479
public static fromObject(object: { [k: string]: any }): proto.LocationMessage;
9480
9481
/**
9482
* Creates a plain object from a LocationMessage message. Also converts values to other types if specified.
9483
* @param message LocationMessage
9484
* @param [options] Conversion options
9485
* @returns Plain object
9486
*/
9487
public static toObject(message: proto.LocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
9488
9489
/**
9490
* Converts this LocationMessage to JSON.
9491
* @returns JSON object
9492
*/
9493
public toJSON(): { [k: string]: any };
9494
}
9495
9496
/** Properties of an ExtendedTextMessage. */
9497
interface IExtendedTextMessage {
9498
9499
/** ExtendedTextMessage text */
9500
text?: (string|null);
9501
9502
/** ExtendedTextMessage matchedText */
9503
matchedText?: (string|null);
9504
9505
/** ExtendedTextMessage canonicalUrl */
9506
canonicalUrl?: (string|null);
9507
9508
/** ExtendedTextMessage description */
9509
description?: (string|null);
9510
9511
/** ExtendedTextMessage title */
9512
title?: (string|null);
9513
9514
/** ExtendedTextMessage textArgb */
9515
textArgb?: (number|null);
9516
9517
/** ExtendedTextMessage backgroundArgb */
9518
backgroundArgb?: (number|null);
9519
9520
/** ExtendedTextMessage font */
9521
font?: (proto.ExtendedTextMessage.ExtendedTextMessageFontType|null);
9522
9523
/** ExtendedTextMessage previewType */
9524
previewType?: (proto.ExtendedTextMessage.ExtendedTextMessagePreviewType|null);
9525
9526
/** ExtendedTextMessage jpegThumbnail */
9527
jpegThumbnail?: (Uint8Array|null);
9528
9529
/** ExtendedTextMessage contextInfo */
9530
contextInfo?: (proto.IContextInfo|null);
9531
9532
/** ExtendedTextMessage doNotPlayInline */
9533
doNotPlayInline?: (boolean|null);
9534
9535
/** ExtendedTextMessage thumbnailDirectPath */
9536
thumbnailDirectPath?: (string|null);
9537
9538
/** ExtendedTextMessage thumbnailSha256 */
9539
thumbnailSha256?: (Uint8Array|null);
9540
9541
/** ExtendedTextMessage thumbnailEncSha256 */
9542
thumbnailEncSha256?: (Uint8Array|null);
9543
9544
/** ExtendedTextMessage mediaKey */
9545
mediaKey?: (Uint8Array|null);
9546
9547
/** ExtendedTextMessage mediaKeyTimestamp */
9548
mediaKeyTimestamp?: (number|Long|null);
9549
9550
/** ExtendedTextMessage thumbnailHeight */
9551
thumbnailHeight?: (number|null);
9552
9553
/** ExtendedTextMessage thumbnailWidth */
9554
thumbnailWidth?: (number|null);
9555
9556
/** ExtendedTextMessage inviteLinkGroupType */
9557
inviteLinkGroupType?: (proto.ExtendedTextMessage.ExtendedTextMessageInviteLinkGroupType|null);
9558
}
9559
9560
/** Represents an ExtendedTextMessage. */
9561
class ExtendedTextMessage implements IExtendedTextMessage {
9562
9563
/**
9564
* Constructs a new ExtendedTextMessage.
9565
* @param [properties] Properties to set
9566
*/
9567
constructor(properties?: proto.IExtendedTextMessage);
9568
9569
/** ExtendedTextMessage text. */
9570
public text: string;
9571
9572
/** ExtendedTextMessage matchedText. */
9573
public matchedText: string;
9574
9575
/** ExtendedTextMessage canonicalUrl. */
9576
public canonicalUrl: string;
9577
9578
/** ExtendedTextMessage description. */
9579
public description: string;
9580
9581
/** ExtendedTextMessage title. */
9582
public title: string;
9583
9584
/** ExtendedTextMessage textArgb. */
9585
public textArgb: number;
9586
9587
/** ExtendedTextMessage backgroundArgb. */
9588
public backgroundArgb: number;
9589
9590
/** ExtendedTextMessage font. */
9591
public font: proto.ExtendedTextMessage.ExtendedTextMessageFontType;
9592
9593
/** ExtendedTextMessage previewType. */
9594
public previewType: proto.ExtendedTextMessage.ExtendedTextMessagePreviewType;
9595
9596
/** ExtendedTextMessage jpegThumbnail. */
9597
public jpegThumbnail: Uint8Array;
9598
9599
/** ExtendedTextMessage contextInfo. */
9600
public contextInfo?: (proto.IContextInfo|null);
9601
9602
/** ExtendedTextMessage doNotPlayInline. */
9603
public doNotPlayInline: boolean;
9604
9605
/** ExtendedTextMessage thumbnailDirectPath. */
9606
public thumbnailDirectPath: string;
9607
9608
/** ExtendedTextMessage thumbnailSha256. */
9609
public thumbnailSha256: Uint8Array;
9610
9611
/** ExtendedTextMessage thumbnailEncSha256. */
9612
public thumbnailEncSha256: Uint8Array;
9613
9614
/** ExtendedTextMessage mediaKey. */
9615
public mediaKey: Uint8Array;
9616
9617
/** ExtendedTextMessage mediaKeyTimestamp. */
9618
public mediaKeyTimestamp: (number|Long);
9619
9620
/** ExtendedTextMessage thumbnailHeight. */
9621
public thumbnailHeight: number;
9622
9623
/** ExtendedTextMessage thumbnailWidth. */
9624
public thumbnailWidth: number;
9625
9626
/** ExtendedTextMessage inviteLinkGroupType. */
9627
public inviteLinkGroupType: proto.ExtendedTextMessage.ExtendedTextMessageInviteLinkGroupType;
9628
9629
/**
9630
* Creates a new ExtendedTextMessage instance using the specified properties.
9631
* @param [properties] Properties to set
9632
* @returns ExtendedTextMessage instance
9633
*/
9634
public static create(properties?: proto.IExtendedTextMessage): proto.ExtendedTextMessage;
9635
9636
/**
9637
* Encodes the specified ExtendedTextMessage message. Does not implicitly {@link proto.ExtendedTextMessage.verify|verify} messages.
9638
* @param message ExtendedTextMessage message or plain object to encode
9639
* @param [writer] Writer to encode to
9640
* @returns Writer
9641
*/
9642
public static encode(message: proto.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9643
9644
/**
9645
* Encodes the specified ExtendedTextMessage message, length delimited. Does not implicitly {@link proto.ExtendedTextMessage.verify|verify} messages.
9646
* @param message ExtendedTextMessage message or plain object to encode
9647
* @param [writer] Writer to encode to
9648
* @returns Writer
9649
*/
9650
public static encodeDelimited(message: proto.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9651
9652
/**
9653
* Decodes an ExtendedTextMessage message from the specified reader or buffer.
9654
* @param reader Reader or buffer to decode from
9655
* @param [length] Message length if known beforehand
9656
* @returns ExtendedTextMessage
9657
* @throws {Error} If the payload is not a reader or valid buffer
9658
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9659
*/
9660
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ExtendedTextMessage;
9661
9662
/**
9663
* Decodes an ExtendedTextMessage message from the specified reader or buffer, length delimited.
9664
* @param reader Reader or buffer to decode from
9665
* @returns ExtendedTextMessage
9666
* @throws {Error} If the payload is not a reader or valid buffer
9667
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9668
*/
9669
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ExtendedTextMessage;
9670
9671
/**
9672
* Verifies an ExtendedTextMessage message.
9673
* @param message Plain object to verify
9674
* @returns `null` if valid, otherwise the reason why it is not
9675
*/
9676
public static verify(message: { [k: string]: any }): (string|null);
9677
9678
/**
9679
* Creates an ExtendedTextMessage message from a plain object. Also converts values to their respective internal types.
9680
* @param object Plain object
9681
* @returns ExtendedTextMessage
9682
*/
9683
public static fromObject(object: { [k: string]: any }): proto.ExtendedTextMessage;
9684
9685
/**
9686
* Creates a plain object from an ExtendedTextMessage message. Also converts values to other types if specified.
9687
* @param message ExtendedTextMessage
9688
* @param [options] Conversion options
9689
* @returns Plain object
9690
*/
9691
public static toObject(message: proto.ExtendedTextMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
9692
9693
/**
9694
* Converts this ExtendedTextMessage to JSON.
9695
* @returns JSON object
9696
*/
9697
public toJSON(): { [k: string]: any };
9698
}
9699
9700
namespace ExtendedTextMessage {
9701
9702
/** ExtendedTextMessageFontType enum. */
9703
enum ExtendedTextMessageFontType {
9704
SANS_SERIF = 0,
9705
SERIF = 1,
9706
NORICAN_REGULAR = 2,
9707
BRYNDAN_WRITE = 3,
9708
BEBASNEUE_REGULAR = 4,
9709
OSWALD_HEAVY = 5
9710
}
9711
9712
/** ExtendedTextMessagePreviewType enum. */
9713
enum ExtendedTextMessagePreviewType {
9714
NONE = 0,
9715
VIDEO = 1
9716
}
9717
9718
/** ExtendedTextMessageInviteLinkGroupType enum. */
9719
enum ExtendedTextMessageInviteLinkGroupType {
9720
DEFAULT = 0,
9721
PARENT = 1
9722
}
9723
}
9724
9725
/** Properties of a DocumentMessage. */
9726
interface IDocumentMessage {
9727
9728
/** DocumentMessage url */
9729
url?: (string|null);
9730
9731
/** DocumentMessage mimetype */
9732
mimetype?: (string|null);
9733
9734
/** DocumentMessage title */
9735
title?: (string|null);
9736
9737
/** DocumentMessage fileSha256 */
9738
fileSha256?: (Uint8Array|null);
9739
9740
/** DocumentMessage fileLength */
9741
fileLength?: (number|Long|null);
9742
9743
/** DocumentMessage pageCount */
9744
pageCount?: (number|null);
9745
9746
/** DocumentMessage mediaKey */
9747
mediaKey?: (Uint8Array|null);
9748
9749
/** DocumentMessage fileName */
9750
fileName?: (string|null);
9751
9752
/** DocumentMessage fileEncSha256 */
9753
fileEncSha256?: (Uint8Array|null);
9754
9755
/** DocumentMessage directPath */
9756
directPath?: (string|null);
9757
9758
/** DocumentMessage mediaKeyTimestamp */
9759
mediaKeyTimestamp?: (number|Long|null);
9760
9761
/** DocumentMessage contactVcard */
9762
contactVcard?: (boolean|null);
9763
9764
/** DocumentMessage thumbnailDirectPath */
9765
thumbnailDirectPath?: (string|null);
9766
9767
/** DocumentMessage thumbnailSha256 */
9768
thumbnailSha256?: (Uint8Array|null);
9769
9770
/** DocumentMessage thumbnailEncSha256 */
9771
thumbnailEncSha256?: (Uint8Array|null);
9772
9773
/** DocumentMessage jpegThumbnail */
9774
jpegThumbnail?: (Uint8Array|null);
9775
9776
/** DocumentMessage contextInfo */
9777
contextInfo?: (proto.IContextInfo|null);
9778
9779
/** DocumentMessage thumbnailHeight */
9780
thumbnailHeight?: (number|null);
9781
9782
/** DocumentMessage thumbnailWidth */
9783
thumbnailWidth?: (number|null);
9784
}
9785
9786
/** Represents a DocumentMessage. */
9787
class DocumentMessage implements IDocumentMessage {
9788
9789
/**
9790
* Constructs a new DocumentMessage.
9791
* @param [properties] Properties to set
9792
*/
9793
constructor(properties?: proto.IDocumentMessage);
9794
9795
/** DocumentMessage url. */
9796
public url: string;
9797
9798
/** DocumentMessage mimetype. */
9799
public mimetype: string;
9800
9801
/** DocumentMessage title. */
9802
public title: string;
9803
9804
/** DocumentMessage fileSha256. */
9805
public fileSha256: Uint8Array;
9806
9807
/** DocumentMessage fileLength. */
9808
public fileLength: (number|Long);
9809
9810
/** DocumentMessage pageCount. */
9811
public pageCount: number;
9812
9813
/** DocumentMessage mediaKey. */
9814
public mediaKey: Uint8Array;
9815
9816
/** DocumentMessage fileName. */
9817
public fileName: string;
9818
9819
/** DocumentMessage fileEncSha256. */
9820
public fileEncSha256: Uint8Array;
9821
9822
/** DocumentMessage directPath. */
9823
public directPath: string;
9824
9825
/** DocumentMessage mediaKeyTimestamp. */
9826
public mediaKeyTimestamp: (number|Long);
9827
9828
/** DocumentMessage contactVcard. */
9829
public contactVcard: boolean;
9830
9831
/** DocumentMessage thumbnailDirectPath. */
9832
public thumbnailDirectPath: string;
9833
9834
/** DocumentMessage thumbnailSha256. */
9835
public thumbnailSha256: Uint8Array;
9836
9837
/** DocumentMessage thumbnailEncSha256. */
9838
public thumbnailEncSha256: Uint8Array;
9839
9840
/** DocumentMessage jpegThumbnail. */
9841
public jpegThumbnail: Uint8Array;
9842
9843
/** DocumentMessage contextInfo. */
9844
public contextInfo?: (proto.IContextInfo|null);
9845
9846
/** DocumentMessage thumbnailHeight. */
9847
public thumbnailHeight: number;
9848
9849
/** DocumentMessage thumbnailWidth. */
9850
public thumbnailWidth: number;
9851
9852
/**
9853
* Creates a new DocumentMessage instance using the specified properties.
9854
* @param [properties] Properties to set
9855
* @returns DocumentMessage instance
9856
*/
9857
public static create(properties?: proto.IDocumentMessage): proto.DocumentMessage;
9858
9859
/**
9860
* Encodes the specified DocumentMessage message. Does not implicitly {@link proto.DocumentMessage.verify|verify} messages.
9861
* @param message DocumentMessage message or plain object to encode
9862
* @param [writer] Writer to encode to
9863
* @returns Writer
9864
*/
9865
public static encode(message: proto.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9866
9867
/**
9868
* Encodes the specified DocumentMessage message, length delimited. Does not implicitly {@link proto.DocumentMessage.verify|verify} messages.
9869
* @param message DocumentMessage message or plain object to encode
9870
* @param [writer] Writer to encode to
9871
* @returns Writer
9872
*/
9873
public static encodeDelimited(message: proto.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
9874
9875
/**
9876
* Decodes a DocumentMessage message from the specified reader or buffer.
9877
* @param reader Reader or buffer to decode from
9878
* @param [length] Message length if known beforehand
9879
* @returns DocumentMessage
9880
* @throws {Error} If the payload is not a reader or valid buffer
9881
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9882
*/
9883
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DocumentMessage;
9884
9885
/**
9886
* Decodes a DocumentMessage message from the specified reader or buffer, length delimited.
9887
* @param reader Reader or buffer to decode from
9888
* @returns DocumentMessage
9889
* @throws {Error} If the payload is not a reader or valid buffer
9890
* @throws {$protobuf.util.ProtocolError} If required fields are missing
9891
*/
9892
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DocumentMessage;
9893
9894
/**
9895
* Verifies a DocumentMessage message.
9896
* @param message Plain object to verify
9897
* @returns `null` if valid, otherwise the reason why it is not
9898
*/
9899
public static verify(message: { [k: string]: any }): (string|null);
9900
9901
/**
9902
* Creates a DocumentMessage message from a plain object. Also converts values to their respective internal types.
9903
* @param object Plain object
9904
* @returns DocumentMessage
9905
*/
9906
public static fromObject(object: { [k: string]: any }): proto.DocumentMessage;
9907
9908
/**
9909
* Creates a plain object from a DocumentMessage message. Also converts values to other types if specified.
9910
* @param message DocumentMessage
9911
* @param [options] Conversion options
9912
* @returns Plain object
9913
*/
9914
public static toObject(message: proto.DocumentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
9915
9916
/**
9917
* Converts this DocumentMessage to JSON.
9918
* @returns JSON object
9919
*/
9920
public toJSON(): { [k: string]: any };
9921
}
9922
9923
/** Properties of an AudioMessage. */
9924
interface IAudioMessage {
9925
9926
/** AudioMessage url */
9927
url?: (string|null);
9928
9929
/** AudioMessage mimetype */
9930
mimetype?: (string|null);
9931
9932
/** AudioMessage fileSha256 */
9933
fileSha256?: (Uint8Array|null);
9934
9935
/** AudioMessage fileLength */
9936
fileLength?: (number|Long|null);
9937
9938
/** AudioMessage seconds */
9939
seconds?: (number|null);
9940
9941
/** AudioMessage ptt */
9942
ptt?: (boolean|null);
9943
9944
/** AudioMessage mediaKey */
9945
mediaKey?: (Uint8Array|null);
9946
9947
/** AudioMessage fileEncSha256 */
9948
fileEncSha256?: (Uint8Array|null);
9949
9950
/** AudioMessage directPath */
9951
directPath?: (string|null);
9952
9953
/** AudioMessage mediaKeyTimestamp */
9954
mediaKeyTimestamp?: (number|Long|null);
9955
9956
/** AudioMessage contextInfo */
9957
contextInfo?: (proto.IContextInfo|null);
9958
9959
/** AudioMessage streamingSidecar */
9960
streamingSidecar?: (Uint8Array|null);
9961
9962
/** AudioMessage waveform */
9963
waveform?: (Uint8Array|null);
9964
}
9965
9966
/** Represents an AudioMessage. */
9967
class AudioMessage implements IAudioMessage {
9968
9969
/**
9970
* Constructs a new AudioMessage.
9971
* @param [properties] Properties to set
9972
*/
9973
constructor(properties?: proto.IAudioMessage);
9974
9975
/** AudioMessage url. */
9976
public url: string;
9977
9978
/** AudioMessage mimetype. */
9979
public mimetype: string;
9980
9981
/** AudioMessage fileSha256. */
9982
public fileSha256: Uint8Array;
9983
9984
/** AudioMessage fileLength. */
9985
public fileLength: (number|Long);
9986
9987
/** AudioMessage seconds. */
9988
public seconds: number;
9989
9990
/** AudioMessage ptt. */
9991
public ptt: boolean;
9992
9993
/** AudioMessage mediaKey. */
9994
public mediaKey: Uint8Array;
9995
9996
/** AudioMessage fileEncSha256. */
9997
public fileEncSha256: Uint8Array;
9998
9999
/** AudioMessage directPath. */
10000
public directPath: string;
10001
10002
/** AudioMessage mediaKeyTimestamp. */
10003
public mediaKeyTimestamp: (number|Long);
10004
10005
/** AudioMessage contextInfo. */
10006
public contextInfo?: (proto.IContextInfo|null);
10007
10008
/** AudioMessage streamingSidecar. */
10009
public streamingSidecar: Uint8Array;
10010
10011
/** AudioMessage waveform. */
10012
public waveform: Uint8Array;
10013
10014
/**
10015
* Creates a new AudioMessage instance using the specified properties.
10016
* @param [properties] Properties to set
10017
* @returns AudioMessage instance
10018
*/
10019
public static create(properties?: proto.IAudioMessage): proto.AudioMessage;
10020
10021
/**
10022
* Encodes the specified AudioMessage message. Does not implicitly {@link proto.AudioMessage.verify|verify} messages.
10023
* @param message AudioMessage message or plain object to encode
10024
* @param [writer] Writer to encode to
10025
* @returns Writer
10026
*/
10027
public static encode(message: proto.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer;
10028
10029
/**
10030
* Encodes the specified AudioMessage message, length delimited. Does not implicitly {@link proto.AudioMessage.verify|verify} messages.
10031
* @param message AudioMessage message or plain object to encode
10032
* @param [writer] Writer to encode to
10033
* @returns Writer
10034
*/
10035
public static encodeDelimited(message: proto.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer;
10036
10037
/**
10038
* Decodes an AudioMessage message from the specified reader or buffer.
10039
* @param reader Reader or buffer to decode from
10040
* @param [length] Message length if known beforehand
10041
* @returns AudioMessage
10042
* @throws {Error} If the payload is not a reader or valid buffer
10043
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10044
*/
10045
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AudioMessage;
10046
10047
/**
10048
* Decodes an AudioMessage message from the specified reader or buffer, length delimited.
10049
* @param reader Reader or buffer to decode from
10050
* @returns AudioMessage
10051
* @throws {Error} If the payload is not a reader or valid buffer
10052
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10053
*/
10054
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AudioMessage;
10055
10056
/**
10057
* Verifies an AudioMessage message.
10058
* @param message Plain object to verify
10059
* @returns `null` if valid, otherwise the reason why it is not
10060
*/
10061
public static verify(message: { [k: string]: any }): (string|null);
10062
10063
/**
10064
* Creates an AudioMessage message from a plain object. Also converts values to their respective internal types.
10065
* @param object Plain object
10066
* @returns AudioMessage
10067
*/
10068
public static fromObject(object: { [k: string]: any }): proto.AudioMessage;
10069
10070
/**
10071
* Creates a plain object from an AudioMessage message. Also converts values to other types if specified.
10072
* @param message AudioMessage
10073
* @param [options] Conversion options
10074
* @returns Plain object
10075
*/
10076
public static toObject(message: proto.AudioMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
10077
10078
/**
10079
* Converts this AudioMessage to JSON.
10080
* @returns JSON object
10081
*/
10082
public toJSON(): { [k: string]: any };
10083
}
10084
10085
/** Properties of a VideoMessage. */
10086
interface IVideoMessage {
10087
10088
/** VideoMessage url */
10089
url?: (string|null);
10090
10091
/** VideoMessage mimetype */
10092
mimetype?: (string|null);
10093
10094
/** VideoMessage fileSha256 */
10095
fileSha256?: (Uint8Array|null);
10096
10097
/** VideoMessage fileLength */
10098
fileLength?: (number|Long|null);
10099
10100
/** VideoMessage seconds */
10101
seconds?: (number|null);
10102
10103
/** VideoMessage mediaKey */
10104
mediaKey?: (Uint8Array|null);
10105
10106
/** VideoMessage caption */
10107
caption?: (string|null);
10108
10109
/** VideoMessage gifPlayback */
10110
gifPlayback?: (boolean|null);
10111
10112
/** VideoMessage height */
10113
height?: (number|null);
10114
10115
/** VideoMessage width */
10116
width?: (number|null);
10117
10118
/** VideoMessage fileEncSha256 */
10119
fileEncSha256?: (Uint8Array|null);
10120
10121
/** VideoMessage interactiveAnnotations */
10122
interactiveAnnotations?: (proto.IInteractiveAnnotation[]|null);
10123
10124
/** VideoMessage directPath */
10125
directPath?: (string|null);
10126
10127
/** VideoMessage mediaKeyTimestamp */
10128
mediaKeyTimestamp?: (number|Long|null);
10129
10130
/** VideoMessage jpegThumbnail */
10131
jpegThumbnail?: (Uint8Array|null);
10132
10133
/** VideoMessage contextInfo */
10134
contextInfo?: (proto.IContextInfo|null);
10135
10136
/** VideoMessage streamingSidecar */
10137
streamingSidecar?: (Uint8Array|null);
10138
10139
/** VideoMessage gifAttribution */
10140
gifAttribution?: (proto.VideoMessage.VideoMessageAttribution|null);
10141
10142
/** VideoMessage viewOnce */
10143
viewOnce?: (boolean|null);
10144
10145
/** VideoMessage thumbnailDirectPath */
10146
thumbnailDirectPath?: (string|null);
10147
10148
/** VideoMessage thumbnailSha256 */
10149
thumbnailSha256?: (Uint8Array|null);
10150
10151
/** VideoMessage thumbnailEncSha256 */
10152
thumbnailEncSha256?: (Uint8Array|null);
10153
10154
/** VideoMessage staticUrl */
10155
staticUrl?: (string|null);
10156
}
10157
10158
/** Represents a VideoMessage. */
10159
class VideoMessage implements IVideoMessage {
10160
10161
/**
10162
* Constructs a new VideoMessage.
10163
* @param [properties] Properties to set
10164
*/
10165
constructor(properties?: proto.IVideoMessage);
10166
10167
/** VideoMessage url. */
10168
public url: string;
10169
10170
/** VideoMessage mimetype. */
10171
public mimetype: string;
10172
10173
/** VideoMessage fileSha256. */
10174
public fileSha256: Uint8Array;
10175
10176
/** VideoMessage fileLength. */
10177
public fileLength: (number|Long);
10178
10179
/** VideoMessage seconds. */
10180
public seconds: number;
10181
10182
/** VideoMessage mediaKey. */
10183
public mediaKey: Uint8Array;
10184
10185
/** VideoMessage caption. */
10186
public caption: string;
10187
10188
/** VideoMessage gifPlayback. */
10189
public gifPlayback: boolean;
10190
10191
/** VideoMessage height. */
10192
public height: number;
10193
10194
/** VideoMessage width. */
10195
public width: number;
10196
10197
/** VideoMessage fileEncSha256. */
10198
public fileEncSha256: Uint8Array;
10199
10200
/** VideoMessage interactiveAnnotations. */
10201
public interactiveAnnotations: proto.IInteractiveAnnotation[];
10202
10203
/** VideoMessage directPath. */
10204
public directPath: string;
10205
10206
/** VideoMessage mediaKeyTimestamp. */
10207
public mediaKeyTimestamp: (number|Long);
10208
10209
/** VideoMessage jpegThumbnail. */
10210
public jpegThumbnail: Uint8Array;
10211
10212
/** VideoMessage contextInfo. */
10213
public contextInfo?: (proto.IContextInfo|null);
10214
10215
/** VideoMessage streamingSidecar. */
10216
public streamingSidecar: Uint8Array;
10217
10218
/** VideoMessage gifAttribution. */
10219
public gifAttribution: proto.VideoMessage.VideoMessageAttribution;
10220
10221
/** VideoMessage viewOnce. */
10222
public viewOnce: boolean;
10223
10224
/** VideoMessage thumbnailDirectPath. */
10225
public thumbnailDirectPath: string;
10226
10227
/** VideoMessage thumbnailSha256. */
10228
public thumbnailSha256: Uint8Array;
10229
10230
/** VideoMessage thumbnailEncSha256. */
10231
public thumbnailEncSha256: Uint8Array;
10232
10233
/** VideoMessage staticUrl. */
10234
public staticUrl: string;
10235
10236
/**
10237
* Creates a new VideoMessage instance using the specified properties.
10238
* @param [properties] Properties to set
10239
* @returns VideoMessage instance
10240
*/
10241
public static create(properties?: proto.IVideoMessage): proto.VideoMessage;
10242
10243
/**
10244
* Encodes the specified VideoMessage message. Does not implicitly {@link proto.VideoMessage.verify|verify} messages.
10245
* @param message VideoMessage message or plain object to encode
10246
* @param [writer] Writer to encode to
10247
* @returns Writer
10248
*/
10249
public static encode(message: proto.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer;
10250
10251
/**
10252
* Encodes the specified VideoMessage message, length delimited. Does not implicitly {@link proto.VideoMessage.verify|verify} messages.
10253
* @param message VideoMessage message or plain object to encode
10254
* @param [writer] Writer to encode to
10255
* @returns Writer
10256
*/
10257
public static encodeDelimited(message: proto.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer;
10258
10259
/**
10260
* Decodes a VideoMessage message from the specified reader or buffer.
10261
* @param reader Reader or buffer to decode from
10262
* @param [length] Message length if known beforehand
10263
* @returns VideoMessage
10264
* @throws {Error} If the payload is not a reader or valid buffer
10265
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10266
*/
10267
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.VideoMessage;
10268
10269
/**
10270
* Decodes a VideoMessage message from the specified reader or buffer, length delimited.
10271
* @param reader Reader or buffer to decode from
10272
* @returns VideoMessage
10273
* @throws {Error} If the payload is not a reader or valid buffer
10274
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10275
*/
10276
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.VideoMessage;
10277
10278
/**
10279
* Verifies a VideoMessage message.
10280
* @param message Plain object to verify
10281
* @returns `null` if valid, otherwise the reason why it is not
10282
*/
10283
public static verify(message: { [k: string]: any }): (string|null);
10284
10285
/**
10286
* Creates a VideoMessage message from a plain object. Also converts values to their respective internal types.
10287
* @param object Plain object
10288
* @returns VideoMessage
10289
*/
10290
public static fromObject(object: { [k: string]: any }): proto.VideoMessage;
10291
10292
/**
10293
* Creates a plain object from a VideoMessage message. Also converts values to other types if specified.
10294
* @param message VideoMessage
10295
* @param [options] Conversion options
10296
* @returns Plain object
10297
*/
10298
public static toObject(message: proto.VideoMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
10299
10300
/**
10301
* Converts this VideoMessage to JSON.
10302
* @returns JSON object
10303
*/
10304
public toJSON(): { [k: string]: any };
10305
}
10306
10307
namespace VideoMessage {
10308
10309
/** VideoMessageAttribution enum. */
10310
enum VideoMessageAttribution {
10311
NONE = 0,
10312
GIPHY = 1,
10313
TENOR = 2
10314
}
10315
}
10316
10317
/** Properties of a Call. */
10318
interface ICall {
10319
10320
/** Call callKey */
10321
callKey?: (Uint8Array|null);
10322
10323
/** Call conversionSource */
10324
conversionSource?: (string|null);
10325
10326
/** Call conversionData */
10327
conversionData?: (Uint8Array|null);
10328
10329
/** Call conversionDelaySeconds */
10330
conversionDelaySeconds?: (number|null);
10331
}
10332
10333
/** Represents a Call. */
10334
class Call implements ICall {
10335
10336
/**
10337
* Constructs a new Call.
10338
* @param [properties] Properties to set
10339
*/
10340
constructor(properties?: proto.ICall);
10341
10342
/** Call callKey. */
10343
public callKey: Uint8Array;
10344
10345
/** Call conversionSource. */
10346
public conversionSource: string;
10347
10348
/** Call conversionData. */
10349
public conversionData: Uint8Array;
10350
10351
/** Call conversionDelaySeconds. */
10352
public conversionDelaySeconds: number;
10353
10354
/**
10355
* Creates a new Call instance using the specified properties.
10356
* @param [properties] Properties to set
10357
* @returns Call instance
10358
*/
10359
public static create(properties?: proto.ICall): proto.Call;
10360
10361
/**
10362
* Encodes the specified Call message. Does not implicitly {@link proto.Call.verify|verify} messages.
10363
* @param message Call message or plain object to encode
10364
* @param [writer] Writer to encode to
10365
* @returns Writer
10366
*/
10367
public static encode(message: proto.ICall, writer?: $protobuf.Writer): $protobuf.Writer;
10368
10369
/**
10370
* Encodes the specified Call message, length delimited. Does not implicitly {@link proto.Call.verify|verify} messages.
10371
* @param message Call message or plain object to encode
10372
* @param [writer] Writer to encode to
10373
* @returns Writer
10374
*/
10375
public static encodeDelimited(message: proto.ICall, writer?: $protobuf.Writer): $protobuf.Writer;
10376
10377
/**
10378
* Decodes a Call message from the specified reader or buffer.
10379
* @param reader Reader or buffer to decode from
10380
* @param [length] Message length if known beforehand
10381
* @returns Call
10382
* @throws {Error} If the payload is not a reader or valid buffer
10383
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10384
*/
10385
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Call;
10386
10387
/**
10388
* Decodes a Call message from the specified reader or buffer, length delimited.
10389
* @param reader Reader or buffer to decode from
10390
* @returns Call
10391
* @throws {Error} If the payload is not a reader or valid buffer
10392
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10393
*/
10394
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Call;
10395
10396
/**
10397
* Verifies a Call message.
10398
* @param message Plain object to verify
10399
* @returns `null` if valid, otherwise the reason why it is not
10400
*/
10401
public static verify(message: { [k: string]: any }): (string|null);
10402
10403
/**
10404
* Creates a Call message from a plain object. Also converts values to their respective internal types.
10405
* @param object Plain object
10406
* @returns Call
10407
*/
10408
public static fromObject(object: { [k: string]: any }): proto.Call;
10409
10410
/**
10411
* Creates a plain object from a Call message. Also converts values to other types if specified.
10412
* @param message Call
10413
* @param [options] Conversion options
10414
* @returns Plain object
10415
*/
10416
public static toObject(message: proto.Call, options?: $protobuf.IConversionOptions): { [k: string]: any };
10417
10418
/**
10419
* Converts this Call to JSON.
10420
* @returns JSON object
10421
*/
10422
public toJSON(): { [k: string]: any };
10423
}
10424
10425
/** Properties of a Chat. */
10426
interface IChat {
10427
10428
/** Chat displayName */
10429
displayName?: (string|null);
10430
10431
/** Chat id */
10432
id?: (string|null);
10433
}
10434
10435
/** Represents a Chat. */
10436
class Chat implements IChat {
10437
10438
/**
10439
* Constructs a new Chat.
10440
* @param [properties] Properties to set
10441
*/
10442
constructor(properties?: proto.IChat);
10443
10444
/** Chat displayName. */
10445
public displayName: string;
10446
10447
/** Chat id. */
10448
public id: string;
10449
10450
/**
10451
* Creates a new Chat instance using the specified properties.
10452
* @param [properties] Properties to set
10453
* @returns Chat instance
10454
*/
10455
public static create(properties?: proto.IChat): proto.Chat;
10456
10457
/**
10458
* Encodes the specified Chat message. Does not implicitly {@link proto.Chat.verify|verify} messages.
10459
* @param message Chat message or plain object to encode
10460
* @param [writer] Writer to encode to
10461
* @returns Writer
10462
*/
10463
public static encode(message: proto.IChat, writer?: $protobuf.Writer): $protobuf.Writer;
10464
10465
/**
10466
* Encodes the specified Chat message, length delimited. Does not implicitly {@link proto.Chat.verify|verify} messages.
10467
* @param message Chat message or plain object to encode
10468
* @param [writer] Writer to encode to
10469
* @returns Writer
10470
*/
10471
public static encodeDelimited(message: proto.IChat, writer?: $protobuf.Writer): $protobuf.Writer;
10472
10473
/**
10474
* Decodes a Chat message from the specified reader or buffer.
10475
* @param reader Reader or buffer to decode from
10476
* @param [length] Message length if known beforehand
10477
* @returns Chat
10478
* @throws {Error} If the payload is not a reader or valid buffer
10479
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10480
*/
10481
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Chat;
10482
10483
/**
10484
* Decodes a Chat message from the specified reader or buffer, length delimited.
10485
* @param reader Reader or buffer to decode from
10486
* @returns Chat
10487
* @throws {Error} If the payload is not a reader or valid buffer
10488
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10489
*/
10490
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Chat;
10491
10492
/**
10493
* Verifies a Chat message.
10494
* @param message Plain object to verify
10495
* @returns `null` if valid, otherwise the reason why it is not
10496
*/
10497
public static verify(message: { [k: string]: any }): (string|null);
10498
10499
/**
10500
* Creates a Chat message from a plain object. Also converts values to their respective internal types.
10501
* @param object Plain object
10502
* @returns Chat
10503
*/
10504
public static fromObject(object: { [k: string]: any }): proto.Chat;
10505
10506
/**
10507
* Creates a plain object from a Chat message. Also converts values to other types if specified.
10508
* @param message Chat
10509
* @param [options] Conversion options
10510
* @returns Plain object
10511
*/
10512
public static toObject(message: proto.Chat, options?: $protobuf.IConversionOptions): { [k: string]: any };
10513
10514
/**
10515
* Converts this Chat to JSON.
10516
* @returns JSON object
10517
*/
10518
public toJSON(): { [k: string]: any };
10519
}
10520
10521
/** Properties of a ProtocolMessage. */
10522
interface IProtocolMessage {
10523
10524
/** ProtocolMessage key */
10525
key?: (proto.IMessageKey|null);
10526
10527
/** ProtocolMessage type */
10528
type?: (proto.ProtocolMessage.ProtocolMessageType|null);
10529
10530
/** ProtocolMessage ephemeralExpiration */
10531
ephemeralExpiration?: (number|null);
10532
10533
/** ProtocolMessage ephemeralSettingTimestamp */
10534
ephemeralSettingTimestamp?: (number|Long|null);
10535
10536
/** ProtocolMessage historySyncNotification */
10537
historySyncNotification?: (proto.IHistorySyncNotification|null);
10538
10539
/** ProtocolMessage appStateSyncKeyShare */
10540
appStateSyncKeyShare?: (proto.IAppStateSyncKeyShare|null);
10541
10542
/** ProtocolMessage appStateSyncKeyRequest */
10543
appStateSyncKeyRequest?: (proto.IAppStateSyncKeyRequest|null);
10544
10545
/** ProtocolMessage initialSecurityNotificationSettingSync */
10546
initialSecurityNotificationSettingSync?: (proto.IInitialSecurityNotificationSettingSync|null);
10547
10548
/** ProtocolMessage appStateFatalExceptionNotification */
10549
appStateFatalExceptionNotification?: (proto.IAppStateFatalExceptionNotification|null);
10550
10551
/** ProtocolMessage disappearingMode */
10552
disappearingMode?: (proto.IDisappearingMode|null);
10553
}
10554
10555
/** Represents a ProtocolMessage. */
10556
class ProtocolMessage implements IProtocolMessage {
10557
10558
/**
10559
* Constructs a new ProtocolMessage.
10560
* @param [properties] Properties to set
10561
*/
10562
constructor(properties?: proto.IProtocolMessage);
10563
10564
/** ProtocolMessage key. */
10565
public key?: (proto.IMessageKey|null);
10566
10567
/** ProtocolMessage type. */
10568
public type: proto.ProtocolMessage.ProtocolMessageType;
10569
10570
/** ProtocolMessage ephemeralExpiration. */
10571
public ephemeralExpiration: number;
10572
10573
/** ProtocolMessage ephemeralSettingTimestamp. */
10574
public ephemeralSettingTimestamp: (number|Long);
10575
10576
/** ProtocolMessage historySyncNotification. */
10577
public historySyncNotification?: (proto.IHistorySyncNotification|null);
10578
10579
/** ProtocolMessage appStateSyncKeyShare. */
10580
public appStateSyncKeyShare?: (proto.IAppStateSyncKeyShare|null);
10581
10582
/** ProtocolMessage appStateSyncKeyRequest. */
10583
public appStateSyncKeyRequest?: (proto.IAppStateSyncKeyRequest|null);
10584
10585
/** ProtocolMessage initialSecurityNotificationSettingSync. */
10586
public initialSecurityNotificationSettingSync?: (proto.IInitialSecurityNotificationSettingSync|null);
10587
10588
/** ProtocolMessage appStateFatalExceptionNotification. */
10589
public appStateFatalExceptionNotification?: (proto.IAppStateFatalExceptionNotification|null);
10590
10591
/** ProtocolMessage disappearingMode. */
10592
public disappearingMode?: (proto.IDisappearingMode|null);
10593
10594
/**
10595
* Creates a new ProtocolMessage instance using the specified properties.
10596
* @param [properties] Properties to set
10597
* @returns ProtocolMessage instance
10598
*/
10599
public static create(properties?: proto.IProtocolMessage): proto.ProtocolMessage;
10600
10601
/**
10602
* Encodes the specified ProtocolMessage message. Does not implicitly {@link proto.ProtocolMessage.verify|verify} messages.
10603
* @param message ProtocolMessage message or plain object to encode
10604
* @param [writer] Writer to encode to
10605
* @returns Writer
10606
*/
10607
public static encode(message: proto.IProtocolMessage, writer?: $protobuf.Writer): $protobuf.Writer;
10608
10609
/**
10610
* Encodes the specified ProtocolMessage message, length delimited. Does not implicitly {@link proto.ProtocolMessage.verify|verify} messages.
10611
* @param message ProtocolMessage message or plain object to encode
10612
* @param [writer] Writer to encode to
10613
* @returns Writer
10614
*/
10615
public static encodeDelimited(message: proto.IProtocolMessage, writer?: $protobuf.Writer): $protobuf.Writer;
10616
10617
/**
10618
* Decodes a ProtocolMessage message from the specified reader or buffer.
10619
* @param reader Reader or buffer to decode from
10620
* @param [length] Message length if known beforehand
10621
* @returns ProtocolMessage
10622
* @throws {Error} If the payload is not a reader or valid buffer
10623
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10624
*/
10625
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ProtocolMessage;
10626
10627
/**
10628
* Decodes a ProtocolMessage message from the specified reader or buffer, length delimited.
10629
* @param reader Reader or buffer to decode from
10630
* @returns ProtocolMessage
10631
* @throws {Error} If the payload is not a reader or valid buffer
10632
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10633
*/
10634
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ProtocolMessage;
10635
10636
/**
10637
* Verifies a ProtocolMessage message.
10638
* @param message Plain object to verify
10639
* @returns `null` if valid, otherwise the reason why it is not
10640
*/
10641
public static verify(message: { [k: string]: any }): (string|null);
10642
10643
/**
10644
* Creates a ProtocolMessage message from a plain object. Also converts values to their respective internal types.
10645
* @param object Plain object
10646
* @returns ProtocolMessage
10647
*/
10648
public static fromObject(object: { [k: string]: any }): proto.ProtocolMessage;
10649
10650
/**
10651
* Creates a plain object from a ProtocolMessage message. Also converts values to other types if specified.
10652
* @param message ProtocolMessage
10653
* @param [options] Conversion options
10654
* @returns Plain object
10655
*/
10656
public static toObject(message: proto.ProtocolMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
10657
10658
/**
10659
* Converts this ProtocolMessage to JSON.
10660
* @returns JSON object
10661
*/
10662
public toJSON(): { [k: string]: any };
10663
}
10664
10665
namespace ProtocolMessage {
10666
10667
/** ProtocolMessageType enum. */
10668
enum ProtocolMessageType {
10669
REVOKE = 0,
10670
EPHEMERAL_SETTING = 3,
10671
EPHEMERAL_SYNC_RESPONSE = 4,
10672
HISTORY_SYNC_NOTIFICATION = 5,
10673
APP_STATE_SYNC_KEY_SHARE = 6,
10674
APP_STATE_SYNC_KEY_REQUEST = 7,
10675
MSG_FANOUT_BACKFILL_REQUEST = 8,
10676
INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9,
10677
APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10
10678
}
10679
}
10680
10681
/** Properties of a HistorySyncNotification. */
10682
interface IHistorySyncNotification {
10683
10684
/** HistorySyncNotification fileSha256 */
10685
fileSha256?: (Uint8Array|null);
10686
10687
/** HistorySyncNotification fileLength */
10688
fileLength?: (number|Long|null);
10689
10690
/** HistorySyncNotification mediaKey */
10691
mediaKey?: (Uint8Array|null);
10692
10693
/** HistorySyncNotification fileEncSha256 */
10694
fileEncSha256?: (Uint8Array|null);
10695
10696
/** HistorySyncNotification directPath */
10697
directPath?: (string|null);
10698
10699
/** HistorySyncNotification syncType */
10700
syncType?: (proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType|null);
10701
10702
/** HistorySyncNotification chunkOrder */
10703
chunkOrder?: (number|null);
10704
10705
/** HistorySyncNotification originalMessageId */
10706
originalMessageId?: (string|null);
10707
}
10708
10709
/** Represents a HistorySyncNotification. */
10710
class HistorySyncNotification implements IHistorySyncNotification {
10711
10712
/**
10713
* Constructs a new HistorySyncNotification.
10714
* @param [properties] Properties to set
10715
*/
10716
constructor(properties?: proto.IHistorySyncNotification);
10717
10718
/** HistorySyncNotification fileSha256. */
10719
public fileSha256: Uint8Array;
10720
10721
/** HistorySyncNotification fileLength. */
10722
public fileLength: (number|Long);
10723
10724
/** HistorySyncNotification mediaKey. */
10725
public mediaKey: Uint8Array;
10726
10727
/** HistorySyncNotification fileEncSha256. */
10728
public fileEncSha256: Uint8Array;
10729
10730
/** HistorySyncNotification directPath. */
10731
public directPath: string;
10732
10733
/** HistorySyncNotification syncType. */
10734
public syncType: proto.HistorySyncNotification.HistorySyncNotificationHistorySyncType;
10735
10736
/** HistorySyncNotification chunkOrder. */
10737
public chunkOrder: number;
10738
10739
/** HistorySyncNotification originalMessageId. */
10740
public originalMessageId: string;
10741
10742
/**
10743
* Creates a new HistorySyncNotification instance using the specified properties.
10744
* @param [properties] Properties to set
10745
* @returns HistorySyncNotification instance
10746
*/
10747
public static create(properties?: proto.IHistorySyncNotification): proto.HistorySyncNotification;
10748
10749
/**
10750
* Encodes the specified HistorySyncNotification message. Does not implicitly {@link proto.HistorySyncNotification.verify|verify} messages.
10751
* @param message HistorySyncNotification message or plain object to encode
10752
* @param [writer] Writer to encode to
10753
* @returns Writer
10754
*/
10755
public static encode(message: proto.IHistorySyncNotification, writer?: $protobuf.Writer): $protobuf.Writer;
10756
10757
/**
10758
* Encodes the specified HistorySyncNotification message, length delimited. Does not implicitly {@link proto.HistorySyncNotification.verify|verify} messages.
10759
* @param message HistorySyncNotification message or plain object to encode
10760
* @param [writer] Writer to encode to
10761
* @returns Writer
10762
*/
10763
public static encodeDelimited(message: proto.IHistorySyncNotification, writer?: $protobuf.Writer): $protobuf.Writer;
10764
10765
/**
10766
* Decodes a HistorySyncNotification message from the specified reader or buffer.
10767
* @param reader Reader or buffer to decode from
10768
* @param [length] Message length if known beforehand
10769
* @returns HistorySyncNotification
10770
* @throws {Error} If the payload is not a reader or valid buffer
10771
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10772
*/
10773
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HistorySyncNotification;
10774
10775
/**
10776
* Decodes a HistorySyncNotification message from the specified reader or buffer, length delimited.
10777
* @param reader Reader or buffer to decode from
10778
* @returns HistorySyncNotification
10779
* @throws {Error} If the payload is not a reader or valid buffer
10780
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10781
*/
10782
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HistorySyncNotification;
10783
10784
/**
10785
* Verifies a HistorySyncNotification message.
10786
* @param message Plain object to verify
10787
* @returns `null` if valid, otherwise the reason why it is not
10788
*/
10789
public static verify(message: { [k: string]: any }): (string|null);
10790
10791
/**
10792
* Creates a HistorySyncNotification message from a plain object. Also converts values to their respective internal types.
10793
* @param object Plain object
10794
* @returns HistorySyncNotification
10795
*/
10796
public static fromObject(object: { [k: string]: any }): proto.HistorySyncNotification;
10797
10798
/**
10799
* Creates a plain object from a HistorySyncNotification message. Also converts values to other types if specified.
10800
* @param message HistorySyncNotification
10801
* @param [options] Conversion options
10802
* @returns Plain object
10803
*/
10804
public static toObject(message: proto.HistorySyncNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
10805
10806
/**
10807
* Converts this HistorySyncNotification to JSON.
10808
* @returns JSON object
10809
*/
10810
public toJSON(): { [k: string]: any };
10811
}
10812
10813
namespace HistorySyncNotification {
10814
10815
/** HistorySyncNotificationHistorySyncType enum. */
10816
enum HistorySyncNotificationHistorySyncType {
10817
INITIAL_BOOTSTRAP = 0,
10818
INITIAL_STATUS_V3 = 1,
10819
FULL = 2,
10820
RECENT = 3,
10821
PUSH_NAME = 4
10822
}
10823
}
10824
10825
/** Properties of an AppStateSyncKey. */
10826
interface IAppStateSyncKey {
10827
10828
/** AppStateSyncKey keyId */
10829
keyId?: (proto.IAppStateSyncKeyId|null);
10830
10831
/** AppStateSyncKey keyData */
10832
keyData?: (proto.IAppStateSyncKeyData|null);
10833
}
10834
10835
/** Represents an AppStateSyncKey. */
10836
class AppStateSyncKey implements IAppStateSyncKey {
10837
10838
/**
10839
* Constructs a new AppStateSyncKey.
10840
* @param [properties] Properties to set
10841
*/
10842
constructor(properties?: proto.IAppStateSyncKey);
10843
10844
/** AppStateSyncKey keyId. */
10845
public keyId?: (proto.IAppStateSyncKeyId|null);
10846
10847
/** AppStateSyncKey keyData. */
10848
public keyData?: (proto.IAppStateSyncKeyData|null);
10849
10850
/**
10851
* Creates a new AppStateSyncKey instance using the specified properties.
10852
* @param [properties] Properties to set
10853
* @returns AppStateSyncKey instance
10854
*/
10855
public static create(properties?: proto.IAppStateSyncKey): proto.AppStateSyncKey;
10856
10857
/**
10858
* Encodes the specified AppStateSyncKey message. Does not implicitly {@link proto.AppStateSyncKey.verify|verify} messages.
10859
* @param message AppStateSyncKey message or plain object to encode
10860
* @param [writer] Writer to encode to
10861
* @returns Writer
10862
*/
10863
public static encode(message: proto.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer;
10864
10865
/**
10866
* Encodes the specified AppStateSyncKey message, length delimited. Does not implicitly {@link proto.AppStateSyncKey.verify|verify} messages.
10867
* @param message AppStateSyncKey message or plain object to encode
10868
* @param [writer] Writer to encode to
10869
* @returns Writer
10870
*/
10871
public static encodeDelimited(message: proto.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer;
10872
10873
/**
10874
* Decodes an AppStateSyncKey message from the specified reader or buffer.
10875
* @param reader Reader or buffer to decode from
10876
* @param [length] Message length if known beforehand
10877
* @returns AppStateSyncKey
10878
* @throws {Error} If the payload is not a reader or valid buffer
10879
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10880
*/
10881
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppStateSyncKey;
10882
10883
/**
10884
* Decodes an AppStateSyncKey message from the specified reader or buffer, length delimited.
10885
* @param reader Reader or buffer to decode from
10886
* @returns AppStateSyncKey
10887
* @throws {Error} If the payload is not a reader or valid buffer
10888
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10889
*/
10890
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppStateSyncKey;
10891
10892
/**
10893
* Verifies an AppStateSyncKey message.
10894
* @param message Plain object to verify
10895
* @returns `null` if valid, otherwise the reason why it is not
10896
*/
10897
public static verify(message: { [k: string]: any }): (string|null);
10898
10899
/**
10900
* Creates an AppStateSyncKey message from a plain object. Also converts values to their respective internal types.
10901
* @param object Plain object
10902
* @returns AppStateSyncKey
10903
*/
10904
public static fromObject(object: { [k: string]: any }): proto.AppStateSyncKey;
10905
10906
/**
10907
* Creates a plain object from an AppStateSyncKey message. Also converts values to other types if specified.
10908
* @param message AppStateSyncKey
10909
* @param [options] Conversion options
10910
* @returns Plain object
10911
*/
10912
public static toObject(message: proto.AppStateSyncKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
10913
10914
/**
10915
* Converts this AppStateSyncKey to JSON.
10916
* @returns JSON object
10917
*/
10918
public toJSON(): { [k: string]: any };
10919
}
10920
10921
/** Properties of an AppStateSyncKeyId. */
10922
interface IAppStateSyncKeyId {
10923
10924
/** AppStateSyncKeyId keyId */
10925
keyId?: (Uint8Array|null);
10926
}
10927
10928
/** Represents an AppStateSyncKeyId. */
10929
class AppStateSyncKeyId implements IAppStateSyncKeyId {
10930
10931
/**
10932
* Constructs a new AppStateSyncKeyId.
10933
* @param [properties] Properties to set
10934
*/
10935
constructor(properties?: proto.IAppStateSyncKeyId);
10936
10937
/** AppStateSyncKeyId keyId. */
10938
public keyId: Uint8Array;
10939
10940
/**
10941
* Creates a new AppStateSyncKeyId instance using the specified properties.
10942
* @param [properties] Properties to set
10943
* @returns AppStateSyncKeyId instance
10944
*/
10945
public static create(properties?: proto.IAppStateSyncKeyId): proto.AppStateSyncKeyId;
10946
10947
/**
10948
* Encodes the specified AppStateSyncKeyId message. Does not implicitly {@link proto.AppStateSyncKeyId.verify|verify} messages.
10949
* @param message AppStateSyncKeyId message or plain object to encode
10950
* @param [writer] Writer to encode to
10951
* @returns Writer
10952
*/
10953
public static encode(message: proto.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer;
10954
10955
/**
10956
* Encodes the specified AppStateSyncKeyId message, length delimited. Does not implicitly {@link proto.AppStateSyncKeyId.verify|verify} messages.
10957
* @param message AppStateSyncKeyId message or plain object to encode
10958
* @param [writer] Writer to encode to
10959
* @returns Writer
10960
*/
10961
public static encodeDelimited(message: proto.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer;
10962
10963
/**
10964
* Decodes an AppStateSyncKeyId message from the specified reader or buffer.
10965
* @param reader Reader or buffer to decode from
10966
* @param [length] Message length if known beforehand
10967
* @returns AppStateSyncKeyId
10968
* @throws {Error} If the payload is not a reader or valid buffer
10969
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10970
*/
10971
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppStateSyncKeyId;
10972
10973
/**
10974
* Decodes an AppStateSyncKeyId message from the specified reader or buffer, length delimited.
10975
* @param reader Reader or buffer to decode from
10976
* @returns AppStateSyncKeyId
10977
* @throws {Error} If the payload is not a reader or valid buffer
10978
* @throws {$protobuf.util.ProtocolError} If required fields are missing
10979
*/
10980
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppStateSyncKeyId;
10981
10982
/**
10983
* Verifies an AppStateSyncKeyId message.
10984
* @param message Plain object to verify
10985
* @returns `null` if valid, otherwise the reason why it is not
10986
*/
10987
public static verify(message: { [k: string]: any }): (string|null);
10988
10989
/**
10990
* Creates an AppStateSyncKeyId message from a plain object. Also converts values to their respective internal types.
10991
* @param object Plain object
10992
* @returns AppStateSyncKeyId
10993
*/
10994
public static fromObject(object: { [k: string]: any }): proto.AppStateSyncKeyId;
10995
10996
/**
10997
* Creates a plain object from an AppStateSyncKeyId message. Also converts values to other types if specified.
10998
* @param message AppStateSyncKeyId
10999
* @param [options] Conversion options
11000
* @returns Plain object
11001
*/
11002
public static toObject(message: proto.AppStateSyncKeyId, options?: $protobuf.IConversionOptions): { [k: string]: any };
11003
11004
/**
11005
* Converts this AppStateSyncKeyId to JSON.
11006
* @returns JSON object
11007
*/
11008
public toJSON(): { [k: string]: any };
11009
}
11010
11011
/** Properties of an AppStateSyncKeyFingerprint. */
11012
interface IAppStateSyncKeyFingerprint {
11013
11014
/** AppStateSyncKeyFingerprint rawId */
11015
rawId?: (number|null);
11016
11017
/** AppStateSyncKeyFingerprint currentIndex */
11018
currentIndex?: (number|null);
11019
11020
/** AppStateSyncKeyFingerprint deviceIndexes */
11021
deviceIndexes?: (number[]|null);
11022
}
11023
11024
/** Represents an AppStateSyncKeyFingerprint. */
11025
class AppStateSyncKeyFingerprint implements IAppStateSyncKeyFingerprint {
11026
11027
/**
11028
* Constructs a new AppStateSyncKeyFingerprint.
11029
* @param [properties] Properties to set
11030
*/
11031
constructor(properties?: proto.IAppStateSyncKeyFingerprint);
11032
11033
/** AppStateSyncKeyFingerprint rawId. */
11034
public rawId: number;
11035
11036
/** AppStateSyncKeyFingerprint currentIndex. */
11037
public currentIndex: number;
11038
11039
/** AppStateSyncKeyFingerprint deviceIndexes. */
11040
public deviceIndexes: number[];
11041
11042
/**
11043
* Creates a new AppStateSyncKeyFingerprint instance using the specified properties.
11044
* @param [properties] Properties to set
11045
* @returns AppStateSyncKeyFingerprint instance
11046
*/
11047
public static create(properties?: proto.IAppStateSyncKeyFingerprint): proto.AppStateSyncKeyFingerprint;
11048
11049
/**
11050
* Encodes the specified AppStateSyncKeyFingerprint message. Does not implicitly {@link proto.AppStateSyncKeyFingerprint.verify|verify} messages.
11051
* @param message AppStateSyncKeyFingerprint message or plain object to encode
11052
* @param [writer] Writer to encode to
11053
* @returns Writer
11054
*/
11055
public static encode(message: proto.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer;
11056
11057
/**
11058
* Encodes the specified AppStateSyncKeyFingerprint message, length delimited. Does not implicitly {@link proto.AppStateSyncKeyFingerprint.verify|verify} messages.
11059
* @param message AppStateSyncKeyFingerprint message or plain object to encode
11060
* @param [writer] Writer to encode to
11061
* @returns Writer
11062
*/
11063
public static encodeDelimited(message: proto.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer;
11064
11065
/**
11066
* Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer.
11067
* @param reader Reader or buffer to decode from
11068
* @param [length] Message length if known beforehand
11069
* @returns AppStateSyncKeyFingerprint
11070
* @throws {Error} If the payload is not a reader or valid buffer
11071
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11072
*/
11073
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppStateSyncKeyFingerprint;
11074
11075
/**
11076
* Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer, length delimited.
11077
* @param reader Reader or buffer to decode from
11078
* @returns AppStateSyncKeyFingerprint
11079
* @throws {Error} If the payload is not a reader or valid buffer
11080
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11081
*/
11082
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppStateSyncKeyFingerprint;
11083
11084
/**
11085
* Verifies an AppStateSyncKeyFingerprint message.
11086
* @param message Plain object to verify
11087
* @returns `null` if valid, otherwise the reason why it is not
11088
*/
11089
public static verify(message: { [k: string]: any }): (string|null);
11090
11091
/**
11092
* Creates an AppStateSyncKeyFingerprint message from a plain object. Also converts values to their respective internal types.
11093
* @param object Plain object
11094
* @returns AppStateSyncKeyFingerprint
11095
*/
11096
public static fromObject(object: { [k: string]: any }): proto.AppStateSyncKeyFingerprint;
11097
11098
/**
11099
* Creates a plain object from an AppStateSyncKeyFingerprint message. Also converts values to other types if specified.
11100
* @param message AppStateSyncKeyFingerprint
11101
* @param [options] Conversion options
11102
* @returns Plain object
11103
*/
11104
public static toObject(message: proto.AppStateSyncKeyFingerprint, options?: $protobuf.IConversionOptions): { [k: string]: any };
11105
11106
/**
11107
* Converts this AppStateSyncKeyFingerprint to JSON.
11108
* @returns JSON object
11109
*/
11110
public toJSON(): { [k: string]: any };
11111
}
11112
11113
/** Properties of an AppStateSyncKeyData. */
11114
interface IAppStateSyncKeyData {
11115
11116
/** AppStateSyncKeyData keyData */
11117
keyData?: (Uint8Array|null);
11118
11119
/** AppStateSyncKeyData fingerprint */
11120
fingerprint?: (proto.IAppStateSyncKeyFingerprint|null);
11121
11122
/** AppStateSyncKeyData timestamp */
11123
timestamp?: (number|Long|null);
11124
}
11125
11126
/** Represents an AppStateSyncKeyData. */
11127
class AppStateSyncKeyData implements IAppStateSyncKeyData {
11128
11129
/**
11130
* Constructs a new AppStateSyncKeyData.
11131
* @param [properties] Properties to set
11132
*/
11133
constructor(properties?: proto.IAppStateSyncKeyData);
11134
11135
/** AppStateSyncKeyData keyData. */
11136
public keyData: Uint8Array;
11137
11138
/** AppStateSyncKeyData fingerprint. */
11139
public fingerprint?: (proto.IAppStateSyncKeyFingerprint|null);
11140
11141
/** AppStateSyncKeyData timestamp. */
11142
public timestamp: (number|Long);
11143
11144
/**
11145
* Creates a new AppStateSyncKeyData instance using the specified properties.
11146
* @param [properties] Properties to set
11147
* @returns AppStateSyncKeyData instance
11148
*/
11149
public static create(properties?: proto.IAppStateSyncKeyData): proto.AppStateSyncKeyData;
11150
11151
/**
11152
* Encodes the specified AppStateSyncKeyData message. Does not implicitly {@link proto.AppStateSyncKeyData.verify|verify} messages.
11153
* @param message AppStateSyncKeyData message or plain object to encode
11154
* @param [writer] Writer to encode to
11155
* @returns Writer
11156
*/
11157
public static encode(message: proto.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer;
11158
11159
/**
11160
* Encodes the specified AppStateSyncKeyData message, length delimited. Does not implicitly {@link proto.AppStateSyncKeyData.verify|verify} messages.
11161
* @param message AppStateSyncKeyData message or plain object to encode
11162
* @param [writer] Writer to encode to
11163
* @returns Writer
11164
*/
11165
public static encodeDelimited(message: proto.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer;
11166
11167
/**
11168
* Decodes an AppStateSyncKeyData message from the specified reader or buffer.
11169
* @param reader Reader or buffer to decode from
11170
* @param [length] Message length if known beforehand
11171
* @returns AppStateSyncKeyData
11172
* @throws {Error} If the payload is not a reader or valid buffer
11173
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11174
*/
11175
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppStateSyncKeyData;
11176
11177
/**
11178
* Decodes an AppStateSyncKeyData message from the specified reader or buffer, length delimited.
11179
* @param reader Reader or buffer to decode from
11180
* @returns AppStateSyncKeyData
11181
* @throws {Error} If the payload is not a reader or valid buffer
11182
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11183
*/
11184
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppStateSyncKeyData;
11185
11186
/**
11187
* Verifies an AppStateSyncKeyData message.
11188
* @param message Plain object to verify
11189
* @returns `null` if valid, otherwise the reason why it is not
11190
*/
11191
public static verify(message: { [k: string]: any }): (string|null);
11192
11193
/**
11194
* Creates an AppStateSyncKeyData message from a plain object. Also converts values to their respective internal types.
11195
* @param object Plain object
11196
* @returns AppStateSyncKeyData
11197
*/
11198
public static fromObject(object: { [k: string]: any }): proto.AppStateSyncKeyData;
11199
11200
/**
11201
* Creates a plain object from an AppStateSyncKeyData message. Also converts values to other types if specified.
11202
* @param message AppStateSyncKeyData
11203
* @param [options] Conversion options
11204
* @returns Plain object
11205
*/
11206
public static toObject(message: proto.AppStateSyncKeyData, options?: $protobuf.IConversionOptions): { [k: string]: any };
11207
11208
/**
11209
* Converts this AppStateSyncKeyData to JSON.
11210
* @returns JSON object
11211
*/
11212
public toJSON(): { [k: string]: any };
11213
}
11214
11215
/** Properties of an AppStateSyncKeyShare. */
11216
interface IAppStateSyncKeyShare {
11217
11218
/** AppStateSyncKeyShare keys */
11219
keys?: (proto.IAppStateSyncKey[]|null);
11220
}
11221
11222
/** Represents an AppStateSyncKeyShare. */
11223
class AppStateSyncKeyShare implements IAppStateSyncKeyShare {
11224
11225
/**
11226
* Constructs a new AppStateSyncKeyShare.
11227
* @param [properties] Properties to set
11228
*/
11229
constructor(properties?: proto.IAppStateSyncKeyShare);
11230
11231
/** AppStateSyncKeyShare keys. */
11232
public keys: proto.IAppStateSyncKey[];
11233
11234
/**
11235
* Creates a new AppStateSyncKeyShare instance using the specified properties.
11236
* @param [properties] Properties to set
11237
* @returns AppStateSyncKeyShare instance
11238
*/
11239
public static create(properties?: proto.IAppStateSyncKeyShare): proto.AppStateSyncKeyShare;
11240
11241
/**
11242
* Encodes the specified AppStateSyncKeyShare message. Does not implicitly {@link proto.AppStateSyncKeyShare.verify|verify} messages.
11243
* @param message AppStateSyncKeyShare message or plain object to encode
11244
* @param [writer] Writer to encode to
11245
* @returns Writer
11246
*/
11247
public static encode(message: proto.IAppStateSyncKeyShare, writer?: $protobuf.Writer): $protobuf.Writer;
11248
11249
/**
11250
* Encodes the specified AppStateSyncKeyShare message, length delimited. Does not implicitly {@link proto.AppStateSyncKeyShare.verify|verify} messages.
11251
* @param message AppStateSyncKeyShare message or plain object to encode
11252
* @param [writer] Writer to encode to
11253
* @returns Writer
11254
*/
11255
public static encodeDelimited(message: proto.IAppStateSyncKeyShare, writer?: $protobuf.Writer): $protobuf.Writer;
11256
11257
/**
11258
* Decodes an AppStateSyncKeyShare message from the specified reader or buffer.
11259
* @param reader Reader or buffer to decode from
11260
* @param [length] Message length if known beforehand
11261
* @returns AppStateSyncKeyShare
11262
* @throws {Error} If the payload is not a reader or valid buffer
11263
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11264
*/
11265
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppStateSyncKeyShare;
11266
11267
/**
11268
* Decodes an AppStateSyncKeyShare message from the specified reader or buffer, length delimited.
11269
* @param reader Reader or buffer to decode from
11270
* @returns AppStateSyncKeyShare
11271
* @throws {Error} If the payload is not a reader or valid buffer
11272
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11273
*/
11274
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppStateSyncKeyShare;
11275
11276
/**
11277
* Verifies an AppStateSyncKeyShare message.
11278
* @param message Plain object to verify
11279
* @returns `null` if valid, otherwise the reason why it is not
11280
*/
11281
public static verify(message: { [k: string]: any }): (string|null);
11282
11283
/**
11284
* Creates an AppStateSyncKeyShare message from a plain object. Also converts values to their respective internal types.
11285
* @param object Plain object
11286
* @returns AppStateSyncKeyShare
11287
*/
11288
public static fromObject(object: { [k: string]: any }): proto.AppStateSyncKeyShare;
11289
11290
/**
11291
* Creates a plain object from an AppStateSyncKeyShare message. Also converts values to other types if specified.
11292
* @param message AppStateSyncKeyShare
11293
* @param [options] Conversion options
11294
* @returns Plain object
11295
*/
11296
public static toObject(message: proto.AppStateSyncKeyShare, options?: $protobuf.IConversionOptions): { [k: string]: any };
11297
11298
/**
11299
* Converts this AppStateSyncKeyShare to JSON.
11300
* @returns JSON object
11301
*/
11302
public toJSON(): { [k: string]: any };
11303
}
11304
11305
/** Properties of an AppStateSyncKeyRequest. */
11306
interface IAppStateSyncKeyRequest {
11307
11308
/** AppStateSyncKeyRequest keyIds */
11309
keyIds?: (proto.IAppStateSyncKeyId[]|null);
11310
}
11311
11312
/** Represents an AppStateSyncKeyRequest. */
11313
class AppStateSyncKeyRequest implements IAppStateSyncKeyRequest {
11314
11315
/**
11316
* Constructs a new AppStateSyncKeyRequest.
11317
* @param [properties] Properties to set
11318
*/
11319
constructor(properties?: proto.IAppStateSyncKeyRequest);
11320
11321
/** AppStateSyncKeyRequest keyIds. */
11322
public keyIds: proto.IAppStateSyncKeyId[];
11323
11324
/**
11325
* Creates a new AppStateSyncKeyRequest instance using the specified properties.
11326
* @param [properties] Properties to set
11327
* @returns AppStateSyncKeyRequest instance
11328
*/
11329
public static create(properties?: proto.IAppStateSyncKeyRequest): proto.AppStateSyncKeyRequest;
11330
11331
/**
11332
* Encodes the specified AppStateSyncKeyRequest message. Does not implicitly {@link proto.AppStateSyncKeyRequest.verify|verify} messages.
11333
* @param message AppStateSyncKeyRequest message or plain object to encode
11334
* @param [writer] Writer to encode to
11335
* @returns Writer
11336
*/
11337
public static encode(message: proto.IAppStateSyncKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11338
11339
/**
11340
* Encodes the specified AppStateSyncKeyRequest message, length delimited. Does not implicitly {@link proto.AppStateSyncKeyRequest.verify|verify} messages.
11341
* @param message AppStateSyncKeyRequest message or plain object to encode
11342
* @param [writer] Writer to encode to
11343
* @returns Writer
11344
*/
11345
public static encodeDelimited(message: proto.IAppStateSyncKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11346
11347
/**
11348
* Decodes an AppStateSyncKeyRequest message from the specified reader or buffer.
11349
* @param reader Reader or buffer to decode from
11350
* @param [length] Message length if known beforehand
11351
* @returns AppStateSyncKeyRequest
11352
* @throws {Error} If the payload is not a reader or valid buffer
11353
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11354
*/
11355
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppStateSyncKeyRequest;
11356
11357
/**
11358
* Decodes an AppStateSyncKeyRequest message from the specified reader or buffer, length delimited.
11359
* @param reader Reader or buffer to decode from
11360
* @returns AppStateSyncKeyRequest
11361
* @throws {Error} If the payload is not a reader or valid buffer
11362
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11363
*/
11364
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppStateSyncKeyRequest;
11365
11366
/**
11367
* Verifies an AppStateSyncKeyRequest message.
11368
* @param message Plain object to verify
11369
* @returns `null` if valid, otherwise the reason why it is not
11370
*/
11371
public static verify(message: { [k: string]: any }): (string|null);
11372
11373
/**
11374
* Creates an AppStateSyncKeyRequest message from a plain object. Also converts values to their respective internal types.
11375
* @param object Plain object
11376
* @returns AppStateSyncKeyRequest
11377
*/
11378
public static fromObject(object: { [k: string]: any }): proto.AppStateSyncKeyRequest;
11379
11380
/**
11381
* Creates a plain object from an AppStateSyncKeyRequest message. Also converts values to other types if specified.
11382
* @param message AppStateSyncKeyRequest
11383
* @param [options] Conversion options
11384
* @returns Plain object
11385
*/
11386
public static toObject(message: proto.AppStateSyncKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11387
11388
/**
11389
* Converts this AppStateSyncKeyRequest to JSON.
11390
* @returns JSON object
11391
*/
11392
public toJSON(): { [k: string]: any };
11393
}
11394
11395
/** Properties of an AppStateFatalExceptionNotification. */
11396
interface IAppStateFatalExceptionNotification {
11397
11398
/** AppStateFatalExceptionNotification collectionNames */
11399
collectionNames?: (string[]|null);
11400
11401
/** AppStateFatalExceptionNotification timestamp */
11402
timestamp?: (number|Long|null);
11403
}
11404
11405
/** Represents an AppStateFatalExceptionNotification. */
11406
class AppStateFatalExceptionNotification implements IAppStateFatalExceptionNotification {
11407
11408
/**
11409
* Constructs a new AppStateFatalExceptionNotification.
11410
* @param [properties] Properties to set
11411
*/
11412
constructor(properties?: proto.IAppStateFatalExceptionNotification);
11413
11414
/** AppStateFatalExceptionNotification collectionNames. */
11415
public collectionNames: string[];
11416
11417
/** AppStateFatalExceptionNotification timestamp. */
11418
public timestamp: (number|Long);
11419
11420
/**
11421
* Creates a new AppStateFatalExceptionNotification instance using the specified properties.
11422
* @param [properties] Properties to set
11423
* @returns AppStateFatalExceptionNotification instance
11424
*/
11425
public static create(properties?: proto.IAppStateFatalExceptionNotification): proto.AppStateFatalExceptionNotification;
11426
11427
/**
11428
* Encodes the specified AppStateFatalExceptionNotification message. Does not implicitly {@link proto.AppStateFatalExceptionNotification.verify|verify} messages.
11429
* @param message AppStateFatalExceptionNotification message or plain object to encode
11430
* @param [writer] Writer to encode to
11431
* @returns Writer
11432
*/
11433
public static encode(message: proto.IAppStateFatalExceptionNotification, writer?: $protobuf.Writer): $protobuf.Writer;
11434
11435
/**
11436
* Encodes the specified AppStateFatalExceptionNotification message, length delimited. Does not implicitly {@link proto.AppStateFatalExceptionNotification.verify|verify} messages.
11437
* @param message AppStateFatalExceptionNotification message or plain object to encode
11438
* @param [writer] Writer to encode to
11439
* @returns Writer
11440
*/
11441
public static encodeDelimited(message: proto.IAppStateFatalExceptionNotification, writer?: $protobuf.Writer): $protobuf.Writer;
11442
11443
/**
11444
* Decodes an AppStateFatalExceptionNotification message from the specified reader or buffer.
11445
* @param reader Reader or buffer to decode from
11446
* @param [length] Message length if known beforehand
11447
* @returns AppStateFatalExceptionNotification
11448
* @throws {Error} If the payload is not a reader or valid buffer
11449
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11450
*/
11451
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AppStateFatalExceptionNotification;
11452
11453
/**
11454
* Decodes an AppStateFatalExceptionNotification message from the specified reader or buffer, length delimited.
11455
* @param reader Reader or buffer to decode from
11456
* @returns AppStateFatalExceptionNotification
11457
* @throws {Error} If the payload is not a reader or valid buffer
11458
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11459
*/
11460
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AppStateFatalExceptionNotification;
11461
11462
/**
11463
* Verifies an AppStateFatalExceptionNotification message.
11464
* @param message Plain object to verify
11465
* @returns `null` if valid, otherwise the reason why it is not
11466
*/
11467
public static verify(message: { [k: string]: any }): (string|null);
11468
11469
/**
11470
* Creates an AppStateFatalExceptionNotification message from a plain object. Also converts values to their respective internal types.
11471
* @param object Plain object
11472
* @returns AppStateFatalExceptionNotification
11473
*/
11474
public static fromObject(object: { [k: string]: any }): proto.AppStateFatalExceptionNotification;
11475
11476
/**
11477
* Creates a plain object from an AppStateFatalExceptionNotification message. Also converts values to other types if specified.
11478
* @param message AppStateFatalExceptionNotification
11479
* @param [options] Conversion options
11480
* @returns Plain object
11481
*/
11482
public static toObject(message: proto.AppStateFatalExceptionNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
11483
11484
/**
11485
* Converts this AppStateFatalExceptionNotification to JSON.
11486
* @returns JSON object
11487
*/
11488
public toJSON(): { [k: string]: any };
11489
}
11490
11491
/** Properties of an InitialSecurityNotificationSettingSync. */
11492
interface IInitialSecurityNotificationSettingSync {
11493
11494
/** InitialSecurityNotificationSettingSync securityNotificationEnabled */
11495
securityNotificationEnabled?: (boolean|null);
11496
}
11497
11498
/** Represents an InitialSecurityNotificationSettingSync. */
11499
class InitialSecurityNotificationSettingSync implements IInitialSecurityNotificationSettingSync {
11500
11501
/**
11502
* Constructs a new InitialSecurityNotificationSettingSync.
11503
* @param [properties] Properties to set
11504
*/
11505
constructor(properties?: proto.IInitialSecurityNotificationSettingSync);
11506
11507
/** InitialSecurityNotificationSettingSync securityNotificationEnabled. */
11508
public securityNotificationEnabled: boolean;
11509
11510
/**
11511
* Creates a new InitialSecurityNotificationSettingSync instance using the specified properties.
11512
* @param [properties] Properties to set
11513
* @returns InitialSecurityNotificationSettingSync instance
11514
*/
11515
public static create(properties?: proto.IInitialSecurityNotificationSettingSync): proto.InitialSecurityNotificationSettingSync;
11516
11517
/**
11518
* Encodes the specified InitialSecurityNotificationSettingSync message. Does not implicitly {@link proto.InitialSecurityNotificationSettingSync.verify|verify} messages.
11519
* @param message InitialSecurityNotificationSettingSync message or plain object to encode
11520
* @param [writer] Writer to encode to
11521
* @returns Writer
11522
*/
11523
public static encode(message: proto.IInitialSecurityNotificationSettingSync, writer?: $protobuf.Writer): $protobuf.Writer;
11524
11525
/**
11526
* Encodes the specified InitialSecurityNotificationSettingSync message, length delimited. Does not implicitly {@link proto.InitialSecurityNotificationSettingSync.verify|verify} messages.
11527
* @param message InitialSecurityNotificationSettingSync message or plain object to encode
11528
* @param [writer] Writer to encode to
11529
* @returns Writer
11530
*/
11531
public static encodeDelimited(message: proto.IInitialSecurityNotificationSettingSync, writer?: $protobuf.Writer): $protobuf.Writer;
11532
11533
/**
11534
* Decodes an InitialSecurityNotificationSettingSync message from the specified reader or buffer.
11535
* @param reader Reader or buffer to decode from
11536
* @param [length] Message length if known beforehand
11537
* @returns InitialSecurityNotificationSettingSync
11538
* @throws {Error} If the payload is not a reader or valid buffer
11539
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11540
*/
11541
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.InitialSecurityNotificationSettingSync;
11542
11543
/**
11544
* Decodes an InitialSecurityNotificationSettingSync message from the specified reader or buffer, length delimited.
11545
* @param reader Reader or buffer to decode from
11546
* @returns InitialSecurityNotificationSettingSync
11547
* @throws {Error} If the payload is not a reader or valid buffer
11548
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11549
*/
11550
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.InitialSecurityNotificationSettingSync;
11551
11552
/**
11553
* Verifies an InitialSecurityNotificationSettingSync message.
11554
* @param message Plain object to verify
11555
* @returns `null` if valid, otherwise the reason why it is not
11556
*/
11557
public static verify(message: { [k: string]: any }): (string|null);
11558
11559
/**
11560
* Creates an InitialSecurityNotificationSettingSync message from a plain object. Also converts values to their respective internal types.
11561
* @param object Plain object
11562
* @returns InitialSecurityNotificationSettingSync
11563
*/
11564
public static fromObject(object: { [k: string]: any }): proto.InitialSecurityNotificationSettingSync;
11565
11566
/**
11567
* Creates a plain object from an InitialSecurityNotificationSettingSync message. Also converts values to other types if specified.
11568
* @param message InitialSecurityNotificationSettingSync
11569
* @param [options] Conversion options
11570
* @returns Plain object
11571
*/
11572
public static toObject(message: proto.InitialSecurityNotificationSettingSync, options?: $protobuf.IConversionOptions): { [k: string]: any };
11573
11574
/**
11575
* Converts this InitialSecurityNotificationSettingSync to JSON.
11576
* @returns JSON object
11577
*/
11578
public toJSON(): { [k: string]: any };
11579
}
11580
11581
/** Properties of a ContactsArrayMessage. */
11582
interface IContactsArrayMessage {
11583
11584
/** ContactsArrayMessage displayName */
11585
displayName?: (string|null);
11586
11587
/** ContactsArrayMessage contacts */
11588
contacts?: (proto.IContactMessage[]|null);
11589
11590
/** ContactsArrayMessage contextInfo */
11591
contextInfo?: (proto.IContextInfo|null);
11592
}
11593
11594
/** Represents a ContactsArrayMessage. */
11595
class ContactsArrayMessage implements IContactsArrayMessage {
11596
11597
/**
11598
* Constructs a new ContactsArrayMessage.
11599
* @param [properties] Properties to set
11600
*/
11601
constructor(properties?: proto.IContactsArrayMessage);
11602
11603
/** ContactsArrayMessage displayName. */
11604
public displayName: string;
11605
11606
/** ContactsArrayMessage contacts. */
11607
public contacts: proto.IContactMessage[];
11608
11609
/** ContactsArrayMessage contextInfo. */
11610
public contextInfo?: (proto.IContextInfo|null);
11611
11612
/**
11613
* Creates a new ContactsArrayMessage instance using the specified properties.
11614
* @param [properties] Properties to set
11615
* @returns ContactsArrayMessage instance
11616
*/
11617
public static create(properties?: proto.IContactsArrayMessage): proto.ContactsArrayMessage;
11618
11619
/**
11620
* Encodes the specified ContactsArrayMessage message. Does not implicitly {@link proto.ContactsArrayMessage.verify|verify} messages.
11621
* @param message ContactsArrayMessage message or plain object to encode
11622
* @param [writer] Writer to encode to
11623
* @returns Writer
11624
*/
11625
public static encode(message: proto.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer;
11626
11627
/**
11628
* Encodes the specified ContactsArrayMessage message, length delimited. Does not implicitly {@link proto.ContactsArrayMessage.verify|verify} messages.
11629
* @param message ContactsArrayMessage message or plain object to encode
11630
* @param [writer] Writer to encode to
11631
* @returns Writer
11632
*/
11633
public static encodeDelimited(message: proto.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer;
11634
11635
/**
11636
* Decodes a ContactsArrayMessage message from the specified reader or buffer.
11637
* @param reader Reader or buffer to decode from
11638
* @param [length] Message length if known beforehand
11639
* @returns ContactsArrayMessage
11640
* @throws {Error} If the payload is not a reader or valid buffer
11641
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11642
*/
11643
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ContactsArrayMessage;
11644
11645
/**
11646
* Decodes a ContactsArrayMessage message from the specified reader or buffer, length delimited.
11647
* @param reader Reader or buffer to decode from
11648
* @returns ContactsArrayMessage
11649
* @throws {Error} If the payload is not a reader or valid buffer
11650
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11651
*/
11652
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ContactsArrayMessage;
11653
11654
/**
11655
* Verifies a ContactsArrayMessage message.
11656
* @param message Plain object to verify
11657
* @returns `null` if valid, otherwise the reason why it is not
11658
*/
11659
public static verify(message: { [k: string]: any }): (string|null);
11660
11661
/**
11662
* Creates a ContactsArrayMessage message from a plain object. Also converts values to their respective internal types.
11663
* @param object Plain object
11664
* @returns ContactsArrayMessage
11665
*/
11666
public static fromObject(object: { [k: string]: any }): proto.ContactsArrayMessage;
11667
11668
/**
11669
* Creates a plain object from a ContactsArrayMessage message. Also converts values to other types if specified.
11670
* @param message ContactsArrayMessage
11671
* @param [options] Conversion options
11672
* @returns Plain object
11673
*/
11674
public static toObject(message: proto.ContactsArrayMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
11675
11676
/**
11677
* Converts this ContactsArrayMessage to JSON.
11678
* @returns JSON object
11679
*/
11680
public toJSON(): { [k: string]: any };
11681
}
11682
11683
/** Properties of a HSMCurrency. */
11684
interface IHSMCurrency {
11685
11686
/** HSMCurrency currencyCode */
11687
currencyCode?: (string|null);
11688
11689
/** HSMCurrency amount1000 */
11690
amount1000?: (number|Long|null);
11691
}
11692
11693
/** Represents a HSMCurrency. */
11694
class HSMCurrency implements IHSMCurrency {
11695
11696
/**
11697
* Constructs a new HSMCurrency.
11698
* @param [properties] Properties to set
11699
*/
11700
constructor(properties?: proto.IHSMCurrency);
11701
11702
/** HSMCurrency currencyCode. */
11703
public currencyCode: string;
11704
11705
/** HSMCurrency amount1000. */
11706
public amount1000: (number|Long);
11707
11708
/**
11709
* Creates a new HSMCurrency instance using the specified properties.
11710
* @param [properties] Properties to set
11711
* @returns HSMCurrency instance
11712
*/
11713
public static create(properties?: proto.IHSMCurrency): proto.HSMCurrency;
11714
11715
/**
11716
* Encodes the specified HSMCurrency message. Does not implicitly {@link proto.HSMCurrency.verify|verify} messages.
11717
* @param message HSMCurrency message or plain object to encode
11718
* @param [writer] Writer to encode to
11719
* @returns Writer
11720
*/
11721
public static encode(message: proto.IHSMCurrency, writer?: $protobuf.Writer): $protobuf.Writer;
11722
11723
/**
11724
* Encodes the specified HSMCurrency message, length delimited. Does not implicitly {@link proto.HSMCurrency.verify|verify} messages.
11725
* @param message HSMCurrency message or plain object to encode
11726
* @param [writer] Writer to encode to
11727
* @returns Writer
11728
*/
11729
public static encodeDelimited(message: proto.IHSMCurrency, writer?: $protobuf.Writer): $protobuf.Writer;
11730
11731
/**
11732
* Decodes a HSMCurrency message from the specified reader or buffer.
11733
* @param reader Reader or buffer to decode from
11734
* @param [length] Message length if known beforehand
11735
* @returns HSMCurrency
11736
* @throws {Error} If the payload is not a reader or valid buffer
11737
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11738
*/
11739
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HSMCurrency;
11740
11741
/**
11742
* Decodes a HSMCurrency message from the specified reader or buffer, length delimited.
11743
* @param reader Reader or buffer to decode from
11744
* @returns HSMCurrency
11745
* @throws {Error} If the payload is not a reader or valid buffer
11746
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11747
*/
11748
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HSMCurrency;
11749
11750
/**
11751
* Verifies a HSMCurrency message.
11752
* @param message Plain object to verify
11753
* @returns `null` if valid, otherwise the reason why it is not
11754
*/
11755
public static verify(message: { [k: string]: any }): (string|null);
11756
11757
/**
11758
* Creates a HSMCurrency message from a plain object. Also converts values to their respective internal types.
11759
* @param object Plain object
11760
* @returns HSMCurrency
11761
*/
11762
public static fromObject(object: { [k: string]: any }): proto.HSMCurrency;
11763
11764
/**
11765
* Creates a plain object from a HSMCurrency message. Also converts values to other types if specified.
11766
* @param message HSMCurrency
11767
* @param [options] Conversion options
11768
* @returns Plain object
11769
*/
11770
public static toObject(message: proto.HSMCurrency, options?: $protobuf.IConversionOptions): { [k: string]: any };
11771
11772
/**
11773
* Converts this HSMCurrency to JSON.
11774
* @returns JSON object
11775
*/
11776
public toJSON(): { [k: string]: any };
11777
}
11778
11779
/** Properties of a HSMDateTimeComponent. */
11780
interface IHSMDateTimeComponent {
11781
11782
/** HSMDateTimeComponent dayOfWeek */
11783
dayOfWeek?: (proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType|null);
11784
11785
/** HSMDateTimeComponent year */
11786
year?: (number|null);
11787
11788
/** HSMDateTimeComponent month */
11789
month?: (number|null);
11790
11791
/** HSMDateTimeComponent dayOfMonth */
11792
dayOfMonth?: (number|null);
11793
11794
/** HSMDateTimeComponent hour */
11795
hour?: (number|null);
11796
11797
/** HSMDateTimeComponent minute */
11798
minute?: (number|null);
11799
11800
/** HSMDateTimeComponent calendar */
11801
calendar?: (proto.HSMDateTimeComponent.HSMDateTimeComponentCalendarType|null);
11802
}
11803
11804
/** Represents a HSMDateTimeComponent. */
11805
class HSMDateTimeComponent implements IHSMDateTimeComponent {
11806
11807
/**
11808
* Constructs a new HSMDateTimeComponent.
11809
* @param [properties] Properties to set
11810
*/
11811
constructor(properties?: proto.IHSMDateTimeComponent);
11812
11813
/** HSMDateTimeComponent dayOfWeek. */
11814
public dayOfWeek: proto.HSMDateTimeComponent.HSMDateTimeComponentDayOfWeekType;
11815
11816
/** HSMDateTimeComponent year. */
11817
public year: number;
11818
11819
/** HSMDateTimeComponent month. */
11820
public month: number;
11821
11822
/** HSMDateTimeComponent dayOfMonth. */
11823
public dayOfMonth: number;
11824
11825
/** HSMDateTimeComponent hour. */
11826
public hour: number;
11827
11828
/** HSMDateTimeComponent minute. */
11829
public minute: number;
11830
11831
/** HSMDateTimeComponent calendar. */
11832
public calendar: proto.HSMDateTimeComponent.HSMDateTimeComponentCalendarType;
11833
11834
/**
11835
* Creates a new HSMDateTimeComponent instance using the specified properties.
11836
* @param [properties] Properties to set
11837
* @returns HSMDateTimeComponent instance
11838
*/
11839
public static create(properties?: proto.IHSMDateTimeComponent): proto.HSMDateTimeComponent;
11840
11841
/**
11842
* Encodes the specified HSMDateTimeComponent message. Does not implicitly {@link proto.HSMDateTimeComponent.verify|verify} messages.
11843
* @param message HSMDateTimeComponent message or plain object to encode
11844
* @param [writer] Writer to encode to
11845
* @returns Writer
11846
*/
11847
public static encode(message: proto.IHSMDateTimeComponent, writer?: $protobuf.Writer): $protobuf.Writer;
11848
11849
/**
11850
* Encodes the specified HSMDateTimeComponent message, length delimited. Does not implicitly {@link proto.HSMDateTimeComponent.verify|verify} messages.
11851
* @param message HSMDateTimeComponent message or plain object to encode
11852
* @param [writer] Writer to encode to
11853
* @returns Writer
11854
*/
11855
public static encodeDelimited(message: proto.IHSMDateTimeComponent, writer?: $protobuf.Writer): $protobuf.Writer;
11856
11857
/**
11858
* Decodes a HSMDateTimeComponent message from the specified reader or buffer.
11859
* @param reader Reader or buffer to decode from
11860
* @param [length] Message length if known beforehand
11861
* @returns HSMDateTimeComponent
11862
* @throws {Error} If the payload is not a reader or valid buffer
11863
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11864
*/
11865
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HSMDateTimeComponent;
11866
11867
/**
11868
* Decodes a HSMDateTimeComponent message from the specified reader or buffer, length delimited.
11869
* @param reader Reader or buffer to decode from
11870
* @returns HSMDateTimeComponent
11871
* @throws {Error} If the payload is not a reader or valid buffer
11872
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11873
*/
11874
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HSMDateTimeComponent;
11875
11876
/**
11877
* Verifies a HSMDateTimeComponent message.
11878
* @param message Plain object to verify
11879
* @returns `null` if valid, otherwise the reason why it is not
11880
*/
11881
public static verify(message: { [k: string]: any }): (string|null);
11882
11883
/**
11884
* Creates a HSMDateTimeComponent message from a plain object. Also converts values to their respective internal types.
11885
* @param object Plain object
11886
* @returns HSMDateTimeComponent
11887
*/
11888
public static fromObject(object: { [k: string]: any }): proto.HSMDateTimeComponent;
11889
11890
/**
11891
* Creates a plain object from a HSMDateTimeComponent message. Also converts values to other types if specified.
11892
* @param message HSMDateTimeComponent
11893
* @param [options] Conversion options
11894
* @returns Plain object
11895
*/
11896
public static toObject(message: proto.HSMDateTimeComponent, options?: $protobuf.IConversionOptions): { [k: string]: any };
11897
11898
/**
11899
* Converts this HSMDateTimeComponent to JSON.
11900
* @returns JSON object
11901
*/
11902
public toJSON(): { [k: string]: any };
11903
}
11904
11905
namespace HSMDateTimeComponent {
11906
11907
/** HSMDateTimeComponentDayOfWeekType enum. */
11908
enum HSMDateTimeComponentDayOfWeekType {
11909
MONDAY = 1,
11910
TUESDAY = 2,
11911
WEDNESDAY = 3,
11912
THURSDAY = 4,
11913
FRIDAY = 5,
11914
SATURDAY = 6,
11915
SUNDAY = 7
11916
}
11917
11918
/** HSMDateTimeComponentCalendarType enum. */
11919
enum HSMDateTimeComponentCalendarType {
11920
GREGORIAN = 1,
11921
SOLAR_HIJRI = 2
11922
}
11923
}
11924
11925
/** Properties of a HSMDateTimeUnixEpoch. */
11926
interface IHSMDateTimeUnixEpoch {
11927
11928
/** HSMDateTimeUnixEpoch timestamp */
11929
timestamp?: (number|Long|null);
11930
}
11931
11932
/** Represents a HSMDateTimeUnixEpoch. */
11933
class HSMDateTimeUnixEpoch implements IHSMDateTimeUnixEpoch {
11934
11935
/**
11936
* Constructs a new HSMDateTimeUnixEpoch.
11937
* @param [properties] Properties to set
11938
*/
11939
constructor(properties?: proto.IHSMDateTimeUnixEpoch);
11940
11941
/** HSMDateTimeUnixEpoch timestamp. */
11942
public timestamp: (number|Long);
11943
11944
/**
11945
* Creates a new HSMDateTimeUnixEpoch instance using the specified properties.
11946
* @param [properties] Properties to set
11947
* @returns HSMDateTimeUnixEpoch instance
11948
*/
11949
public static create(properties?: proto.IHSMDateTimeUnixEpoch): proto.HSMDateTimeUnixEpoch;
11950
11951
/**
11952
* Encodes the specified HSMDateTimeUnixEpoch message. Does not implicitly {@link proto.HSMDateTimeUnixEpoch.verify|verify} messages.
11953
* @param message HSMDateTimeUnixEpoch message or plain object to encode
11954
* @param [writer] Writer to encode to
11955
* @returns Writer
11956
*/
11957
public static encode(message: proto.IHSMDateTimeUnixEpoch, writer?: $protobuf.Writer): $protobuf.Writer;
11958
11959
/**
11960
* Encodes the specified HSMDateTimeUnixEpoch message, length delimited. Does not implicitly {@link proto.HSMDateTimeUnixEpoch.verify|verify} messages.
11961
* @param message HSMDateTimeUnixEpoch message or plain object to encode
11962
* @param [writer] Writer to encode to
11963
* @returns Writer
11964
*/
11965
public static encodeDelimited(message: proto.IHSMDateTimeUnixEpoch, writer?: $protobuf.Writer): $protobuf.Writer;
11966
11967
/**
11968
* Decodes a HSMDateTimeUnixEpoch message from the specified reader or buffer.
11969
* @param reader Reader or buffer to decode from
11970
* @param [length] Message length if known beforehand
11971
* @returns HSMDateTimeUnixEpoch
11972
* @throws {Error} If the payload is not a reader or valid buffer
11973
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11974
*/
11975
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HSMDateTimeUnixEpoch;
11976
11977
/**
11978
* Decodes a HSMDateTimeUnixEpoch message from the specified reader or buffer, length delimited.
11979
* @param reader Reader or buffer to decode from
11980
* @returns HSMDateTimeUnixEpoch
11981
* @throws {Error} If the payload is not a reader or valid buffer
11982
* @throws {$protobuf.util.ProtocolError} If required fields are missing
11983
*/
11984
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HSMDateTimeUnixEpoch;
11985
11986
/**
11987
* Verifies a HSMDateTimeUnixEpoch message.
11988
* @param message Plain object to verify
11989
* @returns `null` if valid, otherwise the reason why it is not
11990
*/
11991
public static verify(message: { [k: string]: any }): (string|null);
11992
11993
/**
11994
* Creates a HSMDateTimeUnixEpoch message from a plain object. Also converts values to their respective internal types.
11995
* @param object Plain object
11996
* @returns HSMDateTimeUnixEpoch
11997
*/
11998
public static fromObject(object: { [k: string]: any }): proto.HSMDateTimeUnixEpoch;
11999
12000
/**
12001
* Creates a plain object from a HSMDateTimeUnixEpoch message. Also converts values to other types if specified.
12002
* @param message HSMDateTimeUnixEpoch
12003
* @param [options] Conversion options
12004
* @returns Plain object
12005
*/
12006
public static toObject(message: proto.HSMDateTimeUnixEpoch, options?: $protobuf.IConversionOptions): { [k: string]: any };
12007
12008
/**
12009
* Converts this HSMDateTimeUnixEpoch to JSON.
12010
* @returns JSON object
12011
*/
12012
public toJSON(): { [k: string]: any };
12013
}
12014
12015
/** Properties of a HSMDateTime. */
12016
interface IHSMDateTime {
12017
12018
/** HSMDateTime component */
12019
component?: (proto.IHSMDateTimeComponent|null);
12020
12021
/** HSMDateTime unixEpoch */
12022
unixEpoch?: (proto.IHSMDateTimeUnixEpoch|null);
12023
}
12024
12025
/** Represents a HSMDateTime. */
12026
class HSMDateTime implements IHSMDateTime {
12027
12028
/**
12029
* Constructs a new HSMDateTime.
12030
* @param [properties] Properties to set
12031
*/
12032
constructor(properties?: proto.IHSMDateTime);
12033
12034
/** HSMDateTime component. */
12035
public component?: (proto.IHSMDateTimeComponent|null);
12036
12037
/** HSMDateTime unixEpoch. */
12038
public unixEpoch?: (proto.IHSMDateTimeUnixEpoch|null);
12039
12040
/** HSMDateTime datetimeOneof. */
12041
public datetimeOneof?: ("component"|"unixEpoch");
12042
12043
/**
12044
* Creates a new HSMDateTime instance using the specified properties.
12045
* @param [properties] Properties to set
12046
* @returns HSMDateTime instance
12047
*/
12048
public static create(properties?: proto.IHSMDateTime): proto.HSMDateTime;
12049
12050
/**
12051
* Encodes the specified HSMDateTime message. Does not implicitly {@link proto.HSMDateTime.verify|verify} messages.
12052
* @param message HSMDateTime message or plain object to encode
12053
* @param [writer] Writer to encode to
12054
* @returns Writer
12055
*/
12056
public static encode(message: proto.IHSMDateTime, writer?: $protobuf.Writer): $protobuf.Writer;
12057
12058
/**
12059
* Encodes the specified HSMDateTime message, length delimited. Does not implicitly {@link proto.HSMDateTime.verify|verify} messages.
12060
* @param message HSMDateTime message or plain object to encode
12061
* @param [writer] Writer to encode to
12062
* @returns Writer
12063
*/
12064
public static encodeDelimited(message: proto.IHSMDateTime, writer?: $protobuf.Writer): $protobuf.Writer;
12065
12066
/**
12067
* Decodes a HSMDateTime message from the specified reader or buffer.
12068
* @param reader Reader or buffer to decode from
12069
* @param [length] Message length if known beforehand
12070
* @returns HSMDateTime
12071
* @throws {Error} If the payload is not a reader or valid buffer
12072
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12073
*/
12074
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HSMDateTime;
12075
12076
/**
12077
* Decodes a HSMDateTime message from the specified reader or buffer, length delimited.
12078
* @param reader Reader or buffer to decode from
12079
* @returns HSMDateTime
12080
* @throws {Error} If the payload is not a reader or valid buffer
12081
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12082
*/
12083
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HSMDateTime;
12084
12085
/**
12086
* Verifies a HSMDateTime message.
12087
* @param message Plain object to verify
12088
* @returns `null` if valid, otherwise the reason why it is not
12089
*/
12090
public static verify(message: { [k: string]: any }): (string|null);
12091
12092
/**
12093
* Creates a HSMDateTime message from a plain object. Also converts values to their respective internal types.
12094
* @param object Plain object
12095
* @returns HSMDateTime
12096
*/
12097
public static fromObject(object: { [k: string]: any }): proto.HSMDateTime;
12098
12099
/**
12100
* Creates a plain object from a HSMDateTime message. Also converts values to other types if specified.
12101
* @param message HSMDateTime
12102
* @param [options] Conversion options
12103
* @returns Plain object
12104
*/
12105
public static toObject(message: proto.HSMDateTime, options?: $protobuf.IConversionOptions): { [k: string]: any };
12106
12107
/**
12108
* Converts this HSMDateTime to JSON.
12109
* @returns JSON object
12110
*/
12111
public toJSON(): { [k: string]: any };
12112
}
12113
12114
/** Properties of a HSMLocalizableParameter. */
12115
interface IHSMLocalizableParameter {
12116
12117
/** HSMLocalizableParameter default */
12118
"default"?: (string|null);
12119
12120
/** HSMLocalizableParameter currency */
12121
currency?: (proto.IHSMCurrency|null);
12122
12123
/** HSMLocalizableParameter dateTime */
12124
dateTime?: (proto.IHSMDateTime|null);
12125
}
12126
12127
/** Represents a HSMLocalizableParameter. */
12128
class HSMLocalizableParameter implements IHSMLocalizableParameter {
12129
12130
/**
12131
* Constructs a new HSMLocalizableParameter.
12132
* @param [properties] Properties to set
12133
*/
12134
constructor(properties?: proto.IHSMLocalizableParameter);
12135
12136
/** HSMLocalizableParameter default. */
12137
public default: string;
12138
12139
/** HSMLocalizableParameter currency. */
12140
public currency?: (proto.IHSMCurrency|null);
12141
12142
/** HSMLocalizableParameter dateTime. */
12143
public dateTime?: (proto.IHSMDateTime|null);
12144
12145
/** HSMLocalizableParameter paramOneof. */
12146
public paramOneof?: ("currency"|"dateTime");
12147
12148
/**
12149
* Creates a new HSMLocalizableParameter instance using the specified properties.
12150
* @param [properties] Properties to set
12151
* @returns HSMLocalizableParameter instance
12152
*/
12153
public static create(properties?: proto.IHSMLocalizableParameter): proto.HSMLocalizableParameter;
12154
12155
/**
12156
* Encodes the specified HSMLocalizableParameter message. Does not implicitly {@link proto.HSMLocalizableParameter.verify|verify} messages.
12157
* @param message HSMLocalizableParameter message or plain object to encode
12158
* @param [writer] Writer to encode to
12159
* @returns Writer
12160
*/
12161
public static encode(message: proto.IHSMLocalizableParameter, writer?: $protobuf.Writer): $protobuf.Writer;
12162
12163
/**
12164
* Encodes the specified HSMLocalizableParameter message, length delimited. Does not implicitly {@link proto.HSMLocalizableParameter.verify|verify} messages.
12165
* @param message HSMLocalizableParameter message or plain object to encode
12166
* @param [writer] Writer to encode to
12167
* @returns Writer
12168
*/
12169
public static encodeDelimited(message: proto.IHSMLocalizableParameter, writer?: $protobuf.Writer): $protobuf.Writer;
12170
12171
/**
12172
* Decodes a HSMLocalizableParameter message from the specified reader or buffer.
12173
* @param reader Reader or buffer to decode from
12174
* @param [length] Message length if known beforehand
12175
* @returns HSMLocalizableParameter
12176
* @throws {Error} If the payload is not a reader or valid buffer
12177
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12178
*/
12179
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HSMLocalizableParameter;
12180
12181
/**
12182
* Decodes a HSMLocalizableParameter message from the specified reader or buffer, length delimited.
12183
* @param reader Reader or buffer to decode from
12184
* @returns HSMLocalizableParameter
12185
* @throws {Error} If the payload is not a reader or valid buffer
12186
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12187
*/
12188
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HSMLocalizableParameter;
12189
12190
/**
12191
* Verifies a HSMLocalizableParameter message.
12192
* @param message Plain object to verify
12193
* @returns `null` if valid, otherwise the reason why it is not
12194
*/
12195
public static verify(message: { [k: string]: any }): (string|null);
12196
12197
/**
12198
* Creates a HSMLocalizableParameter message from a plain object. Also converts values to their respective internal types.
12199
* @param object Plain object
12200
* @returns HSMLocalizableParameter
12201
*/
12202
public static fromObject(object: { [k: string]: any }): proto.HSMLocalizableParameter;
12203
12204
/**
12205
* Creates a plain object from a HSMLocalizableParameter message. Also converts values to other types if specified.
12206
* @param message HSMLocalizableParameter
12207
* @param [options] Conversion options
12208
* @returns Plain object
12209
*/
12210
public static toObject(message: proto.HSMLocalizableParameter, options?: $protobuf.IConversionOptions): { [k: string]: any };
12211
12212
/**
12213
* Converts this HSMLocalizableParameter to JSON.
12214
* @returns JSON object
12215
*/
12216
public toJSON(): { [k: string]: any };
12217
}
12218
12219
/** Properties of a HighlyStructuredMessage. */
12220
interface IHighlyStructuredMessage {
12221
12222
/** HighlyStructuredMessage namespace */
12223
namespace?: (string|null);
12224
12225
/** HighlyStructuredMessage elementName */
12226
elementName?: (string|null);
12227
12228
/** HighlyStructuredMessage params */
12229
params?: (string[]|null);
12230
12231
/** HighlyStructuredMessage fallbackLg */
12232
fallbackLg?: (string|null);
12233
12234
/** HighlyStructuredMessage fallbackLc */
12235
fallbackLc?: (string|null);
12236
12237
/** HighlyStructuredMessage localizableParams */
12238
localizableParams?: (proto.IHSMLocalizableParameter[]|null);
12239
12240
/** HighlyStructuredMessage deterministicLg */
12241
deterministicLg?: (string|null);
12242
12243
/** HighlyStructuredMessage deterministicLc */
12244
deterministicLc?: (string|null);
12245
12246
/** HighlyStructuredMessage hydratedHsm */
12247
hydratedHsm?: (proto.ITemplateMessage|null);
12248
}
12249
12250
/** Represents a HighlyStructuredMessage. */
12251
class HighlyStructuredMessage implements IHighlyStructuredMessage {
12252
12253
/**
12254
* Constructs a new HighlyStructuredMessage.
12255
* @param [properties] Properties to set
12256
*/
12257
constructor(properties?: proto.IHighlyStructuredMessage);
12258
12259
/** HighlyStructuredMessage namespace. */
12260
public namespace: string;
12261
12262
/** HighlyStructuredMessage elementName. */
12263
public elementName: string;
12264
12265
/** HighlyStructuredMessage params. */
12266
public params: string[];
12267
12268
/** HighlyStructuredMessage fallbackLg. */
12269
public fallbackLg: string;
12270
12271
/** HighlyStructuredMessage fallbackLc. */
12272
public fallbackLc: string;
12273
12274
/** HighlyStructuredMessage localizableParams. */
12275
public localizableParams: proto.IHSMLocalizableParameter[];
12276
12277
/** HighlyStructuredMessage deterministicLg. */
12278
public deterministicLg: string;
12279
12280
/** HighlyStructuredMessage deterministicLc. */
12281
public deterministicLc: string;
12282
12283
/** HighlyStructuredMessage hydratedHsm. */
12284
public hydratedHsm?: (proto.ITemplateMessage|null);
12285
12286
/**
12287
* Creates a new HighlyStructuredMessage instance using the specified properties.
12288
* @param [properties] Properties to set
12289
* @returns HighlyStructuredMessage instance
12290
*/
12291
public static create(properties?: proto.IHighlyStructuredMessage): proto.HighlyStructuredMessage;
12292
12293
/**
12294
* Encodes the specified HighlyStructuredMessage message. Does not implicitly {@link proto.HighlyStructuredMessage.verify|verify} messages.
12295
* @param message HighlyStructuredMessage message or plain object to encode
12296
* @param [writer] Writer to encode to
12297
* @returns Writer
12298
*/
12299
public static encode(message: proto.IHighlyStructuredMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12300
12301
/**
12302
* Encodes the specified HighlyStructuredMessage message, length delimited. Does not implicitly {@link proto.HighlyStructuredMessage.verify|verify} messages.
12303
* @param message HighlyStructuredMessage message or plain object to encode
12304
* @param [writer] Writer to encode to
12305
* @returns Writer
12306
*/
12307
public static encodeDelimited(message: proto.IHighlyStructuredMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12308
12309
/**
12310
* Decodes a HighlyStructuredMessage message from the specified reader or buffer.
12311
* @param reader Reader or buffer to decode from
12312
* @param [length] Message length if known beforehand
12313
* @returns HighlyStructuredMessage
12314
* @throws {Error} If the payload is not a reader or valid buffer
12315
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12316
*/
12317
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HighlyStructuredMessage;
12318
12319
/**
12320
* Decodes a HighlyStructuredMessage message from the specified reader or buffer, length delimited.
12321
* @param reader Reader or buffer to decode from
12322
* @returns HighlyStructuredMessage
12323
* @throws {Error} If the payload is not a reader or valid buffer
12324
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12325
*/
12326
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HighlyStructuredMessage;
12327
12328
/**
12329
* Verifies a HighlyStructuredMessage message.
12330
* @param message Plain object to verify
12331
* @returns `null` if valid, otherwise the reason why it is not
12332
*/
12333
public static verify(message: { [k: string]: any }): (string|null);
12334
12335
/**
12336
* Creates a HighlyStructuredMessage message from a plain object. Also converts values to their respective internal types.
12337
* @param object Plain object
12338
* @returns HighlyStructuredMessage
12339
*/
12340
public static fromObject(object: { [k: string]: any }): proto.HighlyStructuredMessage;
12341
12342
/**
12343
* Creates a plain object from a HighlyStructuredMessage message. Also converts values to other types if specified.
12344
* @param message HighlyStructuredMessage
12345
* @param [options] Conversion options
12346
* @returns Plain object
12347
*/
12348
public static toObject(message: proto.HighlyStructuredMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
12349
12350
/**
12351
* Converts this HighlyStructuredMessage to JSON.
12352
* @returns JSON object
12353
*/
12354
public toJSON(): { [k: string]: any };
12355
}
12356
12357
/** Properties of a SendPaymentMessage. */
12358
interface ISendPaymentMessage {
12359
12360
/** SendPaymentMessage noteMessage */
12361
noteMessage?: (proto.IMessage|null);
12362
12363
/** SendPaymentMessage requestMessageKey */
12364
requestMessageKey?: (proto.IMessageKey|null);
12365
12366
/** SendPaymentMessage background */
12367
background?: (proto.IPaymentBackground|null);
12368
}
12369
12370
/** Represents a SendPaymentMessage. */
12371
class SendPaymentMessage implements ISendPaymentMessage {
12372
12373
/**
12374
* Constructs a new SendPaymentMessage.
12375
* @param [properties] Properties to set
12376
*/
12377
constructor(properties?: proto.ISendPaymentMessage);
12378
12379
/** SendPaymentMessage noteMessage. */
12380
public noteMessage?: (proto.IMessage|null);
12381
12382
/** SendPaymentMessage requestMessageKey. */
12383
public requestMessageKey?: (proto.IMessageKey|null);
12384
12385
/** SendPaymentMessage background. */
12386
public background?: (proto.IPaymentBackground|null);
12387
12388
/**
12389
* Creates a new SendPaymentMessage instance using the specified properties.
12390
* @param [properties] Properties to set
12391
* @returns SendPaymentMessage instance
12392
*/
12393
public static create(properties?: proto.ISendPaymentMessage): proto.SendPaymentMessage;
12394
12395
/**
12396
* Encodes the specified SendPaymentMessage message. Does not implicitly {@link proto.SendPaymentMessage.verify|verify} messages.
12397
* @param message SendPaymentMessage message or plain object to encode
12398
* @param [writer] Writer to encode to
12399
* @returns Writer
12400
*/
12401
public static encode(message: proto.ISendPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12402
12403
/**
12404
* Encodes the specified SendPaymentMessage message, length delimited. Does not implicitly {@link proto.SendPaymentMessage.verify|verify} messages.
12405
* @param message SendPaymentMessage message or plain object to encode
12406
* @param [writer] Writer to encode to
12407
* @returns Writer
12408
*/
12409
public static encodeDelimited(message: proto.ISendPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12410
12411
/**
12412
* Decodes a SendPaymentMessage message from the specified reader or buffer.
12413
* @param reader Reader or buffer to decode from
12414
* @param [length] Message length if known beforehand
12415
* @returns SendPaymentMessage
12416
* @throws {Error} If the payload is not a reader or valid buffer
12417
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12418
*/
12419
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SendPaymentMessage;
12420
12421
/**
12422
* Decodes a SendPaymentMessage message from the specified reader or buffer, length delimited.
12423
* @param reader Reader or buffer to decode from
12424
* @returns SendPaymentMessage
12425
* @throws {Error} If the payload is not a reader or valid buffer
12426
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12427
*/
12428
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SendPaymentMessage;
12429
12430
/**
12431
* Verifies a SendPaymentMessage message.
12432
* @param message Plain object to verify
12433
* @returns `null` if valid, otherwise the reason why it is not
12434
*/
12435
public static verify(message: { [k: string]: any }): (string|null);
12436
12437
/**
12438
* Creates a SendPaymentMessage message from a plain object. Also converts values to their respective internal types.
12439
* @param object Plain object
12440
* @returns SendPaymentMessage
12441
*/
12442
public static fromObject(object: { [k: string]: any }): proto.SendPaymentMessage;
12443
12444
/**
12445
* Creates a plain object from a SendPaymentMessage message. Also converts values to other types if specified.
12446
* @param message SendPaymentMessage
12447
* @param [options] Conversion options
12448
* @returns Plain object
12449
*/
12450
public static toObject(message: proto.SendPaymentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
12451
12452
/**
12453
* Converts this SendPaymentMessage to JSON.
12454
* @returns JSON object
12455
*/
12456
public toJSON(): { [k: string]: any };
12457
}
12458
12459
/** Properties of a RequestPaymentMessage. */
12460
interface IRequestPaymentMessage {
12461
12462
/** RequestPaymentMessage noteMessage */
12463
noteMessage?: (proto.IMessage|null);
12464
12465
/** RequestPaymentMessage currencyCodeIso4217 */
12466
currencyCodeIso4217?: (string|null);
12467
12468
/** RequestPaymentMessage amount1000 */
12469
amount1000?: (number|Long|null);
12470
12471
/** RequestPaymentMessage requestFrom */
12472
requestFrom?: (string|null);
12473
12474
/** RequestPaymentMessage expiryTimestamp */
12475
expiryTimestamp?: (number|Long|null);
12476
12477
/** RequestPaymentMessage amount */
12478
amount?: (proto.IMoney|null);
12479
12480
/** RequestPaymentMessage background */
12481
background?: (proto.IPaymentBackground|null);
12482
}
12483
12484
/** Represents a RequestPaymentMessage. */
12485
class RequestPaymentMessage implements IRequestPaymentMessage {
12486
12487
/**
12488
* Constructs a new RequestPaymentMessage.
12489
* @param [properties] Properties to set
12490
*/
12491
constructor(properties?: proto.IRequestPaymentMessage);
12492
12493
/** RequestPaymentMessage noteMessage. */
12494
public noteMessage?: (proto.IMessage|null);
12495
12496
/** RequestPaymentMessage currencyCodeIso4217. */
12497
public currencyCodeIso4217: string;
12498
12499
/** RequestPaymentMessage amount1000. */
12500
public amount1000: (number|Long);
12501
12502
/** RequestPaymentMessage requestFrom. */
12503
public requestFrom: string;
12504
12505
/** RequestPaymentMessage expiryTimestamp. */
12506
public expiryTimestamp: (number|Long);
12507
12508
/** RequestPaymentMessage amount. */
12509
public amount?: (proto.IMoney|null);
12510
12511
/** RequestPaymentMessage background. */
12512
public background?: (proto.IPaymentBackground|null);
12513
12514
/**
12515
* Creates a new RequestPaymentMessage instance using the specified properties.
12516
* @param [properties] Properties to set
12517
* @returns RequestPaymentMessage instance
12518
*/
12519
public static create(properties?: proto.IRequestPaymentMessage): proto.RequestPaymentMessage;
12520
12521
/**
12522
* Encodes the specified RequestPaymentMessage message. Does not implicitly {@link proto.RequestPaymentMessage.verify|verify} messages.
12523
* @param message RequestPaymentMessage message or plain object to encode
12524
* @param [writer] Writer to encode to
12525
* @returns Writer
12526
*/
12527
public static encode(message: proto.IRequestPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12528
12529
/**
12530
* Encodes the specified RequestPaymentMessage message, length delimited. Does not implicitly {@link proto.RequestPaymentMessage.verify|verify} messages.
12531
* @param message RequestPaymentMessage message or plain object to encode
12532
* @param [writer] Writer to encode to
12533
* @returns Writer
12534
*/
12535
public static encodeDelimited(message: proto.IRequestPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12536
12537
/**
12538
* Decodes a RequestPaymentMessage message from the specified reader or buffer.
12539
* @param reader Reader or buffer to decode from
12540
* @param [length] Message length if known beforehand
12541
* @returns RequestPaymentMessage
12542
* @throws {Error} If the payload is not a reader or valid buffer
12543
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12544
*/
12545
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.RequestPaymentMessage;
12546
12547
/**
12548
* Decodes a RequestPaymentMessage message from the specified reader or buffer, length delimited.
12549
* @param reader Reader or buffer to decode from
12550
* @returns RequestPaymentMessage
12551
* @throws {Error} If the payload is not a reader or valid buffer
12552
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12553
*/
12554
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.RequestPaymentMessage;
12555
12556
/**
12557
* Verifies a RequestPaymentMessage message.
12558
* @param message Plain object to verify
12559
* @returns `null` if valid, otherwise the reason why it is not
12560
*/
12561
public static verify(message: { [k: string]: any }): (string|null);
12562
12563
/**
12564
* Creates a RequestPaymentMessage message from a plain object. Also converts values to their respective internal types.
12565
* @param object Plain object
12566
* @returns RequestPaymentMessage
12567
*/
12568
public static fromObject(object: { [k: string]: any }): proto.RequestPaymentMessage;
12569
12570
/**
12571
* Creates a plain object from a RequestPaymentMessage message. Also converts values to other types if specified.
12572
* @param message RequestPaymentMessage
12573
* @param [options] Conversion options
12574
* @returns Plain object
12575
*/
12576
public static toObject(message: proto.RequestPaymentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
12577
12578
/**
12579
* Converts this RequestPaymentMessage to JSON.
12580
* @returns JSON object
12581
*/
12582
public toJSON(): { [k: string]: any };
12583
}
12584
12585
/** Properties of a DeclinePaymentRequestMessage. */
12586
interface IDeclinePaymentRequestMessage {
12587
12588
/** DeclinePaymentRequestMessage key */
12589
key?: (proto.IMessageKey|null);
12590
}
12591
12592
/** Represents a DeclinePaymentRequestMessage. */
12593
class DeclinePaymentRequestMessage implements IDeclinePaymentRequestMessage {
12594
12595
/**
12596
* Constructs a new DeclinePaymentRequestMessage.
12597
* @param [properties] Properties to set
12598
*/
12599
constructor(properties?: proto.IDeclinePaymentRequestMessage);
12600
12601
/** DeclinePaymentRequestMessage key. */
12602
public key?: (proto.IMessageKey|null);
12603
12604
/**
12605
* Creates a new DeclinePaymentRequestMessage instance using the specified properties.
12606
* @param [properties] Properties to set
12607
* @returns DeclinePaymentRequestMessage instance
12608
*/
12609
public static create(properties?: proto.IDeclinePaymentRequestMessage): proto.DeclinePaymentRequestMessage;
12610
12611
/**
12612
* Encodes the specified DeclinePaymentRequestMessage message. Does not implicitly {@link proto.DeclinePaymentRequestMessage.verify|verify} messages.
12613
* @param message DeclinePaymentRequestMessage message or plain object to encode
12614
* @param [writer] Writer to encode to
12615
* @returns Writer
12616
*/
12617
public static encode(message: proto.IDeclinePaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12618
12619
/**
12620
* Encodes the specified DeclinePaymentRequestMessage message, length delimited. Does not implicitly {@link proto.DeclinePaymentRequestMessage.verify|verify} messages.
12621
* @param message DeclinePaymentRequestMessage message or plain object to encode
12622
* @param [writer] Writer to encode to
12623
* @returns Writer
12624
*/
12625
public static encodeDelimited(message: proto.IDeclinePaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12626
12627
/**
12628
* Decodes a DeclinePaymentRequestMessage message from the specified reader or buffer.
12629
* @param reader Reader or buffer to decode from
12630
* @param [length] Message length if known beforehand
12631
* @returns DeclinePaymentRequestMessage
12632
* @throws {Error} If the payload is not a reader or valid buffer
12633
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12634
*/
12635
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DeclinePaymentRequestMessage;
12636
12637
/**
12638
* Decodes a DeclinePaymentRequestMessage message from the specified reader or buffer, length delimited.
12639
* @param reader Reader or buffer to decode from
12640
* @returns DeclinePaymentRequestMessage
12641
* @throws {Error} If the payload is not a reader or valid buffer
12642
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12643
*/
12644
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DeclinePaymentRequestMessage;
12645
12646
/**
12647
* Verifies a DeclinePaymentRequestMessage message.
12648
* @param message Plain object to verify
12649
* @returns `null` if valid, otherwise the reason why it is not
12650
*/
12651
public static verify(message: { [k: string]: any }): (string|null);
12652
12653
/**
12654
* Creates a DeclinePaymentRequestMessage message from a plain object. Also converts values to their respective internal types.
12655
* @param object Plain object
12656
* @returns DeclinePaymentRequestMessage
12657
*/
12658
public static fromObject(object: { [k: string]: any }): proto.DeclinePaymentRequestMessage;
12659
12660
/**
12661
* Creates a plain object from a DeclinePaymentRequestMessage message. Also converts values to other types if specified.
12662
* @param message DeclinePaymentRequestMessage
12663
* @param [options] Conversion options
12664
* @returns Plain object
12665
*/
12666
public static toObject(message: proto.DeclinePaymentRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
12667
12668
/**
12669
* Converts this DeclinePaymentRequestMessage to JSON.
12670
* @returns JSON object
12671
*/
12672
public toJSON(): { [k: string]: any };
12673
}
12674
12675
/** Properties of a CancelPaymentRequestMessage. */
12676
interface ICancelPaymentRequestMessage {
12677
12678
/** CancelPaymentRequestMessage key */
12679
key?: (proto.IMessageKey|null);
12680
}
12681
12682
/** Represents a CancelPaymentRequestMessage. */
12683
class CancelPaymentRequestMessage implements ICancelPaymentRequestMessage {
12684
12685
/**
12686
* Constructs a new CancelPaymentRequestMessage.
12687
* @param [properties] Properties to set
12688
*/
12689
constructor(properties?: proto.ICancelPaymentRequestMessage);
12690
12691
/** CancelPaymentRequestMessage key. */
12692
public key?: (proto.IMessageKey|null);
12693
12694
/**
12695
* Creates a new CancelPaymentRequestMessage instance using the specified properties.
12696
* @param [properties] Properties to set
12697
* @returns CancelPaymentRequestMessage instance
12698
*/
12699
public static create(properties?: proto.ICancelPaymentRequestMessage): proto.CancelPaymentRequestMessage;
12700
12701
/**
12702
* Encodes the specified CancelPaymentRequestMessage message. Does not implicitly {@link proto.CancelPaymentRequestMessage.verify|verify} messages.
12703
* @param message CancelPaymentRequestMessage message or plain object to encode
12704
* @param [writer] Writer to encode to
12705
* @returns Writer
12706
*/
12707
public static encode(message: proto.ICancelPaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12708
12709
/**
12710
* Encodes the specified CancelPaymentRequestMessage message, length delimited. Does not implicitly {@link proto.CancelPaymentRequestMessage.verify|verify} messages.
12711
* @param message CancelPaymentRequestMessage message or plain object to encode
12712
* @param [writer] Writer to encode to
12713
* @returns Writer
12714
*/
12715
public static encodeDelimited(message: proto.ICancelPaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12716
12717
/**
12718
* Decodes a CancelPaymentRequestMessage message from the specified reader or buffer.
12719
* @param reader Reader or buffer to decode from
12720
* @param [length] Message length if known beforehand
12721
* @returns CancelPaymentRequestMessage
12722
* @throws {Error} If the payload is not a reader or valid buffer
12723
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12724
*/
12725
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CancelPaymentRequestMessage;
12726
12727
/**
12728
* Decodes a CancelPaymentRequestMessage message from the specified reader or buffer, length delimited.
12729
* @param reader Reader or buffer to decode from
12730
* @returns CancelPaymentRequestMessage
12731
* @throws {Error} If the payload is not a reader or valid buffer
12732
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12733
*/
12734
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CancelPaymentRequestMessage;
12735
12736
/**
12737
* Verifies a CancelPaymentRequestMessage message.
12738
* @param message Plain object to verify
12739
* @returns `null` if valid, otherwise the reason why it is not
12740
*/
12741
public static verify(message: { [k: string]: any }): (string|null);
12742
12743
/**
12744
* Creates a CancelPaymentRequestMessage message from a plain object. Also converts values to their respective internal types.
12745
* @param object Plain object
12746
* @returns CancelPaymentRequestMessage
12747
*/
12748
public static fromObject(object: { [k: string]: any }): proto.CancelPaymentRequestMessage;
12749
12750
/**
12751
* Creates a plain object from a CancelPaymentRequestMessage message. Also converts values to other types if specified.
12752
* @param message CancelPaymentRequestMessage
12753
* @param [options] Conversion options
12754
* @returns Plain object
12755
*/
12756
public static toObject(message: proto.CancelPaymentRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
12757
12758
/**
12759
* Converts this CancelPaymentRequestMessage to JSON.
12760
* @returns JSON object
12761
*/
12762
public toJSON(): { [k: string]: any };
12763
}
12764
12765
/** Properties of a PaymentInviteMessage. */
12766
interface IPaymentInviteMessage {
12767
12768
/** PaymentInviteMessage serviceType */
12769
serviceType?: (proto.PaymentInviteMessage.PaymentInviteMessageServiceType|null);
12770
12771
/** PaymentInviteMessage expiryTimestamp */
12772
expiryTimestamp?: (number|Long|null);
12773
}
12774
12775
/** Represents a PaymentInviteMessage. */
12776
class PaymentInviteMessage implements IPaymentInviteMessage {
12777
12778
/**
12779
* Constructs a new PaymentInviteMessage.
12780
* @param [properties] Properties to set
12781
*/
12782
constructor(properties?: proto.IPaymentInviteMessage);
12783
12784
/** PaymentInviteMessage serviceType. */
12785
public serviceType: proto.PaymentInviteMessage.PaymentInviteMessageServiceType;
12786
12787
/** PaymentInviteMessage expiryTimestamp. */
12788
public expiryTimestamp: (number|Long);
12789
12790
/**
12791
* Creates a new PaymentInviteMessage instance using the specified properties.
12792
* @param [properties] Properties to set
12793
* @returns PaymentInviteMessage instance
12794
*/
12795
public static create(properties?: proto.IPaymentInviteMessage): proto.PaymentInviteMessage;
12796
12797
/**
12798
* Encodes the specified PaymentInviteMessage message. Does not implicitly {@link proto.PaymentInviteMessage.verify|verify} messages.
12799
* @param message PaymentInviteMessage message or plain object to encode
12800
* @param [writer] Writer to encode to
12801
* @returns Writer
12802
*/
12803
public static encode(message: proto.IPaymentInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12804
12805
/**
12806
* Encodes the specified PaymentInviteMessage message, length delimited. Does not implicitly {@link proto.PaymentInviteMessage.verify|verify} messages.
12807
* @param message PaymentInviteMessage message or plain object to encode
12808
* @param [writer] Writer to encode to
12809
* @returns Writer
12810
*/
12811
public static encodeDelimited(message: proto.IPaymentInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12812
12813
/**
12814
* Decodes a PaymentInviteMessage message from the specified reader or buffer.
12815
* @param reader Reader or buffer to decode from
12816
* @param [length] Message length if known beforehand
12817
* @returns PaymentInviteMessage
12818
* @throws {Error} If the payload is not a reader or valid buffer
12819
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12820
*/
12821
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PaymentInviteMessage;
12822
12823
/**
12824
* Decodes a PaymentInviteMessage message from the specified reader or buffer, length delimited.
12825
* @param reader Reader or buffer to decode from
12826
* @returns PaymentInviteMessage
12827
* @throws {Error} If the payload is not a reader or valid buffer
12828
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12829
*/
12830
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PaymentInviteMessage;
12831
12832
/**
12833
* Verifies a PaymentInviteMessage message.
12834
* @param message Plain object to verify
12835
* @returns `null` if valid, otherwise the reason why it is not
12836
*/
12837
public static verify(message: { [k: string]: any }): (string|null);
12838
12839
/**
12840
* Creates a PaymentInviteMessage message from a plain object. Also converts values to their respective internal types.
12841
* @param object Plain object
12842
* @returns PaymentInviteMessage
12843
*/
12844
public static fromObject(object: { [k: string]: any }): proto.PaymentInviteMessage;
12845
12846
/**
12847
* Creates a plain object from a PaymentInviteMessage message. Also converts values to other types if specified.
12848
* @param message PaymentInviteMessage
12849
* @param [options] Conversion options
12850
* @returns Plain object
12851
*/
12852
public static toObject(message: proto.PaymentInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
12853
12854
/**
12855
* Converts this PaymentInviteMessage to JSON.
12856
* @returns JSON object
12857
*/
12858
public toJSON(): { [k: string]: any };
12859
}
12860
12861
namespace PaymentInviteMessage {
12862
12863
/** PaymentInviteMessageServiceType enum. */
12864
enum PaymentInviteMessageServiceType {
12865
UNKNOWN = 0,
12866
FBPAY = 1,
12867
NOVI = 2,
12868
UPI = 3
12869
}
12870
}
12871
12872
/** Properties of a LiveLocationMessage. */
12873
interface ILiveLocationMessage {
12874
12875
/** LiveLocationMessage degreesLatitude */
12876
degreesLatitude?: (number|null);
12877
12878
/** LiveLocationMessage degreesLongitude */
12879
degreesLongitude?: (number|null);
12880
12881
/** LiveLocationMessage accuracyInMeters */
12882
accuracyInMeters?: (number|null);
12883
12884
/** LiveLocationMessage speedInMps */
12885
speedInMps?: (number|null);
12886
12887
/** LiveLocationMessage degreesClockwiseFromMagneticNorth */
12888
degreesClockwiseFromMagneticNorth?: (number|null);
12889
12890
/** LiveLocationMessage caption */
12891
caption?: (string|null);
12892
12893
/** LiveLocationMessage sequenceNumber */
12894
sequenceNumber?: (number|Long|null);
12895
12896
/** LiveLocationMessage timeOffset */
12897
timeOffset?: (number|null);
12898
12899
/** LiveLocationMessage jpegThumbnail */
12900
jpegThumbnail?: (Uint8Array|null);
12901
12902
/** LiveLocationMessage contextInfo */
12903
contextInfo?: (proto.IContextInfo|null);
12904
}
12905
12906
/** Represents a LiveLocationMessage. */
12907
class LiveLocationMessage implements ILiveLocationMessage {
12908
12909
/**
12910
* Constructs a new LiveLocationMessage.
12911
* @param [properties] Properties to set
12912
*/
12913
constructor(properties?: proto.ILiveLocationMessage);
12914
12915
/** LiveLocationMessage degreesLatitude. */
12916
public degreesLatitude: number;
12917
12918
/** LiveLocationMessage degreesLongitude. */
12919
public degreesLongitude: number;
12920
12921
/** LiveLocationMessage accuracyInMeters. */
12922
public accuracyInMeters: number;
12923
12924
/** LiveLocationMessage speedInMps. */
12925
public speedInMps: number;
12926
12927
/** LiveLocationMessage degreesClockwiseFromMagneticNorth. */
12928
public degreesClockwiseFromMagneticNorth: number;
12929
12930
/** LiveLocationMessage caption. */
12931
public caption: string;
12932
12933
/** LiveLocationMessage sequenceNumber. */
12934
public sequenceNumber: (number|Long);
12935
12936
/** LiveLocationMessage timeOffset. */
12937
public timeOffset: number;
12938
12939
/** LiveLocationMessage jpegThumbnail. */
12940
public jpegThumbnail: Uint8Array;
12941
12942
/** LiveLocationMessage contextInfo. */
12943
public contextInfo?: (proto.IContextInfo|null);
12944
12945
/**
12946
* Creates a new LiveLocationMessage instance using the specified properties.
12947
* @param [properties] Properties to set
12948
* @returns LiveLocationMessage instance
12949
*/
12950
public static create(properties?: proto.ILiveLocationMessage): proto.LiveLocationMessage;
12951
12952
/**
12953
* Encodes the specified LiveLocationMessage message. Does not implicitly {@link proto.LiveLocationMessage.verify|verify} messages.
12954
* @param message LiveLocationMessage message or plain object to encode
12955
* @param [writer] Writer to encode to
12956
* @returns Writer
12957
*/
12958
public static encode(message: proto.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12959
12960
/**
12961
* Encodes the specified LiveLocationMessage message, length delimited. Does not implicitly {@link proto.LiveLocationMessage.verify|verify} messages.
12962
* @param message LiveLocationMessage message or plain object to encode
12963
* @param [writer] Writer to encode to
12964
* @returns Writer
12965
*/
12966
public static encodeDelimited(message: proto.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer;
12967
12968
/**
12969
* Decodes a LiveLocationMessage message from the specified reader or buffer.
12970
* @param reader Reader or buffer to decode from
12971
* @param [length] Message length if known beforehand
12972
* @returns LiveLocationMessage
12973
* @throws {Error} If the payload is not a reader or valid buffer
12974
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12975
*/
12976
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.LiveLocationMessage;
12977
12978
/**
12979
* Decodes a LiveLocationMessage message from the specified reader or buffer, length delimited.
12980
* @param reader Reader or buffer to decode from
12981
* @returns LiveLocationMessage
12982
* @throws {Error} If the payload is not a reader or valid buffer
12983
* @throws {$protobuf.util.ProtocolError} If required fields are missing
12984
*/
12985
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.LiveLocationMessage;
12986
12987
/**
12988
* Verifies a LiveLocationMessage message.
12989
* @param message Plain object to verify
12990
* @returns `null` if valid, otherwise the reason why it is not
12991
*/
12992
public static verify(message: { [k: string]: any }): (string|null);
12993
12994
/**
12995
* Creates a LiveLocationMessage message from a plain object. Also converts values to their respective internal types.
12996
* @param object Plain object
12997
* @returns LiveLocationMessage
12998
*/
12999
public static fromObject(object: { [k: string]: any }): proto.LiveLocationMessage;
13000
13001
/**
13002
* Creates a plain object from a LiveLocationMessage message. Also converts values to other types if specified.
13003
* @param message LiveLocationMessage
13004
* @param [options] Conversion options
13005
* @returns Plain object
13006
*/
13007
public static toObject(message: proto.LiveLocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
13008
13009
/**
13010
* Converts this LiveLocationMessage to JSON.
13011
* @returns JSON object
13012
*/
13013
public toJSON(): { [k: string]: any };
13014
}
13015
13016
/** Properties of a StickerMessage. */
13017
interface IStickerMessage {
13018
13019
/** StickerMessage url */
13020
url?: (string|null);
13021
13022
/** StickerMessage fileSha256 */
13023
fileSha256?: (Uint8Array|null);
13024
13025
/** StickerMessage fileEncSha256 */
13026
fileEncSha256?: (Uint8Array|null);
13027
13028
/** StickerMessage mediaKey */
13029
mediaKey?: (Uint8Array|null);
13030
13031
/** StickerMessage mimetype */
13032
mimetype?: (string|null);
13033
13034
/** StickerMessage height */
13035
height?: (number|null);
13036
13037
/** StickerMessage width */
13038
width?: (number|null);
13039
13040
/** StickerMessage directPath */
13041
directPath?: (string|null);
13042
13043
/** StickerMessage fileLength */
13044
fileLength?: (number|Long|null);
13045
13046
/** StickerMessage mediaKeyTimestamp */
13047
mediaKeyTimestamp?: (number|Long|null);
13048
13049
/** StickerMessage firstFrameLength */
13050
firstFrameLength?: (number|null);
13051
13052
/** StickerMessage firstFrameSidecar */
13053
firstFrameSidecar?: (Uint8Array|null);
13054
13055
/** StickerMessage isAnimated */
13056
isAnimated?: (boolean|null);
13057
13058
/** StickerMessage pngThumbnail */
13059
pngThumbnail?: (Uint8Array|null);
13060
13061
/** StickerMessage contextInfo */
13062
contextInfo?: (proto.IContextInfo|null);
13063
}
13064
13065
/** Represents a StickerMessage. */
13066
class StickerMessage implements IStickerMessage {
13067
13068
/**
13069
* Constructs a new StickerMessage.
13070
* @param [properties] Properties to set
13071
*/
13072
constructor(properties?: proto.IStickerMessage);
13073
13074
/** StickerMessage url. */
13075
public url: string;
13076
13077
/** StickerMessage fileSha256. */
13078
public fileSha256: Uint8Array;
13079
13080
/** StickerMessage fileEncSha256. */
13081
public fileEncSha256: Uint8Array;
13082
13083
/** StickerMessage mediaKey. */
13084
public mediaKey: Uint8Array;
13085
13086
/** StickerMessage mimetype. */
13087
public mimetype: string;
13088
13089
/** StickerMessage height. */
13090
public height: number;
13091
13092
/** StickerMessage width. */
13093
public width: number;
13094
13095
/** StickerMessage directPath. */
13096
public directPath: string;
13097
13098
/** StickerMessage fileLength. */
13099
public fileLength: (number|Long);
13100
13101
/** StickerMessage mediaKeyTimestamp. */
13102
public mediaKeyTimestamp: (number|Long);
13103
13104
/** StickerMessage firstFrameLength. */
13105
public firstFrameLength: number;
13106
13107
/** StickerMessage firstFrameSidecar. */
13108
public firstFrameSidecar: Uint8Array;
13109
13110
/** StickerMessage isAnimated. */
13111
public isAnimated: boolean;
13112
13113
/** StickerMessage pngThumbnail. */
13114
public pngThumbnail: Uint8Array;
13115
13116
/** StickerMessage contextInfo. */
13117
public contextInfo?: (proto.IContextInfo|null);
13118
13119
/**
13120
* Creates a new StickerMessage instance using the specified properties.
13121
* @param [properties] Properties to set
13122
* @returns StickerMessage instance
13123
*/
13124
public static create(properties?: proto.IStickerMessage): proto.StickerMessage;
13125
13126
/**
13127
* Encodes the specified StickerMessage message. Does not implicitly {@link proto.StickerMessage.verify|verify} messages.
13128
* @param message StickerMessage message or plain object to encode
13129
* @param [writer] Writer to encode to
13130
* @returns Writer
13131
*/
13132
public static encode(message: proto.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer;
13133
13134
/**
13135
* Encodes the specified StickerMessage message, length delimited. Does not implicitly {@link proto.StickerMessage.verify|verify} messages.
13136
* @param message StickerMessage message or plain object to encode
13137
* @param [writer] Writer to encode to
13138
* @returns Writer
13139
*/
13140
public static encodeDelimited(message: proto.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer;
13141
13142
/**
13143
* Decodes a StickerMessage message from the specified reader or buffer.
13144
* @param reader Reader or buffer to decode from
13145
* @param [length] Message length if known beforehand
13146
* @returns StickerMessage
13147
* @throws {Error} If the payload is not a reader or valid buffer
13148
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13149
*/
13150
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StickerMessage;
13151
13152
/**
13153
* Decodes a StickerMessage message from the specified reader or buffer, length delimited.
13154
* @param reader Reader or buffer to decode from
13155
* @returns StickerMessage
13156
* @throws {Error} If the payload is not a reader or valid buffer
13157
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13158
*/
13159
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StickerMessage;
13160
13161
/**
13162
* Verifies a StickerMessage message.
13163
* @param message Plain object to verify
13164
* @returns `null` if valid, otherwise the reason why it is not
13165
*/
13166
public static verify(message: { [k: string]: any }): (string|null);
13167
13168
/**
13169
* Creates a StickerMessage message from a plain object. Also converts values to their respective internal types.
13170
* @param object Plain object
13171
* @returns StickerMessage
13172
*/
13173
public static fromObject(object: { [k: string]: any }): proto.StickerMessage;
13174
13175
/**
13176
* Creates a plain object from a StickerMessage message. Also converts values to other types if specified.
13177
* @param message StickerMessage
13178
* @param [options] Conversion options
13179
* @returns Plain object
13180
*/
13181
public static toObject(message: proto.StickerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
13182
13183
/**
13184
* Converts this StickerMessage to JSON.
13185
* @returns JSON object
13186
*/
13187
public toJSON(): { [k: string]: any };
13188
}
13189
13190
/** Properties of a FourRowTemplate. */
13191
interface IFourRowTemplate {
13192
13193
/** FourRowTemplate content */
13194
content?: (proto.IHighlyStructuredMessage|null);
13195
13196
/** FourRowTemplate footer */
13197
footer?: (proto.IHighlyStructuredMessage|null);
13198
13199
/** FourRowTemplate buttons */
13200
buttons?: (proto.ITemplateButton[]|null);
13201
13202
/** FourRowTemplate documentMessage */
13203
documentMessage?: (proto.IDocumentMessage|null);
13204
13205
/** FourRowTemplate highlyStructuredMessage */
13206
highlyStructuredMessage?: (proto.IHighlyStructuredMessage|null);
13207
13208
/** FourRowTemplate imageMessage */
13209
imageMessage?: (proto.IImageMessage|null);
13210
13211
/** FourRowTemplate videoMessage */
13212
videoMessage?: (proto.IVideoMessage|null);
13213
13214
/** FourRowTemplate locationMessage */
13215
locationMessage?: (proto.ILocationMessage|null);
13216
}
13217
13218
/** Represents a FourRowTemplate. */
13219
class FourRowTemplate implements IFourRowTemplate {
13220
13221
/**
13222
* Constructs a new FourRowTemplate.
13223
* @param [properties] Properties to set
13224
*/
13225
constructor(properties?: proto.IFourRowTemplate);
13226
13227
/** FourRowTemplate content. */
13228
public content?: (proto.IHighlyStructuredMessage|null);
13229
13230
/** FourRowTemplate footer. */
13231
public footer?: (proto.IHighlyStructuredMessage|null);
13232
13233
/** FourRowTemplate buttons. */
13234
public buttons: proto.ITemplateButton[];
13235
13236
/** FourRowTemplate documentMessage. */
13237
public documentMessage?: (proto.IDocumentMessage|null);
13238
13239
/** FourRowTemplate highlyStructuredMessage. */
13240
public highlyStructuredMessage?: (proto.IHighlyStructuredMessage|null);
13241
13242
/** FourRowTemplate imageMessage. */
13243
public imageMessage?: (proto.IImageMessage|null);
13244
13245
/** FourRowTemplate videoMessage. */
13246
public videoMessage?: (proto.IVideoMessage|null);
13247
13248
/** FourRowTemplate locationMessage. */
13249
public locationMessage?: (proto.ILocationMessage|null);
13250
13251
/** FourRowTemplate title. */
13252
public title?: ("documentMessage"|"highlyStructuredMessage"|"imageMessage"|"videoMessage"|"locationMessage");
13253
13254
/**
13255
* Creates a new FourRowTemplate instance using the specified properties.
13256
* @param [properties] Properties to set
13257
* @returns FourRowTemplate instance
13258
*/
13259
public static create(properties?: proto.IFourRowTemplate): proto.FourRowTemplate;
13260
13261
/**
13262
* Encodes the specified FourRowTemplate message. Does not implicitly {@link proto.FourRowTemplate.verify|verify} messages.
13263
* @param message FourRowTemplate message or plain object to encode
13264
* @param [writer] Writer to encode to
13265
* @returns Writer
13266
*/
13267
public static encode(message: proto.IFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
13268
13269
/**
13270
* Encodes the specified FourRowTemplate message, length delimited. Does not implicitly {@link proto.FourRowTemplate.verify|verify} messages.
13271
* @param message FourRowTemplate message or plain object to encode
13272
* @param [writer] Writer to encode to
13273
* @returns Writer
13274
*/
13275
public static encodeDelimited(message: proto.IFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
13276
13277
/**
13278
* Decodes a FourRowTemplate message from the specified reader or buffer.
13279
* @param reader Reader or buffer to decode from
13280
* @param [length] Message length if known beforehand
13281
* @returns FourRowTemplate
13282
* @throws {Error} If the payload is not a reader or valid buffer
13283
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13284
*/
13285
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FourRowTemplate;
13286
13287
/**
13288
* Decodes a FourRowTemplate message from the specified reader or buffer, length delimited.
13289
* @param reader Reader or buffer to decode from
13290
* @returns FourRowTemplate
13291
* @throws {Error} If the payload is not a reader or valid buffer
13292
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13293
*/
13294
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FourRowTemplate;
13295
13296
/**
13297
* Verifies a FourRowTemplate message.
13298
* @param message Plain object to verify
13299
* @returns `null` if valid, otherwise the reason why it is not
13300
*/
13301
public static verify(message: { [k: string]: any }): (string|null);
13302
13303
/**
13304
* Creates a FourRowTemplate message from a plain object. Also converts values to their respective internal types.
13305
* @param object Plain object
13306
* @returns FourRowTemplate
13307
*/
13308
public static fromObject(object: { [k: string]: any }): proto.FourRowTemplate;
13309
13310
/**
13311
* Creates a plain object from a FourRowTemplate message. Also converts values to other types if specified.
13312
* @param message FourRowTemplate
13313
* @param [options] Conversion options
13314
* @returns Plain object
13315
*/
13316
public static toObject(message: proto.FourRowTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
13317
13318
/**
13319
* Converts this FourRowTemplate to JSON.
13320
* @returns JSON object
13321
*/
13322
public toJSON(): { [k: string]: any };
13323
}
13324
13325
/** Properties of a HydratedFourRowTemplate. */
13326
interface IHydratedFourRowTemplate {
13327
13328
/** HydratedFourRowTemplate hydratedContentText */
13329
hydratedContentText?: (string|null);
13330
13331
/** HydratedFourRowTemplate hydratedFooterText */
13332
hydratedFooterText?: (string|null);
13333
13334
/** HydratedFourRowTemplate hydratedButtons */
13335
hydratedButtons?: (proto.IHydratedTemplateButton[]|null);
13336
13337
/** HydratedFourRowTemplate templateId */
13338
templateId?: (string|null);
13339
13340
/** HydratedFourRowTemplate documentMessage */
13341
documentMessage?: (proto.IDocumentMessage|null);
13342
13343
/** HydratedFourRowTemplate hydratedTitleText */
13344
hydratedTitleText?: (string|null);
13345
13346
/** HydratedFourRowTemplate imageMessage */
13347
imageMessage?: (proto.IImageMessage|null);
13348
13349
/** HydratedFourRowTemplate videoMessage */
13350
videoMessage?: (proto.IVideoMessage|null);
13351
13352
/** HydratedFourRowTemplate locationMessage */
13353
locationMessage?: (proto.ILocationMessage|null);
13354
}
13355
13356
/** Represents a HydratedFourRowTemplate. */
13357
class HydratedFourRowTemplate implements IHydratedFourRowTemplate {
13358
13359
/**
13360
* Constructs a new HydratedFourRowTemplate.
13361
* @param [properties] Properties to set
13362
*/
13363
constructor(properties?: proto.IHydratedFourRowTemplate);
13364
13365
/** HydratedFourRowTemplate hydratedContentText. */
13366
public hydratedContentText: string;
13367
13368
/** HydratedFourRowTemplate hydratedFooterText. */
13369
public hydratedFooterText: string;
13370
13371
/** HydratedFourRowTemplate hydratedButtons. */
13372
public hydratedButtons: proto.IHydratedTemplateButton[];
13373
13374
/** HydratedFourRowTemplate templateId. */
13375
public templateId: string;
13376
13377
/** HydratedFourRowTemplate documentMessage. */
13378
public documentMessage?: (proto.IDocumentMessage|null);
13379
13380
/** HydratedFourRowTemplate hydratedTitleText. */
13381
public hydratedTitleText?: (string|null);
13382
13383
/** HydratedFourRowTemplate imageMessage. */
13384
public imageMessage?: (proto.IImageMessage|null);
13385
13386
/** HydratedFourRowTemplate videoMessage. */
13387
public videoMessage?: (proto.IVideoMessage|null);
13388
13389
/** HydratedFourRowTemplate locationMessage. */
13390
public locationMessage?: (proto.ILocationMessage|null);
13391
13392
/** HydratedFourRowTemplate title. */
13393
public title?: ("documentMessage"|"hydratedTitleText"|"imageMessage"|"videoMessage"|"locationMessage");
13394
13395
/**
13396
* Creates a new HydratedFourRowTemplate instance using the specified properties.
13397
* @param [properties] Properties to set
13398
* @returns HydratedFourRowTemplate instance
13399
*/
13400
public static create(properties?: proto.IHydratedFourRowTemplate): proto.HydratedFourRowTemplate;
13401
13402
/**
13403
* Encodes the specified HydratedFourRowTemplate message. Does not implicitly {@link proto.HydratedFourRowTemplate.verify|verify} messages.
13404
* @param message HydratedFourRowTemplate message or plain object to encode
13405
* @param [writer] Writer to encode to
13406
* @returns Writer
13407
*/
13408
public static encode(message: proto.IHydratedFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
13409
13410
/**
13411
* Encodes the specified HydratedFourRowTemplate message, length delimited. Does not implicitly {@link proto.HydratedFourRowTemplate.verify|verify} messages.
13412
* @param message HydratedFourRowTemplate message or plain object to encode
13413
* @param [writer] Writer to encode to
13414
* @returns Writer
13415
*/
13416
public static encodeDelimited(message: proto.IHydratedFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
13417
13418
/**
13419
* Decodes a HydratedFourRowTemplate message from the specified reader or buffer.
13420
* @param reader Reader or buffer to decode from
13421
* @param [length] Message length if known beforehand
13422
* @returns HydratedFourRowTemplate
13423
* @throws {Error} If the payload is not a reader or valid buffer
13424
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13425
*/
13426
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HydratedFourRowTemplate;
13427
13428
/**
13429
* Decodes a HydratedFourRowTemplate message from the specified reader or buffer, length delimited.
13430
* @param reader Reader or buffer to decode from
13431
* @returns HydratedFourRowTemplate
13432
* @throws {Error} If the payload is not a reader or valid buffer
13433
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13434
*/
13435
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HydratedFourRowTemplate;
13436
13437
/**
13438
* Verifies a HydratedFourRowTemplate message.
13439
* @param message Plain object to verify
13440
* @returns `null` if valid, otherwise the reason why it is not
13441
*/
13442
public static verify(message: { [k: string]: any }): (string|null);
13443
13444
/**
13445
* Creates a HydratedFourRowTemplate message from a plain object. Also converts values to their respective internal types.
13446
* @param object Plain object
13447
* @returns HydratedFourRowTemplate
13448
*/
13449
public static fromObject(object: { [k: string]: any }): proto.HydratedFourRowTemplate;
13450
13451
/**
13452
* Creates a plain object from a HydratedFourRowTemplate message. Also converts values to other types if specified.
13453
* @param message HydratedFourRowTemplate
13454
* @param [options] Conversion options
13455
* @returns Plain object
13456
*/
13457
public static toObject(message: proto.HydratedFourRowTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
13458
13459
/**
13460
* Converts this HydratedFourRowTemplate to JSON.
13461
* @returns JSON object
13462
*/
13463
public toJSON(): { [k: string]: any };
13464
}
13465
13466
/** Properties of a TemplateMessage. */
13467
interface ITemplateMessage {
13468
13469
/** TemplateMessage contextInfo */
13470
contextInfo?: (proto.IContextInfo|null);
13471
13472
/** TemplateMessage hydratedTemplate */
13473
hydratedTemplate?: (proto.IHydratedFourRowTemplate|null);
13474
13475
/** TemplateMessage fourRowTemplate */
13476
fourRowTemplate?: (proto.IFourRowTemplate|null);
13477
13478
/** TemplateMessage hydratedFourRowTemplate */
13479
hydratedFourRowTemplate?: (proto.IHydratedFourRowTemplate|null);
13480
}
13481
13482
/** Represents a TemplateMessage. */
13483
class TemplateMessage implements ITemplateMessage {
13484
13485
/**
13486
* Constructs a new TemplateMessage.
13487
* @param [properties] Properties to set
13488
*/
13489
constructor(properties?: proto.ITemplateMessage);
13490
13491
/** TemplateMessage contextInfo. */
13492
public contextInfo?: (proto.IContextInfo|null);
13493
13494
/** TemplateMessage hydratedTemplate. */
13495
public hydratedTemplate?: (proto.IHydratedFourRowTemplate|null);
13496
13497
/** TemplateMessage fourRowTemplate. */
13498
public fourRowTemplate?: (proto.IFourRowTemplate|null);
13499
13500
/** TemplateMessage hydratedFourRowTemplate. */
13501
public hydratedFourRowTemplate?: (proto.IHydratedFourRowTemplate|null);
13502
13503
/** TemplateMessage format. */
13504
public format?: ("fourRowTemplate"|"hydratedFourRowTemplate");
13505
13506
/**
13507
* Creates a new TemplateMessage instance using the specified properties.
13508
* @param [properties] Properties to set
13509
* @returns TemplateMessage instance
13510
*/
13511
public static create(properties?: proto.ITemplateMessage): proto.TemplateMessage;
13512
13513
/**
13514
* Encodes the specified TemplateMessage message. Does not implicitly {@link proto.TemplateMessage.verify|verify} messages.
13515
* @param message TemplateMessage message or plain object to encode
13516
* @param [writer] Writer to encode to
13517
* @returns Writer
13518
*/
13519
public static encode(message: proto.ITemplateMessage, writer?: $protobuf.Writer): $protobuf.Writer;
13520
13521
/**
13522
* Encodes the specified TemplateMessage message, length delimited. Does not implicitly {@link proto.TemplateMessage.verify|verify} messages.
13523
* @param message TemplateMessage message or plain object to encode
13524
* @param [writer] Writer to encode to
13525
* @returns Writer
13526
*/
13527
public static encodeDelimited(message: proto.ITemplateMessage, writer?: $protobuf.Writer): $protobuf.Writer;
13528
13529
/**
13530
* Decodes a TemplateMessage message from the specified reader or buffer.
13531
* @param reader Reader or buffer to decode from
13532
* @param [length] Message length if known beforehand
13533
* @returns TemplateMessage
13534
* @throws {Error} If the payload is not a reader or valid buffer
13535
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13536
*/
13537
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TemplateMessage;
13538
13539
/**
13540
* Decodes a TemplateMessage message from the specified reader or buffer, length delimited.
13541
* @param reader Reader or buffer to decode from
13542
* @returns TemplateMessage
13543
* @throws {Error} If the payload is not a reader or valid buffer
13544
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13545
*/
13546
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TemplateMessage;
13547
13548
/**
13549
* Verifies a TemplateMessage message.
13550
* @param message Plain object to verify
13551
* @returns `null` if valid, otherwise the reason why it is not
13552
*/
13553
public static verify(message: { [k: string]: any }): (string|null);
13554
13555
/**
13556
* Creates a TemplateMessage message from a plain object. Also converts values to their respective internal types.
13557
* @param object Plain object
13558
* @returns TemplateMessage
13559
*/
13560
public static fromObject(object: { [k: string]: any }): proto.TemplateMessage;
13561
13562
/**
13563
* Creates a plain object from a TemplateMessage message. Also converts values to other types if specified.
13564
* @param message TemplateMessage
13565
* @param [options] Conversion options
13566
* @returns Plain object
13567
*/
13568
public static toObject(message: proto.TemplateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
13569
13570
/**
13571
* Converts this TemplateMessage to JSON.
13572
* @returns JSON object
13573
*/
13574
public toJSON(): { [k: string]: any };
13575
}
13576
13577
/** Properties of a TemplateButtonReplyMessage. */
13578
interface ITemplateButtonReplyMessage {
13579
13580
/** TemplateButtonReplyMessage selectedId */
13581
selectedId?: (string|null);
13582
13583
/** TemplateButtonReplyMessage selectedDisplayText */
13584
selectedDisplayText?: (string|null);
13585
13586
/** TemplateButtonReplyMessage contextInfo */
13587
contextInfo?: (proto.IContextInfo|null);
13588
13589
/** TemplateButtonReplyMessage selectedIndex */
13590
selectedIndex?: (number|null);
13591
}
13592
13593
/** Represents a TemplateButtonReplyMessage. */
13594
class TemplateButtonReplyMessage implements ITemplateButtonReplyMessage {
13595
13596
/**
13597
* Constructs a new TemplateButtonReplyMessage.
13598
* @param [properties] Properties to set
13599
*/
13600
constructor(properties?: proto.ITemplateButtonReplyMessage);
13601
13602
/** TemplateButtonReplyMessage selectedId. */
13603
public selectedId: string;
13604
13605
/** TemplateButtonReplyMessage selectedDisplayText. */
13606
public selectedDisplayText: string;
13607
13608
/** TemplateButtonReplyMessage contextInfo. */
13609
public contextInfo?: (proto.IContextInfo|null);
13610
13611
/** TemplateButtonReplyMessage selectedIndex. */
13612
public selectedIndex: number;
13613
13614
/**
13615
* Creates a new TemplateButtonReplyMessage instance using the specified properties.
13616
* @param [properties] Properties to set
13617
* @returns TemplateButtonReplyMessage instance
13618
*/
13619
public static create(properties?: proto.ITemplateButtonReplyMessage): proto.TemplateButtonReplyMessage;
13620
13621
/**
13622
* Encodes the specified TemplateButtonReplyMessage message. Does not implicitly {@link proto.TemplateButtonReplyMessage.verify|verify} messages.
13623
* @param message TemplateButtonReplyMessage message or plain object to encode
13624
* @param [writer] Writer to encode to
13625
* @returns Writer
13626
*/
13627
public static encode(message: proto.ITemplateButtonReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
13628
13629
/**
13630
* Encodes the specified TemplateButtonReplyMessage message, length delimited. Does not implicitly {@link proto.TemplateButtonReplyMessage.verify|verify} messages.
13631
* @param message TemplateButtonReplyMessage message or plain object to encode
13632
* @param [writer] Writer to encode to
13633
* @returns Writer
13634
*/
13635
public static encodeDelimited(message: proto.ITemplateButtonReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
13636
13637
/**
13638
* Decodes a TemplateButtonReplyMessage message from the specified reader or buffer.
13639
* @param reader Reader or buffer to decode from
13640
* @param [length] Message length if known beforehand
13641
* @returns TemplateButtonReplyMessage
13642
* @throws {Error} If the payload is not a reader or valid buffer
13643
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13644
*/
13645
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TemplateButtonReplyMessage;
13646
13647
/**
13648
* Decodes a TemplateButtonReplyMessage message from the specified reader or buffer, length delimited.
13649
* @param reader Reader or buffer to decode from
13650
* @returns TemplateButtonReplyMessage
13651
* @throws {Error} If the payload is not a reader or valid buffer
13652
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13653
*/
13654
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TemplateButtonReplyMessage;
13655
13656
/**
13657
* Verifies a TemplateButtonReplyMessage message.
13658
* @param message Plain object to verify
13659
* @returns `null` if valid, otherwise the reason why it is not
13660
*/
13661
public static verify(message: { [k: string]: any }): (string|null);
13662
13663
/**
13664
* Creates a TemplateButtonReplyMessage message from a plain object. Also converts values to their respective internal types.
13665
* @param object Plain object
13666
* @returns TemplateButtonReplyMessage
13667
*/
13668
public static fromObject(object: { [k: string]: any }): proto.TemplateButtonReplyMessage;
13669
13670
/**
13671
* Creates a plain object from a TemplateButtonReplyMessage message. Also converts values to other types if specified.
13672
* @param message TemplateButtonReplyMessage
13673
* @param [options] Conversion options
13674
* @returns Plain object
13675
*/
13676
public static toObject(message: proto.TemplateButtonReplyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
13677
13678
/**
13679
* Converts this TemplateButtonReplyMessage to JSON.
13680
* @returns JSON object
13681
*/
13682
public toJSON(): { [k: string]: any };
13683
}
13684
13685
/** Properties of a CatalogSnapshot. */
13686
interface ICatalogSnapshot {
13687
13688
/** CatalogSnapshot catalogImage */
13689
catalogImage?: (proto.IImageMessage|null);
13690
13691
/** CatalogSnapshot title */
13692
title?: (string|null);
13693
13694
/** CatalogSnapshot description */
13695
description?: (string|null);
13696
}
13697
13698
/** Represents a CatalogSnapshot. */
13699
class CatalogSnapshot implements ICatalogSnapshot {
13700
13701
/**
13702
* Constructs a new CatalogSnapshot.
13703
* @param [properties] Properties to set
13704
*/
13705
constructor(properties?: proto.ICatalogSnapshot);
13706
13707
/** CatalogSnapshot catalogImage. */
13708
public catalogImage?: (proto.IImageMessage|null);
13709
13710
/** CatalogSnapshot title. */
13711
public title: string;
13712
13713
/** CatalogSnapshot description. */
13714
public description: string;
13715
13716
/**
13717
* Creates a new CatalogSnapshot instance using the specified properties.
13718
* @param [properties] Properties to set
13719
* @returns CatalogSnapshot instance
13720
*/
13721
public static create(properties?: proto.ICatalogSnapshot): proto.CatalogSnapshot;
13722
13723
/**
13724
* Encodes the specified CatalogSnapshot message. Does not implicitly {@link proto.CatalogSnapshot.verify|verify} messages.
13725
* @param message CatalogSnapshot message or plain object to encode
13726
* @param [writer] Writer to encode to
13727
* @returns Writer
13728
*/
13729
public static encode(message: proto.ICatalogSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
13730
13731
/**
13732
* Encodes the specified CatalogSnapshot message, length delimited. Does not implicitly {@link proto.CatalogSnapshot.verify|verify} messages.
13733
* @param message CatalogSnapshot message or plain object to encode
13734
* @param [writer] Writer to encode to
13735
* @returns Writer
13736
*/
13737
public static encodeDelimited(message: proto.ICatalogSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
13738
13739
/**
13740
* Decodes a CatalogSnapshot message from the specified reader or buffer.
13741
* @param reader Reader or buffer to decode from
13742
* @param [length] Message length if known beforehand
13743
* @returns CatalogSnapshot
13744
* @throws {Error} If the payload is not a reader or valid buffer
13745
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13746
*/
13747
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CatalogSnapshot;
13748
13749
/**
13750
* Decodes a CatalogSnapshot message from the specified reader or buffer, length delimited.
13751
* @param reader Reader or buffer to decode from
13752
* @returns CatalogSnapshot
13753
* @throws {Error} If the payload is not a reader or valid buffer
13754
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13755
*/
13756
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CatalogSnapshot;
13757
13758
/**
13759
* Verifies a CatalogSnapshot message.
13760
* @param message Plain object to verify
13761
* @returns `null` if valid, otherwise the reason why it is not
13762
*/
13763
public static verify(message: { [k: string]: any }): (string|null);
13764
13765
/**
13766
* Creates a CatalogSnapshot message from a plain object. Also converts values to their respective internal types.
13767
* @param object Plain object
13768
* @returns CatalogSnapshot
13769
*/
13770
public static fromObject(object: { [k: string]: any }): proto.CatalogSnapshot;
13771
13772
/**
13773
* Creates a plain object from a CatalogSnapshot message. Also converts values to other types if specified.
13774
* @param message CatalogSnapshot
13775
* @param [options] Conversion options
13776
* @returns Plain object
13777
*/
13778
public static toObject(message: proto.CatalogSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
13779
13780
/**
13781
* Converts this CatalogSnapshot to JSON.
13782
* @returns JSON object
13783
*/
13784
public toJSON(): { [k: string]: any };
13785
}
13786
13787
/** Properties of a ProductSnapshot. */
13788
interface IProductSnapshot {
13789
13790
/** ProductSnapshot productImage */
13791
productImage?: (proto.IImageMessage|null);
13792
13793
/** ProductSnapshot productId */
13794
productId?: (string|null);
13795
13796
/** ProductSnapshot title */
13797
title?: (string|null);
13798
13799
/** ProductSnapshot description */
13800
description?: (string|null);
13801
13802
/** ProductSnapshot currencyCode */
13803
currencyCode?: (string|null);
13804
13805
/** ProductSnapshot priceAmount1000 */
13806
priceAmount1000?: (number|Long|null);
13807
13808
/** ProductSnapshot retailerId */
13809
retailerId?: (string|null);
13810
13811
/** ProductSnapshot url */
13812
url?: (string|null);
13813
13814
/** ProductSnapshot productImageCount */
13815
productImageCount?: (number|null);
13816
13817
/** ProductSnapshot firstImageId */
13818
firstImageId?: (string|null);
13819
13820
/** ProductSnapshot salePriceAmount1000 */
13821
salePriceAmount1000?: (number|Long|null);
13822
}
13823
13824
/** Represents a ProductSnapshot. */
13825
class ProductSnapshot implements IProductSnapshot {
13826
13827
/**
13828
* Constructs a new ProductSnapshot.
13829
* @param [properties] Properties to set
13830
*/
13831
constructor(properties?: proto.IProductSnapshot);
13832
13833
/** ProductSnapshot productImage. */
13834
public productImage?: (proto.IImageMessage|null);
13835
13836
/** ProductSnapshot productId. */
13837
public productId: string;
13838
13839
/** ProductSnapshot title. */
13840
public title: string;
13841
13842
/** ProductSnapshot description. */
13843
public description: string;
13844
13845
/** ProductSnapshot currencyCode. */
13846
public currencyCode: string;
13847
13848
/** ProductSnapshot priceAmount1000. */
13849
public priceAmount1000: (number|Long);
13850
13851
/** ProductSnapshot retailerId. */
13852
public retailerId: string;
13853
13854
/** ProductSnapshot url. */
13855
public url: string;
13856
13857
/** ProductSnapshot productImageCount. */
13858
public productImageCount: number;
13859
13860
/** ProductSnapshot firstImageId. */
13861
public firstImageId: string;
13862
13863
/** ProductSnapshot salePriceAmount1000. */
13864
public salePriceAmount1000: (number|Long);
13865
13866
/**
13867
* Creates a new ProductSnapshot instance using the specified properties.
13868
* @param [properties] Properties to set
13869
* @returns ProductSnapshot instance
13870
*/
13871
public static create(properties?: proto.IProductSnapshot): proto.ProductSnapshot;
13872
13873
/**
13874
* Encodes the specified ProductSnapshot message. Does not implicitly {@link proto.ProductSnapshot.verify|verify} messages.
13875
* @param message ProductSnapshot message or plain object to encode
13876
* @param [writer] Writer to encode to
13877
* @returns Writer
13878
*/
13879
public static encode(message: proto.IProductSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
13880
13881
/**
13882
* Encodes the specified ProductSnapshot message, length delimited. Does not implicitly {@link proto.ProductSnapshot.verify|verify} messages.
13883
* @param message ProductSnapshot message or plain object to encode
13884
* @param [writer] Writer to encode to
13885
* @returns Writer
13886
*/
13887
public static encodeDelimited(message: proto.IProductSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
13888
13889
/**
13890
* Decodes a ProductSnapshot message from the specified reader or buffer.
13891
* @param reader Reader or buffer to decode from
13892
* @param [length] Message length if known beforehand
13893
* @returns ProductSnapshot
13894
* @throws {Error} If the payload is not a reader or valid buffer
13895
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13896
*/
13897
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ProductSnapshot;
13898
13899
/**
13900
* Decodes a ProductSnapshot message from the specified reader or buffer, length delimited.
13901
* @param reader Reader or buffer to decode from
13902
* @returns ProductSnapshot
13903
* @throws {Error} If the payload is not a reader or valid buffer
13904
* @throws {$protobuf.util.ProtocolError} If required fields are missing
13905
*/
13906
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ProductSnapshot;
13907
13908
/**
13909
* Verifies a ProductSnapshot message.
13910
* @param message Plain object to verify
13911
* @returns `null` if valid, otherwise the reason why it is not
13912
*/
13913
public static verify(message: { [k: string]: any }): (string|null);
13914
13915
/**
13916
* Creates a ProductSnapshot message from a plain object. Also converts values to their respective internal types.
13917
* @param object Plain object
13918
* @returns ProductSnapshot
13919
*/
13920
public static fromObject(object: { [k: string]: any }): proto.ProductSnapshot;
13921
13922
/**
13923
* Creates a plain object from a ProductSnapshot message. Also converts values to other types if specified.
13924
* @param message ProductSnapshot
13925
* @param [options] Conversion options
13926
* @returns Plain object
13927
*/
13928
public static toObject(message: proto.ProductSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
13929
13930
/**
13931
* Converts this ProductSnapshot to JSON.
13932
* @returns JSON object
13933
*/
13934
public toJSON(): { [k: string]: any };
13935
}
13936
13937
/** Properties of a ProductMessage. */
13938
interface IProductMessage {
13939
13940
/** ProductMessage product */
13941
product?: (proto.IProductSnapshot|null);
13942
13943
/** ProductMessage businessOwnerJid */
13944
businessOwnerJid?: (string|null);
13945
13946
/** ProductMessage catalog */
13947
catalog?: (proto.ICatalogSnapshot|null);
13948
13949
/** ProductMessage body */
13950
body?: (string|null);
13951
13952
/** ProductMessage footer */
13953
footer?: (string|null);
13954
13955
/** ProductMessage contextInfo */
13956
contextInfo?: (proto.IContextInfo|null);
13957
}
13958
13959
/** Represents a ProductMessage. */
13960
class ProductMessage implements IProductMessage {
13961
13962
/**
13963
* Constructs a new ProductMessage.
13964
* @param [properties] Properties to set
13965
*/
13966
constructor(properties?: proto.IProductMessage);
13967
13968
/** ProductMessage product. */
13969
public product?: (proto.IProductSnapshot|null);
13970
13971
/** ProductMessage businessOwnerJid. */
13972
public businessOwnerJid: string;
13973
13974
/** ProductMessage catalog. */
13975
public catalog?: (proto.ICatalogSnapshot|null);
13976
13977
/** ProductMessage body. */
13978
public body: string;
13979
13980
/** ProductMessage footer. */
13981
public footer: string;
13982
13983
/** ProductMessage contextInfo. */
13984
public contextInfo?: (proto.IContextInfo|null);
13985
13986
/**
13987
* Creates a new ProductMessage instance using the specified properties.
13988
* @param [properties] Properties to set
13989
* @returns ProductMessage instance
13990
*/
13991
public static create(properties?: proto.IProductMessage): proto.ProductMessage;
13992
13993
/**
13994
* Encodes the specified ProductMessage message. Does not implicitly {@link proto.ProductMessage.verify|verify} messages.
13995
* @param message ProductMessage message or plain object to encode
13996
* @param [writer] Writer to encode to
13997
* @returns Writer
13998
*/
13999
public static encode(message: proto.IProductMessage, writer?: $protobuf.Writer): $protobuf.Writer;
14000
14001
/**
14002
* Encodes the specified ProductMessage message, length delimited. Does not implicitly {@link proto.ProductMessage.verify|verify} messages.
14003
* @param message ProductMessage message or plain object to encode
14004
* @param [writer] Writer to encode to
14005
* @returns Writer
14006
*/
14007
public static encodeDelimited(message: proto.IProductMessage, writer?: $protobuf.Writer): $protobuf.Writer;
14008
14009
/**
14010
* Decodes a ProductMessage message from the specified reader or buffer.
14011
* @param reader Reader or buffer to decode from
14012
* @param [length] Message length if known beforehand
14013
* @returns ProductMessage
14014
* @throws {Error} If the payload is not a reader or valid buffer
14015
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14016
*/
14017
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ProductMessage;
14018
14019
/**
14020
* Decodes a ProductMessage message from the specified reader or buffer, length delimited.
14021
* @param reader Reader or buffer to decode from
14022
* @returns ProductMessage
14023
* @throws {Error} If the payload is not a reader or valid buffer
14024
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14025
*/
14026
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ProductMessage;
14027
14028
/**
14029
* Verifies a ProductMessage message.
14030
* @param message Plain object to verify
14031
* @returns `null` if valid, otherwise the reason why it is not
14032
*/
14033
public static verify(message: { [k: string]: any }): (string|null);
14034
14035
/**
14036
* Creates a ProductMessage message from a plain object. Also converts values to their respective internal types.
14037
* @param object Plain object
14038
* @returns ProductMessage
14039
*/
14040
public static fromObject(object: { [k: string]: any }): proto.ProductMessage;
14041
14042
/**
14043
* Creates a plain object from a ProductMessage message. Also converts values to other types if specified.
14044
* @param message ProductMessage
14045
* @param [options] Conversion options
14046
* @returns Plain object
14047
*/
14048
public static toObject(message: proto.ProductMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
14049
14050
/**
14051
* Converts this ProductMessage to JSON.
14052
* @returns JSON object
14053
*/
14054
public toJSON(): { [k: string]: any };
14055
}
14056
14057
/** Properties of an OrderMessage. */
14058
interface IOrderMessage {
14059
14060
/** OrderMessage orderId */
14061
orderId?: (string|null);
14062
14063
/** OrderMessage thumbnail */
14064
thumbnail?: (Uint8Array|null);
14065
14066
/** OrderMessage itemCount */
14067
itemCount?: (number|null);
14068
14069
/** OrderMessage status */
14070
status?: (proto.OrderMessage.OrderMessageOrderStatus|null);
14071
14072
/** OrderMessage surface */
14073
surface?: (proto.OrderMessage.OrderMessageOrderSurface|null);
14074
14075
/** OrderMessage message */
14076
message?: (string|null);
14077
14078
/** OrderMessage orderTitle */
14079
orderTitle?: (string|null);
14080
14081
/** OrderMessage sellerJid */
14082
sellerJid?: (string|null);
14083
14084
/** OrderMessage token */
14085
token?: (string|null);
14086
14087
/** OrderMessage totalAmount1000 */
14088
totalAmount1000?: (number|Long|null);
14089
14090
/** OrderMessage totalCurrencyCode */
14091
totalCurrencyCode?: (string|null);
14092
14093
/** OrderMessage contextInfo */
14094
contextInfo?: (proto.IContextInfo|null);
14095
}
14096
14097
/** Represents an OrderMessage. */
14098
class OrderMessage implements IOrderMessage {
14099
14100
/**
14101
* Constructs a new OrderMessage.
14102
* @param [properties] Properties to set
14103
*/
14104
constructor(properties?: proto.IOrderMessage);
14105
14106
/** OrderMessage orderId. */
14107
public orderId: string;
14108
14109
/** OrderMessage thumbnail. */
14110
public thumbnail: Uint8Array;
14111
14112
/** OrderMessage itemCount. */
14113
public itemCount: number;
14114
14115
/** OrderMessage status. */
14116
public status: proto.OrderMessage.OrderMessageOrderStatus;
14117
14118
/** OrderMessage surface. */
14119
public surface: proto.OrderMessage.OrderMessageOrderSurface;
14120
14121
/** OrderMessage message. */
14122
public message: string;
14123
14124
/** OrderMessage orderTitle. */
14125
public orderTitle: string;
14126
14127
/** OrderMessage sellerJid. */
14128
public sellerJid: string;
14129
14130
/** OrderMessage token. */
14131
public token: string;
14132
14133
/** OrderMessage totalAmount1000. */
14134
public totalAmount1000: (number|Long);
14135
14136
/** OrderMessage totalCurrencyCode. */
14137
public totalCurrencyCode: string;
14138
14139
/** OrderMessage contextInfo. */
14140
public contextInfo?: (proto.IContextInfo|null);
14141
14142
/**
14143
* Creates a new OrderMessage instance using the specified properties.
14144
* @param [properties] Properties to set
14145
* @returns OrderMessage instance
14146
*/
14147
public static create(properties?: proto.IOrderMessage): proto.OrderMessage;
14148
14149
/**
14150
* Encodes the specified OrderMessage message. Does not implicitly {@link proto.OrderMessage.verify|verify} messages.
14151
* @param message OrderMessage message or plain object to encode
14152
* @param [writer] Writer to encode to
14153
* @returns Writer
14154
*/
14155
public static encode(message: proto.IOrderMessage, writer?: $protobuf.Writer): $protobuf.Writer;
14156
14157
/**
14158
* Encodes the specified OrderMessage message, length delimited. Does not implicitly {@link proto.OrderMessage.verify|verify} messages.
14159
* @param message OrderMessage message or plain object to encode
14160
* @param [writer] Writer to encode to
14161
* @returns Writer
14162
*/
14163
public static encodeDelimited(message: proto.IOrderMessage, writer?: $protobuf.Writer): $protobuf.Writer;
14164
14165
/**
14166
* Decodes an OrderMessage message from the specified reader or buffer.
14167
* @param reader Reader or buffer to decode from
14168
* @param [length] Message length if known beforehand
14169
* @returns OrderMessage
14170
* @throws {Error} If the payload is not a reader or valid buffer
14171
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14172
*/
14173
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.OrderMessage;
14174
14175
/**
14176
* Decodes an OrderMessage message from the specified reader or buffer, length delimited.
14177
* @param reader Reader or buffer to decode from
14178
* @returns OrderMessage
14179
* @throws {Error} If the payload is not a reader or valid buffer
14180
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14181
*/
14182
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.OrderMessage;
14183
14184
/**
14185
* Verifies an OrderMessage message.
14186
* @param message Plain object to verify
14187
* @returns `null` if valid, otherwise the reason why it is not
14188
*/
14189
public static verify(message: { [k: string]: any }): (string|null);
14190
14191
/**
14192
* Creates an OrderMessage message from a plain object. Also converts values to their respective internal types.
14193
* @param object Plain object
14194
* @returns OrderMessage
14195
*/
14196
public static fromObject(object: { [k: string]: any }): proto.OrderMessage;
14197
14198
/**
14199
* Creates a plain object from an OrderMessage message. Also converts values to other types if specified.
14200
* @param message OrderMessage
14201
* @param [options] Conversion options
14202
* @returns Plain object
14203
*/
14204
public static toObject(message: proto.OrderMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
14205
14206
/**
14207
* Converts this OrderMessage to JSON.
14208
* @returns JSON object
14209
*/
14210
public toJSON(): { [k: string]: any };
14211
}
14212
14213
namespace OrderMessage {
14214
14215
/** OrderMessageOrderStatus enum. */
14216
enum OrderMessageOrderStatus {
14217
INQUIRY = 1
14218
}
14219
14220
/** OrderMessageOrderSurface enum. */
14221
enum OrderMessageOrderSurface {
14222
CATALOG = 1
14223
}
14224
}
14225
14226
/** Properties of a Row. */
14227
interface IRow {
14228
14229
/** Row title */
14230
title?: (string|null);
14231
14232
/** Row description */
14233
description?: (string|null);
14234
14235
/** Row rowId */
14236
rowId?: (string|null);
14237
}
14238
14239
/** Represents a Row. */
14240
class Row implements IRow {
14241
14242
/**
14243
* Constructs a new Row.
14244
* @param [properties] Properties to set
14245
*/
14246
constructor(properties?: proto.IRow);
14247
14248
/** Row title. */
14249
public title: string;
14250
14251
/** Row description. */
14252
public description: string;
14253
14254
/** Row rowId. */
14255
public rowId: string;
14256
14257
/**
14258
* Creates a new Row instance using the specified properties.
14259
* @param [properties] Properties to set
14260
* @returns Row instance
14261
*/
14262
public static create(properties?: proto.IRow): proto.Row;
14263
14264
/**
14265
* Encodes the specified Row message. Does not implicitly {@link proto.Row.verify|verify} messages.
14266
* @param message Row message or plain object to encode
14267
* @param [writer] Writer to encode to
14268
* @returns Writer
14269
*/
14270
public static encode(message: proto.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
14271
14272
/**
14273
* Encodes the specified Row message, length delimited. Does not implicitly {@link proto.Row.verify|verify} messages.
14274
* @param message Row message or plain object to encode
14275
* @param [writer] Writer to encode to
14276
* @returns Writer
14277
*/
14278
public static encodeDelimited(message: proto.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
14279
14280
/**
14281
* Decodes a Row message from the specified reader or buffer.
14282
* @param reader Reader or buffer to decode from
14283
* @param [length] Message length if known beforehand
14284
* @returns Row
14285
* @throws {Error} If the payload is not a reader or valid buffer
14286
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14287
*/
14288
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Row;
14289
14290
/**
14291
* Decodes a Row message from the specified reader or buffer, length delimited.
14292
* @param reader Reader or buffer to decode from
14293
* @returns Row
14294
* @throws {Error} If the payload is not a reader or valid buffer
14295
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14296
*/
14297
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Row;
14298
14299
/**
14300
* Verifies a Row message.
14301
* @param message Plain object to verify
14302
* @returns `null` if valid, otherwise the reason why it is not
14303
*/
14304
public static verify(message: { [k: string]: any }): (string|null);
14305
14306
/**
14307
* Creates a Row message from a plain object. Also converts values to their respective internal types.
14308
* @param object Plain object
14309
* @returns Row
14310
*/
14311
public static fromObject(object: { [k: string]: any }): proto.Row;
14312
14313
/**
14314
* Creates a plain object from a Row message. Also converts values to other types if specified.
14315
* @param message Row
14316
* @param [options] Conversion options
14317
* @returns Plain object
14318
*/
14319
public static toObject(message: proto.Row, options?: $protobuf.IConversionOptions): { [k: string]: any };
14320
14321
/**
14322
* Converts this Row to JSON.
14323
* @returns JSON object
14324
*/
14325
public toJSON(): { [k: string]: any };
14326
}
14327
14328
/** Properties of a Section. */
14329
interface ISection {
14330
14331
/** Section title */
14332
title?: (string|null);
14333
14334
/** Section rows */
14335
rows?: (proto.IRow[]|null);
14336
}
14337
14338
/** Represents a Section. */
14339
class Section implements ISection {
14340
14341
/**
14342
* Constructs a new Section.
14343
* @param [properties] Properties to set
14344
*/
14345
constructor(properties?: proto.ISection);
14346
14347
/** Section title. */
14348
public title: string;
14349
14350
/** Section rows. */
14351
public rows: proto.IRow[];
14352
14353
/**
14354
* Creates a new Section instance using the specified properties.
14355
* @param [properties] Properties to set
14356
* @returns Section instance
14357
*/
14358
public static create(properties?: proto.ISection): proto.Section;
14359
14360
/**
14361
* Encodes the specified Section message. Does not implicitly {@link proto.Section.verify|verify} messages.
14362
* @param message Section message or plain object to encode
14363
* @param [writer] Writer to encode to
14364
* @returns Writer
14365
*/
14366
public static encode(message: proto.ISection, writer?: $protobuf.Writer): $protobuf.Writer;
14367
14368
/**
14369
* Encodes the specified Section message, length delimited. Does not implicitly {@link proto.Section.verify|verify} messages.
14370
* @param message Section message or plain object to encode
14371
* @param [writer] Writer to encode to
14372
* @returns Writer
14373
*/
14374
public static encodeDelimited(message: proto.ISection, writer?: $protobuf.Writer): $protobuf.Writer;
14375
14376
/**
14377
* Decodes a Section message from the specified reader or buffer.
14378
* @param reader Reader or buffer to decode from
14379
* @param [length] Message length if known beforehand
14380
* @returns Section
14381
* @throws {Error} If the payload is not a reader or valid buffer
14382
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14383
*/
14384
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Section;
14385
14386
/**
14387
* Decodes a Section message from the specified reader or buffer, length delimited.
14388
* @param reader Reader or buffer to decode from
14389
* @returns Section
14390
* @throws {Error} If the payload is not a reader or valid buffer
14391
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14392
*/
14393
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Section;
14394
14395
/**
14396
* Verifies a Section message.
14397
* @param message Plain object to verify
14398
* @returns `null` if valid, otherwise the reason why it is not
14399
*/
14400
public static verify(message: { [k: string]: any }): (string|null);
14401
14402
/**
14403
* Creates a Section message from a plain object. Also converts values to their respective internal types.
14404
* @param object Plain object
14405
* @returns Section
14406
*/
14407
public static fromObject(object: { [k: string]: any }): proto.Section;
14408
14409
/**
14410
* Creates a plain object from a Section message. Also converts values to other types if specified.
14411
* @param message Section
14412
* @param [options] Conversion options
14413
* @returns Plain object
14414
*/
14415
public static toObject(message: proto.Section, options?: $protobuf.IConversionOptions): { [k: string]: any };
14416
14417
/**
14418
* Converts this Section to JSON.
14419
* @returns JSON object
14420
*/
14421
public toJSON(): { [k: string]: any };
14422
}
14423
14424
/** Properties of a Product. */
14425
interface IProduct {
14426
14427
/** Product productId */
14428
productId?: (string|null);
14429
}
14430
14431
/** Represents a Product. */
14432
class Product implements IProduct {
14433
14434
/**
14435
* Constructs a new Product.
14436
* @param [properties] Properties to set
14437
*/
14438
constructor(properties?: proto.IProduct);
14439
14440
/** Product productId. */
14441
public productId: string;
14442
14443
/**
14444
* Creates a new Product instance using the specified properties.
14445
* @param [properties] Properties to set
14446
* @returns Product instance
14447
*/
14448
public static create(properties?: proto.IProduct): proto.Product;
14449
14450
/**
14451
* Encodes the specified Product message. Does not implicitly {@link proto.Product.verify|verify} messages.
14452
* @param message Product message or plain object to encode
14453
* @param [writer] Writer to encode to
14454
* @returns Writer
14455
*/
14456
public static encode(message: proto.IProduct, writer?: $protobuf.Writer): $protobuf.Writer;
14457
14458
/**
14459
* Encodes the specified Product message, length delimited. Does not implicitly {@link proto.Product.verify|verify} messages.
14460
* @param message Product message or plain object to encode
14461
* @param [writer] Writer to encode to
14462
* @returns Writer
14463
*/
14464
public static encodeDelimited(message: proto.IProduct, writer?: $protobuf.Writer): $protobuf.Writer;
14465
14466
/**
14467
* Decodes a Product message from the specified reader or buffer.
14468
* @param reader Reader or buffer to decode from
14469
* @param [length] Message length if known beforehand
14470
* @returns Product
14471
* @throws {Error} If the payload is not a reader or valid buffer
14472
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14473
*/
14474
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Product;
14475
14476
/**
14477
* Decodes a Product message from the specified reader or buffer, length delimited.
14478
* @param reader Reader or buffer to decode from
14479
* @returns Product
14480
* @throws {Error} If the payload is not a reader or valid buffer
14481
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14482
*/
14483
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Product;
14484
14485
/**
14486
* Verifies a Product message.
14487
* @param message Plain object to verify
14488
* @returns `null` if valid, otherwise the reason why it is not
14489
*/
14490
public static verify(message: { [k: string]: any }): (string|null);
14491
14492
/**
14493
* Creates a Product message from a plain object. Also converts values to their respective internal types.
14494
* @param object Plain object
14495
* @returns Product
14496
*/
14497
public static fromObject(object: { [k: string]: any }): proto.Product;
14498
14499
/**
14500
* Creates a plain object from a Product message. Also converts values to other types if specified.
14501
* @param message Product
14502
* @param [options] Conversion options
14503
* @returns Plain object
14504
*/
14505
public static toObject(message: proto.Product, options?: $protobuf.IConversionOptions): { [k: string]: any };
14506
14507
/**
14508
* Converts this Product to JSON.
14509
* @returns JSON object
14510
*/
14511
public toJSON(): { [k: string]: any };
14512
}
14513
14514
/** Properties of a ProductSection. */
14515
interface IProductSection {
14516
14517
/** ProductSection title */
14518
title?: (string|null);
14519
14520
/** ProductSection products */
14521
products?: (proto.IProduct[]|null);
14522
}
14523
14524
/** Represents a ProductSection. */
14525
class ProductSection implements IProductSection {
14526
14527
/**
14528
* Constructs a new ProductSection.
14529
* @param [properties] Properties to set
14530
*/
14531
constructor(properties?: proto.IProductSection);
14532
14533
/** ProductSection title. */
14534
public title: string;
14535
14536
/** ProductSection products. */
14537
public products: proto.IProduct[];
14538
14539
/**
14540
* Creates a new ProductSection instance using the specified properties.
14541
* @param [properties] Properties to set
14542
* @returns ProductSection instance
14543
*/
14544
public static create(properties?: proto.IProductSection): proto.ProductSection;
14545
14546
/**
14547
* Encodes the specified ProductSection message. Does not implicitly {@link proto.ProductSection.verify|verify} messages.
14548
* @param message ProductSection message or plain object to encode
14549
* @param [writer] Writer to encode to
14550
* @returns Writer
14551
*/
14552
public static encode(message: proto.IProductSection, writer?: $protobuf.Writer): $protobuf.Writer;
14553
14554
/**
14555
* Encodes the specified ProductSection message, length delimited. Does not implicitly {@link proto.ProductSection.verify|verify} messages.
14556
* @param message ProductSection message or plain object to encode
14557
* @param [writer] Writer to encode to
14558
* @returns Writer
14559
*/
14560
public static encodeDelimited(message: proto.IProductSection, writer?: $protobuf.Writer): $protobuf.Writer;
14561
14562
/**
14563
* Decodes a ProductSection message from the specified reader or buffer.
14564
* @param reader Reader or buffer to decode from
14565
* @param [length] Message length if known beforehand
14566
* @returns ProductSection
14567
* @throws {Error} If the payload is not a reader or valid buffer
14568
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14569
*/
14570
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ProductSection;
14571
14572
/**
14573
* Decodes a ProductSection message from the specified reader or buffer, length delimited.
14574
* @param reader Reader or buffer to decode from
14575
* @returns ProductSection
14576
* @throws {Error} If the payload is not a reader or valid buffer
14577
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14578
*/
14579
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ProductSection;
14580
14581
/**
14582
* Verifies a ProductSection message.
14583
* @param message Plain object to verify
14584
* @returns `null` if valid, otherwise the reason why it is not
14585
*/
14586
public static verify(message: { [k: string]: any }): (string|null);
14587
14588
/**
14589
* Creates a ProductSection message from a plain object. Also converts values to their respective internal types.
14590
* @param object Plain object
14591
* @returns ProductSection
14592
*/
14593
public static fromObject(object: { [k: string]: any }): proto.ProductSection;
14594
14595
/**
14596
* Creates a plain object from a ProductSection message. Also converts values to other types if specified.
14597
* @param message ProductSection
14598
* @param [options] Conversion options
14599
* @returns Plain object
14600
*/
14601
public static toObject(message: proto.ProductSection, options?: $protobuf.IConversionOptions): { [k: string]: any };
14602
14603
/**
14604
* Converts this ProductSection to JSON.
14605
* @returns JSON object
14606
*/
14607
public toJSON(): { [k: string]: any };
14608
}
14609
14610
/** Properties of a ProductListHeaderImage. */
14611
interface IProductListHeaderImage {
14612
14613
/** ProductListHeaderImage productId */
14614
productId?: (string|null);
14615
14616
/** ProductListHeaderImage jpegThumbnail */
14617
jpegThumbnail?: (Uint8Array|null);
14618
}
14619
14620
/** Represents a ProductListHeaderImage. */
14621
class ProductListHeaderImage implements IProductListHeaderImage {
14622
14623
/**
14624
* Constructs a new ProductListHeaderImage.
14625
* @param [properties] Properties to set
14626
*/
14627
constructor(properties?: proto.IProductListHeaderImage);
14628
14629
/** ProductListHeaderImage productId. */
14630
public productId: string;
14631
14632
/** ProductListHeaderImage jpegThumbnail. */
14633
public jpegThumbnail: Uint8Array;
14634
14635
/**
14636
* Creates a new ProductListHeaderImage instance using the specified properties.
14637
* @param [properties] Properties to set
14638
* @returns ProductListHeaderImage instance
14639
*/
14640
public static create(properties?: proto.IProductListHeaderImage): proto.ProductListHeaderImage;
14641
14642
/**
14643
* Encodes the specified ProductListHeaderImage message. Does not implicitly {@link proto.ProductListHeaderImage.verify|verify} messages.
14644
* @param message ProductListHeaderImage message or plain object to encode
14645
* @param [writer] Writer to encode to
14646
* @returns Writer
14647
*/
14648
public static encode(message: proto.IProductListHeaderImage, writer?: $protobuf.Writer): $protobuf.Writer;
14649
14650
/**
14651
* Encodes the specified ProductListHeaderImage message, length delimited. Does not implicitly {@link proto.ProductListHeaderImage.verify|verify} messages.
14652
* @param message ProductListHeaderImage message or plain object to encode
14653
* @param [writer] Writer to encode to
14654
* @returns Writer
14655
*/
14656
public static encodeDelimited(message: proto.IProductListHeaderImage, writer?: $protobuf.Writer): $protobuf.Writer;
14657
14658
/**
14659
* Decodes a ProductListHeaderImage message from the specified reader or buffer.
14660
* @param reader Reader or buffer to decode from
14661
* @param [length] Message length if known beforehand
14662
* @returns ProductListHeaderImage
14663
* @throws {Error} If the payload is not a reader or valid buffer
14664
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14665
*/
14666
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ProductListHeaderImage;
14667
14668
/**
14669
* Decodes a ProductListHeaderImage message from the specified reader or buffer, length delimited.
14670
* @param reader Reader or buffer to decode from
14671
* @returns ProductListHeaderImage
14672
* @throws {Error} If the payload is not a reader or valid buffer
14673
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14674
*/
14675
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ProductListHeaderImage;
14676
14677
/**
14678
* Verifies a ProductListHeaderImage message.
14679
* @param message Plain object to verify
14680
* @returns `null` if valid, otherwise the reason why it is not
14681
*/
14682
public static verify(message: { [k: string]: any }): (string|null);
14683
14684
/**
14685
* Creates a ProductListHeaderImage message from a plain object. Also converts values to their respective internal types.
14686
* @param object Plain object
14687
* @returns ProductListHeaderImage
14688
*/
14689
public static fromObject(object: { [k: string]: any }): proto.ProductListHeaderImage;
14690
14691
/**
14692
* Creates a plain object from a ProductListHeaderImage message. Also converts values to other types if specified.
14693
* @param message ProductListHeaderImage
14694
* @param [options] Conversion options
14695
* @returns Plain object
14696
*/
14697
public static toObject(message: proto.ProductListHeaderImage, options?: $protobuf.IConversionOptions): { [k: string]: any };
14698
14699
/**
14700
* Converts this ProductListHeaderImage to JSON.
14701
* @returns JSON object
14702
*/
14703
public toJSON(): { [k: string]: any };
14704
}
14705
14706
/** Properties of a ProductListInfo. */
14707
interface IProductListInfo {
14708
14709
/** ProductListInfo productSections */
14710
productSections?: (proto.IProductSection[]|null);
14711
14712
/** ProductListInfo headerImage */
14713
headerImage?: (proto.IProductListHeaderImage|null);
14714
14715
/** ProductListInfo businessOwnerJid */
14716
businessOwnerJid?: (string|null);
14717
}
14718
14719
/** Represents a ProductListInfo. */
14720
class ProductListInfo implements IProductListInfo {
14721
14722
/**
14723
* Constructs a new ProductListInfo.
14724
* @param [properties] Properties to set
14725
*/
14726
constructor(properties?: proto.IProductListInfo);
14727
14728
/** ProductListInfo productSections. */
14729
public productSections: proto.IProductSection[];
14730
14731
/** ProductListInfo headerImage. */
14732
public headerImage?: (proto.IProductListHeaderImage|null);
14733
14734
/** ProductListInfo businessOwnerJid. */
14735
public businessOwnerJid: string;
14736
14737
/**
14738
* Creates a new ProductListInfo instance using the specified properties.
14739
* @param [properties] Properties to set
14740
* @returns ProductListInfo instance
14741
*/
14742
public static create(properties?: proto.IProductListInfo): proto.ProductListInfo;
14743
14744
/**
14745
* Encodes the specified ProductListInfo message. Does not implicitly {@link proto.ProductListInfo.verify|verify} messages.
14746
* @param message ProductListInfo message or plain object to encode
14747
* @param [writer] Writer to encode to
14748
* @returns Writer
14749
*/
14750
public static encode(message: proto.IProductListInfo, writer?: $protobuf.Writer): $protobuf.Writer;
14751
14752
/**
14753
* Encodes the specified ProductListInfo message, length delimited. Does not implicitly {@link proto.ProductListInfo.verify|verify} messages.
14754
* @param message ProductListInfo message or plain object to encode
14755
* @param [writer] Writer to encode to
14756
* @returns Writer
14757
*/
14758
public static encodeDelimited(message: proto.IProductListInfo, writer?: $protobuf.Writer): $protobuf.Writer;
14759
14760
/**
14761
* Decodes a ProductListInfo message from the specified reader or buffer.
14762
* @param reader Reader or buffer to decode from
14763
* @param [length] Message length if known beforehand
14764
* @returns ProductListInfo
14765
* @throws {Error} If the payload is not a reader or valid buffer
14766
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14767
*/
14768
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ProductListInfo;
14769
14770
/**
14771
* Decodes a ProductListInfo message from the specified reader or buffer, length delimited.
14772
* @param reader Reader or buffer to decode from
14773
* @returns ProductListInfo
14774
* @throws {Error} If the payload is not a reader or valid buffer
14775
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14776
*/
14777
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ProductListInfo;
14778
14779
/**
14780
* Verifies a ProductListInfo message.
14781
* @param message Plain object to verify
14782
* @returns `null` if valid, otherwise the reason why it is not
14783
*/
14784
public static verify(message: { [k: string]: any }): (string|null);
14785
14786
/**
14787
* Creates a ProductListInfo message from a plain object. Also converts values to their respective internal types.
14788
* @param object Plain object
14789
* @returns ProductListInfo
14790
*/
14791
public static fromObject(object: { [k: string]: any }): proto.ProductListInfo;
14792
14793
/**
14794
* Creates a plain object from a ProductListInfo message. Also converts values to other types if specified.
14795
* @param message ProductListInfo
14796
* @param [options] Conversion options
14797
* @returns Plain object
14798
*/
14799
public static toObject(message: proto.ProductListInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
14800
14801
/**
14802
* Converts this ProductListInfo to JSON.
14803
* @returns JSON object
14804
*/
14805
public toJSON(): { [k: string]: any };
14806
}
14807
14808
/** Properties of a ListMessage. */
14809
interface IListMessage {
14810
14811
/** ListMessage title */
14812
title?: (string|null);
14813
14814
/** ListMessage description */
14815
description?: (string|null);
14816
14817
/** ListMessage buttonText */
14818
buttonText?: (string|null);
14819
14820
/** ListMessage listType */
14821
listType?: (proto.ListMessage.ListMessageListType|null);
14822
14823
/** ListMessage sections */
14824
sections?: (proto.ISection[]|null);
14825
14826
/** ListMessage productListInfo */
14827
productListInfo?: (proto.IProductListInfo|null);
14828
14829
/** ListMessage footerText */
14830
footerText?: (string|null);
14831
14832
/** ListMessage contextInfo */
14833
contextInfo?: (proto.IContextInfo|null);
14834
}
14835
14836
/** Represents a ListMessage. */
14837
class ListMessage implements IListMessage {
14838
14839
/**
14840
* Constructs a new ListMessage.
14841
* @param [properties] Properties to set
14842
*/
14843
constructor(properties?: proto.IListMessage);
14844
14845
/** ListMessage title. */
14846
public title: string;
14847
14848
/** ListMessage description. */
14849
public description: string;
14850
14851
/** ListMessage buttonText. */
14852
public buttonText: string;
14853
14854
/** ListMessage listType. */
14855
public listType: proto.ListMessage.ListMessageListType;
14856
14857
/** ListMessage sections. */
14858
public sections: proto.ISection[];
14859
14860
/** ListMessage productListInfo. */
14861
public productListInfo?: (proto.IProductListInfo|null);
14862
14863
/** ListMessage footerText. */
14864
public footerText: string;
14865
14866
/** ListMessage contextInfo. */
14867
public contextInfo?: (proto.IContextInfo|null);
14868
14869
/**
14870
* Creates a new ListMessage instance using the specified properties.
14871
* @param [properties] Properties to set
14872
* @returns ListMessage instance
14873
*/
14874
public static create(properties?: proto.IListMessage): proto.ListMessage;
14875
14876
/**
14877
* Encodes the specified ListMessage message. Does not implicitly {@link proto.ListMessage.verify|verify} messages.
14878
* @param message ListMessage message or plain object to encode
14879
* @param [writer] Writer to encode to
14880
* @returns Writer
14881
*/
14882
public static encode(message: proto.IListMessage, writer?: $protobuf.Writer): $protobuf.Writer;
14883
14884
/**
14885
* Encodes the specified ListMessage message, length delimited. Does not implicitly {@link proto.ListMessage.verify|verify} messages.
14886
* @param message ListMessage message or plain object to encode
14887
* @param [writer] Writer to encode to
14888
* @returns Writer
14889
*/
14890
public static encodeDelimited(message: proto.IListMessage, writer?: $protobuf.Writer): $protobuf.Writer;
14891
14892
/**
14893
* Decodes a ListMessage message from the specified reader or buffer.
14894
* @param reader Reader or buffer to decode from
14895
* @param [length] Message length if known beforehand
14896
* @returns ListMessage
14897
* @throws {Error} If the payload is not a reader or valid buffer
14898
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14899
*/
14900
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ListMessage;
14901
14902
/**
14903
* Decodes a ListMessage message from the specified reader or buffer, length delimited.
14904
* @param reader Reader or buffer to decode from
14905
* @returns ListMessage
14906
* @throws {Error} If the payload is not a reader or valid buffer
14907
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14908
*/
14909
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ListMessage;
14910
14911
/**
14912
* Verifies a ListMessage message.
14913
* @param message Plain object to verify
14914
* @returns `null` if valid, otherwise the reason why it is not
14915
*/
14916
public static verify(message: { [k: string]: any }): (string|null);
14917
14918
/**
14919
* Creates a ListMessage message from a plain object. Also converts values to their respective internal types.
14920
* @param object Plain object
14921
* @returns ListMessage
14922
*/
14923
public static fromObject(object: { [k: string]: any }): proto.ListMessage;
14924
14925
/**
14926
* Creates a plain object from a ListMessage message. Also converts values to other types if specified.
14927
* @param message ListMessage
14928
* @param [options] Conversion options
14929
* @returns Plain object
14930
*/
14931
public static toObject(message: proto.ListMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
14932
14933
/**
14934
* Converts this ListMessage to JSON.
14935
* @returns JSON object
14936
*/
14937
public toJSON(): { [k: string]: any };
14938
}
14939
14940
namespace ListMessage {
14941
14942
/** ListMessageListType enum. */
14943
enum ListMessageListType {
14944
UNKNOWN = 0,
14945
SINGLE_SELECT = 1,
14946
PRODUCT_LIST = 2
14947
}
14948
}
14949
14950
/** Properties of a SingleSelectReply. */
14951
interface ISingleSelectReply {
14952
14953
/** SingleSelectReply selectedRowId */
14954
selectedRowId?: (string|null);
14955
}
14956
14957
/** Represents a SingleSelectReply. */
14958
class SingleSelectReply implements ISingleSelectReply {
14959
14960
/**
14961
* Constructs a new SingleSelectReply.
14962
* @param [properties] Properties to set
14963
*/
14964
constructor(properties?: proto.ISingleSelectReply);
14965
14966
/** SingleSelectReply selectedRowId. */
14967
public selectedRowId: string;
14968
14969
/**
14970
* Creates a new SingleSelectReply instance using the specified properties.
14971
* @param [properties] Properties to set
14972
* @returns SingleSelectReply instance
14973
*/
14974
public static create(properties?: proto.ISingleSelectReply): proto.SingleSelectReply;
14975
14976
/**
14977
* Encodes the specified SingleSelectReply message. Does not implicitly {@link proto.SingleSelectReply.verify|verify} messages.
14978
* @param message SingleSelectReply message or plain object to encode
14979
* @param [writer] Writer to encode to
14980
* @returns Writer
14981
*/
14982
public static encode(message: proto.ISingleSelectReply, writer?: $protobuf.Writer): $protobuf.Writer;
14983
14984
/**
14985
* Encodes the specified SingleSelectReply message, length delimited. Does not implicitly {@link proto.SingleSelectReply.verify|verify} messages.
14986
* @param message SingleSelectReply message or plain object to encode
14987
* @param [writer] Writer to encode to
14988
* @returns Writer
14989
*/
14990
public static encodeDelimited(message: proto.ISingleSelectReply, writer?: $protobuf.Writer): $protobuf.Writer;
14991
14992
/**
14993
* Decodes a SingleSelectReply message from the specified reader or buffer.
14994
* @param reader Reader or buffer to decode from
14995
* @param [length] Message length if known beforehand
14996
* @returns SingleSelectReply
14997
* @throws {Error} If the payload is not a reader or valid buffer
14998
* @throws {$protobuf.util.ProtocolError} If required fields are missing
14999
*/
15000
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SingleSelectReply;
15001
15002
/**
15003
* Decodes a SingleSelectReply message from the specified reader or buffer, length delimited.
15004
* @param reader Reader or buffer to decode from
15005
* @returns SingleSelectReply
15006
* @throws {Error} If the payload is not a reader or valid buffer
15007
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15008
*/
15009
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SingleSelectReply;
15010
15011
/**
15012
* Verifies a SingleSelectReply message.
15013
* @param message Plain object to verify
15014
* @returns `null` if valid, otherwise the reason why it is not
15015
*/
15016
public static verify(message: { [k: string]: any }): (string|null);
15017
15018
/**
15019
* Creates a SingleSelectReply message from a plain object. Also converts values to their respective internal types.
15020
* @param object Plain object
15021
* @returns SingleSelectReply
15022
*/
15023
public static fromObject(object: { [k: string]: any }): proto.SingleSelectReply;
15024
15025
/**
15026
* Creates a plain object from a SingleSelectReply message. Also converts values to other types if specified.
15027
* @param message SingleSelectReply
15028
* @param [options] Conversion options
15029
* @returns Plain object
15030
*/
15031
public static toObject(message: proto.SingleSelectReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
15032
15033
/**
15034
* Converts this SingleSelectReply to JSON.
15035
* @returns JSON object
15036
*/
15037
public toJSON(): { [k: string]: any };
15038
}
15039
15040
/** Properties of a ListResponseMessage. */
15041
interface IListResponseMessage {
15042
15043
/** ListResponseMessage title */
15044
title?: (string|null);
15045
15046
/** ListResponseMessage listType */
15047
listType?: (proto.ListResponseMessage.ListResponseMessageListType|null);
15048
15049
/** ListResponseMessage singleSelectReply */
15050
singleSelectReply?: (proto.ISingleSelectReply|null);
15051
15052
/** ListResponseMessage contextInfo */
15053
contextInfo?: (proto.IContextInfo|null);
15054
15055
/** ListResponseMessage description */
15056
description?: (string|null);
15057
}
15058
15059
/** Represents a ListResponseMessage. */
15060
class ListResponseMessage implements IListResponseMessage {
15061
15062
/**
15063
* Constructs a new ListResponseMessage.
15064
* @param [properties] Properties to set
15065
*/
15066
constructor(properties?: proto.IListResponseMessage);
15067
15068
/** ListResponseMessage title. */
15069
public title: string;
15070
15071
/** ListResponseMessage listType. */
15072
public listType: proto.ListResponseMessage.ListResponseMessageListType;
15073
15074
/** ListResponseMessage singleSelectReply. */
15075
public singleSelectReply?: (proto.ISingleSelectReply|null);
15076
15077
/** ListResponseMessage contextInfo. */
15078
public contextInfo?: (proto.IContextInfo|null);
15079
15080
/** ListResponseMessage description. */
15081
public description: string;
15082
15083
/**
15084
* Creates a new ListResponseMessage instance using the specified properties.
15085
* @param [properties] Properties to set
15086
* @returns ListResponseMessage instance
15087
*/
15088
public static create(properties?: proto.IListResponseMessage): proto.ListResponseMessage;
15089
15090
/**
15091
* Encodes the specified ListResponseMessage message. Does not implicitly {@link proto.ListResponseMessage.verify|verify} messages.
15092
* @param message ListResponseMessage message or plain object to encode
15093
* @param [writer] Writer to encode to
15094
* @returns Writer
15095
*/
15096
public static encode(message: proto.IListResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15097
15098
/**
15099
* Encodes the specified ListResponseMessage message, length delimited. Does not implicitly {@link proto.ListResponseMessage.verify|verify} messages.
15100
* @param message ListResponseMessage message or plain object to encode
15101
* @param [writer] Writer to encode to
15102
* @returns Writer
15103
*/
15104
public static encodeDelimited(message: proto.IListResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15105
15106
/**
15107
* Decodes a ListResponseMessage message from the specified reader or buffer.
15108
* @param reader Reader or buffer to decode from
15109
* @param [length] Message length if known beforehand
15110
* @returns ListResponseMessage
15111
* @throws {Error} If the payload is not a reader or valid buffer
15112
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15113
*/
15114
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ListResponseMessage;
15115
15116
/**
15117
* Decodes a ListResponseMessage message from the specified reader or buffer, length delimited.
15118
* @param reader Reader or buffer to decode from
15119
* @returns ListResponseMessage
15120
* @throws {Error} If the payload is not a reader or valid buffer
15121
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15122
*/
15123
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ListResponseMessage;
15124
15125
/**
15126
* Verifies a ListResponseMessage message.
15127
* @param message Plain object to verify
15128
* @returns `null` if valid, otherwise the reason why it is not
15129
*/
15130
public static verify(message: { [k: string]: any }): (string|null);
15131
15132
/**
15133
* Creates a ListResponseMessage message from a plain object. Also converts values to their respective internal types.
15134
* @param object Plain object
15135
* @returns ListResponseMessage
15136
*/
15137
public static fromObject(object: { [k: string]: any }): proto.ListResponseMessage;
15138
15139
/**
15140
* Creates a plain object from a ListResponseMessage message. Also converts values to other types if specified.
15141
* @param message ListResponseMessage
15142
* @param [options] Conversion options
15143
* @returns Plain object
15144
*/
15145
public static toObject(message: proto.ListResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
15146
15147
/**
15148
* Converts this ListResponseMessage to JSON.
15149
* @returns JSON object
15150
*/
15151
public toJSON(): { [k: string]: any };
15152
}
15153
15154
namespace ListResponseMessage {
15155
15156
/** ListResponseMessageListType enum. */
15157
enum ListResponseMessageListType {
15158
UNKNOWN = 0,
15159
SINGLE_SELECT = 1
15160
}
15161
}
15162
15163
/** Properties of a Header. */
15164
interface IHeader {
15165
15166
/** Header title */
15167
title?: (string|null);
15168
15169
/** Header subtitle */
15170
subtitle?: (string|null);
15171
15172
/** Header hasMediaAttachment */
15173
hasMediaAttachment?: (boolean|null);
15174
15175
/** Header documentMessage */
15176
documentMessage?: (proto.IDocumentMessage|null);
15177
15178
/** Header imageMessage */
15179
imageMessage?: (proto.IImageMessage|null);
15180
15181
/** Header jpegThumbnail */
15182
jpegThumbnail?: (Uint8Array|null);
15183
15184
/** Header videoMessage */
15185
videoMessage?: (proto.IVideoMessage|null);
15186
}
15187
15188
/** Represents a Header. */
15189
class Header implements IHeader {
15190
15191
/**
15192
* Constructs a new Header.
15193
* @param [properties] Properties to set
15194
*/
15195
constructor(properties?: proto.IHeader);
15196
15197
/** Header title. */
15198
public title: string;
15199
15200
/** Header subtitle. */
15201
public subtitle: string;
15202
15203
/** Header hasMediaAttachment. */
15204
public hasMediaAttachment: boolean;
15205
15206
/** Header documentMessage. */
15207
public documentMessage?: (proto.IDocumentMessage|null);
15208
15209
/** Header imageMessage. */
15210
public imageMessage?: (proto.IImageMessage|null);
15211
15212
/** Header jpegThumbnail. */
15213
public jpegThumbnail?: (Uint8Array|null);
15214
15215
/** Header videoMessage. */
15216
public videoMessage?: (proto.IVideoMessage|null);
15217
15218
/** Header media. */
15219
public media?: ("documentMessage"|"imageMessage"|"jpegThumbnail"|"videoMessage");
15220
15221
/**
15222
* Creates a new Header instance using the specified properties.
15223
* @param [properties] Properties to set
15224
* @returns Header instance
15225
*/
15226
public static create(properties?: proto.IHeader): proto.Header;
15227
15228
/**
15229
* Encodes the specified Header message. Does not implicitly {@link proto.Header.verify|verify} messages.
15230
* @param message Header message or plain object to encode
15231
* @param [writer] Writer to encode to
15232
* @returns Writer
15233
*/
15234
public static encode(message: proto.IHeader, writer?: $protobuf.Writer): $protobuf.Writer;
15235
15236
/**
15237
* Encodes the specified Header message, length delimited. Does not implicitly {@link proto.Header.verify|verify} messages.
15238
* @param message Header message or plain object to encode
15239
* @param [writer] Writer to encode to
15240
* @returns Writer
15241
*/
15242
public static encodeDelimited(message: proto.IHeader, writer?: $protobuf.Writer): $protobuf.Writer;
15243
15244
/**
15245
* Decodes a Header message from the specified reader or buffer.
15246
* @param reader Reader or buffer to decode from
15247
* @param [length] Message length if known beforehand
15248
* @returns Header
15249
* @throws {Error} If the payload is not a reader or valid buffer
15250
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15251
*/
15252
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Header;
15253
15254
/**
15255
* Decodes a Header message from the specified reader or buffer, length delimited.
15256
* @param reader Reader or buffer to decode from
15257
* @returns Header
15258
* @throws {Error} If the payload is not a reader or valid buffer
15259
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15260
*/
15261
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Header;
15262
15263
/**
15264
* Verifies a Header message.
15265
* @param message Plain object to verify
15266
* @returns `null` if valid, otherwise the reason why it is not
15267
*/
15268
public static verify(message: { [k: string]: any }): (string|null);
15269
15270
/**
15271
* Creates a Header message from a plain object. Also converts values to their respective internal types.
15272
* @param object Plain object
15273
* @returns Header
15274
*/
15275
public static fromObject(object: { [k: string]: any }): proto.Header;
15276
15277
/**
15278
* Creates a plain object from a Header message. Also converts values to other types if specified.
15279
* @param message Header
15280
* @param [options] Conversion options
15281
* @returns Plain object
15282
*/
15283
public static toObject(message: proto.Header, options?: $protobuf.IConversionOptions): { [k: string]: any };
15284
15285
/**
15286
* Converts this Header to JSON.
15287
* @returns JSON object
15288
*/
15289
public toJSON(): { [k: string]: any };
15290
}
15291
15292
/** Properties of a Body. */
15293
interface IBody {
15294
15295
/** Body text */
15296
text?: (string|null);
15297
}
15298
15299
/** Represents a Body. */
15300
class Body implements IBody {
15301
15302
/**
15303
* Constructs a new Body.
15304
* @param [properties] Properties to set
15305
*/
15306
constructor(properties?: proto.IBody);
15307
15308
/** Body text. */
15309
public text: string;
15310
15311
/**
15312
* Creates a new Body instance using the specified properties.
15313
* @param [properties] Properties to set
15314
* @returns Body instance
15315
*/
15316
public static create(properties?: proto.IBody): proto.Body;
15317
15318
/**
15319
* Encodes the specified Body message. Does not implicitly {@link proto.Body.verify|verify} messages.
15320
* @param message Body message or plain object to encode
15321
* @param [writer] Writer to encode to
15322
* @returns Writer
15323
*/
15324
public static encode(message: proto.IBody, writer?: $protobuf.Writer): $protobuf.Writer;
15325
15326
/**
15327
* Encodes the specified Body message, length delimited. Does not implicitly {@link proto.Body.verify|verify} messages.
15328
* @param message Body message or plain object to encode
15329
* @param [writer] Writer to encode to
15330
* @returns Writer
15331
*/
15332
public static encodeDelimited(message: proto.IBody, writer?: $protobuf.Writer): $protobuf.Writer;
15333
15334
/**
15335
* Decodes a Body message from the specified reader or buffer.
15336
* @param reader Reader or buffer to decode from
15337
* @param [length] Message length if known beforehand
15338
* @returns Body
15339
* @throws {Error} If the payload is not a reader or valid buffer
15340
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15341
*/
15342
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Body;
15343
15344
/**
15345
* Decodes a Body message from the specified reader or buffer, length delimited.
15346
* @param reader Reader or buffer to decode from
15347
* @returns Body
15348
* @throws {Error} If the payload is not a reader or valid buffer
15349
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15350
*/
15351
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Body;
15352
15353
/**
15354
* Verifies a Body message.
15355
* @param message Plain object to verify
15356
* @returns `null` if valid, otherwise the reason why it is not
15357
*/
15358
public static verify(message: { [k: string]: any }): (string|null);
15359
15360
/**
15361
* Creates a Body message from a plain object. Also converts values to their respective internal types.
15362
* @param object Plain object
15363
* @returns Body
15364
*/
15365
public static fromObject(object: { [k: string]: any }): proto.Body;
15366
15367
/**
15368
* Creates a plain object from a Body message. Also converts values to other types if specified.
15369
* @param message Body
15370
* @param [options] Conversion options
15371
* @returns Plain object
15372
*/
15373
public static toObject(message: proto.Body, options?: $protobuf.IConversionOptions): { [k: string]: any };
15374
15375
/**
15376
* Converts this Body to JSON.
15377
* @returns JSON object
15378
*/
15379
public toJSON(): { [k: string]: any };
15380
}
15381
15382
/** Properties of a Footer. */
15383
interface IFooter {
15384
15385
/** Footer text */
15386
text?: (string|null);
15387
}
15388
15389
/** Represents a Footer. */
15390
class Footer implements IFooter {
15391
15392
/**
15393
* Constructs a new Footer.
15394
* @param [properties] Properties to set
15395
*/
15396
constructor(properties?: proto.IFooter);
15397
15398
/** Footer text. */
15399
public text: string;
15400
15401
/**
15402
* Creates a new Footer instance using the specified properties.
15403
* @param [properties] Properties to set
15404
* @returns Footer instance
15405
*/
15406
public static create(properties?: proto.IFooter): proto.Footer;
15407
15408
/**
15409
* Encodes the specified Footer message. Does not implicitly {@link proto.Footer.verify|verify} messages.
15410
* @param message Footer message or plain object to encode
15411
* @param [writer] Writer to encode to
15412
* @returns Writer
15413
*/
15414
public static encode(message: proto.IFooter, writer?: $protobuf.Writer): $protobuf.Writer;
15415
15416
/**
15417
* Encodes the specified Footer message, length delimited. Does not implicitly {@link proto.Footer.verify|verify} messages.
15418
* @param message Footer message or plain object to encode
15419
* @param [writer] Writer to encode to
15420
* @returns Writer
15421
*/
15422
public static encodeDelimited(message: proto.IFooter, writer?: $protobuf.Writer): $protobuf.Writer;
15423
15424
/**
15425
* Decodes a Footer message from the specified reader or buffer.
15426
* @param reader Reader or buffer to decode from
15427
* @param [length] Message length if known beforehand
15428
* @returns Footer
15429
* @throws {Error} If the payload is not a reader or valid buffer
15430
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15431
*/
15432
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Footer;
15433
15434
/**
15435
* Decodes a Footer message from the specified reader or buffer, length delimited.
15436
* @param reader Reader or buffer to decode from
15437
* @returns Footer
15438
* @throws {Error} If the payload is not a reader or valid buffer
15439
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15440
*/
15441
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Footer;
15442
15443
/**
15444
* Verifies a Footer message.
15445
* @param message Plain object to verify
15446
* @returns `null` if valid, otherwise the reason why it is not
15447
*/
15448
public static verify(message: { [k: string]: any }): (string|null);
15449
15450
/**
15451
* Creates a Footer message from a plain object. Also converts values to their respective internal types.
15452
* @param object Plain object
15453
* @returns Footer
15454
*/
15455
public static fromObject(object: { [k: string]: any }): proto.Footer;
15456
15457
/**
15458
* Creates a plain object from a Footer message. Also converts values to other types if specified.
15459
* @param message Footer
15460
* @param [options] Conversion options
15461
* @returns Plain object
15462
*/
15463
public static toObject(message: proto.Footer, options?: $protobuf.IConversionOptions): { [k: string]: any };
15464
15465
/**
15466
* Converts this Footer to JSON.
15467
* @returns JSON object
15468
*/
15469
public toJSON(): { [k: string]: any };
15470
}
15471
15472
/** Properties of a ShopMessage. */
15473
interface IShopMessage {
15474
15475
/** ShopMessage id */
15476
id?: (string|null);
15477
15478
/** ShopMessage surface */
15479
surface?: (proto.ShopMessage.ShopMessageSurface|null);
15480
15481
/** ShopMessage messageVersion */
15482
messageVersion?: (number|null);
15483
}
15484
15485
/** Represents a ShopMessage. */
15486
class ShopMessage implements IShopMessage {
15487
15488
/**
15489
* Constructs a new ShopMessage.
15490
* @param [properties] Properties to set
15491
*/
15492
constructor(properties?: proto.IShopMessage);
15493
15494
/** ShopMessage id. */
15495
public id: string;
15496
15497
/** ShopMessage surface. */
15498
public surface: proto.ShopMessage.ShopMessageSurface;
15499
15500
/** ShopMessage messageVersion. */
15501
public messageVersion: number;
15502
15503
/**
15504
* Creates a new ShopMessage instance using the specified properties.
15505
* @param [properties] Properties to set
15506
* @returns ShopMessage instance
15507
*/
15508
public static create(properties?: proto.IShopMessage): proto.ShopMessage;
15509
15510
/**
15511
* Encodes the specified ShopMessage message. Does not implicitly {@link proto.ShopMessage.verify|verify} messages.
15512
* @param message ShopMessage message or plain object to encode
15513
* @param [writer] Writer to encode to
15514
* @returns Writer
15515
*/
15516
public static encode(message: proto.IShopMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15517
15518
/**
15519
* Encodes the specified ShopMessage message, length delimited. Does not implicitly {@link proto.ShopMessage.verify|verify} messages.
15520
* @param message ShopMessage message or plain object to encode
15521
* @param [writer] Writer to encode to
15522
* @returns Writer
15523
*/
15524
public static encodeDelimited(message: proto.IShopMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15525
15526
/**
15527
* Decodes a ShopMessage message from the specified reader or buffer.
15528
* @param reader Reader or buffer to decode from
15529
* @param [length] Message length if known beforehand
15530
* @returns ShopMessage
15531
* @throws {Error} If the payload is not a reader or valid buffer
15532
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15533
*/
15534
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ShopMessage;
15535
15536
/**
15537
* Decodes a ShopMessage message from the specified reader or buffer, length delimited.
15538
* @param reader Reader or buffer to decode from
15539
* @returns ShopMessage
15540
* @throws {Error} If the payload is not a reader or valid buffer
15541
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15542
*/
15543
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ShopMessage;
15544
15545
/**
15546
* Verifies a ShopMessage message.
15547
* @param message Plain object to verify
15548
* @returns `null` if valid, otherwise the reason why it is not
15549
*/
15550
public static verify(message: { [k: string]: any }): (string|null);
15551
15552
/**
15553
* Creates a ShopMessage message from a plain object. Also converts values to their respective internal types.
15554
* @param object Plain object
15555
* @returns ShopMessage
15556
*/
15557
public static fromObject(object: { [k: string]: any }): proto.ShopMessage;
15558
15559
/**
15560
* Creates a plain object from a ShopMessage message. Also converts values to other types if specified.
15561
* @param message ShopMessage
15562
* @param [options] Conversion options
15563
* @returns Plain object
15564
*/
15565
public static toObject(message: proto.ShopMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
15566
15567
/**
15568
* Converts this ShopMessage to JSON.
15569
* @returns JSON object
15570
*/
15571
public toJSON(): { [k: string]: any };
15572
}
15573
15574
namespace ShopMessage {
15575
15576
/** ShopMessageSurface enum. */
15577
enum ShopMessageSurface {
15578
UNKNOWN_SURFACE = 0,
15579
FB = 1,
15580
IG = 2,
15581
WA = 3
15582
}
15583
}
15584
15585
/** Properties of a CollectionMessage. */
15586
interface ICollectionMessage {
15587
15588
/** CollectionMessage bizJid */
15589
bizJid?: (string|null);
15590
15591
/** CollectionMessage id */
15592
id?: (string|null);
15593
15594
/** CollectionMessage messageVersion */
15595
messageVersion?: (number|null);
15596
}
15597
15598
/** Represents a CollectionMessage. */
15599
class CollectionMessage implements ICollectionMessage {
15600
15601
/**
15602
* Constructs a new CollectionMessage.
15603
* @param [properties] Properties to set
15604
*/
15605
constructor(properties?: proto.ICollectionMessage);
15606
15607
/** CollectionMessage bizJid. */
15608
public bizJid: string;
15609
15610
/** CollectionMessage id. */
15611
public id: string;
15612
15613
/** CollectionMessage messageVersion. */
15614
public messageVersion: number;
15615
15616
/**
15617
* Creates a new CollectionMessage instance using the specified properties.
15618
* @param [properties] Properties to set
15619
* @returns CollectionMessage instance
15620
*/
15621
public static create(properties?: proto.ICollectionMessage): proto.CollectionMessage;
15622
15623
/**
15624
* Encodes the specified CollectionMessage message. Does not implicitly {@link proto.CollectionMessage.verify|verify} messages.
15625
* @param message CollectionMessage message or plain object to encode
15626
* @param [writer] Writer to encode to
15627
* @returns Writer
15628
*/
15629
public static encode(message: proto.ICollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15630
15631
/**
15632
* Encodes the specified CollectionMessage message, length delimited. Does not implicitly {@link proto.CollectionMessage.verify|verify} messages.
15633
* @param message CollectionMessage message or plain object to encode
15634
* @param [writer] Writer to encode to
15635
* @returns Writer
15636
*/
15637
public static encodeDelimited(message: proto.ICollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15638
15639
/**
15640
* Decodes a CollectionMessage message from the specified reader or buffer.
15641
* @param reader Reader or buffer to decode from
15642
* @param [length] Message length if known beforehand
15643
* @returns CollectionMessage
15644
* @throws {Error} If the payload is not a reader or valid buffer
15645
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15646
*/
15647
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CollectionMessage;
15648
15649
/**
15650
* Decodes a CollectionMessage message from the specified reader or buffer, length delimited.
15651
* @param reader Reader or buffer to decode from
15652
* @returns CollectionMessage
15653
* @throws {Error} If the payload is not a reader or valid buffer
15654
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15655
*/
15656
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CollectionMessage;
15657
15658
/**
15659
* Verifies a CollectionMessage message.
15660
* @param message Plain object to verify
15661
* @returns `null` if valid, otherwise the reason why it is not
15662
*/
15663
public static verify(message: { [k: string]: any }): (string|null);
15664
15665
/**
15666
* Creates a CollectionMessage message from a plain object. Also converts values to their respective internal types.
15667
* @param object Plain object
15668
* @returns CollectionMessage
15669
*/
15670
public static fromObject(object: { [k: string]: any }): proto.CollectionMessage;
15671
15672
/**
15673
* Creates a plain object from a CollectionMessage message. Also converts values to other types if specified.
15674
* @param message CollectionMessage
15675
* @param [options] Conversion options
15676
* @returns Plain object
15677
*/
15678
public static toObject(message: proto.CollectionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
15679
15680
/**
15681
* Converts this CollectionMessage to JSON.
15682
* @returns JSON object
15683
*/
15684
public toJSON(): { [k: string]: any };
15685
}
15686
15687
/** Properties of a NativeFlowButton. */
15688
interface INativeFlowButton {
15689
15690
/** NativeFlowButton name */
15691
name?: (string|null);
15692
15693
/** NativeFlowButton buttonParamsJson */
15694
buttonParamsJson?: (string|null);
15695
}
15696
15697
/** Represents a NativeFlowButton. */
15698
class NativeFlowButton implements INativeFlowButton {
15699
15700
/**
15701
* Constructs a new NativeFlowButton.
15702
* @param [properties] Properties to set
15703
*/
15704
constructor(properties?: proto.INativeFlowButton);
15705
15706
/** NativeFlowButton name. */
15707
public name: string;
15708
15709
/** NativeFlowButton buttonParamsJson. */
15710
public buttonParamsJson: string;
15711
15712
/**
15713
* Creates a new NativeFlowButton instance using the specified properties.
15714
* @param [properties] Properties to set
15715
* @returns NativeFlowButton instance
15716
*/
15717
public static create(properties?: proto.INativeFlowButton): proto.NativeFlowButton;
15718
15719
/**
15720
* Encodes the specified NativeFlowButton message. Does not implicitly {@link proto.NativeFlowButton.verify|verify} messages.
15721
* @param message NativeFlowButton message or plain object to encode
15722
* @param [writer] Writer to encode to
15723
* @returns Writer
15724
*/
15725
public static encode(message: proto.INativeFlowButton, writer?: $protobuf.Writer): $protobuf.Writer;
15726
15727
/**
15728
* Encodes the specified NativeFlowButton message, length delimited. Does not implicitly {@link proto.NativeFlowButton.verify|verify} messages.
15729
* @param message NativeFlowButton message or plain object to encode
15730
* @param [writer] Writer to encode to
15731
* @returns Writer
15732
*/
15733
public static encodeDelimited(message: proto.INativeFlowButton, writer?: $protobuf.Writer): $protobuf.Writer;
15734
15735
/**
15736
* Decodes a NativeFlowButton message from the specified reader or buffer.
15737
* @param reader Reader or buffer to decode from
15738
* @param [length] Message length if known beforehand
15739
* @returns NativeFlowButton
15740
* @throws {Error} If the payload is not a reader or valid buffer
15741
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15742
*/
15743
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NativeFlowButton;
15744
15745
/**
15746
* Decodes a NativeFlowButton message from the specified reader or buffer, length delimited.
15747
* @param reader Reader or buffer to decode from
15748
* @returns NativeFlowButton
15749
* @throws {Error} If the payload is not a reader or valid buffer
15750
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15751
*/
15752
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NativeFlowButton;
15753
15754
/**
15755
* Verifies a NativeFlowButton message.
15756
* @param message Plain object to verify
15757
* @returns `null` if valid, otherwise the reason why it is not
15758
*/
15759
public static verify(message: { [k: string]: any }): (string|null);
15760
15761
/**
15762
* Creates a NativeFlowButton message from a plain object. Also converts values to their respective internal types.
15763
* @param object Plain object
15764
* @returns NativeFlowButton
15765
*/
15766
public static fromObject(object: { [k: string]: any }): proto.NativeFlowButton;
15767
15768
/**
15769
* Creates a plain object from a NativeFlowButton message. Also converts values to other types if specified.
15770
* @param message NativeFlowButton
15771
* @param [options] Conversion options
15772
* @returns Plain object
15773
*/
15774
public static toObject(message: proto.NativeFlowButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
15775
15776
/**
15777
* Converts this NativeFlowButton to JSON.
15778
* @returns JSON object
15779
*/
15780
public toJSON(): { [k: string]: any };
15781
}
15782
15783
/** Properties of a NativeFlowMessage. */
15784
interface INativeFlowMessage {
15785
15786
/** NativeFlowMessage buttons */
15787
buttons?: (proto.INativeFlowButton[]|null);
15788
15789
/** NativeFlowMessage messageParamsJson */
15790
messageParamsJson?: (string|null);
15791
15792
/** NativeFlowMessage messageVersion */
15793
messageVersion?: (number|null);
15794
}
15795
15796
/** Represents a NativeFlowMessage. */
15797
class NativeFlowMessage implements INativeFlowMessage {
15798
15799
/**
15800
* Constructs a new NativeFlowMessage.
15801
* @param [properties] Properties to set
15802
*/
15803
constructor(properties?: proto.INativeFlowMessage);
15804
15805
/** NativeFlowMessage buttons. */
15806
public buttons: proto.INativeFlowButton[];
15807
15808
/** NativeFlowMessage messageParamsJson. */
15809
public messageParamsJson: string;
15810
15811
/** NativeFlowMessage messageVersion. */
15812
public messageVersion: number;
15813
15814
/**
15815
* Creates a new NativeFlowMessage instance using the specified properties.
15816
* @param [properties] Properties to set
15817
* @returns NativeFlowMessage instance
15818
*/
15819
public static create(properties?: proto.INativeFlowMessage): proto.NativeFlowMessage;
15820
15821
/**
15822
* Encodes the specified NativeFlowMessage message. Does not implicitly {@link proto.NativeFlowMessage.verify|verify} messages.
15823
* @param message NativeFlowMessage message or plain object to encode
15824
* @param [writer] Writer to encode to
15825
* @returns Writer
15826
*/
15827
public static encode(message: proto.INativeFlowMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15828
15829
/**
15830
* Encodes the specified NativeFlowMessage message, length delimited. Does not implicitly {@link proto.NativeFlowMessage.verify|verify} messages.
15831
* @param message NativeFlowMessage message or plain object to encode
15832
* @param [writer] Writer to encode to
15833
* @returns Writer
15834
*/
15835
public static encodeDelimited(message: proto.INativeFlowMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15836
15837
/**
15838
* Decodes a NativeFlowMessage message from the specified reader or buffer.
15839
* @param reader Reader or buffer to decode from
15840
* @param [length] Message length if known beforehand
15841
* @returns NativeFlowMessage
15842
* @throws {Error} If the payload is not a reader or valid buffer
15843
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15844
*/
15845
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NativeFlowMessage;
15846
15847
/**
15848
* Decodes a NativeFlowMessage message from the specified reader or buffer, length delimited.
15849
* @param reader Reader or buffer to decode from
15850
* @returns NativeFlowMessage
15851
* @throws {Error} If the payload is not a reader or valid buffer
15852
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15853
*/
15854
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NativeFlowMessage;
15855
15856
/**
15857
* Verifies a NativeFlowMessage message.
15858
* @param message Plain object to verify
15859
* @returns `null` if valid, otherwise the reason why it is not
15860
*/
15861
public static verify(message: { [k: string]: any }): (string|null);
15862
15863
/**
15864
* Creates a NativeFlowMessage message from a plain object. Also converts values to their respective internal types.
15865
* @param object Plain object
15866
* @returns NativeFlowMessage
15867
*/
15868
public static fromObject(object: { [k: string]: any }): proto.NativeFlowMessage;
15869
15870
/**
15871
* Creates a plain object from a NativeFlowMessage message. Also converts values to other types if specified.
15872
* @param message NativeFlowMessage
15873
* @param [options] Conversion options
15874
* @returns Plain object
15875
*/
15876
public static toObject(message: proto.NativeFlowMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
15877
15878
/**
15879
* Converts this NativeFlowMessage to JSON.
15880
* @returns JSON object
15881
*/
15882
public toJSON(): { [k: string]: any };
15883
}
15884
15885
/** Properties of an InteractiveMessage. */
15886
interface IInteractiveMessage {
15887
15888
/** InteractiveMessage header */
15889
header?: (proto.IHeader|null);
15890
15891
/** InteractiveMessage body */
15892
body?: (proto.IBody|null);
15893
15894
/** InteractiveMessage footer */
15895
footer?: (proto.IFooter|null);
15896
15897
/** InteractiveMessage contextInfo */
15898
contextInfo?: (proto.IContextInfo|null);
15899
15900
/** InteractiveMessage shopStorefrontMessage */
15901
shopStorefrontMessage?: (proto.IShopMessage|null);
15902
15903
/** InteractiveMessage collectionMessage */
15904
collectionMessage?: (proto.ICollectionMessage|null);
15905
15906
/** InteractiveMessage nativeFlowMessage */
15907
nativeFlowMessage?: (proto.INativeFlowMessage|null);
15908
}
15909
15910
/** Represents an InteractiveMessage. */
15911
class InteractiveMessage implements IInteractiveMessage {
15912
15913
/**
15914
* Constructs a new InteractiveMessage.
15915
* @param [properties] Properties to set
15916
*/
15917
constructor(properties?: proto.IInteractiveMessage);
15918
15919
/** InteractiveMessage header. */
15920
public header?: (proto.IHeader|null);
15921
15922
/** InteractiveMessage body. */
15923
public body?: (proto.IBody|null);
15924
15925
/** InteractiveMessage footer. */
15926
public footer?: (proto.IFooter|null);
15927
15928
/** InteractiveMessage contextInfo. */
15929
public contextInfo?: (proto.IContextInfo|null);
15930
15931
/** InteractiveMessage shopStorefrontMessage. */
15932
public shopStorefrontMessage?: (proto.IShopMessage|null);
15933
15934
/** InteractiveMessage collectionMessage. */
15935
public collectionMessage?: (proto.ICollectionMessage|null);
15936
15937
/** InteractiveMessage nativeFlowMessage. */
15938
public nativeFlowMessage?: (proto.INativeFlowMessage|null);
15939
15940
/** InteractiveMessage interactiveMessage. */
15941
public interactiveMessage?: ("shopStorefrontMessage"|"collectionMessage"|"nativeFlowMessage");
15942
15943
/**
15944
* Creates a new InteractiveMessage instance using the specified properties.
15945
* @param [properties] Properties to set
15946
* @returns InteractiveMessage instance
15947
*/
15948
public static create(properties?: proto.IInteractiveMessage): proto.InteractiveMessage;
15949
15950
/**
15951
* Encodes the specified InteractiveMessage message. Does not implicitly {@link proto.InteractiveMessage.verify|verify} messages.
15952
* @param message InteractiveMessage message or plain object to encode
15953
* @param [writer] Writer to encode to
15954
* @returns Writer
15955
*/
15956
public static encode(message: proto.IInteractiveMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15957
15958
/**
15959
* Encodes the specified InteractiveMessage message, length delimited. Does not implicitly {@link proto.InteractiveMessage.verify|verify} messages.
15960
* @param message InteractiveMessage message or plain object to encode
15961
* @param [writer] Writer to encode to
15962
* @returns Writer
15963
*/
15964
public static encodeDelimited(message: proto.IInteractiveMessage, writer?: $protobuf.Writer): $protobuf.Writer;
15965
15966
/**
15967
* Decodes an InteractiveMessage message from the specified reader or buffer.
15968
* @param reader Reader or buffer to decode from
15969
* @param [length] Message length if known beforehand
15970
* @returns InteractiveMessage
15971
* @throws {Error} If the payload is not a reader or valid buffer
15972
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15973
*/
15974
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.InteractiveMessage;
15975
15976
/**
15977
* Decodes an InteractiveMessage message from the specified reader or buffer, length delimited.
15978
* @param reader Reader or buffer to decode from
15979
* @returns InteractiveMessage
15980
* @throws {Error} If the payload is not a reader or valid buffer
15981
* @throws {$protobuf.util.ProtocolError} If required fields are missing
15982
*/
15983
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.InteractiveMessage;
15984
15985
/**
15986
* Verifies an InteractiveMessage message.
15987
* @param message Plain object to verify
15988
* @returns `null` if valid, otherwise the reason why it is not
15989
*/
15990
public static verify(message: { [k: string]: any }): (string|null);
15991
15992
/**
15993
* Creates an InteractiveMessage message from a plain object. Also converts values to their respective internal types.
15994
* @param object Plain object
15995
* @returns InteractiveMessage
15996
*/
15997
public static fromObject(object: { [k: string]: any }): proto.InteractiveMessage;
15998
15999
/**
16000
* Creates a plain object from an InteractiveMessage message. Also converts values to other types if specified.
16001
* @param message InteractiveMessage
16002
* @param [options] Conversion options
16003
* @returns Plain object
16004
*/
16005
public static toObject(message: proto.InteractiveMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
16006
16007
/**
16008
* Converts this InteractiveMessage to JSON.
16009
* @returns JSON object
16010
*/
16011
public toJSON(): { [k: string]: any };
16012
}
16013
16014
/** Properties of a GroupInviteMessage. */
16015
interface IGroupInviteMessage {
16016
16017
/** GroupInviteMessage groupJid */
16018
groupJid?: (string|null);
16019
16020
/** GroupInviteMessage inviteCode */
16021
inviteCode?: (string|null);
16022
16023
/** GroupInviteMessage inviteExpiration */
16024
inviteExpiration?: (number|Long|null);
16025
16026
/** GroupInviteMessage groupName */
16027
groupName?: (string|null);
16028
16029
/** GroupInviteMessage jpegThumbnail */
16030
jpegThumbnail?: (Uint8Array|null);
16031
16032
/** GroupInviteMessage caption */
16033
caption?: (string|null);
16034
16035
/** GroupInviteMessage contextInfo */
16036
contextInfo?: (proto.IContextInfo|null);
16037
16038
/** GroupInviteMessage groupType */
16039
groupType?: (proto.GroupInviteMessage.GroupInviteMessageGroupType|null);
16040
}
16041
16042
/** Represents a GroupInviteMessage. */
16043
class GroupInviteMessage implements IGroupInviteMessage {
16044
16045
/**
16046
* Constructs a new GroupInviteMessage.
16047
* @param [properties] Properties to set
16048
*/
16049
constructor(properties?: proto.IGroupInviteMessage);
16050
16051
/** GroupInviteMessage groupJid. */
16052
public groupJid: string;
16053
16054
/** GroupInviteMessage inviteCode. */
16055
public inviteCode: string;
16056
16057
/** GroupInviteMessage inviteExpiration. */
16058
public inviteExpiration: (number|Long);
16059
16060
/** GroupInviteMessage groupName. */
16061
public groupName: string;
16062
16063
/** GroupInviteMessage jpegThumbnail. */
16064
public jpegThumbnail: Uint8Array;
16065
16066
/** GroupInviteMessage caption. */
16067
public caption: string;
16068
16069
/** GroupInviteMessage contextInfo. */
16070
public contextInfo?: (proto.IContextInfo|null);
16071
16072
/** GroupInviteMessage groupType. */
16073
public groupType: proto.GroupInviteMessage.GroupInviteMessageGroupType;
16074
16075
/**
16076
* Creates a new GroupInviteMessage instance using the specified properties.
16077
* @param [properties] Properties to set
16078
* @returns GroupInviteMessage instance
16079
*/
16080
public static create(properties?: proto.IGroupInviteMessage): proto.GroupInviteMessage;
16081
16082
/**
16083
* Encodes the specified GroupInviteMessage message. Does not implicitly {@link proto.GroupInviteMessage.verify|verify} messages.
16084
* @param message GroupInviteMessage message or plain object to encode
16085
* @param [writer] Writer to encode to
16086
* @returns Writer
16087
*/
16088
public static encode(message: proto.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16089
16090
/**
16091
* Encodes the specified GroupInviteMessage message, length delimited. Does not implicitly {@link proto.GroupInviteMessage.verify|verify} messages.
16092
* @param message GroupInviteMessage message or plain object to encode
16093
* @param [writer] Writer to encode to
16094
* @returns Writer
16095
*/
16096
public static encodeDelimited(message: proto.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16097
16098
/**
16099
* Decodes a GroupInviteMessage message from the specified reader or buffer.
16100
* @param reader Reader or buffer to decode from
16101
* @param [length] Message length if known beforehand
16102
* @returns GroupInviteMessage
16103
* @throws {Error} If the payload is not a reader or valid buffer
16104
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16105
*/
16106
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.GroupInviteMessage;
16107
16108
/**
16109
* Decodes a GroupInviteMessage message from the specified reader or buffer, length delimited.
16110
* @param reader Reader or buffer to decode from
16111
* @returns GroupInviteMessage
16112
* @throws {Error} If the payload is not a reader or valid buffer
16113
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16114
*/
16115
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.GroupInviteMessage;
16116
16117
/**
16118
* Verifies a GroupInviteMessage message.
16119
* @param message Plain object to verify
16120
* @returns `null` if valid, otherwise the reason why it is not
16121
*/
16122
public static verify(message: { [k: string]: any }): (string|null);
16123
16124
/**
16125
* Creates a GroupInviteMessage message from a plain object. Also converts values to their respective internal types.
16126
* @param object Plain object
16127
* @returns GroupInviteMessage
16128
*/
16129
public static fromObject(object: { [k: string]: any }): proto.GroupInviteMessage;
16130
16131
/**
16132
* Creates a plain object from a GroupInviteMessage message. Also converts values to other types if specified.
16133
* @param message GroupInviteMessage
16134
* @param [options] Conversion options
16135
* @returns Plain object
16136
*/
16137
public static toObject(message: proto.GroupInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
16138
16139
/**
16140
* Converts this GroupInviteMessage to JSON.
16141
* @returns JSON object
16142
*/
16143
public toJSON(): { [k: string]: any };
16144
}
16145
16146
namespace GroupInviteMessage {
16147
16148
/** GroupInviteMessageGroupType enum. */
16149
enum GroupInviteMessageGroupType {
16150
DEFAULT = 0,
16151
PARENT = 1
16152
}
16153
}
16154
16155
/** Properties of a DeviceSentMessage. */
16156
interface IDeviceSentMessage {
16157
16158
/** DeviceSentMessage destinationJid */
16159
destinationJid?: (string|null);
16160
16161
/** DeviceSentMessage message */
16162
message?: (proto.IMessage|null);
16163
16164
/** DeviceSentMessage phash */
16165
phash?: (string|null);
16166
}
16167
16168
/** Represents a DeviceSentMessage. */
16169
class DeviceSentMessage implements IDeviceSentMessage {
16170
16171
/**
16172
* Constructs a new DeviceSentMessage.
16173
* @param [properties] Properties to set
16174
*/
16175
constructor(properties?: proto.IDeviceSentMessage);
16176
16177
/** DeviceSentMessage destinationJid. */
16178
public destinationJid: string;
16179
16180
/** DeviceSentMessage message. */
16181
public message?: (proto.IMessage|null);
16182
16183
/** DeviceSentMessage phash. */
16184
public phash: string;
16185
16186
/**
16187
* Creates a new DeviceSentMessage instance using the specified properties.
16188
* @param [properties] Properties to set
16189
* @returns DeviceSentMessage instance
16190
*/
16191
public static create(properties?: proto.IDeviceSentMessage): proto.DeviceSentMessage;
16192
16193
/**
16194
* Encodes the specified DeviceSentMessage message. Does not implicitly {@link proto.DeviceSentMessage.verify|verify} messages.
16195
* @param message DeviceSentMessage message or plain object to encode
16196
* @param [writer] Writer to encode to
16197
* @returns Writer
16198
*/
16199
public static encode(message: proto.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16200
16201
/**
16202
* Encodes the specified DeviceSentMessage message, length delimited. Does not implicitly {@link proto.DeviceSentMessage.verify|verify} messages.
16203
* @param message DeviceSentMessage message or plain object to encode
16204
* @param [writer] Writer to encode to
16205
* @returns Writer
16206
*/
16207
public static encodeDelimited(message: proto.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16208
16209
/**
16210
* Decodes a DeviceSentMessage message from the specified reader or buffer.
16211
* @param reader Reader or buffer to decode from
16212
* @param [length] Message length if known beforehand
16213
* @returns DeviceSentMessage
16214
* @throws {Error} If the payload is not a reader or valid buffer
16215
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16216
*/
16217
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DeviceSentMessage;
16218
16219
/**
16220
* Decodes a DeviceSentMessage message from the specified reader or buffer, length delimited.
16221
* @param reader Reader or buffer to decode from
16222
* @returns DeviceSentMessage
16223
* @throws {Error} If the payload is not a reader or valid buffer
16224
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16225
*/
16226
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DeviceSentMessage;
16227
16228
/**
16229
* Verifies a DeviceSentMessage message.
16230
* @param message Plain object to verify
16231
* @returns `null` if valid, otherwise the reason why it is not
16232
*/
16233
public static verify(message: { [k: string]: any }): (string|null);
16234
16235
/**
16236
* Creates a DeviceSentMessage message from a plain object. Also converts values to their respective internal types.
16237
* @param object Plain object
16238
* @returns DeviceSentMessage
16239
*/
16240
public static fromObject(object: { [k: string]: any }): proto.DeviceSentMessage;
16241
16242
/**
16243
* Creates a plain object from a DeviceSentMessage message. Also converts values to other types if specified.
16244
* @param message DeviceSentMessage
16245
* @param [options] Conversion options
16246
* @returns Plain object
16247
*/
16248
public static toObject(message: proto.DeviceSentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
16249
16250
/**
16251
* Converts this DeviceSentMessage to JSON.
16252
* @returns JSON object
16253
*/
16254
public toJSON(): { [k: string]: any };
16255
}
16256
16257
/** Properties of a FutureProofMessage. */
16258
interface IFutureProofMessage {
16259
16260
/** FutureProofMessage message */
16261
message?: (proto.IMessage|null);
16262
}
16263
16264
/** Represents a FutureProofMessage. */
16265
class FutureProofMessage implements IFutureProofMessage {
16266
16267
/**
16268
* Constructs a new FutureProofMessage.
16269
* @param [properties] Properties to set
16270
*/
16271
constructor(properties?: proto.IFutureProofMessage);
16272
16273
/** FutureProofMessage message. */
16274
public message?: (proto.IMessage|null);
16275
16276
/**
16277
* Creates a new FutureProofMessage instance using the specified properties.
16278
* @param [properties] Properties to set
16279
* @returns FutureProofMessage instance
16280
*/
16281
public static create(properties?: proto.IFutureProofMessage): proto.FutureProofMessage;
16282
16283
/**
16284
* Encodes the specified FutureProofMessage message. Does not implicitly {@link proto.FutureProofMessage.verify|verify} messages.
16285
* @param message FutureProofMessage message or plain object to encode
16286
* @param [writer] Writer to encode to
16287
* @returns Writer
16288
*/
16289
public static encode(message: proto.IFutureProofMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16290
16291
/**
16292
* Encodes the specified FutureProofMessage message, length delimited. Does not implicitly {@link proto.FutureProofMessage.verify|verify} messages.
16293
* @param message FutureProofMessage message or plain object to encode
16294
* @param [writer] Writer to encode to
16295
* @returns Writer
16296
*/
16297
public static encodeDelimited(message: proto.IFutureProofMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16298
16299
/**
16300
* Decodes a FutureProofMessage message from the specified reader or buffer.
16301
* @param reader Reader or buffer to decode from
16302
* @param [length] Message length if known beforehand
16303
* @returns FutureProofMessage
16304
* @throws {Error} If the payload is not a reader or valid buffer
16305
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16306
*/
16307
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FutureProofMessage;
16308
16309
/**
16310
* Decodes a FutureProofMessage message from the specified reader or buffer, length delimited.
16311
* @param reader Reader or buffer to decode from
16312
* @returns FutureProofMessage
16313
* @throws {Error} If the payload is not a reader or valid buffer
16314
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16315
*/
16316
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FutureProofMessage;
16317
16318
/**
16319
* Verifies a FutureProofMessage message.
16320
* @param message Plain object to verify
16321
* @returns `null` if valid, otherwise the reason why it is not
16322
*/
16323
public static verify(message: { [k: string]: any }): (string|null);
16324
16325
/**
16326
* Creates a FutureProofMessage message from a plain object. Also converts values to their respective internal types.
16327
* @param object Plain object
16328
* @returns FutureProofMessage
16329
*/
16330
public static fromObject(object: { [k: string]: any }): proto.FutureProofMessage;
16331
16332
/**
16333
* Creates a plain object from a FutureProofMessage message. Also converts values to other types if specified.
16334
* @param message FutureProofMessage
16335
* @param [options] Conversion options
16336
* @returns Plain object
16337
*/
16338
public static toObject(message: proto.FutureProofMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
16339
16340
/**
16341
* Converts this FutureProofMessage to JSON.
16342
* @returns JSON object
16343
*/
16344
public toJSON(): { [k: string]: any };
16345
}
16346
16347
/** Properties of a ButtonText. */
16348
interface IButtonText {
16349
16350
/** ButtonText displayText */
16351
displayText?: (string|null);
16352
}
16353
16354
/** Represents a ButtonText. */
16355
class ButtonText implements IButtonText {
16356
16357
/**
16358
* Constructs a new ButtonText.
16359
* @param [properties] Properties to set
16360
*/
16361
constructor(properties?: proto.IButtonText);
16362
16363
/** ButtonText displayText. */
16364
public displayText: string;
16365
16366
/**
16367
* Creates a new ButtonText instance using the specified properties.
16368
* @param [properties] Properties to set
16369
* @returns ButtonText instance
16370
*/
16371
public static create(properties?: proto.IButtonText): proto.ButtonText;
16372
16373
/**
16374
* Encodes the specified ButtonText message. Does not implicitly {@link proto.ButtonText.verify|verify} messages.
16375
* @param message ButtonText message or plain object to encode
16376
* @param [writer] Writer to encode to
16377
* @returns Writer
16378
*/
16379
public static encode(message: proto.IButtonText, writer?: $protobuf.Writer): $protobuf.Writer;
16380
16381
/**
16382
* Encodes the specified ButtonText message, length delimited. Does not implicitly {@link proto.ButtonText.verify|verify} messages.
16383
* @param message ButtonText message or plain object to encode
16384
* @param [writer] Writer to encode to
16385
* @returns Writer
16386
*/
16387
public static encodeDelimited(message: proto.IButtonText, writer?: $protobuf.Writer): $protobuf.Writer;
16388
16389
/**
16390
* Decodes a ButtonText message from the specified reader or buffer.
16391
* @param reader Reader or buffer to decode from
16392
* @param [length] Message length if known beforehand
16393
* @returns ButtonText
16394
* @throws {Error} If the payload is not a reader or valid buffer
16395
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16396
*/
16397
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ButtonText;
16398
16399
/**
16400
* Decodes a ButtonText message from the specified reader or buffer, length delimited.
16401
* @param reader Reader or buffer to decode from
16402
* @returns ButtonText
16403
* @throws {Error} If the payload is not a reader or valid buffer
16404
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16405
*/
16406
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ButtonText;
16407
16408
/**
16409
* Verifies a ButtonText message.
16410
* @param message Plain object to verify
16411
* @returns `null` if valid, otherwise the reason why it is not
16412
*/
16413
public static verify(message: { [k: string]: any }): (string|null);
16414
16415
/**
16416
* Creates a ButtonText message from a plain object. Also converts values to their respective internal types.
16417
* @param object Plain object
16418
* @returns ButtonText
16419
*/
16420
public static fromObject(object: { [k: string]: any }): proto.ButtonText;
16421
16422
/**
16423
* Creates a plain object from a ButtonText message. Also converts values to other types if specified.
16424
* @param message ButtonText
16425
* @param [options] Conversion options
16426
* @returns Plain object
16427
*/
16428
public static toObject(message: proto.ButtonText, options?: $protobuf.IConversionOptions): { [k: string]: any };
16429
16430
/**
16431
* Converts this ButtonText to JSON.
16432
* @returns JSON object
16433
*/
16434
public toJSON(): { [k: string]: any };
16435
}
16436
16437
/** Properties of a NativeFlowInfo. */
16438
interface INativeFlowInfo {
16439
16440
/** NativeFlowInfo name */
16441
name?: (string|null);
16442
16443
/** NativeFlowInfo paramsJson */
16444
paramsJson?: (string|null);
16445
}
16446
16447
/** Represents a NativeFlowInfo. */
16448
class NativeFlowInfo implements INativeFlowInfo {
16449
16450
/**
16451
* Constructs a new NativeFlowInfo.
16452
* @param [properties] Properties to set
16453
*/
16454
constructor(properties?: proto.INativeFlowInfo);
16455
16456
/** NativeFlowInfo name. */
16457
public name: string;
16458
16459
/** NativeFlowInfo paramsJson. */
16460
public paramsJson: string;
16461
16462
/**
16463
* Creates a new NativeFlowInfo instance using the specified properties.
16464
* @param [properties] Properties to set
16465
* @returns NativeFlowInfo instance
16466
*/
16467
public static create(properties?: proto.INativeFlowInfo): proto.NativeFlowInfo;
16468
16469
/**
16470
* Encodes the specified NativeFlowInfo message. Does not implicitly {@link proto.NativeFlowInfo.verify|verify} messages.
16471
* @param message NativeFlowInfo message or plain object to encode
16472
* @param [writer] Writer to encode to
16473
* @returns Writer
16474
*/
16475
public static encode(message: proto.INativeFlowInfo, writer?: $protobuf.Writer): $protobuf.Writer;
16476
16477
/**
16478
* Encodes the specified NativeFlowInfo message, length delimited. Does not implicitly {@link proto.NativeFlowInfo.verify|verify} messages.
16479
* @param message NativeFlowInfo message or plain object to encode
16480
* @param [writer] Writer to encode to
16481
* @returns Writer
16482
*/
16483
public static encodeDelimited(message: proto.INativeFlowInfo, writer?: $protobuf.Writer): $protobuf.Writer;
16484
16485
/**
16486
* Decodes a NativeFlowInfo message from the specified reader or buffer.
16487
* @param reader Reader or buffer to decode from
16488
* @param [length] Message length if known beforehand
16489
* @returns NativeFlowInfo
16490
* @throws {Error} If the payload is not a reader or valid buffer
16491
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16492
*/
16493
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NativeFlowInfo;
16494
16495
/**
16496
* Decodes a NativeFlowInfo message from the specified reader or buffer, length delimited.
16497
* @param reader Reader or buffer to decode from
16498
* @returns NativeFlowInfo
16499
* @throws {Error} If the payload is not a reader or valid buffer
16500
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16501
*/
16502
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NativeFlowInfo;
16503
16504
/**
16505
* Verifies a NativeFlowInfo message.
16506
* @param message Plain object to verify
16507
* @returns `null` if valid, otherwise the reason why it is not
16508
*/
16509
public static verify(message: { [k: string]: any }): (string|null);
16510
16511
/**
16512
* Creates a NativeFlowInfo message from a plain object. Also converts values to their respective internal types.
16513
* @param object Plain object
16514
* @returns NativeFlowInfo
16515
*/
16516
public static fromObject(object: { [k: string]: any }): proto.NativeFlowInfo;
16517
16518
/**
16519
* Creates a plain object from a NativeFlowInfo message. Also converts values to other types if specified.
16520
* @param message NativeFlowInfo
16521
* @param [options] Conversion options
16522
* @returns Plain object
16523
*/
16524
public static toObject(message: proto.NativeFlowInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
16525
16526
/**
16527
* Converts this NativeFlowInfo to JSON.
16528
* @returns JSON object
16529
*/
16530
public toJSON(): { [k: string]: any };
16531
}
16532
16533
/** Properties of a Button. */
16534
interface IButton {
16535
16536
/** Button buttonId */
16537
buttonId?: (string|null);
16538
16539
/** Button buttonText */
16540
buttonText?: (proto.IButtonText|null);
16541
16542
/** Button type */
16543
type?: (proto.Button.ButtonType|null);
16544
16545
/** Button nativeFlowInfo */
16546
nativeFlowInfo?: (proto.INativeFlowInfo|null);
16547
}
16548
16549
/** Represents a Button. */
16550
class Button implements IButton {
16551
16552
/**
16553
* Constructs a new Button.
16554
* @param [properties] Properties to set
16555
*/
16556
constructor(properties?: proto.IButton);
16557
16558
/** Button buttonId. */
16559
public buttonId: string;
16560
16561
/** Button buttonText. */
16562
public buttonText?: (proto.IButtonText|null);
16563
16564
/** Button type. */
16565
public type: proto.Button.ButtonType;
16566
16567
/** Button nativeFlowInfo. */
16568
public nativeFlowInfo?: (proto.INativeFlowInfo|null);
16569
16570
/**
16571
* Creates a new Button instance using the specified properties.
16572
* @param [properties] Properties to set
16573
* @returns Button instance
16574
*/
16575
public static create(properties?: proto.IButton): proto.Button;
16576
16577
/**
16578
* Encodes the specified Button message. Does not implicitly {@link proto.Button.verify|verify} messages.
16579
* @param message Button message or plain object to encode
16580
* @param [writer] Writer to encode to
16581
* @returns Writer
16582
*/
16583
public static encode(message: proto.IButton, writer?: $protobuf.Writer): $protobuf.Writer;
16584
16585
/**
16586
* Encodes the specified Button message, length delimited. Does not implicitly {@link proto.Button.verify|verify} messages.
16587
* @param message Button message or plain object to encode
16588
* @param [writer] Writer to encode to
16589
* @returns Writer
16590
*/
16591
public static encodeDelimited(message: proto.IButton, writer?: $protobuf.Writer): $protobuf.Writer;
16592
16593
/**
16594
* Decodes a Button message from the specified reader or buffer.
16595
* @param reader Reader or buffer to decode from
16596
* @param [length] Message length if known beforehand
16597
* @returns Button
16598
* @throws {Error} If the payload is not a reader or valid buffer
16599
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16600
*/
16601
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Button;
16602
16603
/**
16604
* Decodes a Button message from the specified reader or buffer, length delimited.
16605
* @param reader Reader or buffer to decode from
16606
* @returns Button
16607
* @throws {Error} If the payload is not a reader or valid buffer
16608
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16609
*/
16610
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Button;
16611
16612
/**
16613
* Verifies a Button message.
16614
* @param message Plain object to verify
16615
* @returns `null` if valid, otherwise the reason why it is not
16616
*/
16617
public static verify(message: { [k: string]: any }): (string|null);
16618
16619
/**
16620
* Creates a Button message from a plain object. Also converts values to their respective internal types.
16621
* @param object Plain object
16622
* @returns Button
16623
*/
16624
public static fromObject(object: { [k: string]: any }): proto.Button;
16625
16626
/**
16627
* Creates a plain object from a Button message. Also converts values to other types if specified.
16628
* @param message Button
16629
* @param [options] Conversion options
16630
* @returns Plain object
16631
*/
16632
public static toObject(message: proto.Button, options?: $protobuf.IConversionOptions): { [k: string]: any };
16633
16634
/**
16635
* Converts this Button to JSON.
16636
* @returns JSON object
16637
*/
16638
public toJSON(): { [k: string]: any };
16639
}
16640
16641
namespace Button {
16642
16643
/** ButtonType enum. */
16644
enum ButtonType {
16645
UNKNOWN = 0,
16646
RESPONSE = 1,
16647
NATIVE_FLOW = 2
16648
}
16649
}
16650
16651
/** Properties of a ButtonsMessage. */
16652
interface IButtonsMessage {
16653
16654
/** ButtonsMessage contentText */
16655
contentText?: (string|null);
16656
16657
/** ButtonsMessage footerText */
16658
footerText?: (string|null);
16659
16660
/** ButtonsMessage contextInfo */
16661
contextInfo?: (proto.IContextInfo|null);
16662
16663
/** ButtonsMessage buttons */
16664
buttons?: (proto.IButton[]|null);
16665
16666
/** ButtonsMessage headerType */
16667
headerType?: (proto.ButtonsMessage.ButtonsMessageHeaderType|null);
16668
16669
/** ButtonsMessage text */
16670
text?: (string|null);
16671
16672
/** ButtonsMessage documentMessage */
16673
documentMessage?: (proto.IDocumentMessage|null);
16674
16675
/** ButtonsMessage imageMessage */
16676
imageMessage?: (proto.IImageMessage|null);
16677
16678
/** ButtonsMessage videoMessage */
16679
videoMessage?: (proto.IVideoMessage|null);
16680
16681
/** ButtonsMessage locationMessage */
16682
locationMessage?: (proto.ILocationMessage|null);
16683
}
16684
16685
/** Represents a ButtonsMessage. */
16686
class ButtonsMessage implements IButtonsMessage {
16687
16688
/**
16689
* Constructs a new ButtonsMessage.
16690
* @param [properties] Properties to set
16691
*/
16692
constructor(properties?: proto.IButtonsMessage);
16693
16694
/** ButtonsMessage contentText. */
16695
public contentText: string;
16696
16697
/** ButtonsMessage footerText. */
16698
public footerText: string;
16699
16700
/** ButtonsMessage contextInfo. */
16701
public contextInfo?: (proto.IContextInfo|null);
16702
16703
/** ButtonsMessage buttons. */
16704
public buttons: proto.IButton[];
16705
16706
/** ButtonsMessage headerType. */
16707
public headerType: proto.ButtonsMessage.ButtonsMessageHeaderType;
16708
16709
/** ButtonsMessage text. */
16710
public text?: (string|null);
16711
16712
/** ButtonsMessage documentMessage. */
16713
public documentMessage?: (proto.IDocumentMessage|null);
16714
16715
/** ButtonsMessage imageMessage. */
16716
public imageMessage?: (proto.IImageMessage|null);
16717
16718
/** ButtonsMessage videoMessage. */
16719
public videoMessage?: (proto.IVideoMessage|null);
16720
16721
/** ButtonsMessage locationMessage. */
16722
public locationMessage?: (proto.ILocationMessage|null);
16723
16724
/** ButtonsMessage header. */
16725
public header?: ("text"|"documentMessage"|"imageMessage"|"videoMessage"|"locationMessage");
16726
16727
/**
16728
* Creates a new ButtonsMessage instance using the specified properties.
16729
* @param [properties] Properties to set
16730
* @returns ButtonsMessage instance
16731
*/
16732
public static create(properties?: proto.IButtonsMessage): proto.ButtonsMessage;
16733
16734
/**
16735
* Encodes the specified ButtonsMessage message. Does not implicitly {@link proto.ButtonsMessage.verify|verify} messages.
16736
* @param message ButtonsMessage message or plain object to encode
16737
* @param [writer] Writer to encode to
16738
* @returns Writer
16739
*/
16740
public static encode(message: proto.IButtonsMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16741
16742
/**
16743
* Encodes the specified ButtonsMessage message, length delimited. Does not implicitly {@link proto.ButtonsMessage.verify|verify} messages.
16744
* @param message ButtonsMessage message or plain object to encode
16745
* @param [writer] Writer to encode to
16746
* @returns Writer
16747
*/
16748
public static encodeDelimited(message: proto.IButtonsMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16749
16750
/**
16751
* Decodes a ButtonsMessage message from the specified reader or buffer.
16752
* @param reader Reader or buffer to decode from
16753
* @param [length] Message length if known beforehand
16754
* @returns ButtonsMessage
16755
* @throws {Error} If the payload is not a reader or valid buffer
16756
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16757
*/
16758
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ButtonsMessage;
16759
16760
/**
16761
* Decodes a ButtonsMessage message from the specified reader or buffer, length delimited.
16762
* @param reader Reader or buffer to decode from
16763
* @returns ButtonsMessage
16764
* @throws {Error} If the payload is not a reader or valid buffer
16765
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16766
*/
16767
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ButtonsMessage;
16768
16769
/**
16770
* Verifies a ButtonsMessage message.
16771
* @param message Plain object to verify
16772
* @returns `null` if valid, otherwise the reason why it is not
16773
*/
16774
public static verify(message: { [k: string]: any }): (string|null);
16775
16776
/**
16777
* Creates a ButtonsMessage message from a plain object. Also converts values to their respective internal types.
16778
* @param object Plain object
16779
* @returns ButtonsMessage
16780
*/
16781
public static fromObject(object: { [k: string]: any }): proto.ButtonsMessage;
16782
16783
/**
16784
* Creates a plain object from a ButtonsMessage message. Also converts values to other types if specified.
16785
* @param message ButtonsMessage
16786
* @param [options] Conversion options
16787
* @returns Plain object
16788
*/
16789
public static toObject(message: proto.ButtonsMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
16790
16791
/**
16792
* Converts this ButtonsMessage to JSON.
16793
* @returns JSON object
16794
*/
16795
public toJSON(): { [k: string]: any };
16796
}
16797
16798
namespace ButtonsMessage {
16799
16800
/** ButtonsMessageHeaderType enum. */
16801
enum ButtonsMessageHeaderType {
16802
UNKNOWN = 0,
16803
EMPTY = 1,
16804
TEXT = 2,
16805
DOCUMENT = 3,
16806
IMAGE = 4,
16807
VIDEO = 5,
16808
LOCATION = 6
16809
}
16810
}
16811
16812
/** Properties of a ButtonsResponseMessage. */
16813
interface IButtonsResponseMessage {
16814
16815
/** ButtonsResponseMessage selectedButtonId */
16816
selectedButtonId?: (string|null);
16817
16818
/** ButtonsResponseMessage contextInfo */
16819
contextInfo?: (proto.IContextInfo|null);
16820
16821
/** ButtonsResponseMessage type */
16822
type?: (proto.ButtonsResponseMessage.ButtonsResponseMessageType|null);
16823
16824
/** ButtonsResponseMessage selectedDisplayText */
16825
selectedDisplayText?: (string|null);
16826
}
16827
16828
/** Represents a ButtonsResponseMessage. */
16829
class ButtonsResponseMessage implements IButtonsResponseMessage {
16830
16831
/**
16832
* Constructs a new ButtonsResponseMessage.
16833
* @param [properties] Properties to set
16834
*/
16835
constructor(properties?: proto.IButtonsResponseMessage);
16836
16837
/** ButtonsResponseMessage selectedButtonId. */
16838
public selectedButtonId: string;
16839
16840
/** ButtonsResponseMessage contextInfo. */
16841
public contextInfo?: (proto.IContextInfo|null);
16842
16843
/** ButtonsResponseMessage type. */
16844
public type: proto.ButtonsResponseMessage.ButtonsResponseMessageType;
16845
16846
/** ButtonsResponseMessage selectedDisplayText. */
16847
public selectedDisplayText?: (string|null);
16848
16849
/** ButtonsResponseMessage response. */
16850
public response?: "selectedDisplayText";
16851
16852
/**
16853
* Creates a new ButtonsResponseMessage instance using the specified properties.
16854
* @param [properties] Properties to set
16855
* @returns ButtonsResponseMessage instance
16856
*/
16857
public static create(properties?: proto.IButtonsResponseMessage): proto.ButtonsResponseMessage;
16858
16859
/**
16860
* Encodes the specified ButtonsResponseMessage message. Does not implicitly {@link proto.ButtonsResponseMessage.verify|verify} messages.
16861
* @param message ButtonsResponseMessage message or plain object to encode
16862
* @param [writer] Writer to encode to
16863
* @returns Writer
16864
*/
16865
public static encode(message: proto.IButtonsResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16866
16867
/**
16868
* Encodes the specified ButtonsResponseMessage message, length delimited. Does not implicitly {@link proto.ButtonsResponseMessage.verify|verify} messages.
16869
* @param message ButtonsResponseMessage message or plain object to encode
16870
* @param [writer] Writer to encode to
16871
* @returns Writer
16872
*/
16873
public static encodeDelimited(message: proto.IButtonsResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16874
16875
/**
16876
* Decodes a ButtonsResponseMessage message from the specified reader or buffer.
16877
* @param reader Reader or buffer to decode from
16878
* @param [length] Message length if known beforehand
16879
* @returns ButtonsResponseMessage
16880
* @throws {Error} If the payload is not a reader or valid buffer
16881
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16882
*/
16883
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ButtonsResponseMessage;
16884
16885
/**
16886
* Decodes a ButtonsResponseMessage message from the specified reader or buffer, length delimited.
16887
* @param reader Reader or buffer to decode from
16888
* @returns ButtonsResponseMessage
16889
* @throws {Error} If the payload is not a reader or valid buffer
16890
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16891
*/
16892
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ButtonsResponseMessage;
16893
16894
/**
16895
* Verifies a ButtonsResponseMessage message.
16896
* @param message Plain object to verify
16897
* @returns `null` if valid, otherwise the reason why it is not
16898
*/
16899
public static verify(message: { [k: string]: any }): (string|null);
16900
16901
/**
16902
* Creates a ButtonsResponseMessage message from a plain object. Also converts values to their respective internal types.
16903
* @param object Plain object
16904
* @returns ButtonsResponseMessage
16905
*/
16906
public static fromObject(object: { [k: string]: any }): proto.ButtonsResponseMessage;
16907
16908
/**
16909
* Creates a plain object from a ButtonsResponseMessage message. Also converts values to other types if specified.
16910
* @param message ButtonsResponseMessage
16911
* @param [options] Conversion options
16912
* @returns Plain object
16913
*/
16914
public static toObject(message: proto.ButtonsResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
16915
16916
/**
16917
* Converts this ButtonsResponseMessage to JSON.
16918
* @returns JSON object
16919
*/
16920
public toJSON(): { [k: string]: any };
16921
}
16922
16923
namespace ButtonsResponseMessage {
16924
16925
/** ButtonsResponseMessageType enum. */
16926
enum ButtonsResponseMessageType {
16927
UNKNOWN = 0,
16928
DISPLAY_TEXT = 1
16929
}
16930
}
16931
16932
/** Properties of a ReactionMessage. */
16933
interface IReactionMessage {
16934
16935
/** ReactionMessage key */
16936
key?: (proto.IMessageKey|null);
16937
16938
/** ReactionMessage text */
16939
text?: (string|null);
16940
16941
/** ReactionMessage groupingKey */
16942
groupingKey?: (string|null);
16943
16944
/** ReactionMessage senderTimestampMs */
16945
senderTimestampMs?: (number|Long|null);
16946
}
16947
16948
/** Represents a ReactionMessage. */
16949
class ReactionMessage implements IReactionMessage {
16950
16951
/**
16952
* Constructs a new ReactionMessage.
16953
* @param [properties] Properties to set
16954
*/
16955
constructor(properties?: proto.IReactionMessage);
16956
16957
/** ReactionMessage key. */
16958
public key?: (proto.IMessageKey|null);
16959
16960
/** ReactionMessage text. */
16961
public text: string;
16962
16963
/** ReactionMessage groupingKey. */
16964
public groupingKey: string;
16965
16966
/** ReactionMessage senderTimestampMs. */
16967
public senderTimestampMs: (number|Long);
16968
16969
/**
16970
* Creates a new ReactionMessage instance using the specified properties.
16971
* @param [properties] Properties to set
16972
* @returns ReactionMessage instance
16973
*/
16974
public static create(properties?: proto.IReactionMessage): proto.ReactionMessage;
16975
16976
/**
16977
* Encodes the specified ReactionMessage message. Does not implicitly {@link proto.ReactionMessage.verify|verify} messages.
16978
* @param message ReactionMessage message or plain object to encode
16979
* @param [writer] Writer to encode to
16980
* @returns Writer
16981
*/
16982
public static encode(message: proto.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16983
16984
/**
16985
* Encodes the specified ReactionMessage message, length delimited. Does not implicitly {@link proto.ReactionMessage.verify|verify} messages.
16986
* @param message ReactionMessage message or plain object to encode
16987
* @param [writer] Writer to encode to
16988
* @returns Writer
16989
*/
16990
public static encodeDelimited(message: proto.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
16991
16992
/**
16993
* Decodes a ReactionMessage message from the specified reader or buffer.
16994
* @param reader Reader or buffer to decode from
16995
* @param [length] Message length if known beforehand
16996
* @returns ReactionMessage
16997
* @throws {Error} If the payload is not a reader or valid buffer
16998
* @throws {$protobuf.util.ProtocolError} If required fields are missing
16999
*/
17000
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ReactionMessage;
17001
17002
/**
17003
* Decodes a ReactionMessage message from the specified reader or buffer, length delimited.
17004
* @param reader Reader or buffer to decode from
17005
* @returns ReactionMessage
17006
* @throws {Error} If the payload is not a reader or valid buffer
17007
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17008
*/
17009
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ReactionMessage;
17010
17011
/**
17012
* Verifies a ReactionMessage message.
17013
* @param message Plain object to verify
17014
* @returns `null` if valid, otherwise the reason why it is not
17015
*/
17016
public static verify(message: { [k: string]: any }): (string|null);
17017
17018
/**
17019
* Creates a ReactionMessage message from a plain object. Also converts values to their respective internal types.
17020
* @param object Plain object
17021
* @returns ReactionMessage
17022
*/
17023
public static fromObject(object: { [k: string]: any }): proto.ReactionMessage;
17024
17025
/**
17026
* Creates a plain object from a ReactionMessage message. Also converts values to other types if specified.
17027
* @param message ReactionMessage
17028
* @param [options] Conversion options
17029
* @returns Plain object
17030
*/
17031
public static toObject(message: proto.ReactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
17032
17033
/**
17034
* Converts this ReactionMessage to JSON.
17035
* @returns JSON object
17036
*/
17037
public toJSON(): { [k: string]: any };
17038
}
17039
17040
/** Properties of a StickerSyncRMRMessage. */
17041
interface IStickerSyncRMRMessage {
17042
17043
/** StickerSyncRMRMessage filehash */
17044
filehash?: (string[]|null);
17045
17046
/** StickerSyncRMRMessage rmrSource */
17047
rmrSource?: (string|null);
17048
17049
/** StickerSyncRMRMessage requestTimestamp */
17050
requestTimestamp?: (number|Long|null);
17051
}
17052
17053
/** Represents a StickerSyncRMRMessage. */
17054
class StickerSyncRMRMessage implements IStickerSyncRMRMessage {
17055
17056
/**
17057
* Constructs a new StickerSyncRMRMessage.
17058
* @param [properties] Properties to set
17059
*/
17060
constructor(properties?: proto.IStickerSyncRMRMessage);
17061
17062
/** StickerSyncRMRMessage filehash. */
17063
public filehash: string[];
17064
17065
/** StickerSyncRMRMessage rmrSource. */
17066
public rmrSource: string;
17067
17068
/** StickerSyncRMRMessage requestTimestamp. */
17069
public requestTimestamp: (number|Long);
17070
17071
/**
17072
* Creates a new StickerSyncRMRMessage instance using the specified properties.
17073
* @param [properties] Properties to set
17074
* @returns StickerSyncRMRMessage instance
17075
*/
17076
public static create(properties?: proto.IStickerSyncRMRMessage): proto.StickerSyncRMRMessage;
17077
17078
/**
17079
* Encodes the specified StickerSyncRMRMessage message. Does not implicitly {@link proto.StickerSyncRMRMessage.verify|verify} messages.
17080
* @param message StickerSyncRMRMessage message or plain object to encode
17081
* @param [writer] Writer to encode to
17082
* @returns Writer
17083
*/
17084
public static encode(message: proto.IStickerSyncRMRMessage, writer?: $protobuf.Writer): $protobuf.Writer;
17085
17086
/**
17087
* Encodes the specified StickerSyncRMRMessage message, length delimited. Does not implicitly {@link proto.StickerSyncRMRMessage.verify|verify} messages.
17088
* @param message StickerSyncRMRMessage message or plain object to encode
17089
* @param [writer] Writer to encode to
17090
* @returns Writer
17091
*/
17092
public static encodeDelimited(message: proto.IStickerSyncRMRMessage, writer?: $protobuf.Writer): $protobuf.Writer;
17093
17094
/**
17095
* Decodes a StickerSyncRMRMessage message from the specified reader or buffer.
17096
* @param reader Reader or buffer to decode from
17097
* @param [length] Message length if known beforehand
17098
* @returns StickerSyncRMRMessage
17099
* @throws {Error} If the payload is not a reader or valid buffer
17100
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17101
*/
17102
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StickerSyncRMRMessage;
17103
17104
/**
17105
* Decodes a StickerSyncRMRMessage message from the specified reader or buffer, length delimited.
17106
* @param reader Reader or buffer to decode from
17107
* @returns StickerSyncRMRMessage
17108
* @throws {Error} If the payload is not a reader or valid buffer
17109
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17110
*/
17111
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StickerSyncRMRMessage;
17112
17113
/**
17114
* Verifies a StickerSyncRMRMessage message.
17115
* @param message Plain object to verify
17116
* @returns `null` if valid, otherwise the reason why it is not
17117
*/
17118
public static verify(message: { [k: string]: any }): (string|null);
17119
17120
/**
17121
* Creates a StickerSyncRMRMessage message from a plain object. Also converts values to their respective internal types.
17122
* @param object Plain object
17123
* @returns StickerSyncRMRMessage
17124
*/
17125
public static fromObject(object: { [k: string]: any }): proto.StickerSyncRMRMessage;
17126
17127
/**
17128
* Creates a plain object from a StickerSyncRMRMessage message. Also converts values to other types if specified.
17129
* @param message StickerSyncRMRMessage
17130
* @param [options] Conversion options
17131
* @returns Plain object
17132
*/
17133
public static toObject(message: proto.StickerSyncRMRMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
17134
17135
/**
17136
* Converts this StickerSyncRMRMessage to JSON.
17137
* @returns JSON object
17138
*/
17139
public toJSON(): { [k: string]: any };
17140
}
17141
17142
/** Properties of a Message. */
17143
interface IMessage {
17144
17145
/** Message conversation */
17146
conversation?: (string|null);
17147
17148
/** Message senderKeyDistributionMessage */
17149
senderKeyDistributionMessage?: (proto.ISenderKeyDistributionMessage|null);
17150
17151
/** Message imageMessage */
17152
imageMessage?: (proto.IImageMessage|null);
17153
17154
/** Message contactMessage */
17155
contactMessage?: (proto.IContactMessage|null);
17156
17157
/** Message locationMessage */
17158
locationMessage?: (proto.ILocationMessage|null);
17159
17160
/** Message extendedTextMessage */
17161
extendedTextMessage?: (proto.IExtendedTextMessage|null);
17162
17163
/** Message documentMessage */
17164
documentMessage?: (proto.IDocumentMessage|null);
17165
17166
/** Message audioMessage */
17167
audioMessage?: (proto.IAudioMessage|null);
17168
17169
/** Message videoMessage */
17170
videoMessage?: (proto.IVideoMessage|null);
17171
17172
/** Message call */
17173
call?: (proto.ICall|null);
17174
17175
/** Message chat */
17176
chat?: (proto.IChat|null);
17177
17178
/** Message protocolMessage */
17179
protocolMessage?: (proto.IProtocolMessage|null);
17180
17181
/** Message contactsArrayMessage */
17182
contactsArrayMessage?: (proto.IContactsArrayMessage|null);
17183
17184
/** Message highlyStructuredMessage */
17185
highlyStructuredMessage?: (proto.IHighlyStructuredMessage|null);
17186
17187
/** Message fastRatchetKeySenderKeyDistributionMessage */
17188
fastRatchetKeySenderKeyDistributionMessage?: (proto.ISenderKeyDistributionMessage|null);
17189
17190
/** Message sendPaymentMessage */
17191
sendPaymentMessage?: (proto.ISendPaymentMessage|null);
17192
17193
/** Message liveLocationMessage */
17194
liveLocationMessage?: (proto.ILiveLocationMessage|null);
17195
17196
/** Message requestPaymentMessage */
17197
requestPaymentMessage?: (proto.IRequestPaymentMessage|null);
17198
17199
/** Message declinePaymentRequestMessage */
17200
declinePaymentRequestMessage?: (proto.IDeclinePaymentRequestMessage|null);
17201
17202
/** Message cancelPaymentRequestMessage */
17203
cancelPaymentRequestMessage?: (proto.ICancelPaymentRequestMessage|null);
17204
17205
/** Message templateMessage */
17206
templateMessage?: (proto.ITemplateMessage|null);
17207
17208
/** Message stickerMessage */
17209
stickerMessage?: (proto.IStickerMessage|null);
17210
17211
/** Message groupInviteMessage */
17212
groupInviteMessage?: (proto.IGroupInviteMessage|null);
17213
17214
/** Message templateButtonReplyMessage */
17215
templateButtonReplyMessage?: (proto.ITemplateButtonReplyMessage|null);
17216
17217
/** Message productMessage */
17218
productMessage?: (proto.IProductMessage|null);
17219
17220
/** Message deviceSentMessage */
17221
deviceSentMessage?: (proto.IDeviceSentMessage|null);
17222
17223
/** Message messageContextInfo */
17224
messageContextInfo?: (proto.IMessageContextInfo|null);
17225
17226
/** Message listMessage */
17227
listMessage?: (proto.IListMessage|null);
17228
17229
/** Message viewOnceMessage */
17230
viewOnceMessage?: (proto.IFutureProofMessage|null);
17231
17232
/** Message orderMessage */
17233
orderMessage?: (proto.IOrderMessage|null);
17234
17235
/** Message listResponseMessage */
17236
listResponseMessage?: (proto.IListResponseMessage|null);
17237
17238
/** Message ephemeralMessage */
17239
ephemeralMessage?: (proto.IFutureProofMessage|null);
17240
17241
/** Message invoiceMessage */
17242
invoiceMessage?: (proto.IInvoiceMessage|null);
17243
17244
/** Message buttonsMessage */
17245
buttonsMessage?: (proto.IButtonsMessage|null);
17246
17247
/** Message buttonsResponseMessage */
17248
buttonsResponseMessage?: (proto.IButtonsResponseMessage|null);
17249
17250
/** Message paymentInviteMessage */
17251
paymentInviteMessage?: (proto.IPaymentInviteMessage|null);
17252
17253
/** Message interactiveMessage */
17254
interactiveMessage?: (proto.IInteractiveMessage|null);
17255
17256
/** Message reactionMessage */
17257
reactionMessage?: (proto.IReactionMessage|null);
17258
17259
/** Message stickerSyncRmrMessage */
17260
stickerSyncRmrMessage?: (proto.IStickerSyncRMRMessage|null);
17261
}
17262
17263
/** Represents a Message. */
17264
class Message implements IMessage {
17265
17266
/**
17267
* Constructs a new Message.
17268
* @param [properties] Properties to set
17269
*/
17270
constructor(properties?: proto.IMessage);
17271
17272
/** Message conversation. */
17273
public conversation: string;
17274
17275
/** Message senderKeyDistributionMessage. */
17276
public senderKeyDistributionMessage?: (proto.ISenderKeyDistributionMessage|null);
17277
17278
/** Message imageMessage. */
17279
public imageMessage?: (proto.IImageMessage|null);
17280
17281
/** Message contactMessage. */
17282
public contactMessage?: (proto.IContactMessage|null);
17283
17284
/** Message locationMessage. */
17285
public locationMessage?: (proto.ILocationMessage|null);
17286
17287
/** Message extendedTextMessage. */
17288
public extendedTextMessage?: (proto.IExtendedTextMessage|null);
17289
17290
/** Message documentMessage. */
17291
public documentMessage?: (proto.IDocumentMessage|null);
17292
17293
/** Message audioMessage. */
17294
public audioMessage?: (proto.IAudioMessage|null);
17295
17296
/** Message videoMessage. */
17297
public videoMessage?: (proto.IVideoMessage|null);
17298
17299
/** Message call. */
17300
public call?: (proto.ICall|null);
17301
17302
/** Message chat. */
17303
public chat?: (proto.IChat|null);
17304
17305
/** Message protocolMessage. */
17306
public protocolMessage?: (proto.IProtocolMessage|null);
17307
17308
/** Message contactsArrayMessage. */
17309
public contactsArrayMessage?: (proto.IContactsArrayMessage|null);
17310
17311
/** Message highlyStructuredMessage. */
17312
public highlyStructuredMessage?: (proto.IHighlyStructuredMessage|null);
17313
17314
/** Message fastRatchetKeySenderKeyDistributionMessage. */
17315
public fastRatchetKeySenderKeyDistributionMessage?: (proto.ISenderKeyDistributionMessage|null);
17316
17317
/** Message sendPaymentMessage. */
17318
public sendPaymentMessage?: (proto.ISendPaymentMessage|null);
17319
17320
/** Message liveLocationMessage. */
17321
public liveLocationMessage?: (proto.ILiveLocationMessage|null);
17322
17323
/** Message requestPaymentMessage. */
17324
public requestPaymentMessage?: (proto.IRequestPaymentMessage|null);
17325
17326
/** Message declinePaymentRequestMessage. */
17327
public declinePaymentRequestMessage?: (proto.IDeclinePaymentRequestMessage|null);
17328
17329
/** Message cancelPaymentRequestMessage. */
17330
public cancelPaymentRequestMessage?: (proto.ICancelPaymentRequestMessage|null);
17331
17332
/** Message templateMessage. */
17333
public templateMessage?: (proto.ITemplateMessage|null);
17334
17335
/** Message stickerMessage. */
17336
public stickerMessage?: (proto.IStickerMessage|null);
17337
17338
/** Message groupInviteMessage. */
17339
public groupInviteMessage?: (proto.IGroupInviteMessage|null);
17340
17341
/** Message templateButtonReplyMessage. */
17342
public templateButtonReplyMessage?: (proto.ITemplateButtonReplyMessage|null);
17343
17344
/** Message productMessage. */
17345
public productMessage?: (proto.IProductMessage|null);
17346
17347
/** Message deviceSentMessage. */
17348
public deviceSentMessage?: (proto.IDeviceSentMessage|null);
17349
17350
/** Message messageContextInfo. */
17351
public messageContextInfo?: (proto.IMessageContextInfo|null);
17352
17353
/** Message listMessage. */
17354
public listMessage?: (proto.IListMessage|null);
17355
17356
/** Message viewOnceMessage. */
17357
public viewOnceMessage?: (proto.IFutureProofMessage|null);
17358
17359
/** Message orderMessage. */
17360
public orderMessage?: (proto.IOrderMessage|null);
17361
17362
/** Message listResponseMessage. */
17363
public listResponseMessage?: (proto.IListResponseMessage|null);
17364
17365
/** Message ephemeralMessage. */
17366
public ephemeralMessage?: (proto.IFutureProofMessage|null);
17367
17368
/** Message invoiceMessage. */
17369
public invoiceMessage?: (proto.IInvoiceMessage|null);
17370
17371
/** Message buttonsMessage. */
17372
public buttonsMessage?: (proto.IButtonsMessage|null);
17373
17374
/** Message buttonsResponseMessage. */
17375
public buttonsResponseMessage?: (proto.IButtonsResponseMessage|null);
17376
17377
/** Message paymentInviteMessage. */
17378
public paymentInviteMessage?: (proto.IPaymentInviteMessage|null);
17379
17380
/** Message interactiveMessage. */
17381
public interactiveMessage?: (proto.IInteractiveMessage|null);
17382
17383
/** Message reactionMessage. */
17384
public reactionMessage?: (proto.IReactionMessage|null);
17385
17386
/** Message stickerSyncRmrMessage. */
17387
public stickerSyncRmrMessage?: (proto.IStickerSyncRMRMessage|null);
17388
17389
/**
17390
* Creates a new Message instance using the specified properties.
17391
* @param [properties] Properties to set
17392
* @returns Message instance
17393
*/
17394
public static create(properties?: proto.IMessage): proto.Message;
17395
17396
/**
17397
* Encodes the specified Message message. Does not implicitly {@link proto.Message.verify|verify} messages.
17398
* @param message Message message or plain object to encode
17399
* @param [writer] Writer to encode to
17400
* @returns Writer
17401
*/
17402
public static encode(message: proto.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
17403
17404
/**
17405
* Encodes the specified Message message, length delimited. Does not implicitly {@link proto.Message.verify|verify} messages.
17406
* @param message Message message or plain object to encode
17407
* @param [writer] Writer to encode to
17408
* @returns Writer
17409
*/
17410
public static encodeDelimited(message: proto.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
17411
17412
/**
17413
* Decodes a Message message from the specified reader or buffer.
17414
* @param reader Reader or buffer to decode from
17415
* @param [length] Message length if known beforehand
17416
* @returns Message
17417
* @throws {Error} If the payload is not a reader or valid buffer
17418
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17419
*/
17420
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Message;
17421
17422
/**
17423
* Decodes a Message message from the specified reader or buffer, length delimited.
17424
* @param reader Reader or buffer to decode from
17425
* @returns Message
17426
* @throws {Error} If the payload is not a reader or valid buffer
17427
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17428
*/
17429
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Message;
17430
17431
/**
17432
* Verifies a Message message.
17433
* @param message Plain object to verify
17434
* @returns `null` if valid, otherwise the reason why it is not
17435
*/
17436
public static verify(message: { [k: string]: any }): (string|null);
17437
17438
/**
17439
* Creates a Message message from a plain object. Also converts values to their respective internal types.
17440
* @param object Plain object
17441
* @returns Message
17442
*/
17443
public static fromObject(object: { [k: string]: any }): proto.Message;
17444
17445
/**
17446
* Creates a plain object from a Message message. Also converts values to other types if specified.
17447
* @param message Message
17448
* @param [options] Conversion options
17449
* @returns Plain object
17450
*/
17451
public static toObject(message: proto.Message, options?: $protobuf.IConversionOptions): { [k: string]: any };
17452
17453
/**
17454
* Converts this Message to JSON.
17455
* @returns JSON object
17456
*/
17457
public toJSON(): { [k: string]: any };
17458
}
17459
17460
/** Properties of an ActionLink. */
17461
interface IActionLink {
17462
17463
/** ActionLink url */
17464
url?: (string|null);
17465
17466
/** ActionLink buttonTitle */
17467
buttonTitle?: (string|null);
17468
}
17469
17470
/** Represents an ActionLink. */
17471
class ActionLink implements IActionLink {
17472
17473
/**
17474
* Constructs a new ActionLink.
17475
* @param [properties] Properties to set
17476
*/
17477
constructor(properties?: proto.IActionLink);
17478
17479
/** ActionLink url. */
17480
public url: string;
17481
17482
/** ActionLink buttonTitle. */
17483
public buttonTitle: string;
17484
17485
/**
17486
* Creates a new ActionLink instance using the specified properties.
17487
* @param [properties] Properties to set
17488
* @returns ActionLink instance
17489
*/
17490
public static create(properties?: proto.IActionLink): proto.ActionLink;
17491
17492
/**
17493
* Encodes the specified ActionLink message. Does not implicitly {@link proto.ActionLink.verify|verify} messages.
17494
* @param message ActionLink message or plain object to encode
17495
* @param [writer] Writer to encode to
17496
* @returns Writer
17497
*/
17498
public static encode(message: proto.IActionLink, writer?: $protobuf.Writer): $protobuf.Writer;
17499
17500
/**
17501
* Encodes the specified ActionLink message, length delimited. Does not implicitly {@link proto.ActionLink.verify|verify} messages.
17502
* @param message ActionLink message or plain object to encode
17503
* @param [writer] Writer to encode to
17504
* @returns Writer
17505
*/
17506
public static encodeDelimited(message: proto.IActionLink, writer?: $protobuf.Writer): $protobuf.Writer;
17507
17508
/**
17509
* Decodes an ActionLink message from the specified reader or buffer.
17510
* @param reader Reader or buffer to decode from
17511
* @param [length] Message length if known beforehand
17512
* @returns ActionLink
17513
* @throws {Error} If the payload is not a reader or valid buffer
17514
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17515
*/
17516
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ActionLink;
17517
17518
/**
17519
* Decodes an ActionLink message from the specified reader or buffer, length delimited.
17520
* @param reader Reader or buffer to decode from
17521
* @returns ActionLink
17522
* @throws {Error} If the payload is not a reader or valid buffer
17523
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17524
*/
17525
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ActionLink;
17526
17527
/**
17528
* Verifies an ActionLink message.
17529
* @param message Plain object to verify
17530
* @returns `null` if valid, otherwise the reason why it is not
17531
*/
17532
public static verify(message: { [k: string]: any }): (string|null);
17533
17534
/**
17535
* Creates an ActionLink message from a plain object. Also converts values to their respective internal types.
17536
* @param object Plain object
17537
* @returns ActionLink
17538
*/
17539
public static fromObject(object: { [k: string]: any }): proto.ActionLink;
17540
17541
/**
17542
* Creates a plain object from an ActionLink message. Also converts values to other types if specified.
17543
* @param message ActionLink
17544
* @param [options] Conversion options
17545
* @returns Plain object
17546
*/
17547
public static toObject(message: proto.ActionLink, options?: $protobuf.IConversionOptions): { [k: string]: any };
17548
17549
/**
17550
* Converts this ActionLink to JSON.
17551
* @returns JSON object
17552
*/
17553
public toJSON(): { [k: string]: any };
17554
}
17555
17556
/** Properties of a DisappearingMode. */
17557
interface IDisappearingMode {
17558
17559
/** DisappearingMode initiator */
17560
initiator?: (proto.DisappearingMode.DisappearingModeInitiator|null);
17561
}
17562
17563
/** Represents a DisappearingMode. */
17564
class DisappearingMode implements IDisappearingMode {
17565
17566
/**
17567
* Constructs a new DisappearingMode.
17568
* @param [properties] Properties to set
17569
*/
17570
constructor(properties?: proto.IDisappearingMode);
17571
17572
/** DisappearingMode initiator. */
17573
public initiator: proto.DisappearingMode.DisappearingModeInitiator;
17574
17575
/**
17576
* Creates a new DisappearingMode instance using the specified properties.
17577
* @param [properties] Properties to set
17578
* @returns DisappearingMode instance
17579
*/
17580
public static create(properties?: proto.IDisappearingMode): proto.DisappearingMode;
17581
17582
/**
17583
* Encodes the specified DisappearingMode message. Does not implicitly {@link proto.DisappearingMode.verify|verify} messages.
17584
* @param message DisappearingMode message or plain object to encode
17585
* @param [writer] Writer to encode to
17586
* @returns Writer
17587
*/
17588
public static encode(message: proto.IDisappearingMode, writer?: $protobuf.Writer): $protobuf.Writer;
17589
17590
/**
17591
* Encodes the specified DisappearingMode message, length delimited. Does not implicitly {@link proto.DisappearingMode.verify|verify} messages.
17592
* @param message DisappearingMode message or plain object to encode
17593
* @param [writer] Writer to encode to
17594
* @returns Writer
17595
*/
17596
public static encodeDelimited(message: proto.IDisappearingMode, writer?: $protobuf.Writer): $protobuf.Writer;
17597
17598
/**
17599
* Decodes a DisappearingMode message from the specified reader or buffer.
17600
* @param reader Reader or buffer to decode from
17601
* @param [length] Message length if known beforehand
17602
* @returns DisappearingMode
17603
* @throws {Error} If the payload is not a reader or valid buffer
17604
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17605
*/
17606
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.DisappearingMode;
17607
17608
/**
17609
* Decodes a DisappearingMode message from the specified reader or buffer, length delimited.
17610
* @param reader Reader or buffer to decode from
17611
* @returns DisappearingMode
17612
* @throws {Error} If the payload is not a reader or valid buffer
17613
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17614
*/
17615
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.DisappearingMode;
17616
17617
/**
17618
* Verifies a DisappearingMode message.
17619
* @param message Plain object to verify
17620
* @returns `null` if valid, otherwise the reason why it is not
17621
*/
17622
public static verify(message: { [k: string]: any }): (string|null);
17623
17624
/**
17625
* Creates a DisappearingMode message from a plain object. Also converts values to their respective internal types.
17626
* @param object Plain object
17627
* @returns DisappearingMode
17628
*/
17629
public static fromObject(object: { [k: string]: any }): proto.DisappearingMode;
17630
17631
/**
17632
* Creates a plain object from a DisappearingMode message. Also converts values to other types if specified.
17633
* @param message DisappearingMode
17634
* @param [options] Conversion options
17635
* @returns Plain object
17636
*/
17637
public static toObject(message: proto.DisappearingMode, options?: $protobuf.IConversionOptions): { [k: string]: any };
17638
17639
/**
17640
* Converts this DisappearingMode to JSON.
17641
* @returns JSON object
17642
*/
17643
public toJSON(): { [k: string]: any };
17644
}
17645
17646
namespace DisappearingMode {
17647
17648
/** DisappearingModeInitiator enum. */
17649
enum DisappearingModeInitiator {
17650
CHANGED_IN_CHAT = 0,
17651
INITIATED_BY_ME = 1,
17652
INITIATED_BY_OTHER = 2
17653
}
17654
}
17655
17656
/** Properties of a PBMediaData. */
17657
interface IPBMediaData {
17658
17659
/** PBMediaData mediaKey */
17660
mediaKey?: (Uint8Array|null);
17661
17662
/** PBMediaData mediaKeyTimestamp */
17663
mediaKeyTimestamp?: (number|Long|null);
17664
17665
/** PBMediaData fileSha256 */
17666
fileSha256?: (Uint8Array|null);
17667
17668
/** PBMediaData fileEncSha256 */
17669
fileEncSha256?: (Uint8Array|null);
17670
17671
/** PBMediaData directPath */
17672
directPath?: (string|null);
17673
}
17674
17675
/** Represents a PBMediaData. */
17676
class PBMediaData implements IPBMediaData {
17677
17678
/**
17679
* Constructs a new PBMediaData.
17680
* @param [properties] Properties to set
17681
*/
17682
constructor(properties?: proto.IPBMediaData);
17683
17684
/** PBMediaData mediaKey. */
17685
public mediaKey: Uint8Array;
17686
17687
/** PBMediaData mediaKeyTimestamp. */
17688
public mediaKeyTimestamp: (number|Long);
17689
17690
/** PBMediaData fileSha256. */
17691
public fileSha256: Uint8Array;
17692
17693
/** PBMediaData fileEncSha256. */
17694
public fileEncSha256: Uint8Array;
17695
17696
/** PBMediaData directPath. */
17697
public directPath: string;
17698
17699
/**
17700
* Creates a new PBMediaData instance using the specified properties.
17701
* @param [properties] Properties to set
17702
* @returns PBMediaData instance
17703
*/
17704
public static create(properties?: proto.IPBMediaData): proto.PBMediaData;
17705
17706
/**
17707
* Encodes the specified PBMediaData message. Does not implicitly {@link proto.PBMediaData.verify|verify} messages.
17708
* @param message PBMediaData message or plain object to encode
17709
* @param [writer] Writer to encode to
17710
* @returns Writer
17711
*/
17712
public static encode(message: proto.IPBMediaData, writer?: $protobuf.Writer): $protobuf.Writer;
17713
17714
/**
17715
* Encodes the specified PBMediaData message, length delimited. Does not implicitly {@link proto.PBMediaData.verify|verify} messages.
17716
* @param message PBMediaData message or plain object to encode
17717
* @param [writer] Writer to encode to
17718
* @returns Writer
17719
*/
17720
public static encodeDelimited(message: proto.IPBMediaData, writer?: $protobuf.Writer): $protobuf.Writer;
17721
17722
/**
17723
* Decodes a PBMediaData message from the specified reader or buffer.
17724
* @param reader Reader or buffer to decode from
17725
* @param [length] Message length if known beforehand
17726
* @returns PBMediaData
17727
* @throws {Error} If the payload is not a reader or valid buffer
17728
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17729
*/
17730
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PBMediaData;
17731
17732
/**
17733
* Decodes a PBMediaData message from the specified reader or buffer, length delimited.
17734
* @param reader Reader or buffer to decode from
17735
* @returns PBMediaData
17736
* @throws {Error} If the payload is not a reader or valid buffer
17737
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17738
*/
17739
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PBMediaData;
17740
17741
/**
17742
* Verifies a PBMediaData message.
17743
* @param message Plain object to verify
17744
* @returns `null` if valid, otherwise the reason why it is not
17745
*/
17746
public static verify(message: { [k: string]: any }): (string|null);
17747
17748
/**
17749
* Creates a PBMediaData message from a plain object. Also converts values to their respective internal types.
17750
* @param object Plain object
17751
* @returns PBMediaData
17752
*/
17753
public static fromObject(object: { [k: string]: any }): proto.PBMediaData;
17754
17755
/**
17756
* Creates a plain object from a PBMediaData message. Also converts values to other types if specified.
17757
* @param message PBMediaData
17758
* @param [options] Conversion options
17759
* @returns Plain object
17760
*/
17761
public static toObject(message: proto.PBMediaData, options?: $protobuf.IConversionOptions): { [k: string]: any };
17762
17763
/**
17764
* Converts this PBMediaData to JSON.
17765
* @returns JSON object
17766
*/
17767
public toJSON(): { [k: string]: any };
17768
}
17769
17770
/** Properties of a PaymentBackground. */
17771
interface IPaymentBackground {
17772
17773
/** PaymentBackground id */
17774
id?: (string|null);
17775
17776
/** PaymentBackground fileLength */
17777
fileLength?: (number|Long|null);
17778
17779
/** PaymentBackground width */
17780
width?: (number|null);
17781
17782
/** PaymentBackground height */
17783
height?: (number|null);
17784
17785
/** PaymentBackground mimetype */
17786
mimetype?: (string|null);
17787
17788
/** PaymentBackground placeholderArgb */
17789
placeholderArgb?: (number|null);
17790
17791
/** PaymentBackground textArgb */
17792
textArgb?: (number|null);
17793
17794
/** PaymentBackground subtextArgb */
17795
subtextArgb?: (number|null);
17796
17797
/** PaymentBackground mediaData */
17798
mediaData?: (proto.IPBMediaData|null);
17799
17800
/** PaymentBackground type */
17801
type?: (proto.PaymentBackground.PaymentBackgroundType|null);
17802
}
17803
17804
/** Represents a PaymentBackground. */
17805
class PaymentBackground implements IPaymentBackground {
17806
17807
/**
17808
* Constructs a new PaymentBackground.
17809
* @param [properties] Properties to set
17810
*/
17811
constructor(properties?: proto.IPaymentBackground);
17812
17813
/** PaymentBackground id. */
17814
public id: string;
17815
17816
/** PaymentBackground fileLength. */
17817
public fileLength: (number|Long);
17818
17819
/** PaymentBackground width. */
17820
public width: number;
17821
17822
/** PaymentBackground height. */
17823
public height: number;
17824
17825
/** PaymentBackground mimetype. */
17826
public mimetype: string;
17827
17828
/** PaymentBackground placeholderArgb. */
17829
public placeholderArgb: number;
17830
17831
/** PaymentBackground textArgb. */
17832
public textArgb: number;
17833
17834
/** PaymentBackground subtextArgb. */
17835
public subtextArgb: number;
17836
17837
/** PaymentBackground mediaData. */
17838
public mediaData?: (proto.IPBMediaData|null);
17839
17840
/** PaymentBackground type. */
17841
public type: proto.PaymentBackground.PaymentBackgroundType;
17842
17843
/**
17844
* Creates a new PaymentBackground instance using the specified properties.
17845
* @param [properties] Properties to set
17846
* @returns PaymentBackground instance
17847
*/
17848
public static create(properties?: proto.IPaymentBackground): proto.PaymentBackground;
17849
17850
/**
17851
* Encodes the specified PaymentBackground message. Does not implicitly {@link proto.PaymentBackground.verify|verify} messages.
17852
* @param message PaymentBackground message or plain object to encode
17853
* @param [writer] Writer to encode to
17854
* @returns Writer
17855
*/
17856
public static encode(message: proto.IPaymentBackground, writer?: $protobuf.Writer): $protobuf.Writer;
17857
17858
/**
17859
* Encodes the specified PaymentBackground message, length delimited. Does not implicitly {@link proto.PaymentBackground.verify|verify} messages.
17860
* @param message PaymentBackground message or plain object to encode
17861
* @param [writer] Writer to encode to
17862
* @returns Writer
17863
*/
17864
public static encodeDelimited(message: proto.IPaymentBackground, writer?: $protobuf.Writer): $protobuf.Writer;
17865
17866
/**
17867
* Decodes a PaymentBackground message from the specified reader or buffer.
17868
* @param reader Reader or buffer to decode from
17869
* @param [length] Message length if known beforehand
17870
* @returns PaymentBackground
17871
* @throws {Error} If the payload is not a reader or valid buffer
17872
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17873
*/
17874
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PaymentBackground;
17875
17876
/**
17877
* Decodes a PaymentBackground message from the specified reader or buffer, length delimited.
17878
* @param reader Reader or buffer to decode from
17879
* @returns PaymentBackground
17880
* @throws {Error} If the payload is not a reader or valid buffer
17881
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17882
*/
17883
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PaymentBackground;
17884
17885
/**
17886
* Verifies a PaymentBackground message.
17887
* @param message Plain object to verify
17888
* @returns `null` if valid, otherwise the reason why it is not
17889
*/
17890
public static verify(message: { [k: string]: any }): (string|null);
17891
17892
/**
17893
* Creates a PaymentBackground message from a plain object. Also converts values to their respective internal types.
17894
* @param object Plain object
17895
* @returns PaymentBackground
17896
*/
17897
public static fromObject(object: { [k: string]: any }): proto.PaymentBackground;
17898
17899
/**
17900
* Creates a plain object from a PaymentBackground message. Also converts values to other types if specified.
17901
* @param message PaymentBackground
17902
* @param [options] Conversion options
17903
* @returns Plain object
17904
*/
17905
public static toObject(message: proto.PaymentBackground, options?: $protobuf.IConversionOptions): { [k: string]: any };
17906
17907
/**
17908
* Converts this PaymentBackground to JSON.
17909
* @returns JSON object
17910
*/
17911
public toJSON(): { [k: string]: any };
17912
}
17913
17914
namespace PaymentBackground {
17915
17916
/** PaymentBackgroundType enum. */
17917
enum PaymentBackgroundType {
17918
UNKNOWN = 0,
17919
DEFAULT = 1
17920
}
17921
}
17922
17923
/** Properties of a Money. */
17924
interface IMoney {
17925
17926
/** Money value */
17927
value?: (number|Long|null);
17928
17929
/** Money offset */
17930
offset?: (number|null);
17931
17932
/** Money currencyCode */
17933
currencyCode?: (string|null);
17934
}
17935
17936
/** Represents a Money. */
17937
class Money implements IMoney {
17938
17939
/**
17940
* Constructs a new Money.
17941
* @param [properties] Properties to set
17942
*/
17943
constructor(properties?: proto.IMoney);
17944
17945
/** Money value. */
17946
public value: (number|Long);
17947
17948
/** Money offset. */
17949
public offset: number;
17950
17951
/** Money currencyCode. */
17952
public currencyCode: string;
17953
17954
/**
17955
* Creates a new Money instance using the specified properties.
17956
* @param [properties] Properties to set
17957
* @returns Money instance
17958
*/
17959
public static create(properties?: proto.IMoney): proto.Money;
17960
17961
/**
17962
* Encodes the specified Money message. Does not implicitly {@link proto.Money.verify|verify} messages.
17963
* @param message Money message or plain object to encode
17964
* @param [writer] Writer to encode to
17965
* @returns Writer
17966
*/
17967
public static encode(message: proto.IMoney, writer?: $protobuf.Writer): $protobuf.Writer;
17968
17969
/**
17970
* Encodes the specified Money message, length delimited. Does not implicitly {@link proto.Money.verify|verify} messages.
17971
* @param message Money message or plain object to encode
17972
* @param [writer] Writer to encode to
17973
* @returns Writer
17974
*/
17975
public static encodeDelimited(message: proto.IMoney, writer?: $protobuf.Writer): $protobuf.Writer;
17976
17977
/**
17978
* Decodes a Money message from the specified reader or buffer.
17979
* @param reader Reader or buffer to decode from
17980
* @param [length] Message length if known beforehand
17981
* @returns Money
17982
* @throws {Error} If the payload is not a reader or valid buffer
17983
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17984
*/
17985
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Money;
17986
17987
/**
17988
* Decodes a Money message from the specified reader or buffer, length delimited.
17989
* @param reader Reader or buffer to decode from
17990
* @returns Money
17991
* @throws {Error} If the payload is not a reader or valid buffer
17992
* @throws {$protobuf.util.ProtocolError} If required fields are missing
17993
*/
17994
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Money;
17995
17996
/**
17997
* Verifies a Money message.
17998
* @param message Plain object to verify
17999
* @returns `null` if valid, otherwise the reason why it is not
18000
*/
18001
public static verify(message: { [k: string]: any }): (string|null);
18002
18003
/**
18004
* Creates a Money message from a plain object. Also converts values to their respective internal types.
18005
* @param object Plain object
18006
* @returns Money
18007
*/
18008
public static fromObject(object: { [k: string]: any }): proto.Money;
18009
18010
/**
18011
* Creates a plain object from a Money message. Also converts values to other types if specified.
18012
* @param message Money
18013
* @param [options] Conversion options
18014
* @returns Plain object
18015
*/
18016
public static toObject(message: proto.Money, options?: $protobuf.IConversionOptions): { [k: string]: any };
18017
18018
/**
18019
* Converts this Money to JSON.
18020
* @returns JSON object
18021
*/
18022
public toJSON(): { [k: string]: any };
18023
}
18024
18025
/** Properties of a HydratedQuickReplyButton. */
18026
interface IHydratedQuickReplyButton {
18027
18028
/** HydratedQuickReplyButton displayText */
18029
displayText?: (string|null);
18030
18031
/** HydratedQuickReplyButton id */
18032
id?: (string|null);
18033
}
18034
18035
/** Represents a HydratedQuickReplyButton. */
18036
class HydratedQuickReplyButton implements IHydratedQuickReplyButton {
18037
18038
/**
18039
* Constructs a new HydratedQuickReplyButton.
18040
* @param [properties] Properties to set
18041
*/
18042
constructor(properties?: proto.IHydratedQuickReplyButton);
18043
18044
/** HydratedQuickReplyButton displayText. */
18045
public displayText: string;
18046
18047
/** HydratedQuickReplyButton id. */
18048
public id: string;
18049
18050
/**
18051
* Creates a new HydratedQuickReplyButton instance using the specified properties.
18052
* @param [properties] Properties to set
18053
* @returns HydratedQuickReplyButton instance
18054
*/
18055
public static create(properties?: proto.IHydratedQuickReplyButton): proto.HydratedQuickReplyButton;
18056
18057
/**
18058
* Encodes the specified HydratedQuickReplyButton message. Does not implicitly {@link proto.HydratedQuickReplyButton.verify|verify} messages.
18059
* @param message HydratedQuickReplyButton message or plain object to encode
18060
* @param [writer] Writer to encode to
18061
* @returns Writer
18062
*/
18063
public static encode(message: proto.IHydratedQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
18064
18065
/**
18066
* Encodes the specified HydratedQuickReplyButton message, length delimited. Does not implicitly {@link proto.HydratedQuickReplyButton.verify|verify} messages.
18067
* @param message HydratedQuickReplyButton message or plain object to encode
18068
* @param [writer] Writer to encode to
18069
* @returns Writer
18070
*/
18071
public static encodeDelimited(message: proto.IHydratedQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
18072
18073
/**
18074
* Decodes a HydratedQuickReplyButton message from the specified reader or buffer.
18075
* @param reader Reader or buffer to decode from
18076
* @param [length] Message length if known beforehand
18077
* @returns HydratedQuickReplyButton
18078
* @throws {Error} If the payload is not a reader or valid buffer
18079
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18080
*/
18081
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HydratedQuickReplyButton;
18082
18083
/**
18084
* Decodes a HydratedQuickReplyButton message from the specified reader or buffer, length delimited.
18085
* @param reader Reader or buffer to decode from
18086
* @returns HydratedQuickReplyButton
18087
* @throws {Error} If the payload is not a reader or valid buffer
18088
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18089
*/
18090
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HydratedQuickReplyButton;
18091
18092
/**
18093
* Verifies a HydratedQuickReplyButton message.
18094
* @param message Plain object to verify
18095
* @returns `null` if valid, otherwise the reason why it is not
18096
*/
18097
public static verify(message: { [k: string]: any }): (string|null);
18098
18099
/**
18100
* Creates a HydratedQuickReplyButton message from a plain object. Also converts values to their respective internal types.
18101
* @param object Plain object
18102
* @returns HydratedQuickReplyButton
18103
*/
18104
public static fromObject(object: { [k: string]: any }): proto.HydratedQuickReplyButton;
18105
18106
/**
18107
* Creates a plain object from a HydratedQuickReplyButton message. Also converts values to other types if specified.
18108
* @param message HydratedQuickReplyButton
18109
* @param [options] Conversion options
18110
* @returns Plain object
18111
*/
18112
public static toObject(message: proto.HydratedQuickReplyButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18113
18114
/**
18115
* Converts this HydratedQuickReplyButton to JSON.
18116
* @returns JSON object
18117
*/
18118
public toJSON(): { [k: string]: any };
18119
}
18120
18121
/** Properties of a HydratedURLButton. */
18122
interface IHydratedURLButton {
18123
18124
/** HydratedURLButton displayText */
18125
displayText?: (string|null);
18126
18127
/** HydratedURLButton url */
18128
url?: (string|null);
18129
}
18130
18131
/** Represents a HydratedURLButton. */
18132
class HydratedURLButton implements IHydratedURLButton {
18133
18134
/**
18135
* Constructs a new HydratedURLButton.
18136
* @param [properties] Properties to set
18137
*/
18138
constructor(properties?: proto.IHydratedURLButton);
18139
18140
/** HydratedURLButton displayText. */
18141
public displayText: string;
18142
18143
/** HydratedURLButton url. */
18144
public url: string;
18145
18146
/**
18147
* Creates a new HydratedURLButton instance using the specified properties.
18148
* @param [properties] Properties to set
18149
* @returns HydratedURLButton instance
18150
*/
18151
public static create(properties?: proto.IHydratedURLButton): proto.HydratedURLButton;
18152
18153
/**
18154
* Encodes the specified HydratedURLButton message. Does not implicitly {@link proto.HydratedURLButton.verify|verify} messages.
18155
* @param message HydratedURLButton message or plain object to encode
18156
* @param [writer] Writer to encode to
18157
* @returns Writer
18158
*/
18159
public static encode(message: proto.IHydratedURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
18160
18161
/**
18162
* Encodes the specified HydratedURLButton message, length delimited. Does not implicitly {@link proto.HydratedURLButton.verify|verify} messages.
18163
* @param message HydratedURLButton message or plain object to encode
18164
* @param [writer] Writer to encode to
18165
* @returns Writer
18166
*/
18167
public static encodeDelimited(message: proto.IHydratedURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
18168
18169
/**
18170
* Decodes a HydratedURLButton message from the specified reader or buffer.
18171
* @param reader Reader or buffer to decode from
18172
* @param [length] Message length if known beforehand
18173
* @returns HydratedURLButton
18174
* @throws {Error} If the payload is not a reader or valid buffer
18175
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18176
*/
18177
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HydratedURLButton;
18178
18179
/**
18180
* Decodes a HydratedURLButton message from the specified reader or buffer, length delimited.
18181
* @param reader Reader or buffer to decode from
18182
* @returns HydratedURLButton
18183
* @throws {Error} If the payload is not a reader or valid buffer
18184
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18185
*/
18186
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HydratedURLButton;
18187
18188
/**
18189
* Verifies a HydratedURLButton message.
18190
* @param message Plain object to verify
18191
* @returns `null` if valid, otherwise the reason why it is not
18192
*/
18193
public static verify(message: { [k: string]: any }): (string|null);
18194
18195
/**
18196
* Creates a HydratedURLButton message from a plain object. Also converts values to their respective internal types.
18197
* @param object Plain object
18198
* @returns HydratedURLButton
18199
*/
18200
public static fromObject(object: { [k: string]: any }): proto.HydratedURLButton;
18201
18202
/**
18203
* Creates a plain object from a HydratedURLButton message. Also converts values to other types if specified.
18204
* @param message HydratedURLButton
18205
* @param [options] Conversion options
18206
* @returns Plain object
18207
*/
18208
public static toObject(message: proto.HydratedURLButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18209
18210
/**
18211
* Converts this HydratedURLButton to JSON.
18212
* @returns JSON object
18213
*/
18214
public toJSON(): { [k: string]: any };
18215
}
18216
18217
/** Properties of a HydratedCallButton. */
18218
interface IHydratedCallButton {
18219
18220
/** HydratedCallButton displayText */
18221
displayText?: (string|null);
18222
18223
/** HydratedCallButton phoneNumber */
18224
phoneNumber?: (string|null);
18225
}
18226
18227
/** Represents a HydratedCallButton. */
18228
class HydratedCallButton implements IHydratedCallButton {
18229
18230
/**
18231
* Constructs a new HydratedCallButton.
18232
* @param [properties] Properties to set
18233
*/
18234
constructor(properties?: proto.IHydratedCallButton);
18235
18236
/** HydratedCallButton displayText. */
18237
public displayText: string;
18238
18239
/** HydratedCallButton phoneNumber. */
18240
public phoneNumber: string;
18241
18242
/**
18243
* Creates a new HydratedCallButton instance using the specified properties.
18244
* @param [properties] Properties to set
18245
* @returns HydratedCallButton instance
18246
*/
18247
public static create(properties?: proto.IHydratedCallButton): proto.HydratedCallButton;
18248
18249
/**
18250
* Encodes the specified HydratedCallButton message. Does not implicitly {@link proto.HydratedCallButton.verify|verify} messages.
18251
* @param message HydratedCallButton message or plain object to encode
18252
* @param [writer] Writer to encode to
18253
* @returns Writer
18254
*/
18255
public static encode(message: proto.IHydratedCallButton, writer?: $protobuf.Writer): $protobuf.Writer;
18256
18257
/**
18258
* Encodes the specified HydratedCallButton message, length delimited. Does not implicitly {@link proto.HydratedCallButton.verify|verify} messages.
18259
* @param message HydratedCallButton message or plain object to encode
18260
* @param [writer] Writer to encode to
18261
* @returns Writer
18262
*/
18263
public static encodeDelimited(message: proto.IHydratedCallButton, writer?: $protobuf.Writer): $protobuf.Writer;
18264
18265
/**
18266
* Decodes a HydratedCallButton message from the specified reader or buffer.
18267
* @param reader Reader or buffer to decode from
18268
* @param [length] Message length if known beforehand
18269
* @returns HydratedCallButton
18270
* @throws {Error} If the payload is not a reader or valid buffer
18271
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18272
*/
18273
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HydratedCallButton;
18274
18275
/**
18276
* Decodes a HydratedCallButton message from the specified reader or buffer, length delimited.
18277
* @param reader Reader or buffer to decode from
18278
* @returns HydratedCallButton
18279
* @throws {Error} If the payload is not a reader or valid buffer
18280
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18281
*/
18282
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HydratedCallButton;
18283
18284
/**
18285
* Verifies a HydratedCallButton message.
18286
* @param message Plain object to verify
18287
* @returns `null` if valid, otherwise the reason why it is not
18288
*/
18289
public static verify(message: { [k: string]: any }): (string|null);
18290
18291
/**
18292
* Creates a HydratedCallButton message from a plain object. Also converts values to their respective internal types.
18293
* @param object Plain object
18294
* @returns HydratedCallButton
18295
*/
18296
public static fromObject(object: { [k: string]: any }): proto.HydratedCallButton;
18297
18298
/**
18299
* Creates a plain object from a HydratedCallButton message. Also converts values to other types if specified.
18300
* @param message HydratedCallButton
18301
* @param [options] Conversion options
18302
* @returns Plain object
18303
*/
18304
public static toObject(message: proto.HydratedCallButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18305
18306
/**
18307
* Converts this HydratedCallButton to JSON.
18308
* @returns JSON object
18309
*/
18310
public toJSON(): { [k: string]: any };
18311
}
18312
18313
/** Properties of a HydratedTemplateButton. */
18314
interface IHydratedTemplateButton {
18315
18316
/** HydratedTemplateButton index */
18317
index?: (number|null);
18318
18319
/** HydratedTemplateButton quickReplyButton */
18320
quickReplyButton?: (proto.IHydratedQuickReplyButton|null);
18321
18322
/** HydratedTemplateButton urlButton */
18323
urlButton?: (proto.IHydratedURLButton|null);
18324
18325
/** HydratedTemplateButton callButton */
18326
callButton?: (proto.IHydratedCallButton|null);
18327
}
18328
18329
/** Represents a HydratedTemplateButton. */
18330
class HydratedTemplateButton implements IHydratedTemplateButton {
18331
18332
/**
18333
* Constructs a new HydratedTemplateButton.
18334
* @param [properties] Properties to set
18335
*/
18336
constructor(properties?: proto.IHydratedTemplateButton);
18337
18338
/** HydratedTemplateButton index. */
18339
public index: number;
18340
18341
/** HydratedTemplateButton quickReplyButton. */
18342
public quickReplyButton?: (proto.IHydratedQuickReplyButton|null);
18343
18344
/** HydratedTemplateButton urlButton. */
18345
public urlButton?: (proto.IHydratedURLButton|null);
18346
18347
/** HydratedTemplateButton callButton. */
18348
public callButton?: (proto.IHydratedCallButton|null);
18349
18350
/** HydratedTemplateButton hydratedButton. */
18351
public hydratedButton?: ("quickReplyButton"|"urlButton"|"callButton");
18352
18353
/**
18354
* Creates a new HydratedTemplateButton instance using the specified properties.
18355
* @param [properties] Properties to set
18356
* @returns HydratedTemplateButton instance
18357
*/
18358
public static create(properties?: proto.IHydratedTemplateButton): proto.HydratedTemplateButton;
18359
18360
/**
18361
* Encodes the specified HydratedTemplateButton message. Does not implicitly {@link proto.HydratedTemplateButton.verify|verify} messages.
18362
* @param message HydratedTemplateButton message or plain object to encode
18363
* @param [writer] Writer to encode to
18364
* @returns Writer
18365
*/
18366
public static encode(message: proto.IHydratedTemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
18367
18368
/**
18369
* Encodes the specified HydratedTemplateButton message, length delimited. Does not implicitly {@link proto.HydratedTemplateButton.verify|verify} messages.
18370
* @param message HydratedTemplateButton message or plain object to encode
18371
* @param [writer] Writer to encode to
18372
* @returns Writer
18373
*/
18374
public static encodeDelimited(message: proto.IHydratedTemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
18375
18376
/**
18377
* Decodes a HydratedTemplateButton message from the specified reader or buffer.
18378
* @param reader Reader or buffer to decode from
18379
* @param [length] Message length if known beforehand
18380
* @returns HydratedTemplateButton
18381
* @throws {Error} If the payload is not a reader or valid buffer
18382
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18383
*/
18384
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.HydratedTemplateButton;
18385
18386
/**
18387
* Decodes a HydratedTemplateButton message from the specified reader or buffer, length delimited.
18388
* @param reader Reader or buffer to decode from
18389
* @returns HydratedTemplateButton
18390
* @throws {Error} If the payload is not a reader or valid buffer
18391
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18392
*/
18393
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.HydratedTemplateButton;
18394
18395
/**
18396
* Verifies a HydratedTemplateButton message.
18397
* @param message Plain object to verify
18398
* @returns `null` if valid, otherwise the reason why it is not
18399
*/
18400
public static verify(message: { [k: string]: any }): (string|null);
18401
18402
/**
18403
* Creates a HydratedTemplateButton message from a plain object. Also converts values to their respective internal types.
18404
* @param object Plain object
18405
* @returns HydratedTemplateButton
18406
*/
18407
public static fromObject(object: { [k: string]: any }): proto.HydratedTemplateButton;
18408
18409
/**
18410
* Creates a plain object from a HydratedTemplateButton message. Also converts values to other types if specified.
18411
* @param message HydratedTemplateButton
18412
* @param [options] Conversion options
18413
* @returns Plain object
18414
*/
18415
public static toObject(message: proto.HydratedTemplateButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18416
18417
/**
18418
* Converts this HydratedTemplateButton to JSON.
18419
* @returns JSON object
18420
*/
18421
public toJSON(): { [k: string]: any };
18422
}
18423
18424
/** Properties of a QuickReplyButton. */
18425
interface IQuickReplyButton {
18426
18427
/** QuickReplyButton displayText */
18428
displayText?: (proto.IHighlyStructuredMessage|null);
18429
18430
/** QuickReplyButton id */
18431
id?: (string|null);
18432
}
18433
18434
/** Represents a QuickReplyButton. */
18435
class QuickReplyButton implements IQuickReplyButton {
18436
18437
/**
18438
* Constructs a new QuickReplyButton.
18439
* @param [properties] Properties to set
18440
*/
18441
constructor(properties?: proto.IQuickReplyButton);
18442
18443
/** QuickReplyButton displayText. */
18444
public displayText?: (proto.IHighlyStructuredMessage|null);
18445
18446
/** QuickReplyButton id. */
18447
public id: string;
18448
18449
/**
18450
* Creates a new QuickReplyButton instance using the specified properties.
18451
* @param [properties] Properties to set
18452
* @returns QuickReplyButton instance
18453
*/
18454
public static create(properties?: proto.IQuickReplyButton): proto.QuickReplyButton;
18455
18456
/**
18457
* Encodes the specified QuickReplyButton message. Does not implicitly {@link proto.QuickReplyButton.verify|verify} messages.
18458
* @param message QuickReplyButton message or plain object to encode
18459
* @param [writer] Writer to encode to
18460
* @returns Writer
18461
*/
18462
public static encode(message: proto.IQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
18463
18464
/**
18465
* Encodes the specified QuickReplyButton message, length delimited. Does not implicitly {@link proto.QuickReplyButton.verify|verify} messages.
18466
* @param message QuickReplyButton message or plain object to encode
18467
* @param [writer] Writer to encode to
18468
* @returns Writer
18469
*/
18470
public static encodeDelimited(message: proto.IQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
18471
18472
/**
18473
* Decodes a QuickReplyButton message from the specified reader or buffer.
18474
* @param reader Reader or buffer to decode from
18475
* @param [length] Message length if known beforehand
18476
* @returns QuickReplyButton
18477
* @throws {Error} If the payload is not a reader or valid buffer
18478
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18479
*/
18480
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.QuickReplyButton;
18481
18482
/**
18483
* Decodes a QuickReplyButton message from the specified reader or buffer, length delimited.
18484
* @param reader Reader or buffer to decode from
18485
* @returns QuickReplyButton
18486
* @throws {Error} If the payload is not a reader or valid buffer
18487
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18488
*/
18489
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.QuickReplyButton;
18490
18491
/**
18492
* Verifies a QuickReplyButton message.
18493
* @param message Plain object to verify
18494
* @returns `null` if valid, otherwise the reason why it is not
18495
*/
18496
public static verify(message: { [k: string]: any }): (string|null);
18497
18498
/**
18499
* Creates a QuickReplyButton message from a plain object. Also converts values to their respective internal types.
18500
* @param object Plain object
18501
* @returns QuickReplyButton
18502
*/
18503
public static fromObject(object: { [k: string]: any }): proto.QuickReplyButton;
18504
18505
/**
18506
* Creates a plain object from a QuickReplyButton message. Also converts values to other types if specified.
18507
* @param message QuickReplyButton
18508
* @param [options] Conversion options
18509
* @returns Plain object
18510
*/
18511
public static toObject(message: proto.QuickReplyButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18512
18513
/**
18514
* Converts this QuickReplyButton to JSON.
18515
* @returns JSON object
18516
*/
18517
public toJSON(): { [k: string]: any };
18518
}
18519
18520
/** Properties of a URLButton. */
18521
interface IURLButton {
18522
18523
/** URLButton displayText */
18524
displayText?: (proto.IHighlyStructuredMessage|null);
18525
18526
/** URLButton url */
18527
url?: (proto.IHighlyStructuredMessage|null);
18528
}
18529
18530
/** Represents a URLButton. */
18531
class URLButton implements IURLButton {
18532
18533
/**
18534
* Constructs a new URLButton.
18535
* @param [properties] Properties to set
18536
*/
18537
constructor(properties?: proto.IURLButton);
18538
18539
/** URLButton displayText. */
18540
public displayText?: (proto.IHighlyStructuredMessage|null);
18541
18542
/** URLButton url. */
18543
public url?: (proto.IHighlyStructuredMessage|null);
18544
18545
/**
18546
* Creates a new URLButton instance using the specified properties.
18547
* @param [properties] Properties to set
18548
* @returns URLButton instance
18549
*/
18550
public static create(properties?: proto.IURLButton): proto.URLButton;
18551
18552
/**
18553
* Encodes the specified URLButton message. Does not implicitly {@link proto.URLButton.verify|verify} messages.
18554
* @param message URLButton message or plain object to encode
18555
* @param [writer] Writer to encode to
18556
* @returns Writer
18557
*/
18558
public static encode(message: proto.IURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
18559
18560
/**
18561
* Encodes the specified URLButton message, length delimited. Does not implicitly {@link proto.URLButton.verify|verify} messages.
18562
* @param message URLButton message or plain object to encode
18563
* @param [writer] Writer to encode to
18564
* @returns Writer
18565
*/
18566
public static encodeDelimited(message: proto.IURLButton, writer?: $protobuf.Writer): $protobuf.Writer;
18567
18568
/**
18569
* Decodes a URLButton message from the specified reader or buffer.
18570
* @param reader Reader or buffer to decode from
18571
* @param [length] Message length if known beforehand
18572
* @returns URLButton
18573
* @throws {Error} If the payload is not a reader or valid buffer
18574
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18575
*/
18576
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.URLButton;
18577
18578
/**
18579
* Decodes a URLButton message from the specified reader or buffer, length delimited.
18580
* @param reader Reader or buffer to decode from
18581
* @returns URLButton
18582
* @throws {Error} If the payload is not a reader or valid buffer
18583
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18584
*/
18585
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.URLButton;
18586
18587
/**
18588
* Verifies a URLButton message.
18589
* @param message Plain object to verify
18590
* @returns `null` if valid, otherwise the reason why it is not
18591
*/
18592
public static verify(message: { [k: string]: any }): (string|null);
18593
18594
/**
18595
* Creates a URLButton message from a plain object. Also converts values to their respective internal types.
18596
* @param object Plain object
18597
* @returns URLButton
18598
*/
18599
public static fromObject(object: { [k: string]: any }): proto.URLButton;
18600
18601
/**
18602
* Creates a plain object from a URLButton message. Also converts values to other types if specified.
18603
* @param message URLButton
18604
* @param [options] Conversion options
18605
* @returns Plain object
18606
*/
18607
public static toObject(message: proto.URLButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18608
18609
/**
18610
* Converts this URLButton to JSON.
18611
* @returns JSON object
18612
*/
18613
public toJSON(): { [k: string]: any };
18614
}
18615
18616
/** Properties of a CallButton. */
18617
interface ICallButton {
18618
18619
/** CallButton displayText */
18620
displayText?: (proto.IHighlyStructuredMessage|null);
18621
18622
/** CallButton phoneNumber */
18623
phoneNumber?: (proto.IHighlyStructuredMessage|null);
18624
}
18625
18626
/** Represents a CallButton. */
18627
class CallButton implements ICallButton {
18628
18629
/**
18630
* Constructs a new CallButton.
18631
* @param [properties] Properties to set
18632
*/
18633
constructor(properties?: proto.ICallButton);
18634
18635
/** CallButton displayText. */
18636
public displayText?: (proto.IHighlyStructuredMessage|null);
18637
18638
/** CallButton phoneNumber. */
18639
public phoneNumber?: (proto.IHighlyStructuredMessage|null);
18640
18641
/**
18642
* Creates a new CallButton instance using the specified properties.
18643
* @param [properties] Properties to set
18644
* @returns CallButton instance
18645
*/
18646
public static create(properties?: proto.ICallButton): proto.CallButton;
18647
18648
/**
18649
* Encodes the specified CallButton message. Does not implicitly {@link proto.CallButton.verify|verify} messages.
18650
* @param message CallButton message or plain object to encode
18651
* @param [writer] Writer to encode to
18652
* @returns Writer
18653
*/
18654
public static encode(message: proto.ICallButton, writer?: $protobuf.Writer): $protobuf.Writer;
18655
18656
/**
18657
* Encodes the specified CallButton message, length delimited. Does not implicitly {@link proto.CallButton.verify|verify} messages.
18658
* @param message CallButton message or plain object to encode
18659
* @param [writer] Writer to encode to
18660
* @returns Writer
18661
*/
18662
public static encodeDelimited(message: proto.ICallButton, writer?: $protobuf.Writer): $protobuf.Writer;
18663
18664
/**
18665
* Decodes a CallButton message from the specified reader or buffer.
18666
* @param reader Reader or buffer to decode from
18667
* @param [length] Message length if known beforehand
18668
* @returns CallButton
18669
* @throws {Error} If the payload is not a reader or valid buffer
18670
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18671
*/
18672
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CallButton;
18673
18674
/**
18675
* Decodes a CallButton message from the specified reader or buffer, length delimited.
18676
* @param reader Reader or buffer to decode from
18677
* @returns CallButton
18678
* @throws {Error} If the payload is not a reader or valid buffer
18679
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18680
*/
18681
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CallButton;
18682
18683
/**
18684
* Verifies a CallButton message.
18685
* @param message Plain object to verify
18686
* @returns `null` if valid, otherwise the reason why it is not
18687
*/
18688
public static verify(message: { [k: string]: any }): (string|null);
18689
18690
/**
18691
* Creates a CallButton message from a plain object. Also converts values to their respective internal types.
18692
* @param object Plain object
18693
* @returns CallButton
18694
*/
18695
public static fromObject(object: { [k: string]: any }): proto.CallButton;
18696
18697
/**
18698
* Creates a plain object from a CallButton message. Also converts values to other types if specified.
18699
* @param message CallButton
18700
* @param [options] Conversion options
18701
* @returns Plain object
18702
*/
18703
public static toObject(message: proto.CallButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18704
18705
/**
18706
* Converts this CallButton to JSON.
18707
* @returns JSON object
18708
*/
18709
public toJSON(): { [k: string]: any };
18710
}
18711
18712
/** Properties of a TemplateButton. */
18713
interface ITemplateButton {
18714
18715
/** TemplateButton index */
18716
index?: (number|null);
18717
18718
/** TemplateButton quickReplyButton */
18719
quickReplyButton?: (proto.IQuickReplyButton|null);
18720
18721
/** TemplateButton urlButton */
18722
urlButton?: (proto.IURLButton|null);
18723
18724
/** TemplateButton callButton */
18725
callButton?: (proto.ICallButton|null);
18726
}
18727
18728
/** Represents a TemplateButton. */
18729
class TemplateButton implements ITemplateButton {
18730
18731
/**
18732
* Constructs a new TemplateButton.
18733
* @param [properties] Properties to set
18734
*/
18735
constructor(properties?: proto.ITemplateButton);
18736
18737
/** TemplateButton index. */
18738
public index: number;
18739
18740
/** TemplateButton quickReplyButton. */
18741
public quickReplyButton?: (proto.IQuickReplyButton|null);
18742
18743
/** TemplateButton urlButton. */
18744
public urlButton?: (proto.IURLButton|null);
18745
18746
/** TemplateButton callButton. */
18747
public callButton?: (proto.ICallButton|null);
18748
18749
/** TemplateButton button. */
18750
public button?: ("quickReplyButton"|"urlButton"|"callButton");
18751
18752
/**
18753
* Creates a new TemplateButton instance using the specified properties.
18754
* @param [properties] Properties to set
18755
* @returns TemplateButton instance
18756
*/
18757
public static create(properties?: proto.ITemplateButton): proto.TemplateButton;
18758
18759
/**
18760
* Encodes the specified TemplateButton message. Does not implicitly {@link proto.TemplateButton.verify|verify} messages.
18761
* @param message TemplateButton message or plain object to encode
18762
* @param [writer] Writer to encode to
18763
* @returns Writer
18764
*/
18765
public static encode(message: proto.ITemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
18766
18767
/**
18768
* Encodes the specified TemplateButton message, length delimited. Does not implicitly {@link proto.TemplateButton.verify|verify} messages.
18769
* @param message TemplateButton message or plain object to encode
18770
* @param [writer] Writer to encode to
18771
* @returns Writer
18772
*/
18773
public static encodeDelimited(message: proto.ITemplateButton, writer?: $protobuf.Writer): $protobuf.Writer;
18774
18775
/**
18776
* Decodes a TemplateButton message from the specified reader or buffer.
18777
* @param reader Reader or buffer to decode from
18778
* @param [length] Message length if known beforehand
18779
* @returns TemplateButton
18780
* @throws {Error} If the payload is not a reader or valid buffer
18781
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18782
*/
18783
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TemplateButton;
18784
18785
/**
18786
* Decodes a TemplateButton message from the specified reader or buffer, length delimited.
18787
* @param reader Reader or buffer to decode from
18788
* @returns TemplateButton
18789
* @throws {Error} If the payload is not a reader or valid buffer
18790
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18791
*/
18792
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TemplateButton;
18793
18794
/**
18795
* Verifies a TemplateButton message.
18796
* @param message Plain object to verify
18797
* @returns `null` if valid, otherwise the reason why it is not
18798
*/
18799
public static verify(message: { [k: string]: any }): (string|null);
18800
18801
/**
18802
* Creates a TemplateButton message from a plain object. Also converts values to their respective internal types.
18803
* @param object Plain object
18804
* @returns TemplateButton
18805
*/
18806
public static fromObject(object: { [k: string]: any }): proto.TemplateButton;
18807
18808
/**
18809
* Creates a plain object from a TemplateButton message. Also converts values to other types if specified.
18810
* @param message TemplateButton
18811
* @param [options] Conversion options
18812
* @returns Plain object
18813
*/
18814
public static toObject(message: proto.TemplateButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
18815
18816
/**
18817
* Converts this TemplateButton to JSON.
18818
* @returns JSON object
18819
*/
18820
public toJSON(): { [k: string]: any };
18821
}
18822
18823
/** Properties of a Location. */
18824
interface ILocation {
18825
18826
/** Location degreesLatitude */
18827
degreesLatitude?: (number|null);
18828
18829
/** Location degreesLongitude */
18830
degreesLongitude?: (number|null);
18831
18832
/** Location name */
18833
name?: (string|null);
18834
}
18835
18836
/** Represents a Location. */
18837
class Location implements ILocation {
18838
18839
/**
18840
* Constructs a new Location.
18841
* @param [properties] Properties to set
18842
*/
18843
constructor(properties?: proto.ILocation);
18844
18845
/** Location degreesLatitude. */
18846
public degreesLatitude: number;
18847
18848
/** Location degreesLongitude. */
18849
public degreesLongitude: number;
18850
18851
/** Location name. */
18852
public name: string;
18853
18854
/**
18855
* Creates a new Location instance using the specified properties.
18856
* @param [properties] Properties to set
18857
* @returns Location instance
18858
*/
18859
public static create(properties?: proto.ILocation): proto.Location;
18860
18861
/**
18862
* Encodes the specified Location message. Does not implicitly {@link proto.Location.verify|verify} messages.
18863
* @param message Location message or plain object to encode
18864
* @param [writer] Writer to encode to
18865
* @returns Writer
18866
*/
18867
public static encode(message: proto.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
18868
18869
/**
18870
* Encodes the specified Location message, length delimited. Does not implicitly {@link proto.Location.verify|verify} messages.
18871
* @param message Location message or plain object to encode
18872
* @param [writer] Writer to encode to
18873
* @returns Writer
18874
*/
18875
public static encodeDelimited(message: proto.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
18876
18877
/**
18878
* Decodes a Location message from the specified reader or buffer.
18879
* @param reader Reader or buffer to decode from
18880
* @param [length] Message length if known beforehand
18881
* @returns Location
18882
* @throws {Error} If the payload is not a reader or valid buffer
18883
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18884
*/
18885
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Location;
18886
18887
/**
18888
* Decodes a Location message from the specified reader or buffer, length delimited.
18889
* @param reader Reader or buffer to decode from
18890
* @returns Location
18891
* @throws {Error} If the payload is not a reader or valid buffer
18892
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18893
*/
18894
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Location;
18895
18896
/**
18897
* Verifies a Location message.
18898
* @param message Plain object to verify
18899
* @returns `null` if valid, otherwise the reason why it is not
18900
*/
18901
public static verify(message: { [k: string]: any }): (string|null);
18902
18903
/**
18904
* Creates a Location message from a plain object. Also converts values to their respective internal types.
18905
* @param object Plain object
18906
* @returns Location
18907
*/
18908
public static fromObject(object: { [k: string]: any }): proto.Location;
18909
18910
/**
18911
* Creates a plain object from a Location message. Also converts values to other types if specified.
18912
* @param message Location
18913
* @param [options] Conversion options
18914
* @returns Plain object
18915
*/
18916
public static toObject(message: proto.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
18917
18918
/**
18919
* Converts this Location to JSON.
18920
* @returns JSON object
18921
*/
18922
public toJSON(): { [k: string]: any };
18923
}
18924
18925
/** Properties of a Point. */
18926
interface IPoint {
18927
18928
/** Point xDeprecated */
18929
xDeprecated?: (number|null);
18930
18931
/** Point yDeprecated */
18932
yDeprecated?: (number|null);
18933
18934
/** Point x */
18935
x?: (number|null);
18936
18937
/** Point y */
18938
y?: (number|null);
18939
}
18940
18941
/** Represents a Point. */
18942
class Point implements IPoint {
18943
18944
/**
18945
* Constructs a new Point.
18946
* @param [properties] Properties to set
18947
*/
18948
constructor(properties?: proto.IPoint);
18949
18950
/** Point xDeprecated. */
18951
public xDeprecated: number;
18952
18953
/** Point yDeprecated. */
18954
public yDeprecated: number;
18955
18956
/** Point x. */
18957
public x: number;
18958
18959
/** Point y. */
18960
public y: number;
18961
18962
/**
18963
* Creates a new Point instance using the specified properties.
18964
* @param [properties] Properties to set
18965
* @returns Point instance
18966
*/
18967
public static create(properties?: proto.IPoint): proto.Point;
18968
18969
/**
18970
* Encodes the specified Point message. Does not implicitly {@link proto.Point.verify|verify} messages.
18971
* @param message Point message or plain object to encode
18972
* @param [writer] Writer to encode to
18973
* @returns Writer
18974
*/
18975
public static encode(message: proto.IPoint, writer?: $protobuf.Writer): $protobuf.Writer;
18976
18977
/**
18978
* Encodes the specified Point message, length delimited. Does not implicitly {@link proto.Point.verify|verify} messages.
18979
* @param message Point message or plain object to encode
18980
* @param [writer] Writer to encode to
18981
* @returns Writer
18982
*/
18983
public static encodeDelimited(message: proto.IPoint, writer?: $protobuf.Writer): $protobuf.Writer;
18984
18985
/**
18986
* Decodes a Point message from the specified reader or buffer.
18987
* @param reader Reader or buffer to decode from
18988
* @param [length] Message length if known beforehand
18989
* @returns Point
18990
* @throws {Error} If the payload is not a reader or valid buffer
18991
* @throws {$protobuf.util.ProtocolError} If required fields are missing
18992
*/
18993
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Point;
18994
18995
/**
18996
* Decodes a Point message from the specified reader or buffer, length delimited.
18997
* @param reader Reader or buffer to decode from
18998
* @returns Point
18999
* @throws {Error} If the payload is not a reader or valid buffer
19000
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19001
*/
19002
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Point;
19003
19004
/**
19005
* Verifies a Point message.
19006
* @param message Plain object to verify
19007
* @returns `null` if valid, otherwise the reason why it is not
19008
*/
19009
public static verify(message: { [k: string]: any }): (string|null);
19010
19011
/**
19012
* Creates a Point message from a plain object. Also converts values to their respective internal types.
19013
* @param object Plain object
19014
* @returns Point
19015
*/
19016
public static fromObject(object: { [k: string]: any }): proto.Point;
19017
19018
/**
19019
* Creates a plain object from a Point message. Also converts values to other types if specified.
19020
* @param message Point
19021
* @param [options] Conversion options
19022
* @returns Plain object
19023
*/
19024
public static toObject(message: proto.Point, options?: $protobuf.IConversionOptions): { [k: string]: any };
19025
19026
/**
19027
* Converts this Point to JSON.
19028
* @returns JSON object
19029
*/
19030
public toJSON(): { [k: string]: any };
19031
}
19032
19033
/** Properties of a CompanionProps. */
19034
interface ICompanionProps {
19035
19036
/** CompanionProps os */
19037
os?: (string|null);
19038
19039
/** CompanionProps version */
19040
version?: (proto.IAppVersion|null);
19041
19042
/** CompanionProps platformType */
19043
platformType?: (proto.CompanionProps.CompanionPropsPlatformType|null);
19044
19045
/** CompanionProps requireFullSync */
19046
requireFullSync?: (boolean|null);
19047
}
19048
19049
/** Represents a CompanionProps. */
19050
class CompanionProps implements ICompanionProps {
19051
19052
/**
19053
* Constructs a new CompanionProps.
19054
* @param [properties] Properties to set
19055
*/
19056
constructor(properties?: proto.ICompanionProps);
19057
19058
/** CompanionProps os. */
19059
public os: string;
19060
19061
/** CompanionProps version. */
19062
public version?: (proto.IAppVersion|null);
19063
19064
/** CompanionProps platformType. */
19065
public platformType: proto.CompanionProps.CompanionPropsPlatformType;
19066
19067
/** CompanionProps requireFullSync. */
19068
public requireFullSync: boolean;
19069
19070
/**
19071
* Creates a new CompanionProps instance using the specified properties.
19072
* @param [properties] Properties to set
19073
* @returns CompanionProps instance
19074
*/
19075
public static create(properties?: proto.ICompanionProps): proto.CompanionProps;
19076
19077
/**
19078
* Encodes the specified CompanionProps message. Does not implicitly {@link proto.CompanionProps.verify|verify} messages.
19079
* @param message CompanionProps message or plain object to encode
19080
* @param [writer] Writer to encode to
19081
* @returns Writer
19082
*/
19083
public static encode(message: proto.ICompanionProps, writer?: $protobuf.Writer): $protobuf.Writer;
19084
19085
/**
19086
* Encodes the specified CompanionProps message, length delimited. Does not implicitly {@link proto.CompanionProps.verify|verify} messages.
19087
* @param message CompanionProps message or plain object to encode
19088
* @param [writer] Writer to encode to
19089
* @returns Writer
19090
*/
19091
public static encodeDelimited(message: proto.ICompanionProps, writer?: $protobuf.Writer): $protobuf.Writer;
19092
19093
/**
19094
* Decodes a CompanionProps message from the specified reader or buffer.
19095
* @param reader Reader or buffer to decode from
19096
* @param [length] Message length if known beforehand
19097
* @returns CompanionProps
19098
* @throws {Error} If the payload is not a reader or valid buffer
19099
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19100
*/
19101
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CompanionProps;
19102
19103
/**
19104
* Decodes a CompanionProps message from the specified reader or buffer, length delimited.
19105
* @param reader Reader or buffer to decode from
19106
* @returns CompanionProps
19107
* @throws {Error} If the payload is not a reader or valid buffer
19108
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19109
*/
19110
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CompanionProps;
19111
19112
/**
19113
* Verifies a CompanionProps message.
19114
* @param message Plain object to verify
19115
* @returns `null` if valid, otherwise the reason why it is not
19116
*/
19117
public static verify(message: { [k: string]: any }): (string|null);
19118
19119
/**
19120
* Creates a CompanionProps message from a plain object. Also converts values to their respective internal types.
19121
* @param object Plain object
19122
* @returns CompanionProps
19123
*/
19124
public static fromObject(object: { [k: string]: any }): proto.CompanionProps;
19125
19126
/**
19127
* Creates a plain object from a CompanionProps message. Also converts values to other types if specified.
19128
* @param message CompanionProps
19129
* @param [options] Conversion options
19130
* @returns Plain object
19131
*/
19132
public static toObject(message: proto.CompanionProps, options?: $protobuf.IConversionOptions): { [k: string]: any };
19133
19134
/**
19135
* Converts this CompanionProps to JSON.
19136
* @returns JSON object
19137
*/
19138
public toJSON(): { [k: string]: any };
19139
}
19140
19141
namespace CompanionProps {
19142
19143
/** CompanionPropsPlatformType enum. */
19144
enum CompanionPropsPlatformType {
19145
UNKNOWN = 0,
19146
CHROME = 1,
19147
FIREFOX = 2,
19148
IE = 3,
19149
OPERA = 4,
19150
SAFARI = 5,
19151
EDGE = 6,
19152
DESKTOP = 7,
19153
IPAD = 8,
19154
ANDROID_TABLET = 9,
19155
OHANA = 10,
19156
ALOHA = 11,
19157
CATALINA = 12
19158
}
19159
}
19160
19161
/** Properties of a ADVSignedDeviceIdentityHMAC. */
19162
interface IADVSignedDeviceIdentityHMAC {
19163
19164
/** ADVSignedDeviceIdentityHMAC details */
19165
details?: (Uint8Array|null);
19166
19167
/** ADVSignedDeviceIdentityHMAC hmac */
19168
hmac?: (Uint8Array|null);
19169
}
19170
19171
/** Represents a ADVSignedDeviceIdentityHMAC. */
19172
class ADVSignedDeviceIdentityHMAC implements IADVSignedDeviceIdentityHMAC {
19173
19174
/**
19175
* Constructs a new ADVSignedDeviceIdentityHMAC.
19176
* @param [properties] Properties to set
19177
*/
19178
constructor(properties?: proto.IADVSignedDeviceIdentityHMAC);
19179
19180
/** ADVSignedDeviceIdentityHMAC details. */
19181
public details: Uint8Array;
19182
19183
/** ADVSignedDeviceIdentityHMAC hmac. */
19184
public hmac: Uint8Array;
19185
19186
/**
19187
* Creates a new ADVSignedDeviceIdentityHMAC instance using the specified properties.
19188
* @param [properties] Properties to set
19189
* @returns ADVSignedDeviceIdentityHMAC instance
19190
*/
19191
public static create(properties?: proto.IADVSignedDeviceIdentityHMAC): proto.ADVSignedDeviceIdentityHMAC;
19192
19193
/**
19194
* Encodes the specified ADVSignedDeviceIdentityHMAC message. Does not implicitly {@link proto.ADVSignedDeviceIdentityHMAC.verify|verify} messages.
19195
* @param message ADVSignedDeviceIdentityHMAC message or plain object to encode
19196
* @param [writer] Writer to encode to
19197
* @returns Writer
19198
*/
19199
public static encode(message: proto.IADVSignedDeviceIdentityHMAC, writer?: $protobuf.Writer): $protobuf.Writer;
19200
19201
/**
19202
* Encodes the specified ADVSignedDeviceIdentityHMAC message, length delimited. Does not implicitly {@link proto.ADVSignedDeviceIdentityHMAC.verify|verify} messages.
19203
* @param message ADVSignedDeviceIdentityHMAC message or plain object to encode
19204
* @param [writer] Writer to encode to
19205
* @returns Writer
19206
*/
19207
public static encodeDelimited(message: proto.IADVSignedDeviceIdentityHMAC, writer?: $protobuf.Writer): $protobuf.Writer;
19208
19209
/**
19210
* Decodes a ADVSignedDeviceIdentityHMAC message from the specified reader or buffer.
19211
* @param reader Reader or buffer to decode from
19212
* @param [length] Message length if known beforehand
19213
* @returns ADVSignedDeviceIdentityHMAC
19214
* @throws {Error} If the payload is not a reader or valid buffer
19215
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19216
*/
19217
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ADVSignedDeviceIdentityHMAC;
19218
19219
/**
19220
* Decodes a ADVSignedDeviceIdentityHMAC message from the specified reader or buffer, length delimited.
19221
* @param reader Reader or buffer to decode from
19222
* @returns ADVSignedDeviceIdentityHMAC
19223
* @throws {Error} If the payload is not a reader or valid buffer
19224
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19225
*/
19226
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ADVSignedDeviceIdentityHMAC;
19227
19228
/**
19229
* Verifies a ADVSignedDeviceIdentityHMAC message.
19230
* @param message Plain object to verify
19231
* @returns `null` if valid, otherwise the reason why it is not
19232
*/
19233
public static verify(message: { [k: string]: any }): (string|null);
19234
19235
/**
19236
* Creates a ADVSignedDeviceIdentityHMAC message from a plain object. Also converts values to their respective internal types.
19237
* @param object Plain object
19238
* @returns ADVSignedDeviceIdentityHMAC
19239
*/
19240
public static fromObject(object: { [k: string]: any }): proto.ADVSignedDeviceIdentityHMAC;
19241
19242
/**
19243
* Creates a plain object from a ADVSignedDeviceIdentityHMAC message. Also converts values to other types if specified.
19244
* @param message ADVSignedDeviceIdentityHMAC
19245
* @param [options] Conversion options
19246
* @returns Plain object
19247
*/
19248
public static toObject(message: proto.ADVSignedDeviceIdentityHMAC, options?: $protobuf.IConversionOptions): { [k: string]: any };
19249
19250
/**
19251
* Converts this ADVSignedDeviceIdentityHMAC to JSON.
19252
* @returns JSON object
19253
*/
19254
public toJSON(): { [k: string]: any };
19255
}
19256
19257
/** Properties of a ADVSignedDeviceIdentity. */
19258
interface IADVSignedDeviceIdentity {
19259
19260
/** ADVSignedDeviceIdentity details */
19261
details?: (Uint8Array|null);
19262
19263
/** ADVSignedDeviceIdentity accountSignatureKey */
19264
accountSignatureKey?: (Uint8Array|null);
19265
19266
/** ADVSignedDeviceIdentity accountSignature */
19267
accountSignature?: (Uint8Array|null);
19268
19269
/** ADVSignedDeviceIdentity deviceSignature */
19270
deviceSignature?: (Uint8Array|null);
19271
}
19272
19273
/** Represents a ADVSignedDeviceIdentity. */
19274
class ADVSignedDeviceIdentity implements IADVSignedDeviceIdentity {
19275
19276
/**
19277
* Constructs a new ADVSignedDeviceIdentity.
19278
* @param [properties] Properties to set
19279
*/
19280
constructor(properties?: proto.IADVSignedDeviceIdentity);
19281
19282
/** ADVSignedDeviceIdentity details. */
19283
public details: Uint8Array;
19284
19285
/** ADVSignedDeviceIdentity accountSignatureKey. */
19286
public accountSignatureKey: Uint8Array;
19287
19288
/** ADVSignedDeviceIdentity accountSignature. */
19289
public accountSignature: Uint8Array;
19290
19291
/** ADVSignedDeviceIdentity deviceSignature. */
19292
public deviceSignature: Uint8Array;
19293
19294
/**
19295
* Creates a new ADVSignedDeviceIdentity instance using the specified properties.
19296
* @param [properties] Properties to set
19297
* @returns ADVSignedDeviceIdentity instance
19298
*/
19299
public static create(properties?: proto.IADVSignedDeviceIdentity): proto.ADVSignedDeviceIdentity;
19300
19301
/**
19302
* Encodes the specified ADVSignedDeviceIdentity message. Does not implicitly {@link proto.ADVSignedDeviceIdentity.verify|verify} messages.
19303
* @param message ADVSignedDeviceIdentity message or plain object to encode
19304
* @param [writer] Writer to encode to
19305
* @returns Writer
19306
*/
19307
public static encode(message: proto.IADVSignedDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
19308
19309
/**
19310
* Encodes the specified ADVSignedDeviceIdentity message, length delimited. Does not implicitly {@link proto.ADVSignedDeviceIdentity.verify|verify} messages.
19311
* @param message ADVSignedDeviceIdentity message or plain object to encode
19312
* @param [writer] Writer to encode to
19313
* @returns Writer
19314
*/
19315
public static encodeDelimited(message: proto.IADVSignedDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
19316
19317
/**
19318
* Decodes a ADVSignedDeviceIdentity message from the specified reader or buffer.
19319
* @param reader Reader or buffer to decode from
19320
* @param [length] Message length if known beforehand
19321
* @returns ADVSignedDeviceIdentity
19322
* @throws {Error} If the payload is not a reader or valid buffer
19323
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19324
*/
19325
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ADVSignedDeviceIdentity;
19326
19327
/**
19328
* Decodes a ADVSignedDeviceIdentity message from the specified reader or buffer, length delimited.
19329
* @param reader Reader or buffer to decode from
19330
* @returns ADVSignedDeviceIdentity
19331
* @throws {Error} If the payload is not a reader or valid buffer
19332
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19333
*/
19334
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ADVSignedDeviceIdentity;
19335
19336
/**
19337
* Verifies a ADVSignedDeviceIdentity message.
19338
* @param message Plain object to verify
19339
* @returns `null` if valid, otherwise the reason why it is not
19340
*/
19341
public static verify(message: { [k: string]: any }): (string|null);
19342
19343
/**
19344
* Creates a ADVSignedDeviceIdentity message from a plain object. Also converts values to their respective internal types.
19345
* @param object Plain object
19346
* @returns ADVSignedDeviceIdentity
19347
*/
19348
public static fromObject(object: { [k: string]: any }): proto.ADVSignedDeviceIdentity;
19349
19350
/**
19351
* Creates a plain object from a ADVSignedDeviceIdentity message. Also converts values to other types if specified.
19352
* @param message ADVSignedDeviceIdentity
19353
* @param [options] Conversion options
19354
* @returns Plain object
19355
*/
19356
public static toObject(message: proto.ADVSignedDeviceIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any };
19357
19358
/**
19359
* Converts this ADVSignedDeviceIdentity to JSON.
19360
* @returns JSON object
19361
*/
19362
public toJSON(): { [k: string]: any };
19363
}
19364
19365
/** Properties of a ADVDeviceIdentity. */
19366
interface IADVDeviceIdentity {
19367
19368
/** ADVDeviceIdentity rawId */
19369
rawId?: (number|null);
19370
19371
/** ADVDeviceIdentity timestamp */
19372
timestamp?: (number|Long|null);
19373
19374
/** ADVDeviceIdentity keyIndex */
19375
keyIndex?: (number|null);
19376
}
19377
19378
/** Represents a ADVDeviceIdentity. */
19379
class ADVDeviceIdentity implements IADVDeviceIdentity {
19380
19381
/**
19382
* Constructs a new ADVDeviceIdentity.
19383
* @param [properties] Properties to set
19384
*/
19385
constructor(properties?: proto.IADVDeviceIdentity);
19386
19387
/** ADVDeviceIdentity rawId. */
19388
public rawId: number;
19389
19390
/** ADVDeviceIdentity timestamp. */
19391
public timestamp: (number|Long);
19392
19393
/** ADVDeviceIdentity keyIndex. */
19394
public keyIndex: number;
19395
19396
/**
19397
* Creates a new ADVDeviceIdentity instance using the specified properties.
19398
* @param [properties] Properties to set
19399
* @returns ADVDeviceIdentity instance
19400
*/
19401
public static create(properties?: proto.IADVDeviceIdentity): proto.ADVDeviceIdentity;
19402
19403
/**
19404
* Encodes the specified ADVDeviceIdentity message. Does not implicitly {@link proto.ADVDeviceIdentity.verify|verify} messages.
19405
* @param message ADVDeviceIdentity message or plain object to encode
19406
* @param [writer] Writer to encode to
19407
* @returns Writer
19408
*/
19409
public static encode(message: proto.IADVDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
19410
19411
/**
19412
* Encodes the specified ADVDeviceIdentity message, length delimited. Does not implicitly {@link proto.ADVDeviceIdentity.verify|verify} messages.
19413
* @param message ADVDeviceIdentity message or plain object to encode
19414
* @param [writer] Writer to encode to
19415
* @returns Writer
19416
*/
19417
public static encodeDelimited(message: proto.IADVDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
19418
19419
/**
19420
* Decodes a ADVDeviceIdentity message from the specified reader or buffer.
19421
* @param reader Reader or buffer to decode from
19422
* @param [length] Message length if known beforehand
19423
* @returns ADVDeviceIdentity
19424
* @throws {Error} If the payload is not a reader or valid buffer
19425
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19426
*/
19427
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ADVDeviceIdentity;
19428
19429
/**
19430
* Decodes a ADVDeviceIdentity message from the specified reader or buffer, length delimited.
19431
* @param reader Reader or buffer to decode from
19432
* @returns ADVDeviceIdentity
19433
* @throws {Error} If the payload is not a reader or valid buffer
19434
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19435
*/
19436
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ADVDeviceIdentity;
19437
19438
/**
19439
* Verifies a ADVDeviceIdentity message.
19440
* @param message Plain object to verify
19441
* @returns `null` if valid, otherwise the reason why it is not
19442
*/
19443
public static verify(message: { [k: string]: any }): (string|null);
19444
19445
/**
19446
* Creates a ADVDeviceIdentity message from a plain object. Also converts values to their respective internal types.
19447
* @param object Plain object
19448
* @returns ADVDeviceIdentity
19449
*/
19450
public static fromObject(object: { [k: string]: any }): proto.ADVDeviceIdentity;
19451
19452
/**
19453
* Creates a plain object from a ADVDeviceIdentity message. Also converts values to other types if specified.
19454
* @param message ADVDeviceIdentity
19455
* @param [options] Conversion options
19456
* @returns Plain object
19457
*/
19458
public static toObject(message: proto.ADVDeviceIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any };
19459
19460
/**
19461
* Converts this ADVDeviceIdentity to JSON.
19462
* @returns JSON object
19463
*/
19464
public toJSON(): { [k: string]: any };
19465
}
19466
19467
/** Properties of a ADVSignedKeyIndexList. */
19468
interface IADVSignedKeyIndexList {
19469
19470
/** ADVSignedKeyIndexList details */
19471
details?: (Uint8Array|null);
19472
19473
/** ADVSignedKeyIndexList accountSignature */
19474
accountSignature?: (Uint8Array|null);
19475
}
19476
19477
/** Represents a ADVSignedKeyIndexList. */
19478
class ADVSignedKeyIndexList implements IADVSignedKeyIndexList {
19479
19480
/**
19481
* Constructs a new ADVSignedKeyIndexList.
19482
* @param [properties] Properties to set
19483
*/
19484
constructor(properties?: proto.IADVSignedKeyIndexList);
19485
19486
/** ADVSignedKeyIndexList details. */
19487
public details: Uint8Array;
19488
19489
/** ADVSignedKeyIndexList accountSignature. */
19490
public accountSignature: Uint8Array;
19491
19492
/**
19493
* Creates a new ADVSignedKeyIndexList instance using the specified properties.
19494
* @param [properties] Properties to set
19495
* @returns ADVSignedKeyIndexList instance
19496
*/
19497
public static create(properties?: proto.IADVSignedKeyIndexList): proto.ADVSignedKeyIndexList;
19498
19499
/**
19500
* Encodes the specified ADVSignedKeyIndexList message. Does not implicitly {@link proto.ADVSignedKeyIndexList.verify|verify} messages.
19501
* @param message ADVSignedKeyIndexList message or plain object to encode
19502
* @param [writer] Writer to encode to
19503
* @returns Writer
19504
*/
19505
public static encode(message: proto.IADVSignedKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer;
19506
19507
/**
19508
* Encodes the specified ADVSignedKeyIndexList message, length delimited. Does not implicitly {@link proto.ADVSignedKeyIndexList.verify|verify} messages.
19509
* @param message ADVSignedKeyIndexList message or plain object to encode
19510
* @param [writer] Writer to encode to
19511
* @returns Writer
19512
*/
19513
public static encodeDelimited(message: proto.IADVSignedKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer;
19514
19515
/**
19516
* Decodes a ADVSignedKeyIndexList message from the specified reader or buffer.
19517
* @param reader Reader or buffer to decode from
19518
* @param [length] Message length if known beforehand
19519
* @returns ADVSignedKeyIndexList
19520
* @throws {Error} If the payload is not a reader or valid buffer
19521
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19522
*/
19523
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ADVSignedKeyIndexList;
19524
19525
/**
19526
* Decodes a ADVSignedKeyIndexList message from the specified reader or buffer, length delimited.
19527
* @param reader Reader or buffer to decode from
19528
* @returns ADVSignedKeyIndexList
19529
* @throws {Error} If the payload is not a reader or valid buffer
19530
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19531
*/
19532
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ADVSignedKeyIndexList;
19533
19534
/**
19535
* Verifies a ADVSignedKeyIndexList message.
19536
* @param message Plain object to verify
19537
* @returns `null` if valid, otherwise the reason why it is not
19538
*/
19539
public static verify(message: { [k: string]: any }): (string|null);
19540
19541
/**
19542
* Creates a ADVSignedKeyIndexList message from a plain object. Also converts values to their respective internal types.
19543
* @param object Plain object
19544
* @returns ADVSignedKeyIndexList
19545
*/
19546
public static fromObject(object: { [k: string]: any }): proto.ADVSignedKeyIndexList;
19547
19548
/**
19549
* Creates a plain object from a ADVSignedKeyIndexList message. Also converts values to other types if specified.
19550
* @param message ADVSignedKeyIndexList
19551
* @param [options] Conversion options
19552
* @returns Plain object
19553
*/
19554
public static toObject(message: proto.ADVSignedKeyIndexList, options?: $protobuf.IConversionOptions): { [k: string]: any };
19555
19556
/**
19557
* Converts this ADVSignedKeyIndexList to JSON.
19558
* @returns JSON object
19559
*/
19560
public toJSON(): { [k: string]: any };
19561
}
19562
19563
/** Properties of a ADVKeyIndexList. */
19564
interface IADVKeyIndexList {
19565
19566
/** ADVKeyIndexList rawId */
19567
rawId?: (number|null);
19568
19569
/** ADVKeyIndexList timestamp */
19570
timestamp?: (number|Long|null);
19571
19572
/** ADVKeyIndexList currentIndex */
19573
currentIndex?: (number|null);
19574
19575
/** ADVKeyIndexList validIndexes */
19576
validIndexes?: (number[]|null);
19577
}
19578
19579
/** Represents a ADVKeyIndexList. */
19580
class ADVKeyIndexList implements IADVKeyIndexList {
19581
19582
/**
19583
* Constructs a new ADVKeyIndexList.
19584
* @param [properties] Properties to set
19585
*/
19586
constructor(properties?: proto.IADVKeyIndexList);
19587
19588
/** ADVKeyIndexList rawId. */
19589
public rawId: number;
19590
19591
/** ADVKeyIndexList timestamp. */
19592
public timestamp: (number|Long);
19593
19594
/** ADVKeyIndexList currentIndex. */
19595
public currentIndex: number;
19596
19597
/** ADVKeyIndexList validIndexes. */
19598
public validIndexes: number[];
19599
19600
/**
19601
* Creates a new ADVKeyIndexList instance using the specified properties.
19602
* @param [properties] Properties to set
19603
* @returns ADVKeyIndexList instance
19604
*/
19605
public static create(properties?: proto.IADVKeyIndexList): proto.ADVKeyIndexList;
19606
19607
/**
19608
* Encodes the specified ADVKeyIndexList message. Does not implicitly {@link proto.ADVKeyIndexList.verify|verify} messages.
19609
* @param message ADVKeyIndexList message or plain object to encode
19610
* @param [writer] Writer to encode to
19611
* @returns Writer
19612
*/
19613
public static encode(message: proto.IADVKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer;
19614
19615
/**
19616
* Encodes the specified ADVKeyIndexList message, length delimited. Does not implicitly {@link proto.ADVKeyIndexList.verify|verify} messages.
19617
* @param message ADVKeyIndexList message or plain object to encode
19618
* @param [writer] Writer to encode to
19619
* @returns Writer
19620
*/
19621
public static encodeDelimited(message: proto.IADVKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer;
19622
19623
/**
19624
* Decodes a ADVKeyIndexList message from the specified reader or buffer.
19625
* @param reader Reader or buffer to decode from
19626
* @param [length] Message length if known beforehand
19627
* @returns ADVKeyIndexList
19628
* @throws {Error} If the payload is not a reader or valid buffer
19629
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19630
*/
19631
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ADVKeyIndexList;
19632
19633
/**
19634
* Decodes a ADVKeyIndexList message from the specified reader or buffer, length delimited.
19635
* @param reader Reader or buffer to decode from
19636
* @returns ADVKeyIndexList
19637
* @throws {Error} If the payload is not a reader or valid buffer
19638
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19639
*/
19640
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ADVKeyIndexList;
19641
19642
/**
19643
* Verifies a ADVKeyIndexList message.
19644
* @param message Plain object to verify
19645
* @returns `null` if valid, otherwise the reason why it is not
19646
*/
19647
public static verify(message: { [k: string]: any }): (string|null);
19648
19649
/**
19650
* Creates a ADVKeyIndexList message from a plain object. Also converts values to their respective internal types.
19651
* @param object Plain object
19652
* @returns ADVKeyIndexList
19653
*/
19654
public static fromObject(object: { [k: string]: any }): proto.ADVKeyIndexList;
19655
19656
/**
19657
* Creates a plain object from a ADVKeyIndexList message. Also converts values to other types if specified.
19658
* @param message ADVKeyIndexList
19659
* @param [options] Conversion options
19660
* @returns Plain object
19661
*/
19662
public static toObject(message: proto.ADVKeyIndexList, options?: $protobuf.IConversionOptions): { [k: string]: any };
19663
19664
/**
19665
* Converts this ADVKeyIndexList to JSON.
19666
* @returns JSON object
19667
*/
19668
public toJSON(): { [k: string]: any };
19669
}
19670
19671
/** Properties of a MessageKey. */
19672
interface IMessageKey {
19673
19674
/** MessageKey remoteJid */
19675
remoteJid?: (string|null);
19676
19677
/** MessageKey fromMe */
19678
fromMe?: (boolean|null);
19679
19680
/** MessageKey id */
19681
id?: (string|null);
19682
19683
/** MessageKey participant */
19684
participant?: (string|null);
19685
}
19686
19687
/** Represents a MessageKey. */
19688
class MessageKey implements IMessageKey {
19689
19690
/**
19691
* Constructs a new MessageKey.
19692
* @param [properties] Properties to set
19693
*/
19694
constructor(properties?: proto.IMessageKey);
19695
19696
/** MessageKey remoteJid. */
19697
public remoteJid: string;
19698
19699
/** MessageKey fromMe. */
19700
public fromMe: boolean;
19701
19702
/** MessageKey id. */
19703
public id: string;
19704
19705
/** MessageKey participant. */
19706
public participant: string;
19707
19708
/**
19709
* Creates a new MessageKey instance using the specified properties.
19710
* @param [properties] Properties to set
19711
* @returns MessageKey instance
19712
*/
19713
public static create(properties?: proto.IMessageKey): proto.MessageKey;
19714
19715
/**
19716
* Encodes the specified MessageKey message. Does not implicitly {@link proto.MessageKey.verify|verify} messages.
19717
* @param message MessageKey message or plain object to encode
19718
* @param [writer] Writer to encode to
19719
* @returns Writer
19720
*/
19721
public static encode(message: proto.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer;
19722
19723
/**
19724
* Encodes the specified MessageKey message, length delimited. Does not implicitly {@link proto.MessageKey.verify|verify} messages.
19725
* @param message MessageKey message or plain object to encode
19726
* @param [writer] Writer to encode to
19727
* @returns Writer
19728
*/
19729
public static encodeDelimited(message: proto.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer;
19730
19731
/**
19732
* Decodes a MessageKey message from the specified reader or buffer.
19733
* @param reader Reader or buffer to decode from
19734
* @param [length] Message length if known beforehand
19735
* @returns MessageKey
19736
* @throws {Error} If the payload is not a reader or valid buffer
19737
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19738
*/
19739
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MessageKey;
19740
19741
/**
19742
* Decodes a MessageKey message from the specified reader or buffer, length delimited.
19743
* @param reader Reader or buffer to decode from
19744
* @returns MessageKey
19745
* @throws {Error} If the payload is not a reader or valid buffer
19746
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19747
*/
19748
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MessageKey;
19749
19750
/**
19751
* Verifies a MessageKey message.
19752
* @param message Plain object to verify
19753
* @returns `null` if valid, otherwise the reason why it is not
19754
*/
19755
public static verify(message: { [k: string]: any }): (string|null);
19756
19757
/**
19758
* Creates a MessageKey message from a plain object. Also converts values to their respective internal types.
19759
* @param object Plain object
19760
* @returns MessageKey
19761
*/
19762
public static fromObject(object: { [k: string]: any }): proto.MessageKey;
19763
19764
/**
19765
* Creates a plain object from a MessageKey message. Also converts values to other types if specified.
19766
* @param message MessageKey
19767
* @param [options] Conversion options
19768
* @returns Plain object
19769
*/
19770
public static toObject(message: proto.MessageKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
19771
19772
/**
19773
* Converts this MessageKey to JSON.
19774
* @returns JSON object
19775
*/
19776
public toJSON(): { [k: string]: any };
19777
}
19778
19779
/** Properties of a Reaction. */
19780
interface IReaction {
19781
19782
/** Reaction key */
19783
key?: (proto.IMessageKey|null);
19784
19785
/** Reaction text */
19786
text?: (string|null);
19787
19788
/** Reaction groupingKey */
19789
groupingKey?: (string|null);
19790
19791
/** Reaction senderTimestampMs */
19792
senderTimestampMs?: (number|Long|null);
19793
19794
/** Reaction unread */
19795
unread?: (boolean|null);
19796
}
19797
19798
/** Represents a Reaction. */
19799
class Reaction implements IReaction {
19800
19801
/**
19802
* Constructs a new Reaction.
19803
* @param [properties] Properties to set
19804
*/
19805
constructor(properties?: proto.IReaction);
19806
19807
/** Reaction key. */
19808
public key?: (proto.IMessageKey|null);
19809
19810
/** Reaction text. */
19811
public text: string;
19812
19813
/** Reaction groupingKey. */
19814
public groupingKey: string;
19815
19816
/** Reaction senderTimestampMs. */
19817
public senderTimestampMs: (number|Long);
19818
19819
/** Reaction unread. */
19820
public unread: boolean;
19821
19822
/**
19823
* Creates a new Reaction instance using the specified properties.
19824
* @param [properties] Properties to set
19825
* @returns Reaction instance
19826
*/
19827
public static create(properties?: proto.IReaction): proto.Reaction;
19828
19829
/**
19830
* Encodes the specified Reaction message. Does not implicitly {@link proto.Reaction.verify|verify} messages.
19831
* @param message Reaction message or plain object to encode
19832
* @param [writer] Writer to encode to
19833
* @returns Writer
19834
*/
19835
public static encode(message: proto.IReaction, writer?: $protobuf.Writer): $protobuf.Writer;
19836
19837
/**
19838
* Encodes the specified Reaction message, length delimited. Does not implicitly {@link proto.Reaction.verify|verify} messages.
19839
* @param message Reaction message or plain object to encode
19840
* @param [writer] Writer to encode to
19841
* @returns Writer
19842
*/
19843
public static encodeDelimited(message: proto.IReaction, writer?: $protobuf.Writer): $protobuf.Writer;
19844
19845
/**
19846
* Decodes a Reaction message from the specified reader or buffer.
19847
* @param reader Reader or buffer to decode from
19848
* @param [length] Message length if known beforehand
19849
* @returns Reaction
19850
* @throws {Error} If the payload is not a reader or valid buffer
19851
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19852
*/
19853
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Reaction;
19854
19855
/**
19856
* Decodes a Reaction message from the specified reader or buffer, length delimited.
19857
* @param reader Reader or buffer to decode from
19858
* @returns Reaction
19859
* @throws {Error} If the payload is not a reader or valid buffer
19860
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19861
*/
19862
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Reaction;
19863
19864
/**
19865
* Verifies a Reaction message.
19866
* @param message Plain object to verify
19867
* @returns `null` if valid, otherwise the reason why it is not
19868
*/
19869
public static verify(message: { [k: string]: any }): (string|null);
19870
19871
/**
19872
* Creates a Reaction message from a plain object. Also converts values to their respective internal types.
19873
* @param object Plain object
19874
* @returns Reaction
19875
*/
19876
public static fromObject(object: { [k: string]: any }): proto.Reaction;
19877
19878
/**
19879
* Creates a plain object from a Reaction message. Also converts values to other types if specified.
19880
* @param message Reaction
19881
* @param [options] Conversion options
19882
* @returns Plain object
19883
*/
19884
public static toObject(message: proto.Reaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
19885
19886
/**
19887
* Converts this Reaction to JSON.
19888
* @returns JSON object
19889
*/
19890
public toJSON(): { [k: string]: any };
19891
}
19892
19893
/** Properties of a UserReceipt. */
19894
interface IUserReceipt {
19895
19896
/** UserReceipt userJid */
19897
userJid: string;
19898
19899
/** UserReceipt receiptTimestamp */
19900
receiptTimestamp?: (number|Long|null);
19901
19902
/** UserReceipt readTimestamp */
19903
readTimestamp?: (number|Long|null);
19904
19905
/** UserReceipt playedTimestamp */
19906
playedTimestamp?: (number|Long|null);
19907
19908
/** UserReceipt pendingDeviceJid */
19909
pendingDeviceJid?: (string[]|null);
19910
19911
/** UserReceipt deliveredDeviceJid */
19912
deliveredDeviceJid?: (string[]|null);
19913
}
19914
19915
/** Represents a UserReceipt. */
19916
class UserReceipt implements IUserReceipt {
19917
19918
/**
19919
* Constructs a new UserReceipt.
19920
* @param [properties] Properties to set
19921
*/
19922
constructor(properties?: proto.IUserReceipt);
19923
19924
/** UserReceipt userJid. */
19925
public userJid: string;
19926
19927
/** UserReceipt receiptTimestamp. */
19928
public receiptTimestamp: (number|Long);
19929
19930
/** UserReceipt readTimestamp. */
19931
public readTimestamp: (number|Long);
19932
19933
/** UserReceipt playedTimestamp. */
19934
public playedTimestamp: (number|Long);
19935
19936
/** UserReceipt pendingDeviceJid. */
19937
public pendingDeviceJid: string[];
19938
19939
/** UserReceipt deliveredDeviceJid. */
19940
public deliveredDeviceJid: string[];
19941
19942
/**
19943
* Creates a new UserReceipt instance using the specified properties.
19944
* @param [properties] Properties to set
19945
* @returns UserReceipt instance
19946
*/
19947
public static create(properties?: proto.IUserReceipt): proto.UserReceipt;
19948
19949
/**
19950
* Encodes the specified UserReceipt message. Does not implicitly {@link proto.UserReceipt.verify|verify} messages.
19951
* @param message UserReceipt message or plain object to encode
19952
* @param [writer] Writer to encode to
19953
* @returns Writer
19954
*/
19955
public static encode(message: proto.IUserReceipt, writer?: $protobuf.Writer): $protobuf.Writer;
19956
19957
/**
19958
* Encodes the specified UserReceipt message, length delimited. Does not implicitly {@link proto.UserReceipt.verify|verify} messages.
19959
* @param message UserReceipt message or plain object to encode
19960
* @param [writer] Writer to encode to
19961
* @returns Writer
19962
*/
19963
public static encodeDelimited(message: proto.IUserReceipt, writer?: $protobuf.Writer): $protobuf.Writer;
19964
19965
/**
19966
* Decodes a UserReceipt message from the specified reader or buffer.
19967
* @param reader Reader or buffer to decode from
19968
* @param [length] Message length if known beforehand
19969
* @returns UserReceipt
19970
* @throws {Error} If the payload is not a reader or valid buffer
19971
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19972
*/
19973
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.UserReceipt;
19974
19975
/**
19976
* Decodes a UserReceipt message from the specified reader or buffer, length delimited.
19977
* @param reader Reader or buffer to decode from
19978
* @returns UserReceipt
19979
* @throws {Error} If the payload is not a reader or valid buffer
19980
* @throws {$protobuf.util.ProtocolError} If required fields are missing
19981
*/
19982
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.UserReceipt;
19983
19984
/**
19985
* Verifies a UserReceipt message.
19986
* @param message Plain object to verify
19987
* @returns `null` if valid, otherwise the reason why it is not
19988
*/
19989
public static verify(message: { [k: string]: any }): (string|null);
19990
19991
/**
19992
* Creates a UserReceipt message from a plain object. Also converts values to their respective internal types.
19993
* @param object Plain object
19994
* @returns UserReceipt
19995
*/
19996
public static fromObject(object: { [k: string]: any }): proto.UserReceipt;
19997
19998
/**
19999
* Creates a plain object from a UserReceipt message. Also converts values to other types if specified.
20000
* @param message UserReceipt
20001
* @param [options] Conversion options
20002
* @returns Plain object
20003
*/
20004
public static toObject(message: proto.UserReceipt, options?: $protobuf.IConversionOptions): { [k: string]: any };
20005
20006
/**
20007
* Converts this UserReceipt to JSON.
20008
* @returns JSON object
20009
*/
20010
public toJSON(): { [k: string]: any };
20011
}
20012
20013
/** Properties of a StatusPSA. */
20014
interface IStatusPSA {
20015
20016
/** StatusPSA campaignId */
20017
campaignId: string;
20018
20019
/** StatusPSA campaignExpirationTimestamp */
20020
campaignExpirationTimestamp?: (number|Long|null);
20021
}
20022
20023
/** Represents a StatusPSA. */
20024
class StatusPSA implements IStatusPSA {
20025
20026
/**
20027
* Constructs a new StatusPSA.
20028
* @param [properties] Properties to set
20029
*/
20030
constructor(properties?: proto.IStatusPSA);
20031
20032
/** StatusPSA campaignId. */
20033
public campaignId: string;
20034
20035
/** StatusPSA campaignExpirationTimestamp. */
20036
public campaignExpirationTimestamp: (number|Long);
20037
20038
/**
20039
* Creates a new StatusPSA instance using the specified properties.
20040
* @param [properties] Properties to set
20041
* @returns StatusPSA instance
20042
*/
20043
public static create(properties?: proto.IStatusPSA): proto.StatusPSA;
20044
20045
/**
20046
* Encodes the specified StatusPSA message. Does not implicitly {@link proto.StatusPSA.verify|verify} messages.
20047
* @param message StatusPSA message or plain object to encode
20048
* @param [writer] Writer to encode to
20049
* @returns Writer
20050
*/
20051
public static encode(message: proto.IStatusPSA, writer?: $protobuf.Writer): $protobuf.Writer;
20052
20053
/**
20054
* Encodes the specified StatusPSA message, length delimited. Does not implicitly {@link proto.StatusPSA.verify|verify} messages.
20055
* @param message StatusPSA message or plain object to encode
20056
* @param [writer] Writer to encode to
20057
* @returns Writer
20058
*/
20059
public static encodeDelimited(message: proto.IStatusPSA, writer?: $protobuf.Writer): $protobuf.Writer;
20060
20061
/**
20062
* Decodes a StatusPSA message from the specified reader or buffer.
20063
* @param reader Reader or buffer to decode from
20064
* @param [length] Message length if known beforehand
20065
* @returns StatusPSA
20066
* @throws {Error} If the payload is not a reader or valid buffer
20067
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20068
*/
20069
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StatusPSA;
20070
20071
/**
20072
* Decodes a StatusPSA message from the specified reader or buffer, length delimited.
20073
* @param reader Reader or buffer to decode from
20074
* @returns StatusPSA
20075
* @throws {Error} If the payload is not a reader or valid buffer
20076
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20077
*/
20078
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StatusPSA;
20079
20080
/**
20081
* Verifies a StatusPSA message.
20082
* @param message Plain object to verify
20083
* @returns `null` if valid, otherwise the reason why it is not
20084
*/
20085
public static verify(message: { [k: string]: any }): (string|null);
20086
20087
/**
20088
* Creates a StatusPSA message from a plain object. Also converts values to their respective internal types.
20089
* @param object Plain object
20090
* @returns StatusPSA
20091
*/
20092
public static fromObject(object: { [k: string]: any }): proto.StatusPSA;
20093
20094
/**
20095
* Creates a plain object from a StatusPSA message. Also converts values to other types if specified.
20096
* @param message StatusPSA
20097
* @param [options] Conversion options
20098
* @returns Plain object
20099
*/
20100
public static toObject(message: proto.StatusPSA, options?: $protobuf.IConversionOptions): { [k: string]: any };
20101
20102
/**
20103
* Converts this StatusPSA to JSON.
20104
* @returns JSON object
20105
*/
20106
public toJSON(): { [k: string]: any };
20107
}
20108
20109
/** Properties of a PhotoChange. */
20110
interface IPhotoChange {
20111
20112
/** PhotoChange oldPhoto */
20113
oldPhoto?: (Uint8Array|null);
20114
20115
/** PhotoChange newPhoto */
20116
newPhoto?: (Uint8Array|null);
20117
20118
/** PhotoChange newPhotoId */
20119
newPhotoId?: (number|null);
20120
}
20121
20122
/** Represents a PhotoChange. */
20123
class PhotoChange implements IPhotoChange {
20124
20125
/**
20126
* Constructs a new PhotoChange.
20127
* @param [properties] Properties to set
20128
*/
20129
constructor(properties?: proto.IPhotoChange);
20130
20131
/** PhotoChange oldPhoto. */
20132
public oldPhoto: Uint8Array;
20133
20134
/** PhotoChange newPhoto. */
20135
public newPhoto: Uint8Array;
20136
20137
/** PhotoChange newPhotoId. */
20138
public newPhotoId: number;
20139
20140
/**
20141
* Creates a new PhotoChange instance using the specified properties.
20142
* @param [properties] Properties to set
20143
* @returns PhotoChange instance
20144
*/
20145
public static create(properties?: proto.IPhotoChange): proto.PhotoChange;
20146
20147
/**
20148
* Encodes the specified PhotoChange message. Does not implicitly {@link proto.PhotoChange.verify|verify} messages.
20149
* @param message PhotoChange message or plain object to encode
20150
* @param [writer] Writer to encode to
20151
* @returns Writer
20152
*/
20153
public static encode(message: proto.IPhotoChange, writer?: $protobuf.Writer): $protobuf.Writer;
20154
20155
/**
20156
* Encodes the specified PhotoChange message, length delimited. Does not implicitly {@link proto.PhotoChange.verify|verify} messages.
20157
* @param message PhotoChange message or plain object to encode
20158
* @param [writer] Writer to encode to
20159
* @returns Writer
20160
*/
20161
public static encodeDelimited(message: proto.IPhotoChange, writer?: $protobuf.Writer): $protobuf.Writer;
20162
20163
/**
20164
* Decodes a PhotoChange message from the specified reader or buffer.
20165
* @param reader Reader or buffer to decode from
20166
* @param [length] Message length if known beforehand
20167
* @returns PhotoChange
20168
* @throws {Error} If the payload is not a reader or valid buffer
20169
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20170
*/
20171
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PhotoChange;
20172
20173
/**
20174
* Decodes a PhotoChange message from the specified reader or buffer, length delimited.
20175
* @param reader Reader or buffer to decode from
20176
* @returns PhotoChange
20177
* @throws {Error} If the payload is not a reader or valid buffer
20178
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20179
*/
20180
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PhotoChange;
20181
20182
/**
20183
* Verifies a PhotoChange message.
20184
* @param message Plain object to verify
20185
* @returns `null` if valid, otherwise the reason why it is not
20186
*/
20187
public static verify(message: { [k: string]: any }): (string|null);
20188
20189
/**
20190
* Creates a PhotoChange message from a plain object. Also converts values to their respective internal types.
20191
* @param object Plain object
20192
* @returns PhotoChange
20193
*/
20194
public static fromObject(object: { [k: string]: any }): proto.PhotoChange;
20195
20196
/**
20197
* Creates a plain object from a PhotoChange message. Also converts values to other types if specified.
20198
* @param message PhotoChange
20199
* @param [options] Conversion options
20200
* @returns Plain object
20201
*/
20202
public static toObject(message: proto.PhotoChange, options?: $protobuf.IConversionOptions): { [k: string]: any };
20203
20204
/**
20205
* Converts this PhotoChange to JSON.
20206
* @returns JSON object
20207
*/
20208
public toJSON(): { [k: string]: any };
20209
}
20210
20211
/** Properties of a MediaData. */
20212
interface IMediaData {
20213
20214
/** MediaData localPath */
20215
localPath?: (string|null);
20216
}
20217
20218
/** Represents a MediaData. */
20219
class MediaData implements IMediaData {
20220
20221
/**
20222
* Constructs a new MediaData.
20223
* @param [properties] Properties to set
20224
*/
20225
constructor(properties?: proto.IMediaData);
20226
20227
/** MediaData localPath. */
20228
public localPath: string;
20229
20230
/**
20231
* Creates a new MediaData instance using the specified properties.
20232
* @param [properties] Properties to set
20233
* @returns MediaData instance
20234
*/
20235
public static create(properties?: proto.IMediaData): proto.MediaData;
20236
20237
/**
20238
* Encodes the specified MediaData message. Does not implicitly {@link proto.MediaData.verify|verify} messages.
20239
* @param message MediaData message or plain object to encode
20240
* @param [writer] Writer to encode to
20241
* @returns Writer
20242
*/
20243
public static encode(message: proto.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer;
20244
20245
/**
20246
* Encodes the specified MediaData message, length delimited. Does not implicitly {@link proto.MediaData.verify|verify} messages.
20247
* @param message MediaData message or plain object to encode
20248
* @param [writer] Writer to encode to
20249
* @returns Writer
20250
*/
20251
public static encodeDelimited(message: proto.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer;
20252
20253
/**
20254
* Decodes a MediaData message from the specified reader or buffer.
20255
* @param reader Reader or buffer to decode from
20256
* @param [length] Message length if known beforehand
20257
* @returns MediaData
20258
* @throws {Error} If the payload is not a reader or valid buffer
20259
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20260
*/
20261
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.MediaData;
20262
20263
/**
20264
* Decodes a MediaData message from the specified reader or buffer, length delimited.
20265
* @param reader Reader or buffer to decode from
20266
* @returns MediaData
20267
* @throws {Error} If the payload is not a reader or valid buffer
20268
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20269
*/
20270
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.MediaData;
20271
20272
/**
20273
* Verifies a MediaData message.
20274
* @param message Plain object to verify
20275
* @returns `null` if valid, otherwise the reason why it is not
20276
*/
20277
public static verify(message: { [k: string]: any }): (string|null);
20278
20279
/**
20280
* Creates a MediaData message from a plain object. Also converts values to their respective internal types.
20281
* @param object Plain object
20282
* @returns MediaData
20283
*/
20284
public static fromObject(object: { [k: string]: any }): proto.MediaData;
20285
20286
/**
20287
* Creates a plain object from a MediaData message. Also converts values to other types if specified.
20288
* @param message MediaData
20289
* @param [options] Conversion options
20290
* @returns Plain object
20291
*/
20292
public static toObject(message: proto.MediaData, options?: $protobuf.IConversionOptions): { [k: string]: any };
20293
20294
/**
20295
* Converts this MediaData to JSON.
20296
* @returns JSON object
20297
*/
20298
public toJSON(): { [k: string]: any };
20299
}
20300
20301
/** Properties of a WebFeatures. */
20302
interface IWebFeatures {
20303
20304
/** WebFeatures labelsDisplay */
20305
labelsDisplay?: (proto.WebFeatures.WebFeaturesFlag|null);
20306
20307
/** WebFeatures voipIndividualOutgoing */
20308
voipIndividualOutgoing?: (proto.WebFeatures.WebFeaturesFlag|null);
20309
20310
/** WebFeatures groupsV3 */
20311
groupsV3?: (proto.WebFeatures.WebFeaturesFlag|null);
20312
20313
/** WebFeatures groupsV3Create */
20314
groupsV3Create?: (proto.WebFeatures.WebFeaturesFlag|null);
20315
20316
/** WebFeatures changeNumberV2 */
20317
changeNumberV2?: (proto.WebFeatures.WebFeaturesFlag|null);
20318
20319
/** WebFeatures queryStatusV3Thumbnail */
20320
queryStatusV3Thumbnail?: (proto.WebFeatures.WebFeaturesFlag|null);
20321
20322
/** WebFeatures liveLocations */
20323
liveLocations?: (proto.WebFeatures.WebFeaturesFlag|null);
20324
20325
/** WebFeatures queryVname */
20326
queryVname?: (proto.WebFeatures.WebFeaturesFlag|null);
20327
20328
/** WebFeatures voipIndividualIncoming */
20329
voipIndividualIncoming?: (proto.WebFeatures.WebFeaturesFlag|null);
20330
20331
/** WebFeatures quickRepliesQuery */
20332
quickRepliesQuery?: (proto.WebFeatures.WebFeaturesFlag|null);
20333
20334
/** WebFeatures payments */
20335
payments?: (proto.WebFeatures.WebFeaturesFlag|null);
20336
20337
/** WebFeatures stickerPackQuery */
20338
stickerPackQuery?: (proto.WebFeatures.WebFeaturesFlag|null);
20339
20340
/** WebFeatures liveLocationsFinal */
20341
liveLocationsFinal?: (proto.WebFeatures.WebFeaturesFlag|null);
20342
20343
/** WebFeatures labelsEdit */
20344
labelsEdit?: (proto.WebFeatures.WebFeaturesFlag|null);
20345
20346
/** WebFeatures mediaUpload */
20347
mediaUpload?: (proto.WebFeatures.WebFeaturesFlag|null);
20348
20349
/** WebFeatures mediaUploadRichQuickReplies */
20350
mediaUploadRichQuickReplies?: (proto.WebFeatures.WebFeaturesFlag|null);
20351
20352
/** WebFeatures vnameV2 */
20353
vnameV2?: (proto.WebFeatures.WebFeaturesFlag|null);
20354
20355
/** WebFeatures videoPlaybackUrl */
20356
videoPlaybackUrl?: (proto.WebFeatures.WebFeaturesFlag|null);
20357
20358
/** WebFeatures statusRanking */
20359
statusRanking?: (proto.WebFeatures.WebFeaturesFlag|null);
20360
20361
/** WebFeatures voipIndividualVideo */
20362
voipIndividualVideo?: (proto.WebFeatures.WebFeaturesFlag|null);
20363
20364
/** WebFeatures thirdPartyStickers */
20365
thirdPartyStickers?: (proto.WebFeatures.WebFeaturesFlag|null);
20366
20367
/** WebFeatures frequentlyForwardedSetting */
20368
frequentlyForwardedSetting?: (proto.WebFeatures.WebFeaturesFlag|null);
20369
20370
/** WebFeatures groupsV4JoinPermission */
20371
groupsV4JoinPermission?: (proto.WebFeatures.WebFeaturesFlag|null);
20372
20373
/** WebFeatures recentStickers */
20374
recentStickers?: (proto.WebFeatures.WebFeaturesFlag|null);
20375
20376
/** WebFeatures catalog */
20377
catalog?: (proto.WebFeatures.WebFeaturesFlag|null);
20378
20379
/** WebFeatures starredStickers */
20380
starredStickers?: (proto.WebFeatures.WebFeaturesFlag|null);
20381
20382
/** WebFeatures voipGroupCall */
20383
voipGroupCall?: (proto.WebFeatures.WebFeaturesFlag|null);
20384
20385
/** WebFeatures templateMessage */
20386
templateMessage?: (proto.WebFeatures.WebFeaturesFlag|null);
20387
20388
/** WebFeatures templateMessageInteractivity */
20389
templateMessageInteractivity?: (proto.WebFeatures.WebFeaturesFlag|null);
20390
20391
/** WebFeatures ephemeralMessages */
20392
ephemeralMessages?: (proto.WebFeatures.WebFeaturesFlag|null);
20393
20394
/** WebFeatures e2ENotificationSync */
20395
e2ENotificationSync?: (proto.WebFeatures.WebFeaturesFlag|null);
20396
20397
/** WebFeatures recentStickersV2 */
20398
recentStickersV2?: (proto.WebFeatures.WebFeaturesFlag|null);
20399
20400
/** WebFeatures recentStickersV3 */
20401
recentStickersV3?: (proto.WebFeatures.WebFeaturesFlag|null);
20402
20403
/** WebFeatures userNotice */
20404
userNotice?: (proto.WebFeatures.WebFeaturesFlag|null);
20405
20406
/** WebFeatures support */
20407
support?: (proto.WebFeatures.WebFeaturesFlag|null);
20408
20409
/** WebFeatures groupUiiCleanup */
20410
groupUiiCleanup?: (proto.WebFeatures.WebFeaturesFlag|null);
20411
20412
/** WebFeatures groupDogfoodingInternalOnly */
20413
groupDogfoodingInternalOnly?: (proto.WebFeatures.WebFeaturesFlag|null);
20414
20415
/** WebFeatures settingsSync */
20416
settingsSync?: (proto.WebFeatures.WebFeaturesFlag|null);
20417
20418
/** WebFeatures archiveV2 */
20419
archiveV2?: (proto.WebFeatures.WebFeaturesFlag|null);
20420
20421
/** WebFeatures ephemeralAllowGroupMembers */
20422
ephemeralAllowGroupMembers?: (proto.WebFeatures.WebFeaturesFlag|null);
20423
20424
/** WebFeatures ephemeral24HDuration */
20425
ephemeral24HDuration?: (proto.WebFeatures.WebFeaturesFlag|null);
20426
20427
/** WebFeatures mdForceUpgrade */
20428
mdForceUpgrade?: (proto.WebFeatures.WebFeaturesFlag|null);
20429
20430
/** WebFeatures disappearingMode */
20431
disappearingMode?: (proto.WebFeatures.WebFeaturesFlag|null);
20432
20433
/** WebFeatures externalMdOptInAvailable */
20434
externalMdOptInAvailable?: (proto.WebFeatures.WebFeaturesFlag|null);
20435
20436
/** WebFeatures noDeleteMessageTimeLimit */
20437
noDeleteMessageTimeLimit?: (proto.WebFeatures.WebFeaturesFlag|null);
20438
}
20439
20440
/** Represents a WebFeatures. */
20441
class WebFeatures implements IWebFeatures {
20442
20443
/**
20444
* Constructs a new WebFeatures.
20445
* @param [properties] Properties to set
20446
*/
20447
constructor(properties?: proto.IWebFeatures);
20448
20449
/** WebFeatures labelsDisplay. */
20450
public labelsDisplay: proto.WebFeatures.WebFeaturesFlag;
20451
20452
/** WebFeatures voipIndividualOutgoing. */
20453
public voipIndividualOutgoing: proto.WebFeatures.WebFeaturesFlag;
20454
20455
/** WebFeatures groupsV3. */
20456
public groupsV3: proto.WebFeatures.WebFeaturesFlag;
20457
20458
/** WebFeatures groupsV3Create. */
20459
public groupsV3Create: proto.WebFeatures.WebFeaturesFlag;
20460
20461
/** WebFeatures changeNumberV2. */
20462
public changeNumberV2: proto.WebFeatures.WebFeaturesFlag;
20463
20464
/** WebFeatures queryStatusV3Thumbnail. */
20465
public queryStatusV3Thumbnail: proto.WebFeatures.WebFeaturesFlag;
20466
20467
/** WebFeatures liveLocations. */
20468
public liveLocations: proto.WebFeatures.WebFeaturesFlag;
20469
20470
/** WebFeatures queryVname. */
20471
public queryVname: proto.WebFeatures.WebFeaturesFlag;
20472
20473
/** WebFeatures voipIndividualIncoming. */
20474
public voipIndividualIncoming: proto.WebFeatures.WebFeaturesFlag;
20475
20476
/** WebFeatures quickRepliesQuery. */
20477
public quickRepliesQuery: proto.WebFeatures.WebFeaturesFlag;
20478
20479
/** WebFeatures payments. */
20480
public payments: proto.WebFeatures.WebFeaturesFlag;
20481
20482
/** WebFeatures stickerPackQuery. */
20483
public stickerPackQuery: proto.WebFeatures.WebFeaturesFlag;
20484
20485
/** WebFeatures liveLocationsFinal. */
20486
public liveLocationsFinal: proto.WebFeatures.WebFeaturesFlag;
20487
20488
/** WebFeatures labelsEdit. */
20489
public labelsEdit: proto.WebFeatures.WebFeaturesFlag;
20490
20491
/** WebFeatures mediaUpload. */
20492
public mediaUpload: proto.WebFeatures.WebFeaturesFlag;
20493
20494
/** WebFeatures mediaUploadRichQuickReplies. */
20495
public mediaUploadRichQuickReplies: proto.WebFeatures.WebFeaturesFlag;
20496
20497
/** WebFeatures vnameV2. */
20498
public vnameV2: proto.WebFeatures.WebFeaturesFlag;
20499
20500
/** WebFeatures videoPlaybackUrl. */
20501
public videoPlaybackUrl: proto.WebFeatures.WebFeaturesFlag;
20502
20503
/** WebFeatures statusRanking. */
20504
public statusRanking: proto.WebFeatures.WebFeaturesFlag;
20505
20506
/** WebFeatures voipIndividualVideo. */
20507
public voipIndividualVideo: proto.WebFeatures.WebFeaturesFlag;
20508
20509
/** WebFeatures thirdPartyStickers. */
20510
public thirdPartyStickers: proto.WebFeatures.WebFeaturesFlag;
20511
20512
/** WebFeatures frequentlyForwardedSetting. */
20513
public frequentlyForwardedSetting: proto.WebFeatures.WebFeaturesFlag;
20514
20515
/** WebFeatures groupsV4JoinPermission. */
20516
public groupsV4JoinPermission: proto.WebFeatures.WebFeaturesFlag;
20517
20518
/** WebFeatures recentStickers. */
20519
public recentStickers: proto.WebFeatures.WebFeaturesFlag;
20520
20521
/** WebFeatures catalog. */
20522
public catalog: proto.WebFeatures.WebFeaturesFlag;
20523
20524
/** WebFeatures starredStickers. */
20525
public starredStickers: proto.WebFeatures.WebFeaturesFlag;
20526
20527
/** WebFeatures voipGroupCall. */
20528
public voipGroupCall: proto.WebFeatures.WebFeaturesFlag;
20529
20530
/** WebFeatures templateMessage. */
20531
public templateMessage: proto.WebFeatures.WebFeaturesFlag;
20532
20533
/** WebFeatures templateMessageInteractivity. */
20534
public templateMessageInteractivity: proto.WebFeatures.WebFeaturesFlag;
20535
20536
/** WebFeatures ephemeralMessages. */
20537
public ephemeralMessages: proto.WebFeatures.WebFeaturesFlag;
20538
20539
/** WebFeatures e2ENotificationSync. */
20540
public e2ENotificationSync: proto.WebFeatures.WebFeaturesFlag;
20541
20542
/** WebFeatures recentStickersV2. */
20543
public recentStickersV2: proto.WebFeatures.WebFeaturesFlag;
20544
20545
/** WebFeatures recentStickersV3. */
20546
public recentStickersV3: proto.WebFeatures.WebFeaturesFlag;
20547
20548
/** WebFeatures userNotice. */
20549
public userNotice: proto.WebFeatures.WebFeaturesFlag;
20550
20551
/** WebFeatures support. */
20552
public support: proto.WebFeatures.WebFeaturesFlag;
20553
20554
/** WebFeatures groupUiiCleanup. */
20555
public groupUiiCleanup: proto.WebFeatures.WebFeaturesFlag;
20556
20557
/** WebFeatures groupDogfoodingInternalOnly. */
20558
public groupDogfoodingInternalOnly: proto.WebFeatures.WebFeaturesFlag;
20559
20560
/** WebFeatures settingsSync. */
20561
public settingsSync: proto.WebFeatures.WebFeaturesFlag;
20562
20563
/** WebFeatures archiveV2. */
20564
public archiveV2: proto.WebFeatures.WebFeaturesFlag;
20565
20566
/** WebFeatures ephemeralAllowGroupMembers. */
20567
public ephemeralAllowGroupMembers: proto.WebFeatures.WebFeaturesFlag;
20568
20569
/** WebFeatures ephemeral24HDuration. */
20570
public ephemeral24HDuration: proto.WebFeatures.WebFeaturesFlag;
20571
20572
/** WebFeatures mdForceUpgrade. */
20573
public mdForceUpgrade: proto.WebFeatures.WebFeaturesFlag;
20574
20575
/** WebFeatures disappearingMode. */
20576
public disappearingMode: proto.WebFeatures.WebFeaturesFlag;
20577
20578
/** WebFeatures externalMdOptInAvailable. */
20579
public externalMdOptInAvailable: proto.WebFeatures.WebFeaturesFlag;
20580
20581
/** WebFeatures noDeleteMessageTimeLimit. */
20582
public noDeleteMessageTimeLimit: proto.WebFeatures.WebFeaturesFlag;
20583
20584
/**
20585
* Creates a new WebFeatures instance using the specified properties.
20586
* @param [properties] Properties to set
20587
* @returns WebFeatures instance
20588
*/
20589
public static create(properties?: proto.IWebFeatures): proto.WebFeatures;
20590
20591
/**
20592
* Encodes the specified WebFeatures message. Does not implicitly {@link proto.WebFeatures.verify|verify} messages.
20593
* @param message WebFeatures message or plain object to encode
20594
* @param [writer] Writer to encode to
20595
* @returns Writer
20596
*/
20597
public static encode(message: proto.IWebFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
20598
20599
/**
20600
* Encodes the specified WebFeatures message, length delimited. Does not implicitly {@link proto.WebFeatures.verify|verify} messages.
20601
* @param message WebFeatures message or plain object to encode
20602
* @param [writer] Writer to encode to
20603
* @returns Writer
20604
*/
20605
public static encodeDelimited(message: proto.IWebFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
20606
20607
/**
20608
* Decodes a WebFeatures message from the specified reader or buffer.
20609
* @param reader Reader or buffer to decode from
20610
* @param [length] Message length if known beforehand
20611
* @returns WebFeatures
20612
* @throws {Error} If the payload is not a reader or valid buffer
20613
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20614
*/
20615
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.WebFeatures;
20616
20617
/**
20618
* Decodes a WebFeatures message from the specified reader or buffer, length delimited.
20619
* @param reader Reader or buffer to decode from
20620
* @returns WebFeatures
20621
* @throws {Error} If the payload is not a reader or valid buffer
20622
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20623
*/
20624
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.WebFeatures;
20625
20626
/**
20627
* Verifies a WebFeatures message.
20628
* @param message Plain object to verify
20629
* @returns `null` if valid, otherwise the reason why it is not
20630
*/
20631
public static verify(message: { [k: string]: any }): (string|null);
20632
20633
/**
20634
* Creates a WebFeatures message from a plain object. Also converts values to their respective internal types.
20635
* @param object Plain object
20636
* @returns WebFeatures
20637
*/
20638
public static fromObject(object: { [k: string]: any }): proto.WebFeatures;
20639
20640
/**
20641
* Creates a plain object from a WebFeatures message. Also converts values to other types if specified.
20642
* @param message WebFeatures
20643
* @param [options] Conversion options
20644
* @returns Plain object
20645
*/
20646
public static toObject(message: proto.WebFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
20647
20648
/**
20649
* Converts this WebFeatures to JSON.
20650
* @returns JSON object
20651
*/
20652
public toJSON(): { [k: string]: any };
20653
}
20654
20655
namespace WebFeatures {
20656
20657
/** WebFeaturesFlag enum. */
20658
enum WebFeaturesFlag {
20659
NOT_STARTED = 0,
20660
FORCE_UPGRADE = 1,
20661
DEVELOPMENT = 2,
20662
PRODUCTION = 3
20663
}
20664
}
20665
20666
/** Properties of a NotificationMessageInfo. */
20667
interface INotificationMessageInfo {
20668
20669
/** NotificationMessageInfo key */
20670
key?: (proto.IMessageKey|null);
20671
20672
/** NotificationMessageInfo message */
20673
message?: (proto.IMessage|null);
20674
20675
/** NotificationMessageInfo messageTimestamp */
20676
messageTimestamp?: (number|Long|null);
20677
20678
/** NotificationMessageInfo participant */
20679
participant?: (string|null);
20680
}
20681
20682
/** Represents a NotificationMessageInfo. */
20683
class NotificationMessageInfo implements INotificationMessageInfo {
20684
20685
/**
20686
* Constructs a new NotificationMessageInfo.
20687
* @param [properties] Properties to set
20688
*/
20689
constructor(properties?: proto.INotificationMessageInfo);
20690
20691
/** NotificationMessageInfo key. */
20692
public key?: (proto.IMessageKey|null);
20693
20694
/** NotificationMessageInfo message. */
20695
public message?: (proto.IMessage|null);
20696
20697
/** NotificationMessageInfo messageTimestamp. */
20698
public messageTimestamp: (number|Long);
20699
20700
/** NotificationMessageInfo participant. */
20701
public participant: string;
20702
20703
/**
20704
* Creates a new NotificationMessageInfo instance using the specified properties.
20705
* @param [properties] Properties to set
20706
* @returns NotificationMessageInfo instance
20707
*/
20708
public static create(properties?: proto.INotificationMessageInfo): proto.NotificationMessageInfo;
20709
20710
/**
20711
* Encodes the specified NotificationMessageInfo message. Does not implicitly {@link proto.NotificationMessageInfo.verify|verify} messages.
20712
* @param message NotificationMessageInfo message or plain object to encode
20713
* @param [writer] Writer to encode to
20714
* @returns Writer
20715
*/
20716
public static encode(message: proto.INotificationMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20717
20718
/**
20719
* Encodes the specified NotificationMessageInfo message, length delimited. Does not implicitly {@link proto.NotificationMessageInfo.verify|verify} messages.
20720
* @param message NotificationMessageInfo message or plain object to encode
20721
* @param [writer] Writer to encode to
20722
* @returns Writer
20723
*/
20724
public static encodeDelimited(message: proto.INotificationMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20725
20726
/**
20727
* Decodes a NotificationMessageInfo message from the specified reader or buffer.
20728
* @param reader Reader or buffer to decode from
20729
* @param [length] Message length if known beforehand
20730
* @returns NotificationMessageInfo
20731
* @throws {Error} If the payload is not a reader or valid buffer
20732
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20733
*/
20734
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NotificationMessageInfo;
20735
20736
/**
20737
* Decodes a NotificationMessageInfo message from the specified reader or buffer, length delimited.
20738
* @param reader Reader or buffer to decode from
20739
* @returns NotificationMessageInfo
20740
* @throws {Error} If the payload is not a reader or valid buffer
20741
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20742
*/
20743
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NotificationMessageInfo;
20744
20745
/**
20746
* Verifies a NotificationMessageInfo message.
20747
* @param message Plain object to verify
20748
* @returns `null` if valid, otherwise the reason why it is not
20749
*/
20750
public static verify(message: { [k: string]: any }): (string|null);
20751
20752
/**
20753
* Creates a NotificationMessageInfo message from a plain object. Also converts values to their respective internal types.
20754
* @param object Plain object
20755
* @returns NotificationMessageInfo
20756
*/
20757
public static fromObject(object: { [k: string]: any }): proto.NotificationMessageInfo;
20758
20759
/**
20760
* Creates a plain object from a NotificationMessageInfo message. Also converts values to other types if specified.
20761
* @param message NotificationMessageInfo
20762
* @param [options] Conversion options
20763
* @returns Plain object
20764
*/
20765
public static toObject(message: proto.NotificationMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
20766
20767
/**
20768
* Converts this NotificationMessageInfo to JSON.
20769
* @returns JSON object
20770
*/
20771
public toJSON(): { [k: string]: any };
20772
}
20773
20774
/** Properties of a WebNotificationsInfo. */
20775
interface IWebNotificationsInfo {
20776
20777
/** WebNotificationsInfo timestamp */
20778
timestamp?: (number|Long|null);
20779
20780
/** WebNotificationsInfo unreadChats */
20781
unreadChats?: (number|null);
20782
20783
/** WebNotificationsInfo notifyMessageCount */
20784
notifyMessageCount?: (number|null);
20785
20786
/** WebNotificationsInfo notifyMessages */
20787
notifyMessages?: (proto.IWebMessageInfo[]|null);
20788
}
20789
20790
/** Represents a WebNotificationsInfo. */
20791
class WebNotificationsInfo implements IWebNotificationsInfo {
20792
20793
/**
20794
* Constructs a new WebNotificationsInfo.
20795
* @param [properties] Properties to set
20796
*/
20797
constructor(properties?: proto.IWebNotificationsInfo);
20798
20799
/** WebNotificationsInfo timestamp. */
20800
public timestamp: (number|Long);
20801
20802
/** WebNotificationsInfo unreadChats. */
20803
public unreadChats: number;
20804
20805
/** WebNotificationsInfo notifyMessageCount. */
20806
public notifyMessageCount: number;
20807
20808
/** WebNotificationsInfo notifyMessages. */
20809
public notifyMessages: proto.IWebMessageInfo[];
20810
20811
/**
20812
* Creates a new WebNotificationsInfo instance using the specified properties.
20813
* @param [properties] Properties to set
20814
* @returns WebNotificationsInfo instance
20815
*/
20816
public static create(properties?: proto.IWebNotificationsInfo): proto.WebNotificationsInfo;
20817
20818
/**
20819
* Encodes the specified WebNotificationsInfo message. Does not implicitly {@link proto.WebNotificationsInfo.verify|verify} messages.
20820
* @param message WebNotificationsInfo message or plain object to encode
20821
* @param [writer] Writer to encode to
20822
* @returns Writer
20823
*/
20824
public static encode(message: proto.IWebNotificationsInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20825
20826
/**
20827
* Encodes the specified WebNotificationsInfo message, length delimited. Does not implicitly {@link proto.WebNotificationsInfo.verify|verify} messages.
20828
* @param message WebNotificationsInfo message or plain object to encode
20829
* @param [writer] Writer to encode to
20830
* @returns Writer
20831
*/
20832
public static encodeDelimited(message: proto.IWebNotificationsInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20833
20834
/**
20835
* Decodes a WebNotificationsInfo message from the specified reader or buffer.
20836
* @param reader Reader or buffer to decode from
20837
* @param [length] Message length if known beforehand
20838
* @returns WebNotificationsInfo
20839
* @throws {Error} If the payload is not a reader or valid buffer
20840
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20841
*/
20842
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.WebNotificationsInfo;
20843
20844
/**
20845
* Decodes a WebNotificationsInfo message from the specified reader or buffer, length delimited.
20846
* @param reader Reader or buffer to decode from
20847
* @returns WebNotificationsInfo
20848
* @throws {Error} If the payload is not a reader or valid buffer
20849
* @throws {$protobuf.util.ProtocolError} If required fields are missing
20850
*/
20851
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.WebNotificationsInfo;
20852
20853
/**
20854
* Verifies a WebNotificationsInfo message.
20855
* @param message Plain object to verify
20856
* @returns `null` if valid, otherwise the reason why it is not
20857
*/
20858
public static verify(message: { [k: string]: any }): (string|null);
20859
20860
/**
20861
* Creates a WebNotificationsInfo message from a plain object. Also converts values to their respective internal types.
20862
* @param object Plain object
20863
* @returns WebNotificationsInfo
20864
*/
20865
public static fromObject(object: { [k: string]: any }): proto.WebNotificationsInfo;
20866
20867
/**
20868
* Creates a plain object from a WebNotificationsInfo message. Also converts values to other types if specified.
20869
* @param message WebNotificationsInfo
20870
* @param [options] Conversion options
20871
* @returns Plain object
20872
*/
20873
public static toObject(message: proto.WebNotificationsInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
20874
20875
/**
20876
* Converts this WebNotificationsInfo to JSON.
20877
* @returns JSON object
20878
*/
20879
public toJSON(): { [k: string]: any };
20880
}
20881
20882
/** Properties of a PaymentInfo. */
20883
interface IPaymentInfo {
20884
20885
/** PaymentInfo currencyDeprecated */
20886
currencyDeprecated?: (proto.PaymentInfo.PaymentInfoCurrency|null);
20887
20888
/** PaymentInfo amount1000 */
20889
amount1000?: (number|Long|null);
20890
20891
/** PaymentInfo receiverJid */
20892
receiverJid?: (string|null);
20893
20894
/** PaymentInfo status */
20895
status?: (proto.PaymentInfo.PaymentInfoStatus|null);
20896
20897
/** PaymentInfo transactionTimestamp */
20898
transactionTimestamp?: (number|Long|null);
20899
20900
/** PaymentInfo requestMessageKey */
20901
requestMessageKey?: (proto.IMessageKey|null);
20902
20903
/** PaymentInfo expiryTimestamp */
20904
expiryTimestamp?: (number|Long|null);
20905
20906
/** PaymentInfo futureproofed */
20907
futureproofed?: (boolean|null);
20908
20909
/** PaymentInfo currency */
20910
currency?: (string|null);
20911
20912
/** PaymentInfo txnStatus */
20913
txnStatus?: (proto.PaymentInfo.PaymentInfoTxnStatus|null);
20914
20915
/** PaymentInfo useNoviFiatFormat */
20916
useNoviFiatFormat?: (boolean|null);
20917
20918
/** PaymentInfo primaryAmount */
20919
primaryAmount?: (proto.IMoney|null);
20920
20921
/** PaymentInfo exchangeAmount */
20922
exchangeAmount?: (proto.IMoney|null);
20923
}
20924
20925
/** Represents a PaymentInfo. */
20926
class PaymentInfo implements IPaymentInfo {
20927
20928
/**
20929
* Constructs a new PaymentInfo.
20930
* @param [properties] Properties to set
20931
*/
20932
constructor(properties?: proto.IPaymentInfo);
20933
20934
/** PaymentInfo currencyDeprecated. */
20935
public currencyDeprecated: proto.PaymentInfo.PaymentInfoCurrency;
20936
20937
/** PaymentInfo amount1000. */
20938
public amount1000: (number|Long);
20939
20940
/** PaymentInfo receiverJid. */
20941
public receiverJid: string;
20942
20943
/** PaymentInfo status. */
20944
public status: proto.PaymentInfo.PaymentInfoStatus;
20945
20946
/** PaymentInfo transactionTimestamp. */
20947
public transactionTimestamp: (number|Long);
20948
20949
/** PaymentInfo requestMessageKey. */
20950
public requestMessageKey?: (proto.IMessageKey|null);
20951
20952
/** PaymentInfo expiryTimestamp. */
20953
public expiryTimestamp: (number|Long);
20954
20955
/** PaymentInfo futureproofed. */
20956
public futureproofed: boolean;
20957
20958
/** PaymentInfo currency. */
20959
public currency: string;
20960
20961
/** PaymentInfo txnStatus. */
20962
public txnStatus: proto.PaymentInfo.PaymentInfoTxnStatus;
20963
20964
/** PaymentInfo useNoviFiatFormat. */
20965
public useNoviFiatFormat: boolean;
20966
20967
/** PaymentInfo primaryAmount. */
20968
public primaryAmount?: (proto.IMoney|null);
20969
20970
/** PaymentInfo exchangeAmount. */
20971
public exchangeAmount?: (proto.IMoney|null);
20972
20973
/**
20974
* Creates a new PaymentInfo instance using the specified properties.
20975
* @param [properties] Properties to set
20976
* @returns PaymentInfo instance
20977
*/
20978
public static create(properties?: proto.IPaymentInfo): proto.PaymentInfo;
20979
20980
/**
20981
* Encodes the specified PaymentInfo message. Does not implicitly {@link proto.PaymentInfo.verify|verify} messages.
20982
* @param message PaymentInfo message or plain object to encode
20983
* @param [writer] Writer to encode to
20984
* @returns Writer
20985
*/
20986
public static encode(message: proto.IPaymentInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20987
20988
/**
20989
* Encodes the specified PaymentInfo message, length delimited. Does not implicitly {@link proto.PaymentInfo.verify|verify} messages.
20990
* @param message PaymentInfo message or plain object to encode
20991
* @param [writer] Writer to encode to
20992
* @returns Writer
20993
*/
20994
public static encodeDelimited(message: proto.IPaymentInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20995
20996
/**
20997
* Decodes a PaymentInfo message from the specified reader or buffer.
20998
* @param reader Reader or buffer to decode from
20999
* @param [length] Message length if known beforehand
21000
* @returns PaymentInfo
21001
* @throws {Error} If the payload is not a reader or valid buffer
21002
* @throws {$protobuf.util.ProtocolError} If required fields are missing
21003
*/
21004
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.PaymentInfo;
21005
21006
/**
21007
* Decodes a PaymentInfo message from the specified reader or buffer, length delimited.
21008
* @param reader Reader or buffer to decode from
21009
* @returns PaymentInfo
21010
* @throws {Error} If the payload is not a reader or valid buffer
21011
* @throws {$protobuf.util.ProtocolError} If required fields are missing
21012
*/
21013
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.PaymentInfo;
21014
21015
/**
21016
* Verifies a PaymentInfo message.
21017
* @param message Plain object to verify
21018
* @returns `null` if valid, otherwise the reason why it is not
21019
*/
21020
public static verify(message: { [k: string]: any }): (string|null);
21021
21022
/**
21023
* Creates a PaymentInfo message from a plain object. Also converts values to their respective internal types.
21024
* @param object Plain object
21025
* @returns PaymentInfo
21026
*/
21027
public static fromObject(object: { [k: string]: any }): proto.PaymentInfo;
21028
21029
/**
21030
* Creates a plain object from a PaymentInfo message. Also converts values to other types if specified.
21031
* @param message PaymentInfo
21032
* @param [options] Conversion options
21033
* @returns Plain object
21034
*/
21035
public static toObject(message: proto.PaymentInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
21036
21037
/**
21038
* Converts this PaymentInfo to JSON.
21039
* @returns JSON object
21040
*/
21041
public toJSON(): { [k: string]: any };
21042
}
21043
21044
namespace PaymentInfo {
21045
21046
/** PaymentInfoCurrency enum. */
21047
enum PaymentInfoCurrency {
21048
UNKNOWN_CURRENCY = 0,
21049
INR = 1
21050
}
21051
21052
/** PaymentInfoStatus enum. */
21053
enum PaymentInfoStatus {
21054
UNKNOWN_STATUS = 0,
21055
PROCESSING = 1,
21056
SENT = 2,
21057
NEED_TO_ACCEPT = 3,
21058
COMPLETE = 4,
21059
COULD_NOT_COMPLETE = 5,
21060
REFUNDED = 6,
21061
EXPIRED = 7,
21062
REJECTED = 8,
21063
CANCELLED = 9,
21064
WAITING_FOR_PAYER = 10,
21065
WAITING = 11
21066
}
21067
21068
/** PaymentInfoTxnStatus enum. */
21069
enum PaymentInfoTxnStatus {
21070
UNKNOWN = 0,
21071
PENDING_SETUP = 1,
21072
PENDING_RECEIVER_SETUP = 2,
21073
INIT = 3,
21074
SUCCESS = 4,
21075
COMPLETED = 5,
21076
FAILED = 6,
21077
FAILED_RISK = 7,
21078
FAILED_PROCESSING = 8,
21079
FAILED_RECEIVER_PROCESSING = 9,
21080
FAILED_DA = 10,
21081
FAILED_DA_FINAL = 11,
21082
REFUNDED_TXN = 12,
21083
REFUND_FAILED = 13,
21084
REFUND_FAILED_PROCESSING = 14,
21085
REFUND_FAILED_DA = 15,
21086
EXPIRED_TXN = 16,
21087
AUTH_CANCELED = 17,
21088
AUTH_CANCEL_FAILED_PROCESSING = 18,
21089
AUTH_CANCEL_FAILED = 19,
21090
COLLECT_INIT = 20,
21091
COLLECT_SUCCESS = 21,
21092
COLLECT_FAILED = 22,
21093
COLLECT_FAILED_RISK = 23,
21094
COLLECT_REJECTED = 24,
21095
COLLECT_EXPIRED = 25,
21096
COLLECT_CANCELED = 26,
21097
COLLECT_CANCELLING = 27,
21098
IN_REVIEW = 28
21099
}
21100
}
21101
21102
/** Properties of a WebMessageInfo. */
21103
interface IWebMessageInfo {
21104
21105
/** WebMessageInfo key */
21106
key: proto.IMessageKey;
21107
21108
/** WebMessageInfo message */
21109
message?: (proto.IMessage|null);
21110
21111
/** WebMessageInfo messageTimestamp */
21112
messageTimestamp?: (number|Long|null);
21113
21114
/** WebMessageInfo status */
21115
status?: (proto.WebMessageInfo.WebMessageInfoStatus|null);
21116
21117
/** WebMessageInfo participant */
21118
participant?: (string|null);
21119
21120
/** WebMessageInfo messageC2STimestamp */
21121
messageC2STimestamp?: (number|Long|null);
21122
21123
/** WebMessageInfo ignore */
21124
ignore?: (boolean|null);
21125
21126
/** WebMessageInfo starred */
21127
starred?: (boolean|null);
21128
21129
/** WebMessageInfo broadcast */
21130
broadcast?: (boolean|null);
21131
21132
/** WebMessageInfo pushName */
21133
pushName?: (string|null);
21134
21135
/** WebMessageInfo mediaCiphertextSha256 */
21136
mediaCiphertextSha256?: (Uint8Array|null);
21137
21138
/** WebMessageInfo multicast */
21139
multicast?: (boolean|null);
21140
21141
/** WebMessageInfo urlText */
21142
urlText?: (boolean|null);
21143
21144
/** WebMessageInfo urlNumber */
21145
urlNumber?: (boolean|null);
21146
21147
/** WebMessageInfo messageStubType */
21148
messageStubType?: (proto.WebMessageInfo.WebMessageInfoStubType|null);
21149
21150
/** WebMessageInfo clearMedia */
21151
clearMedia?: (boolean|null);
21152
21153
/** WebMessageInfo messageStubParameters */
21154
messageStubParameters?: (string[]|null);
21155
21156
/** WebMessageInfo duration */
21157
duration?: (number|null);
21158
21159
/** WebMessageInfo labels */
21160
labels?: (string[]|null);
21161
21162
/** WebMessageInfo paymentInfo */
21163
paymentInfo?: (proto.IPaymentInfo|null);
21164
21165
/** WebMessageInfo finalLiveLocation */
21166
finalLiveLocation?: (proto.ILiveLocationMessage|null);
21167
21168
/** WebMessageInfo quotedPaymentInfo */
21169
quotedPaymentInfo?: (proto.IPaymentInfo|null);
21170
21171
/** WebMessageInfo ephemeralStartTimestamp */
21172
ephemeralStartTimestamp?: (number|Long|null);
21173
21174
/** WebMessageInfo ephemeralDuration */
21175
ephemeralDuration?: (number|null);
21176
21177
/** WebMessageInfo ephemeralOffToOn */
21178
ephemeralOffToOn?: (boolean|null);
21179
21180
/** WebMessageInfo ephemeralOutOfSync */
21181
ephemeralOutOfSync?: (boolean|null);
21182
21183
/** WebMessageInfo bizPrivacyStatus */
21184
bizPrivacyStatus?: (proto.WebMessageInfo.WebMessageInfoBizPrivacyStatus|null);
21185
21186
/** WebMessageInfo verifiedBizName */
21187
verifiedBizName?: (string|null);
21188
21189
/** WebMessageInfo mediaData */
21190
mediaData?: (proto.IMediaData|null);
21191
21192
/** WebMessageInfo photoChange */
21193
photoChange?: (proto.IPhotoChange|null);
21194
21195
/** WebMessageInfo userReceipt */
21196
userReceipt?: (proto.IUserReceipt[]|null);
21197
21198
/** WebMessageInfo reactions */
21199
reactions?: (proto.IReaction[]|null);
21200
21201
/** WebMessageInfo quotedStickerData */
21202
quotedStickerData?: (proto.IMediaData|null);
21203
21204
/** WebMessageInfo futureproofData */
21205
futureproofData?: (Uint8Array|null);
21206
21207
/** WebMessageInfo statusPsa */
21208
statusPsa?: (proto.IStatusPSA|null);
21209
}
21210
21211
/** Represents a WebMessageInfo. */
21212
class WebMessageInfo implements IWebMessageInfo {
21213
21214
/**
21215
* Constructs a new WebMessageInfo.
21216
* @param [properties] Properties to set
21217
*/
21218
constructor(properties?: proto.IWebMessageInfo);
21219
21220
/** WebMessageInfo key. */
21221
public key: proto.IMessageKey;
21222
21223
/** WebMessageInfo message. */
21224
public message?: (proto.IMessage|null);
21225
21226
/** WebMessageInfo messageTimestamp. */
21227
public messageTimestamp: (number|Long);
21228
21229
/** WebMessageInfo status. */
21230
public status: proto.WebMessageInfo.WebMessageInfoStatus;
21231
21232
/** WebMessageInfo participant. */
21233
public participant: string;
21234
21235
/** WebMessageInfo messageC2STimestamp. */
21236
public messageC2STimestamp: (number|Long);
21237
21238
/** WebMessageInfo ignore. */
21239
public ignore: boolean;
21240
21241
/** WebMessageInfo starred. */
21242
public starred: boolean;
21243
21244
/** WebMessageInfo broadcast. */
21245
public broadcast: boolean;
21246
21247
/** WebMessageInfo pushName. */
21248
public pushName: string;
21249
21250
/** WebMessageInfo mediaCiphertextSha256. */
21251
public mediaCiphertextSha256: Uint8Array;
21252
21253
/** WebMessageInfo multicast. */
21254
public multicast: boolean;
21255
21256
/** WebMessageInfo urlText. */
21257
public urlText: boolean;
21258
21259
/** WebMessageInfo urlNumber. */
21260
public urlNumber: boolean;
21261
21262
/** WebMessageInfo messageStubType. */
21263
public messageStubType: proto.WebMessageInfo.WebMessageInfoStubType;
21264
21265
/** WebMessageInfo clearMedia. */
21266
public clearMedia: boolean;
21267
21268
/** WebMessageInfo messageStubParameters. */
21269
public messageStubParameters: string[];
21270
21271
/** WebMessageInfo duration. */
21272
public duration: number;
21273
21274
/** WebMessageInfo labels. */
21275
public labels: string[];
21276
21277
/** WebMessageInfo paymentInfo. */
21278
public paymentInfo?: (proto.IPaymentInfo|null);
21279
21280
/** WebMessageInfo finalLiveLocation. */
21281
public finalLiveLocation?: (proto.ILiveLocationMessage|null);
21282
21283
/** WebMessageInfo quotedPaymentInfo. */
21284
public quotedPaymentInfo?: (proto.IPaymentInfo|null);
21285
21286
/** WebMessageInfo ephemeralStartTimestamp. */
21287
public ephemeralStartTimestamp: (number|Long);
21288
21289
/** WebMessageInfo ephemeralDuration. */
21290
public ephemeralDuration: number;
21291
21292
/** WebMessageInfo ephemeralOffToOn. */
21293
public ephemeralOffToOn: boolean;
21294
21295
/** WebMessageInfo ephemeralOutOfSync. */
21296
public ephemeralOutOfSync: boolean;
21297
21298
/** WebMessageInfo bizPrivacyStatus. */
21299
public bizPrivacyStatus: proto.WebMessageInfo.WebMessageInfoBizPrivacyStatus;
21300
21301
/** WebMessageInfo verifiedBizName. */
21302
public verifiedBizName: string;
21303
21304
/** WebMessageInfo mediaData. */
21305
public mediaData?: (proto.IMediaData|null);
21306
21307
/** WebMessageInfo photoChange. */
21308
public photoChange?: (proto.IPhotoChange|null);
21309
21310
/** WebMessageInfo userReceipt. */
21311
public userReceipt: proto.IUserReceipt[];
21312
21313
/** WebMessageInfo reactions. */
21314
public reactions: proto.IReaction[];
21315
21316
/** WebMessageInfo quotedStickerData. */
21317
public quotedStickerData?: (proto.IMediaData|null);
21318
21319
/** WebMessageInfo futureproofData. */
21320
public futureproofData: Uint8Array;
21321
21322
/** WebMessageInfo statusPsa. */
21323
public statusPsa?: (proto.IStatusPSA|null);
21324
21325
/**
21326
* Creates a new WebMessageInfo instance using the specified properties.
21327
* @param [properties] Properties to set
21328
* @returns WebMessageInfo instance
21329
*/
21330
public static create(properties?: proto.IWebMessageInfo): proto.WebMessageInfo;
21331
21332
/**
21333
* Encodes the specified WebMessageInfo message. Does not implicitly {@link proto.WebMessageInfo.verify|verify} messages.
21334
* @param message WebMessageInfo message or plain object to encode
21335
* @param [writer] Writer to encode to
21336
* @returns Writer
21337
*/
21338
public static encode(message: proto.IWebMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
21339
21340
/**
21341
* Encodes the specified WebMessageInfo message, length delimited. Does not implicitly {@link proto.WebMessageInfo.verify|verify} messages.
21342
* @param message WebMessageInfo message or plain object to encode
21343
* @param [writer] Writer to encode to
21344
* @returns Writer
21345
*/
21346
public static encodeDelimited(message: proto.IWebMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer;
21347
21348
/**
21349
* Decodes a WebMessageInfo message from the specified reader or buffer.
21350
* @param reader Reader or buffer to decode from
21351
* @param [length] Message length if known beforehand
21352
* @returns WebMessageInfo
21353
* @throws {Error} If the payload is not a reader or valid buffer
21354
* @throws {$protobuf.util.ProtocolError} If required fields are missing
21355
*/
21356
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.WebMessageInfo;
21357
21358
/**
21359
* Decodes a WebMessageInfo message from the specified reader or buffer, length delimited.
21360
* @param reader Reader or buffer to decode from
21361
* @returns WebMessageInfo
21362
* @throws {Error} If the payload is not a reader or valid buffer
21363
* @throws {$protobuf.util.ProtocolError} If required fields are missing
21364
*/
21365
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.WebMessageInfo;
21366
21367
/**
21368
* Verifies a WebMessageInfo message.
21369
* @param message Plain object to verify
21370
* @returns `null` if valid, otherwise the reason why it is not
21371
*/
21372
public static verify(message: { [k: string]: any }): (string|null);
21373
21374
/**
21375
* Creates a WebMessageInfo message from a plain object. Also converts values to their respective internal types.
21376
* @param object Plain object
21377
* @returns WebMessageInfo
21378
*/
21379
public static fromObject(object: { [k: string]: any }): proto.WebMessageInfo;
21380
21381
/**
21382
* Creates a plain object from a WebMessageInfo message. Also converts values to other types if specified.
21383
* @param message WebMessageInfo
21384
* @param [options] Conversion options
21385
* @returns Plain object
21386
*/
21387
public static toObject(message: proto.WebMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
21388
21389
/**
21390
* Converts this WebMessageInfo to JSON.
21391
* @returns JSON object
21392
*/
21393
public toJSON(): { [k: string]: any };
21394
}
21395
21396
namespace WebMessageInfo {
21397
21398
/** WebMessageInfoStatus enum. */
21399
enum WebMessageInfoStatus {
21400
ERROR = 0,
21401
PENDING = 1,
21402
SERVER_ACK = 2,
21403
DELIVERY_ACK = 3,
21404
READ = 4,
21405
PLAYED = 5
21406
}
21407
21408
/** WebMessageInfoStubType enum. */
21409
enum WebMessageInfoStubType {
21410
UNKNOWN = 0,
21411
REVOKE = 1,
21412
CIPHERTEXT = 2,
21413
FUTUREPROOF = 3,
21414
NON_VERIFIED_TRANSITION = 4,
21415
UNVERIFIED_TRANSITION = 5,
21416
VERIFIED_TRANSITION = 6,
21417
VERIFIED_LOW_UNKNOWN = 7,
21418
VERIFIED_HIGH = 8,
21419
VERIFIED_INITIAL_UNKNOWN = 9,
21420
VERIFIED_INITIAL_LOW = 10,
21421
VERIFIED_INITIAL_HIGH = 11,
21422
VERIFIED_TRANSITION_ANY_TO_NONE = 12,
21423
VERIFIED_TRANSITION_ANY_TO_HIGH = 13,
21424
VERIFIED_TRANSITION_HIGH_TO_LOW = 14,
21425
VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15,
21426
VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16,
21427
VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17,
21428
VERIFIED_TRANSITION_NONE_TO_LOW = 18,
21429
VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19,
21430
GROUP_CREATE = 20,
21431
GROUP_CHANGE_SUBJECT = 21,
21432
GROUP_CHANGE_ICON = 22,
21433
GROUP_CHANGE_INVITE_LINK = 23,
21434
GROUP_CHANGE_DESCRIPTION = 24,
21435
GROUP_CHANGE_RESTRICT = 25,
21436
GROUP_CHANGE_ANNOUNCE = 26,
21437
GROUP_PARTICIPANT_ADD = 27,
21438
GROUP_PARTICIPANT_REMOVE = 28,
21439
GROUP_PARTICIPANT_PROMOTE = 29,
21440
GROUP_PARTICIPANT_DEMOTE = 30,
21441
GROUP_PARTICIPANT_INVITE = 31,
21442
GROUP_PARTICIPANT_LEAVE = 32,
21443
GROUP_PARTICIPANT_CHANGE_NUMBER = 33,
21444
BROADCAST_CREATE = 34,
21445
BROADCAST_ADD = 35,
21446
BROADCAST_REMOVE = 36,
21447
GENERIC_NOTIFICATION = 37,
21448
E2E_IDENTITY_CHANGED = 38,
21449
E2E_ENCRYPTED = 39,
21450
CALL_MISSED_VOICE = 40,
21451
CALL_MISSED_VIDEO = 41,
21452
INDIVIDUAL_CHANGE_NUMBER = 42,
21453
GROUP_DELETE = 43,
21454
GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44,
21455
CALL_MISSED_GROUP_VOICE = 45,
21456
CALL_MISSED_GROUP_VIDEO = 46,
21457
PAYMENT_CIPHERTEXT = 47,
21458
PAYMENT_FUTUREPROOF = 48,
21459
PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49,
21460
PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50,
21461
PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51,
21462
PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52,
21463
PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53,
21464
PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54,
21465
PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55,
21466
PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56,
21467
PAYMENT_ACTION_REQUEST_DECLINED = 57,
21468
PAYMENT_ACTION_REQUEST_EXPIRED = 58,
21469
PAYMENT_ACTION_REQUEST_CANCELLED = 59,
21470
BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60,
21471
BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61,
21472
BIZ_INTRO_TOP = 62,
21473
BIZ_INTRO_BOTTOM = 63,
21474
BIZ_NAME_CHANGE = 64,
21475
BIZ_MOVE_TO_CONSUMER_APP = 65,
21476
BIZ_TWO_TIER_MIGRATION_TOP = 66,
21477
BIZ_TWO_TIER_MIGRATION_BOTTOM = 67,
21478
OVERSIZED = 68,
21479
GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69,
21480
GROUP_V4_ADD_INVITE_SENT = 70,
21481
GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71,
21482
CHANGE_EPHEMERAL_SETTING = 72,
21483
E2E_DEVICE_CHANGED = 73,
21484
VIEWED_ONCE = 74,
21485
E2E_ENCRYPTED_NOW = 75,
21486
BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76,
21487
BLUE_MSG_BSP_FB_TO_SELF_FB = 77,
21488
BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78,
21489
BLUE_MSG_BSP_FB_UNVERIFIED = 79,
21490
BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80,
21491
BLUE_MSG_BSP_FB_VERIFIED = 81,
21492
BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82,
21493
BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83,
21494
BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84,
21495
BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85,
21496
BLUE_MSG_BSP_PREMISE_VERIFIED = 86,
21497
BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87,
21498
BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88,
21499
BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89,
21500
BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90,
21501
BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91,
21502
BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92,
21503
BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93,
21504
BLUE_MSG_SELF_FB_UNVERIFIED = 94,
21505
BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95,
21506
BLUE_MSG_SELF_FB_VERIFIED = 96,
21507
BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97,
21508
BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98,
21509
BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99,
21510
BLUE_MSG_SELF_PREMISE_VERIFIED = 100,
21511
BLUE_MSG_TO_BSP_FB = 101,
21512
BLUE_MSG_TO_CONSUMER = 102,
21513
BLUE_MSG_TO_SELF_FB = 103,
21514
BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104,
21515
BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105,
21516
BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106,
21517
BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107,
21518
BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108,
21519
BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109,
21520
BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110,
21521
BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111,
21522
BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112,
21523
BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113,
21524
BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114,
21525
BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115,
21526
BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116,
21527
BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117,
21528
E2E_IDENTITY_UNAVAILABLE = 118,
21529
GROUP_CREATING = 119,
21530
GROUP_CREATE_FAILED = 120,
21531
GROUP_BOUNCED = 121,
21532
BLOCK_CONTACT = 122,
21533
EPHEMERAL_SETTING_NOT_APPLIED = 123,
21534
SYNC_FAILED = 124,
21535
SYNCING = 125,
21536
BIZ_PRIVACY_MODE_INIT_FB = 126,
21537
BIZ_PRIVACY_MODE_INIT_BSP = 127,
21538
BIZ_PRIVACY_MODE_TO_FB = 128,
21539
BIZ_PRIVACY_MODE_TO_BSP = 129,
21540
DISAPPEARING_MODE = 130,
21541
E2E_DEVICE_FETCH_FAILED = 131,
21542
ADMIN_REVOKE = 132,
21543
GROUP_INVITE_LINK_GROWTH_LOCKED = 133
21544
}
21545
21546
/** WebMessageInfoBizPrivacyStatus enum. */
21547
enum WebMessageInfoBizPrivacyStatus {
21548
E2EE = 0,
21549
FB = 2,
21550
BSP = 1,
21551
BSP_AND_FB = 3
21552
}
21553
}
21554
}
21555
21556