quickvo-sdk-js 0.8.3 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -316,6 +316,9 @@ export namespace com {
316
316
 
317
317
  /** User behavior */
318
318
  behavior?: (number|null);
319
+
320
+ /** User channelCache */
321
+ channelCache?: (com.quick.voice.proto.IDataChannelCacheInfo|null);
319
322
  }
320
323
 
321
324
  /** Represents a User. */
@@ -351,6 +354,9 @@ export namespace com {
351
354
  /** User behavior. */
352
355
  public behavior?: (number|null);
353
356
 
357
+ /** User channelCache. */
358
+ public channelCache?: (com.quick.voice.proto.IDataChannelCacheInfo|null);
359
+
354
360
  /**
355
361
  * Creates a new User instance using the specified properties.
356
362
  * @param [properties] Properties to set
@@ -429,6 +435,206 @@ export namespace com {
429
435
  public static getTypeUrl(typeUrlPrefix?: string): string;
430
436
  }
431
437
 
438
+ /** Properties of a DataChannelCacheInfo. */
439
+ interface IDataChannelCacheInfo {
440
+
441
+ /** DataChannelCacheInfo channels */
442
+ channels?: (com.quick.voice.proto.IDataChannel[]|null);
443
+ }
444
+
445
+ /** Represents a DataChannelCacheInfo. */
446
+ class DataChannelCacheInfo implements IDataChannelCacheInfo {
447
+
448
+ /**
449
+ * Constructs a new DataChannelCacheInfo.
450
+ * @param [properties] Properties to set
451
+ */
452
+ constructor(properties?: com.quick.voice.proto.IDataChannelCacheInfo);
453
+
454
+ /** DataChannelCacheInfo channels. */
455
+ public channels: com.quick.voice.proto.IDataChannel[];
456
+
457
+ /**
458
+ * Creates a new DataChannelCacheInfo instance using the specified properties.
459
+ * @param [properties] Properties to set
460
+ * @returns DataChannelCacheInfo instance
461
+ */
462
+ public static create(properties?: com.quick.voice.proto.IDataChannelCacheInfo): com.quick.voice.proto.DataChannelCacheInfo;
463
+
464
+ /**
465
+ * Encodes the specified DataChannelCacheInfo message. Does not implicitly {@link com.quick.voice.proto.DataChannelCacheInfo.verify|verify} messages.
466
+ * @param message DataChannelCacheInfo message or plain object to encode
467
+ * @param [writer] Writer to encode to
468
+ * @returns Writer
469
+ */
470
+ public static encode(message: com.quick.voice.proto.IDataChannelCacheInfo, writer?: $protobuf.Writer): $protobuf.Writer;
471
+
472
+ /**
473
+ * Encodes the specified DataChannelCacheInfo message, length delimited. Does not implicitly {@link com.quick.voice.proto.DataChannelCacheInfo.verify|verify} messages.
474
+ * @param message DataChannelCacheInfo message or plain object to encode
475
+ * @param [writer] Writer to encode to
476
+ * @returns Writer
477
+ */
478
+ public static encodeDelimited(message: com.quick.voice.proto.IDataChannelCacheInfo, writer?: $protobuf.Writer): $protobuf.Writer;
479
+
480
+ /**
481
+ * Decodes a DataChannelCacheInfo message from the specified reader or buffer.
482
+ * @param reader Reader or buffer to decode from
483
+ * @param [length] Message length if known beforehand
484
+ * @returns DataChannelCacheInfo
485
+ * @throws {Error} If the payload is not a reader or valid buffer
486
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
487
+ */
488
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.DataChannelCacheInfo;
489
+
490
+ /**
491
+ * Decodes a DataChannelCacheInfo message from the specified reader or buffer, length delimited.
492
+ * @param reader Reader or buffer to decode from
493
+ * @returns DataChannelCacheInfo
494
+ * @throws {Error} If the payload is not a reader or valid buffer
495
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
496
+ */
497
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.DataChannelCacheInfo;
498
+
499
+ /**
500
+ * Verifies a DataChannelCacheInfo message.
501
+ * @param message Plain object to verify
502
+ * @returns `null` if valid, otherwise the reason why it is not
503
+ */
504
+ public static verify(message: { [k: string]: any }): (string|null);
505
+
506
+ /**
507
+ * Creates a DataChannelCacheInfo message from a plain object. Also converts values to their respective internal types.
508
+ * @param object Plain object
509
+ * @returns DataChannelCacheInfo
510
+ */
511
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.DataChannelCacheInfo;
512
+
513
+ /**
514
+ * Creates a plain object from a DataChannelCacheInfo message. Also converts values to other types if specified.
515
+ * @param message DataChannelCacheInfo
516
+ * @param [options] Conversion options
517
+ * @returns Plain object
518
+ */
519
+ public static toObject(message: com.quick.voice.proto.DataChannelCacheInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
520
+
521
+ /**
522
+ * Converts this DataChannelCacheInfo to JSON.
523
+ * @returns JSON object
524
+ */
525
+ public toJSON(): { [k: string]: any };
526
+
527
+ /**
528
+ * Gets the default type url for DataChannelCacheInfo
529
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
530
+ * @returns The default type url
531
+ */
532
+ public static getTypeUrl(typeUrlPrefix?: string): string;
533
+ }
534
+
535
+ /** Properties of a DataChannel. */
536
+ interface IDataChannel {
537
+
538
+ /** DataChannel dataChannelName */
539
+ dataChannelName?: (string|null);
540
+
541
+ /** DataChannel id */
542
+ id?: (number|null);
543
+ }
544
+
545
+ /** Represents a DataChannel. */
546
+ class DataChannel implements IDataChannel {
547
+
548
+ /**
549
+ * Constructs a new DataChannel.
550
+ * @param [properties] Properties to set
551
+ */
552
+ constructor(properties?: com.quick.voice.proto.IDataChannel);
553
+
554
+ /** DataChannel dataChannelName. */
555
+ public dataChannelName: string;
556
+
557
+ /** DataChannel id. */
558
+ public id?: (number|null);
559
+
560
+ /**
561
+ * Creates a new DataChannel instance using the specified properties.
562
+ * @param [properties] Properties to set
563
+ * @returns DataChannel instance
564
+ */
565
+ public static create(properties?: com.quick.voice.proto.IDataChannel): com.quick.voice.proto.DataChannel;
566
+
567
+ /**
568
+ * Encodes the specified DataChannel message. Does not implicitly {@link com.quick.voice.proto.DataChannel.verify|verify} messages.
569
+ * @param message DataChannel message or plain object to encode
570
+ * @param [writer] Writer to encode to
571
+ * @returns Writer
572
+ */
573
+ public static encode(message: com.quick.voice.proto.IDataChannel, writer?: $protobuf.Writer): $protobuf.Writer;
574
+
575
+ /**
576
+ * Encodes the specified DataChannel message, length delimited. Does not implicitly {@link com.quick.voice.proto.DataChannel.verify|verify} messages.
577
+ * @param message DataChannel message or plain object to encode
578
+ * @param [writer] Writer to encode to
579
+ * @returns Writer
580
+ */
581
+ public static encodeDelimited(message: com.quick.voice.proto.IDataChannel, writer?: $protobuf.Writer): $protobuf.Writer;
582
+
583
+ /**
584
+ * Decodes a DataChannel message from the specified reader or buffer.
585
+ * @param reader Reader or buffer to decode from
586
+ * @param [length] Message length if known beforehand
587
+ * @returns DataChannel
588
+ * @throws {Error} If the payload is not a reader or valid buffer
589
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
590
+ */
591
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.DataChannel;
592
+
593
+ /**
594
+ * Decodes a DataChannel message from the specified reader or buffer, length delimited.
595
+ * @param reader Reader or buffer to decode from
596
+ * @returns DataChannel
597
+ * @throws {Error} If the payload is not a reader or valid buffer
598
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
599
+ */
600
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.DataChannel;
601
+
602
+ /**
603
+ * Verifies a DataChannel message.
604
+ * @param message Plain object to verify
605
+ * @returns `null` if valid, otherwise the reason why it is not
606
+ */
607
+ public static verify(message: { [k: string]: any }): (string|null);
608
+
609
+ /**
610
+ * Creates a DataChannel message from a plain object. Also converts values to their respective internal types.
611
+ * @param object Plain object
612
+ * @returns DataChannel
613
+ */
614
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.DataChannel;
615
+
616
+ /**
617
+ * Creates a plain object from a DataChannel message. Also converts values to other types if specified.
618
+ * @param message DataChannel
619
+ * @param [options] Conversion options
620
+ * @returns Plain object
621
+ */
622
+ public static toObject(message: com.quick.voice.proto.DataChannel, options?: $protobuf.IConversionOptions): { [k: string]: any };
623
+
624
+ /**
625
+ * Converts this DataChannel to JSON.
626
+ * @returns JSON object
627
+ */
628
+ public toJSON(): { [k: string]: any };
629
+
630
+ /**
631
+ * Gets the default type url for DataChannel
632
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
633
+ * @returns The default type url
634
+ */
635
+ public static getTypeUrl(typeUrlPrefix?: string): string;
636
+ }
637
+
432
638
  /** Properties of a Login. */
433
639
  interface ILogin {
434
640
 
@@ -564,6 +770,9 @@ export namespace com {
564
770
 
565
771
  /** Track isValid */
566
772
  isValid?: (boolean|null);
773
+
774
+ /** Track simulcast */
775
+ simulcast?: (string|null);
567
776
  }
568
777
 
569
778
  /** Represents a Track. */
@@ -599,6 +808,9 @@ export namespace com {
599
808
  /** Track isValid. */
600
809
  public isValid?: (boolean|null);
601
810
 
811
+ /** Track simulcast. */
812
+ public simulcast?: (string|null);
813
+
602
814
  /**
603
815
  * Creates a new Track instance using the specified properties.
604
816
  * @param [properties] Properties to set
@@ -688,6 +900,9 @@ export namespace com {
688
900
 
689
901
  /** JoinReq callType */
690
902
  callType?: (com.quick.voice.proto.CallType|null);
903
+
904
+ /** JoinReq token */
905
+ token?: (string|null);
691
906
  }
692
907
 
693
908
  /** Represents a JoinReq. */
@@ -708,6 +923,9 @@ export namespace com {
708
923
  /** JoinReq callType. */
709
924
  public callType: com.quick.voice.proto.CallType;
710
925
 
926
+ /** JoinReq token. */
927
+ public token?: (string|null);
928
+
711
929
  /**
712
930
  * Creates a new JoinReq instance using the specified properties.
713
931
  * @param [properties] Properties to set
@@ -4294,6 +4512,497 @@ export namespace com {
4294
4512
  */
4295
4513
  public static getTypeUrl(typeUrlPrefix?: string): string;
4296
4514
  }
4515
+
4516
+ /** Properties of a UserChannel. */
4517
+ interface IUserChannel {
4518
+
4519
+ /** UserChannel userId */
4520
+ userId?: (string|null);
4521
+
4522
+ /** UserChannel channels */
4523
+ channels?: (com.quick.voice.proto.IDataChannel[]|null);
4524
+ }
4525
+
4526
+ /** Represents a UserChannel. */
4527
+ class UserChannel implements IUserChannel {
4528
+
4529
+ /**
4530
+ * Constructs a new UserChannel.
4531
+ * @param [properties] Properties to set
4532
+ */
4533
+ constructor(properties?: com.quick.voice.proto.IUserChannel);
4534
+
4535
+ /** UserChannel userId. */
4536
+ public userId: string;
4537
+
4538
+ /** UserChannel channels. */
4539
+ public channels: com.quick.voice.proto.IDataChannel[];
4540
+
4541
+ /**
4542
+ * Creates a new UserChannel instance using the specified properties.
4543
+ * @param [properties] Properties to set
4544
+ * @returns UserChannel instance
4545
+ */
4546
+ public static create(properties?: com.quick.voice.proto.IUserChannel): com.quick.voice.proto.UserChannel;
4547
+
4548
+ /**
4549
+ * Encodes the specified UserChannel message. Does not implicitly {@link com.quick.voice.proto.UserChannel.verify|verify} messages.
4550
+ * @param message UserChannel message or plain object to encode
4551
+ * @param [writer] Writer to encode to
4552
+ * @returns Writer
4553
+ */
4554
+ public static encode(message: com.quick.voice.proto.IUserChannel, writer?: $protobuf.Writer): $protobuf.Writer;
4555
+
4556
+ /**
4557
+ * Encodes the specified UserChannel message, length delimited. Does not implicitly {@link com.quick.voice.proto.UserChannel.verify|verify} messages.
4558
+ * @param message UserChannel message or plain object to encode
4559
+ * @param [writer] Writer to encode to
4560
+ * @returns Writer
4561
+ */
4562
+ public static encodeDelimited(message: com.quick.voice.proto.IUserChannel, writer?: $protobuf.Writer): $protobuf.Writer;
4563
+
4564
+ /**
4565
+ * Decodes a UserChannel message from the specified reader or buffer.
4566
+ * @param reader Reader or buffer to decode from
4567
+ * @param [length] Message length if known beforehand
4568
+ * @returns UserChannel
4569
+ * @throws {Error} If the payload is not a reader or valid buffer
4570
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4571
+ */
4572
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.UserChannel;
4573
+
4574
+ /**
4575
+ * Decodes a UserChannel message from the specified reader or buffer, length delimited.
4576
+ * @param reader Reader or buffer to decode from
4577
+ * @returns UserChannel
4578
+ * @throws {Error} If the payload is not a reader or valid buffer
4579
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4580
+ */
4581
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.UserChannel;
4582
+
4583
+ /**
4584
+ * Verifies a UserChannel message.
4585
+ * @param message Plain object to verify
4586
+ * @returns `null` if valid, otherwise the reason why it is not
4587
+ */
4588
+ public static verify(message: { [k: string]: any }): (string|null);
4589
+
4590
+ /**
4591
+ * Creates a UserChannel message from a plain object. Also converts values to their respective internal types.
4592
+ * @param object Plain object
4593
+ * @returns UserChannel
4594
+ */
4595
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.UserChannel;
4596
+
4597
+ /**
4598
+ * Creates a plain object from a UserChannel message. Also converts values to other types if specified.
4599
+ * @param message UserChannel
4600
+ * @param [options] Conversion options
4601
+ * @returns Plain object
4602
+ */
4603
+ public static toObject(message: com.quick.voice.proto.UserChannel, options?: $protobuf.IConversionOptions): { [k: string]: any };
4604
+
4605
+ /**
4606
+ * Converts this UserChannel to JSON.
4607
+ * @returns JSON object
4608
+ */
4609
+ public toJSON(): { [k: string]: any };
4610
+
4611
+ /**
4612
+ * Gets the default type url for UserChannel
4613
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4614
+ * @returns The default type url
4615
+ */
4616
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4617
+ }
4618
+
4619
+ /** Properties of a ChannelPublishReq. */
4620
+ interface IChannelPublishReq {
4621
+
4622
+ /** ChannelPublishReq channels */
4623
+ channels?: (com.quick.voice.proto.IDataChannel[]|null);
4624
+ }
4625
+
4626
+ /** Represents a ChannelPublishReq. */
4627
+ class ChannelPublishReq implements IChannelPublishReq {
4628
+
4629
+ /**
4630
+ * Constructs a new ChannelPublishReq.
4631
+ * @param [properties] Properties to set
4632
+ */
4633
+ constructor(properties?: com.quick.voice.proto.IChannelPublishReq);
4634
+
4635
+ /** ChannelPublishReq channels. */
4636
+ public channels: com.quick.voice.proto.IDataChannel[];
4637
+
4638
+ /**
4639
+ * Creates a new ChannelPublishReq instance using the specified properties.
4640
+ * @param [properties] Properties to set
4641
+ * @returns ChannelPublishReq instance
4642
+ */
4643
+ public static create(properties?: com.quick.voice.proto.IChannelPublishReq): com.quick.voice.proto.ChannelPublishReq;
4644
+
4645
+ /**
4646
+ * Encodes the specified ChannelPublishReq message. Does not implicitly {@link com.quick.voice.proto.ChannelPublishReq.verify|verify} messages.
4647
+ * @param message ChannelPublishReq message or plain object to encode
4648
+ * @param [writer] Writer to encode to
4649
+ * @returns Writer
4650
+ */
4651
+ public static encode(message: com.quick.voice.proto.IChannelPublishReq, writer?: $protobuf.Writer): $protobuf.Writer;
4652
+
4653
+ /**
4654
+ * Encodes the specified ChannelPublishReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ChannelPublishReq.verify|verify} messages.
4655
+ * @param message ChannelPublishReq message or plain object to encode
4656
+ * @param [writer] Writer to encode to
4657
+ * @returns Writer
4658
+ */
4659
+ public static encodeDelimited(message: com.quick.voice.proto.IChannelPublishReq, writer?: $protobuf.Writer): $protobuf.Writer;
4660
+
4661
+ /**
4662
+ * Decodes a ChannelPublishReq message from the specified reader or buffer.
4663
+ * @param reader Reader or buffer to decode from
4664
+ * @param [length] Message length if known beforehand
4665
+ * @returns ChannelPublishReq
4666
+ * @throws {Error} If the payload is not a reader or valid buffer
4667
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4668
+ */
4669
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ChannelPublishReq;
4670
+
4671
+ /**
4672
+ * Decodes a ChannelPublishReq message from the specified reader or buffer, length delimited.
4673
+ * @param reader Reader or buffer to decode from
4674
+ * @returns ChannelPublishReq
4675
+ * @throws {Error} If the payload is not a reader or valid buffer
4676
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4677
+ */
4678
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ChannelPublishReq;
4679
+
4680
+ /**
4681
+ * Verifies a ChannelPublishReq message.
4682
+ * @param message Plain object to verify
4683
+ * @returns `null` if valid, otherwise the reason why it is not
4684
+ */
4685
+ public static verify(message: { [k: string]: any }): (string|null);
4686
+
4687
+ /**
4688
+ * Creates a ChannelPublishReq message from a plain object. Also converts values to their respective internal types.
4689
+ * @param object Plain object
4690
+ * @returns ChannelPublishReq
4691
+ */
4692
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ChannelPublishReq;
4693
+
4694
+ /**
4695
+ * Creates a plain object from a ChannelPublishReq message. Also converts values to other types if specified.
4696
+ * @param message ChannelPublishReq
4697
+ * @param [options] Conversion options
4698
+ * @returns Plain object
4699
+ */
4700
+ public static toObject(message: com.quick.voice.proto.ChannelPublishReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
4701
+
4702
+ /**
4703
+ * Converts this ChannelPublishReq to JSON.
4704
+ * @returns JSON object
4705
+ */
4706
+ public toJSON(): { [k: string]: any };
4707
+
4708
+ /**
4709
+ * Gets the default type url for ChannelPublishReq
4710
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4711
+ * @returns The default type url
4712
+ */
4713
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4714
+ }
4715
+
4716
+ /** Properties of a ChannelPublishRsq. */
4717
+ interface IChannelPublishRsq {
4718
+
4719
+ /** ChannelPublishRsq channels */
4720
+ channels?: (com.quick.voice.proto.IUserChannel[]|null);
4721
+ }
4722
+
4723
+ /** Represents a ChannelPublishRsq. */
4724
+ class ChannelPublishRsq implements IChannelPublishRsq {
4725
+
4726
+ /**
4727
+ * Constructs a new ChannelPublishRsq.
4728
+ * @param [properties] Properties to set
4729
+ */
4730
+ constructor(properties?: com.quick.voice.proto.IChannelPublishRsq);
4731
+
4732
+ /** ChannelPublishRsq channels. */
4733
+ public channels: com.quick.voice.proto.IUserChannel[];
4734
+
4735
+ /**
4736
+ * Creates a new ChannelPublishRsq instance using the specified properties.
4737
+ * @param [properties] Properties to set
4738
+ * @returns ChannelPublishRsq instance
4739
+ */
4740
+ public static create(properties?: com.quick.voice.proto.IChannelPublishRsq): com.quick.voice.proto.ChannelPublishRsq;
4741
+
4742
+ /**
4743
+ * Encodes the specified ChannelPublishRsq message. Does not implicitly {@link com.quick.voice.proto.ChannelPublishRsq.verify|verify} messages.
4744
+ * @param message ChannelPublishRsq message or plain object to encode
4745
+ * @param [writer] Writer to encode to
4746
+ * @returns Writer
4747
+ */
4748
+ public static encode(message: com.quick.voice.proto.IChannelPublishRsq, writer?: $protobuf.Writer): $protobuf.Writer;
4749
+
4750
+ /**
4751
+ * Encodes the specified ChannelPublishRsq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ChannelPublishRsq.verify|verify} messages.
4752
+ * @param message ChannelPublishRsq message or plain object to encode
4753
+ * @param [writer] Writer to encode to
4754
+ * @returns Writer
4755
+ */
4756
+ public static encodeDelimited(message: com.quick.voice.proto.IChannelPublishRsq, writer?: $protobuf.Writer): $protobuf.Writer;
4757
+
4758
+ /**
4759
+ * Decodes a ChannelPublishRsq message from the specified reader or buffer.
4760
+ * @param reader Reader or buffer to decode from
4761
+ * @param [length] Message length if known beforehand
4762
+ * @returns ChannelPublishRsq
4763
+ * @throws {Error} If the payload is not a reader or valid buffer
4764
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4765
+ */
4766
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ChannelPublishRsq;
4767
+
4768
+ /**
4769
+ * Decodes a ChannelPublishRsq message from the specified reader or buffer, length delimited.
4770
+ * @param reader Reader or buffer to decode from
4771
+ * @returns ChannelPublishRsq
4772
+ * @throws {Error} If the payload is not a reader or valid buffer
4773
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4774
+ */
4775
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ChannelPublishRsq;
4776
+
4777
+ /**
4778
+ * Verifies a ChannelPublishRsq message.
4779
+ * @param message Plain object to verify
4780
+ * @returns `null` if valid, otherwise the reason why it is not
4781
+ */
4782
+ public static verify(message: { [k: string]: any }): (string|null);
4783
+
4784
+ /**
4785
+ * Creates a ChannelPublishRsq message from a plain object. Also converts values to their respective internal types.
4786
+ * @param object Plain object
4787
+ * @returns ChannelPublishRsq
4788
+ */
4789
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ChannelPublishRsq;
4790
+
4791
+ /**
4792
+ * Creates a plain object from a ChannelPublishRsq message. Also converts values to other types if specified.
4793
+ * @param message ChannelPublishRsq
4794
+ * @param [options] Conversion options
4795
+ * @returns Plain object
4796
+ */
4797
+ public static toObject(message: com.quick.voice.proto.ChannelPublishRsq, options?: $protobuf.IConversionOptions): { [k: string]: any };
4798
+
4799
+ /**
4800
+ * Converts this ChannelPublishRsq to JSON.
4801
+ * @returns JSON object
4802
+ */
4803
+ public toJSON(): { [k: string]: any };
4804
+
4805
+ /**
4806
+ * Gets the default type url for ChannelPublishRsq
4807
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4808
+ * @returns The default type url
4809
+ */
4810
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4811
+ }
4812
+
4813
+ /** Properties of a ChannelSubscribeReq. */
4814
+ interface IChannelSubscribeReq {
4815
+
4816
+ /** ChannelSubscribeReq users */
4817
+ users?: (com.quick.voice.proto.IUserChannel[]|null);
4818
+ }
4819
+
4820
+ /** Represents a ChannelSubscribeReq. */
4821
+ class ChannelSubscribeReq implements IChannelSubscribeReq {
4822
+
4823
+ /**
4824
+ * Constructs a new ChannelSubscribeReq.
4825
+ * @param [properties] Properties to set
4826
+ */
4827
+ constructor(properties?: com.quick.voice.proto.IChannelSubscribeReq);
4828
+
4829
+ /** ChannelSubscribeReq users. */
4830
+ public users: com.quick.voice.proto.IUserChannel[];
4831
+
4832
+ /**
4833
+ * Creates a new ChannelSubscribeReq instance using the specified properties.
4834
+ * @param [properties] Properties to set
4835
+ * @returns ChannelSubscribeReq instance
4836
+ */
4837
+ public static create(properties?: com.quick.voice.proto.IChannelSubscribeReq): com.quick.voice.proto.ChannelSubscribeReq;
4838
+
4839
+ /**
4840
+ * Encodes the specified ChannelSubscribeReq message. Does not implicitly {@link com.quick.voice.proto.ChannelSubscribeReq.verify|verify} messages.
4841
+ * @param message ChannelSubscribeReq message or plain object to encode
4842
+ * @param [writer] Writer to encode to
4843
+ * @returns Writer
4844
+ */
4845
+ public static encode(message: com.quick.voice.proto.IChannelSubscribeReq, writer?: $protobuf.Writer): $protobuf.Writer;
4846
+
4847
+ /**
4848
+ * Encodes the specified ChannelSubscribeReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ChannelSubscribeReq.verify|verify} messages.
4849
+ * @param message ChannelSubscribeReq message or plain object to encode
4850
+ * @param [writer] Writer to encode to
4851
+ * @returns Writer
4852
+ */
4853
+ public static encodeDelimited(message: com.quick.voice.proto.IChannelSubscribeReq, writer?: $protobuf.Writer): $protobuf.Writer;
4854
+
4855
+ /**
4856
+ * Decodes a ChannelSubscribeReq message from the specified reader or buffer.
4857
+ * @param reader Reader or buffer to decode from
4858
+ * @param [length] Message length if known beforehand
4859
+ * @returns ChannelSubscribeReq
4860
+ * @throws {Error} If the payload is not a reader or valid buffer
4861
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4862
+ */
4863
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ChannelSubscribeReq;
4864
+
4865
+ /**
4866
+ * Decodes a ChannelSubscribeReq message from the specified reader or buffer, length delimited.
4867
+ * @param reader Reader or buffer to decode from
4868
+ * @returns ChannelSubscribeReq
4869
+ * @throws {Error} If the payload is not a reader or valid buffer
4870
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4871
+ */
4872
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ChannelSubscribeReq;
4873
+
4874
+ /**
4875
+ * Verifies a ChannelSubscribeReq message.
4876
+ * @param message Plain object to verify
4877
+ * @returns `null` if valid, otherwise the reason why it is not
4878
+ */
4879
+ public static verify(message: { [k: string]: any }): (string|null);
4880
+
4881
+ /**
4882
+ * Creates a ChannelSubscribeReq message from a plain object. Also converts values to their respective internal types.
4883
+ * @param object Plain object
4884
+ * @returns ChannelSubscribeReq
4885
+ */
4886
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ChannelSubscribeReq;
4887
+
4888
+ /**
4889
+ * Creates a plain object from a ChannelSubscribeReq message. Also converts values to other types if specified.
4890
+ * @param message ChannelSubscribeReq
4891
+ * @param [options] Conversion options
4892
+ * @returns Plain object
4893
+ */
4894
+ public static toObject(message: com.quick.voice.proto.ChannelSubscribeReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
4895
+
4896
+ /**
4897
+ * Converts this ChannelSubscribeReq to JSON.
4898
+ * @returns JSON object
4899
+ */
4900
+ public toJSON(): { [k: string]: any };
4901
+
4902
+ /**
4903
+ * Gets the default type url for ChannelSubscribeReq
4904
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4905
+ * @returns The default type url
4906
+ */
4907
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4908
+ }
4909
+
4910
+ /** Properties of a ChannelSubscribeRsq. */
4911
+ interface IChannelSubscribeRsq {
4912
+
4913
+ /** ChannelSubscribeRsq channels */
4914
+ channels?: (com.quick.voice.proto.IUserChannel[]|null);
4915
+ }
4916
+
4917
+ /** Represents a ChannelSubscribeRsq. */
4918
+ class ChannelSubscribeRsq implements IChannelSubscribeRsq {
4919
+
4920
+ /**
4921
+ * Constructs a new ChannelSubscribeRsq.
4922
+ * @param [properties] Properties to set
4923
+ */
4924
+ constructor(properties?: com.quick.voice.proto.IChannelSubscribeRsq);
4925
+
4926
+ /** ChannelSubscribeRsq channels. */
4927
+ public channels: com.quick.voice.proto.IUserChannel[];
4928
+
4929
+ /**
4930
+ * Creates a new ChannelSubscribeRsq instance using the specified properties.
4931
+ * @param [properties] Properties to set
4932
+ * @returns ChannelSubscribeRsq instance
4933
+ */
4934
+ public static create(properties?: com.quick.voice.proto.IChannelSubscribeRsq): com.quick.voice.proto.ChannelSubscribeRsq;
4935
+
4936
+ /**
4937
+ * Encodes the specified ChannelSubscribeRsq message. Does not implicitly {@link com.quick.voice.proto.ChannelSubscribeRsq.verify|verify} messages.
4938
+ * @param message ChannelSubscribeRsq message or plain object to encode
4939
+ * @param [writer] Writer to encode to
4940
+ * @returns Writer
4941
+ */
4942
+ public static encode(message: com.quick.voice.proto.IChannelSubscribeRsq, writer?: $protobuf.Writer): $protobuf.Writer;
4943
+
4944
+ /**
4945
+ * Encodes the specified ChannelSubscribeRsq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ChannelSubscribeRsq.verify|verify} messages.
4946
+ * @param message ChannelSubscribeRsq message or plain object to encode
4947
+ * @param [writer] Writer to encode to
4948
+ * @returns Writer
4949
+ */
4950
+ public static encodeDelimited(message: com.quick.voice.proto.IChannelSubscribeRsq, writer?: $protobuf.Writer): $protobuf.Writer;
4951
+
4952
+ /**
4953
+ * Decodes a ChannelSubscribeRsq message from the specified reader or buffer.
4954
+ * @param reader Reader or buffer to decode from
4955
+ * @param [length] Message length if known beforehand
4956
+ * @returns ChannelSubscribeRsq
4957
+ * @throws {Error} If the payload is not a reader or valid buffer
4958
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4959
+ */
4960
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ChannelSubscribeRsq;
4961
+
4962
+ /**
4963
+ * Decodes a ChannelSubscribeRsq message from the specified reader or buffer, length delimited.
4964
+ * @param reader Reader or buffer to decode from
4965
+ * @returns ChannelSubscribeRsq
4966
+ * @throws {Error} If the payload is not a reader or valid buffer
4967
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4968
+ */
4969
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ChannelSubscribeRsq;
4970
+
4971
+ /**
4972
+ * Verifies a ChannelSubscribeRsq message.
4973
+ * @param message Plain object to verify
4974
+ * @returns `null` if valid, otherwise the reason why it is not
4975
+ */
4976
+ public static verify(message: { [k: string]: any }): (string|null);
4977
+
4978
+ /**
4979
+ * Creates a ChannelSubscribeRsq message from a plain object. Also converts values to their respective internal types.
4980
+ * @param object Plain object
4981
+ * @returns ChannelSubscribeRsq
4982
+ */
4983
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ChannelSubscribeRsq;
4984
+
4985
+ /**
4986
+ * Creates a plain object from a ChannelSubscribeRsq message. Also converts values to other types if specified.
4987
+ * @param message ChannelSubscribeRsq
4988
+ * @param [options] Conversion options
4989
+ * @returns Plain object
4990
+ */
4991
+ public static toObject(message: com.quick.voice.proto.ChannelSubscribeRsq, options?: $protobuf.IConversionOptions): { [k: string]: any };
4992
+
4993
+ /**
4994
+ * Converts this ChannelSubscribeRsq to JSON.
4995
+ * @returns JSON object
4996
+ */
4997
+ public toJSON(): { [k: string]: any };
4998
+
4999
+ /**
5000
+ * Gets the default type url for ChannelSubscribeRsq
5001
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5002
+ * @returns The default type url
5003
+ */
5004
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5005
+ }
4297
5006
  }
4298
5007
  }
4299
5008
  }