@wppconnect/wa-proto 2.3000.1024478481 → 2.3000.1024551647
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/WAProto.proto +24 -1
- package/dist/index.d.ts +428 -2
- package/dist/index.js +1085 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [2.3000.1024551647](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024478481...v2.3000.1024551647) (2025-07-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
1
5
|
## [2.3000.1024478481](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024449876...v2.3000.1024478481) (2025-07-07)
|
|
2
6
|
|
|
3
7
|
|
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1024551647
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -415,6 +415,7 @@ message BotMetadata {
|
|
|
415
415
|
optional string conversationStarterPromptId = 25;
|
|
416
416
|
optional string botResponseId = 26;
|
|
417
417
|
optional BotSignatureVerificationMetadata verificationMetadata = 27;
|
|
418
|
+
optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
|
|
418
419
|
}
|
|
419
420
|
|
|
420
421
|
enum BotMetricsEntryPoint {
|
|
@@ -666,6 +667,7 @@ message BotSourcesMetadata {
|
|
|
666
667
|
BING = 1;
|
|
667
668
|
GOOGLE = 2;
|
|
668
669
|
SUPPORT = 3;
|
|
670
|
+
OTHER = 4;
|
|
669
671
|
}
|
|
670
672
|
}
|
|
671
673
|
|
|
@@ -678,6 +680,14 @@ message BotSuggestedPromptMetadata {
|
|
|
678
680
|
optional string selectedPromptId = 4;
|
|
679
681
|
}
|
|
680
682
|
|
|
683
|
+
message BotUnifiedResponseMutation {
|
|
684
|
+
optional SideBySideMetadata sbsMetadata = 1;
|
|
685
|
+
message SideBySideMetadata {
|
|
686
|
+
optional string primaryResponseId = 1;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
}
|
|
690
|
+
|
|
681
691
|
message CallLogRecord {
|
|
682
692
|
optional CallResult callResult = 1;
|
|
683
693
|
optional bool isDndMode = 2;
|
|
@@ -976,6 +986,7 @@ message ClientPayload {
|
|
|
976
986
|
IPAD = 33;
|
|
977
987
|
TEST = 34;
|
|
978
988
|
SMART_GLASSES = 35;
|
|
989
|
+
BLUE_VR = 36;
|
|
979
990
|
}
|
|
980
991
|
enum ReleaseChannel {
|
|
981
992
|
RELEASE = 0;
|
|
@@ -1797,6 +1808,7 @@ message Message {
|
|
|
1797
1808
|
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
1798
1809
|
optional FutureProofMessage botForwardedMessage = 104;
|
|
1799
1810
|
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
1811
|
+
optional QuestionAdminReplyMessage questionAdminReplyMessage = 106;
|
|
1800
1812
|
message AlbumMessage {
|
|
1801
1813
|
optional uint32 expectedImageCount = 2;
|
|
1802
1814
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2952,6 +2964,17 @@ message Message {
|
|
|
2952
2964
|
}
|
|
2953
2965
|
}
|
|
2954
2966
|
|
|
2967
|
+
message QuestionAdminReplyMessage {
|
|
2968
|
+
optional Message adminReplyMessage = 1;
|
|
2969
|
+
optional QuotedQuestionAdminReplyMessage quotedMessage = 2;
|
|
2970
|
+
message QuotedQuestionAdminReplyMessage {
|
|
2971
|
+
optional int32 serverQuestionId = 1;
|
|
2972
|
+
optional Message quotedQuestion = 2;
|
|
2973
|
+
optional Message quotedFollowerResponse = 3;
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2955
2978
|
message ReactionMessage {
|
|
2956
2979
|
optional MessageKey key = 1;
|
|
2957
2980
|
optional string text = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -4858,6 +4858,9 @@ export namespace waproto {
|
|
|
4858
4858
|
|
|
4859
4859
|
/** BotMetadata verificationMetadata */
|
|
4860
4860
|
verificationMetadata?: (waproto.IBotSignatureVerificationMetadata|null);
|
|
4861
|
+
|
|
4862
|
+
/** BotMetadata unifiedResponseMutation */
|
|
4863
|
+
unifiedResponseMutation?: (waproto.IBotUnifiedResponseMutation|null);
|
|
4861
4864
|
}
|
|
4862
4865
|
|
|
4863
4866
|
/** Represents a BotMetadata. */
|
|
@@ -4950,6 +4953,9 @@ export namespace waproto {
|
|
|
4950
4953
|
/** BotMetadata verificationMetadata. */
|
|
4951
4954
|
public verificationMetadata?: (waproto.IBotSignatureVerificationMetadata|null);
|
|
4952
4955
|
|
|
4956
|
+
/** BotMetadata unifiedResponseMutation. */
|
|
4957
|
+
public unifiedResponseMutation?: (waproto.IBotUnifiedResponseMutation|null);
|
|
4958
|
+
|
|
4953
4959
|
/**
|
|
4954
4960
|
* Creates a new BotMetadata instance using the specified properties.
|
|
4955
4961
|
* @param [properties] Properties to set
|
|
@@ -7634,7 +7640,8 @@ export namespace waproto {
|
|
|
7634
7640
|
UNKNOWN = 0,
|
|
7635
7641
|
BING = 1,
|
|
7636
7642
|
GOOGLE = 2,
|
|
7637
|
-
SUPPORT = 3
|
|
7643
|
+
SUPPORT = 3,
|
|
7644
|
+
OTHER = 4
|
|
7638
7645
|
}
|
|
7639
7646
|
}
|
|
7640
7647
|
}
|
|
@@ -7754,6 +7761,203 @@ export namespace waproto {
|
|
|
7754
7761
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7755
7762
|
}
|
|
7756
7763
|
|
|
7764
|
+
/** Properties of a BotUnifiedResponseMutation. */
|
|
7765
|
+
interface IBotUnifiedResponseMutation {
|
|
7766
|
+
|
|
7767
|
+
/** BotUnifiedResponseMutation sbsMetadata */
|
|
7768
|
+
sbsMetadata?: (waproto.BotUnifiedResponseMutation.ISideBySideMetadata|null);
|
|
7769
|
+
}
|
|
7770
|
+
|
|
7771
|
+
/** Represents a BotUnifiedResponseMutation. */
|
|
7772
|
+
class BotUnifiedResponseMutation implements IBotUnifiedResponseMutation {
|
|
7773
|
+
|
|
7774
|
+
/**
|
|
7775
|
+
* Constructs a new BotUnifiedResponseMutation.
|
|
7776
|
+
* @param [properties] Properties to set
|
|
7777
|
+
*/
|
|
7778
|
+
constructor(properties?: waproto.IBotUnifiedResponseMutation);
|
|
7779
|
+
|
|
7780
|
+
/** BotUnifiedResponseMutation sbsMetadata. */
|
|
7781
|
+
public sbsMetadata?: (waproto.BotUnifiedResponseMutation.ISideBySideMetadata|null);
|
|
7782
|
+
|
|
7783
|
+
/**
|
|
7784
|
+
* Creates a new BotUnifiedResponseMutation instance using the specified properties.
|
|
7785
|
+
* @param [properties] Properties to set
|
|
7786
|
+
* @returns BotUnifiedResponseMutation instance
|
|
7787
|
+
*/
|
|
7788
|
+
public static create(properties?: waproto.IBotUnifiedResponseMutation): waproto.BotUnifiedResponseMutation;
|
|
7789
|
+
|
|
7790
|
+
/**
|
|
7791
|
+
* Encodes the specified BotUnifiedResponseMutation message. Does not implicitly {@link waproto.BotUnifiedResponseMutation.verify|verify} messages.
|
|
7792
|
+
* @param message BotUnifiedResponseMutation message or plain object to encode
|
|
7793
|
+
* @param [writer] Writer to encode to
|
|
7794
|
+
* @returns Writer
|
|
7795
|
+
*/
|
|
7796
|
+
public static encode(message: waproto.IBotUnifiedResponseMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7797
|
+
|
|
7798
|
+
/**
|
|
7799
|
+
* Encodes the specified BotUnifiedResponseMutation message, length delimited. Does not implicitly {@link waproto.BotUnifiedResponseMutation.verify|verify} messages.
|
|
7800
|
+
* @param message BotUnifiedResponseMutation message or plain object to encode
|
|
7801
|
+
* @param [writer] Writer to encode to
|
|
7802
|
+
* @returns Writer
|
|
7803
|
+
*/
|
|
7804
|
+
public static encodeDelimited(message: waproto.IBotUnifiedResponseMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7805
|
+
|
|
7806
|
+
/**
|
|
7807
|
+
* Decodes a BotUnifiedResponseMutation message from the specified reader or buffer.
|
|
7808
|
+
* @param reader Reader or buffer to decode from
|
|
7809
|
+
* @param [length] Message length if known beforehand
|
|
7810
|
+
* @returns BotUnifiedResponseMutation
|
|
7811
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7812
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7813
|
+
*/
|
|
7814
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotUnifiedResponseMutation;
|
|
7815
|
+
|
|
7816
|
+
/**
|
|
7817
|
+
* Decodes a BotUnifiedResponseMutation message from the specified reader or buffer, length delimited.
|
|
7818
|
+
* @param reader Reader or buffer to decode from
|
|
7819
|
+
* @returns BotUnifiedResponseMutation
|
|
7820
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7821
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7822
|
+
*/
|
|
7823
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotUnifiedResponseMutation;
|
|
7824
|
+
|
|
7825
|
+
/**
|
|
7826
|
+
* Verifies a BotUnifiedResponseMutation message.
|
|
7827
|
+
* @param message Plain object to verify
|
|
7828
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7829
|
+
*/
|
|
7830
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7831
|
+
|
|
7832
|
+
/**
|
|
7833
|
+
* Creates a BotUnifiedResponseMutation message from a plain object. Also converts values to their respective internal types.
|
|
7834
|
+
* @param object Plain object
|
|
7835
|
+
* @returns BotUnifiedResponseMutation
|
|
7836
|
+
*/
|
|
7837
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotUnifiedResponseMutation;
|
|
7838
|
+
|
|
7839
|
+
/**
|
|
7840
|
+
* Creates a plain object from a BotUnifiedResponseMutation message. Also converts values to other types if specified.
|
|
7841
|
+
* @param message BotUnifiedResponseMutation
|
|
7842
|
+
* @param [options] Conversion options
|
|
7843
|
+
* @returns Plain object
|
|
7844
|
+
*/
|
|
7845
|
+
public static toObject(message: waproto.BotUnifiedResponseMutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7846
|
+
|
|
7847
|
+
/**
|
|
7848
|
+
* Converts this BotUnifiedResponseMutation to JSON.
|
|
7849
|
+
* @returns JSON object
|
|
7850
|
+
*/
|
|
7851
|
+
public toJSON(): { [k: string]: any };
|
|
7852
|
+
|
|
7853
|
+
/**
|
|
7854
|
+
* Gets the default type url for BotUnifiedResponseMutation
|
|
7855
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7856
|
+
* @returns The default type url
|
|
7857
|
+
*/
|
|
7858
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7859
|
+
}
|
|
7860
|
+
|
|
7861
|
+
namespace BotUnifiedResponseMutation {
|
|
7862
|
+
|
|
7863
|
+
/** Properties of a SideBySideMetadata. */
|
|
7864
|
+
interface ISideBySideMetadata {
|
|
7865
|
+
|
|
7866
|
+
/** SideBySideMetadata primaryResponseId */
|
|
7867
|
+
primaryResponseId?: (string|null);
|
|
7868
|
+
}
|
|
7869
|
+
|
|
7870
|
+
/** Represents a SideBySideMetadata. */
|
|
7871
|
+
class SideBySideMetadata implements ISideBySideMetadata {
|
|
7872
|
+
|
|
7873
|
+
/**
|
|
7874
|
+
* Constructs a new SideBySideMetadata.
|
|
7875
|
+
* @param [properties] Properties to set
|
|
7876
|
+
*/
|
|
7877
|
+
constructor(properties?: waproto.BotUnifiedResponseMutation.ISideBySideMetadata);
|
|
7878
|
+
|
|
7879
|
+
/** SideBySideMetadata primaryResponseId. */
|
|
7880
|
+
public primaryResponseId?: (string|null);
|
|
7881
|
+
|
|
7882
|
+
/**
|
|
7883
|
+
* Creates a new SideBySideMetadata instance using the specified properties.
|
|
7884
|
+
* @param [properties] Properties to set
|
|
7885
|
+
* @returns SideBySideMetadata instance
|
|
7886
|
+
*/
|
|
7887
|
+
public static create(properties?: waproto.BotUnifiedResponseMutation.ISideBySideMetadata): waproto.BotUnifiedResponseMutation.SideBySideMetadata;
|
|
7888
|
+
|
|
7889
|
+
/**
|
|
7890
|
+
* Encodes the specified SideBySideMetadata message. Does not implicitly {@link waproto.BotUnifiedResponseMutation.SideBySideMetadata.verify|verify} messages.
|
|
7891
|
+
* @param message SideBySideMetadata message or plain object to encode
|
|
7892
|
+
* @param [writer] Writer to encode to
|
|
7893
|
+
* @returns Writer
|
|
7894
|
+
*/
|
|
7895
|
+
public static encode(message: waproto.BotUnifiedResponseMutation.ISideBySideMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7896
|
+
|
|
7897
|
+
/**
|
|
7898
|
+
* Encodes the specified SideBySideMetadata message, length delimited. Does not implicitly {@link waproto.BotUnifiedResponseMutation.SideBySideMetadata.verify|verify} messages.
|
|
7899
|
+
* @param message SideBySideMetadata message or plain object to encode
|
|
7900
|
+
* @param [writer] Writer to encode to
|
|
7901
|
+
* @returns Writer
|
|
7902
|
+
*/
|
|
7903
|
+
public static encodeDelimited(message: waproto.BotUnifiedResponseMutation.ISideBySideMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7904
|
+
|
|
7905
|
+
/**
|
|
7906
|
+
* Decodes a SideBySideMetadata message from the specified reader or buffer.
|
|
7907
|
+
* @param reader Reader or buffer to decode from
|
|
7908
|
+
* @param [length] Message length if known beforehand
|
|
7909
|
+
* @returns SideBySideMetadata
|
|
7910
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7911
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7912
|
+
*/
|
|
7913
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotUnifiedResponseMutation.SideBySideMetadata;
|
|
7914
|
+
|
|
7915
|
+
/**
|
|
7916
|
+
* Decodes a SideBySideMetadata message from the specified reader or buffer, length delimited.
|
|
7917
|
+
* @param reader Reader or buffer to decode from
|
|
7918
|
+
* @returns SideBySideMetadata
|
|
7919
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7920
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7921
|
+
*/
|
|
7922
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotUnifiedResponseMutation.SideBySideMetadata;
|
|
7923
|
+
|
|
7924
|
+
/**
|
|
7925
|
+
* Verifies a SideBySideMetadata message.
|
|
7926
|
+
* @param message Plain object to verify
|
|
7927
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7928
|
+
*/
|
|
7929
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7930
|
+
|
|
7931
|
+
/**
|
|
7932
|
+
* Creates a SideBySideMetadata message from a plain object. Also converts values to their respective internal types.
|
|
7933
|
+
* @param object Plain object
|
|
7934
|
+
* @returns SideBySideMetadata
|
|
7935
|
+
*/
|
|
7936
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotUnifiedResponseMutation.SideBySideMetadata;
|
|
7937
|
+
|
|
7938
|
+
/**
|
|
7939
|
+
* Creates a plain object from a SideBySideMetadata message. Also converts values to other types if specified.
|
|
7940
|
+
* @param message SideBySideMetadata
|
|
7941
|
+
* @param [options] Conversion options
|
|
7942
|
+
* @returns Plain object
|
|
7943
|
+
*/
|
|
7944
|
+
public static toObject(message: waproto.BotUnifiedResponseMutation.SideBySideMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7945
|
+
|
|
7946
|
+
/**
|
|
7947
|
+
* Converts this SideBySideMetadata to JSON.
|
|
7948
|
+
* @returns JSON object
|
|
7949
|
+
*/
|
|
7950
|
+
public toJSON(): { [k: string]: any };
|
|
7951
|
+
|
|
7952
|
+
/**
|
|
7953
|
+
* Gets the default type url for SideBySideMetadata
|
|
7954
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7955
|
+
* @returns The default type url
|
|
7956
|
+
*/
|
|
7957
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7958
|
+
}
|
|
7959
|
+
}
|
|
7960
|
+
|
|
7757
7961
|
/** Properties of a CallLogRecord. */
|
|
7758
7962
|
interface ICallLogRecord {
|
|
7759
7963
|
|
|
@@ -10294,7 +10498,8 @@ export namespace waproto {
|
|
|
10294
10498
|
BLUE_WEB = 32,
|
|
10295
10499
|
IPAD = 33,
|
|
10296
10500
|
TEST = 34,
|
|
10297
|
-
SMART_GLASSES = 35
|
|
10501
|
+
SMART_GLASSES = 35,
|
|
10502
|
+
BLUE_VR = 36
|
|
10298
10503
|
}
|
|
10299
10504
|
|
|
10300
10505
|
/** ReleaseChannel enum. */
|
|
@@ -18884,6 +19089,9 @@ export namespace waproto {
|
|
|
18884
19089
|
|
|
18885
19090
|
/** Message statusQuestionAnswerMessage */
|
|
18886
19091
|
statusQuestionAnswerMessage?: (waproto.Message.IStatusQuestionAnswerMessage|null);
|
|
19092
|
+
|
|
19093
|
+
/** Message questionAdminReplyMessage */
|
|
19094
|
+
questionAdminReplyMessage?: (waproto.Message.IQuestionAdminReplyMessage|null);
|
|
18887
19095
|
}
|
|
18888
19096
|
|
|
18889
19097
|
/** Represents a Message. */
|
|
@@ -19162,6 +19370,9 @@ export namespace waproto {
|
|
|
19162
19370
|
/** Message statusQuestionAnswerMessage. */
|
|
19163
19371
|
public statusQuestionAnswerMessage?: (waproto.Message.IStatusQuestionAnswerMessage|null);
|
|
19164
19372
|
|
|
19373
|
+
/** Message questionAdminReplyMessage. */
|
|
19374
|
+
public questionAdminReplyMessage?: (waproto.Message.IQuestionAdminReplyMessage|null);
|
|
19375
|
+
|
|
19165
19376
|
/**
|
|
19166
19377
|
* Creates a new Message instance using the specified properties.
|
|
19167
19378
|
* @param [properties] Properties to set
|
|
@@ -33488,6 +33699,221 @@ export namespace waproto {
|
|
|
33488
33699
|
}
|
|
33489
33700
|
}
|
|
33490
33701
|
|
|
33702
|
+
/** Properties of a QuestionAdminReplyMessage. */
|
|
33703
|
+
interface IQuestionAdminReplyMessage {
|
|
33704
|
+
|
|
33705
|
+
/** QuestionAdminReplyMessage adminReplyMessage */
|
|
33706
|
+
adminReplyMessage?: (waproto.IMessage|null);
|
|
33707
|
+
|
|
33708
|
+
/** QuestionAdminReplyMessage quotedMessage */
|
|
33709
|
+
quotedMessage?: (waproto.Message.QuestionAdminReplyMessage.IQuotedQuestionAdminReplyMessage|null);
|
|
33710
|
+
}
|
|
33711
|
+
|
|
33712
|
+
/** Represents a QuestionAdminReplyMessage. */
|
|
33713
|
+
class QuestionAdminReplyMessage implements IQuestionAdminReplyMessage {
|
|
33714
|
+
|
|
33715
|
+
/**
|
|
33716
|
+
* Constructs a new QuestionAdminReplyMessage.
|
|
33717
|
+
* @param [properties] Properties to set
|
|
33718
|
+
*/
|
|
33719
|
+
constructor(properties?: waproto.Message.IQuestionAdminReplyMessage);
|
|
33720
|
+
|
|
33721
|
+
/** QuestionAdminReplyMessage adminReplyMessage. */
|
|
33722
|
+
public adminReplyMessage?: (waproto.IMessage|null);
|
|
33723
|
+
|
|
33724
|
+
/** QuestionAdminReplyMessage quotedMessage. */
|
|
33725
|
+
public quotedMessage?: (waproto.Message.QuestionAdminReplyMessage.IQuotedQuestionAdminReplyMessage|null);
|
|
33726
|
+
|
|
33727
|
+
/**
|
|
33728
|
+
* Creates a new QuestionAdminReplyMessage instance using the specified properties.
|
|
33729
|
+
* @param [properties] Properties to set
|
|
33730
|
+
* @returns QuestionAdminReplyMessage instance
|
|
33731
|
+
*/
|
|
33732
|
+
public static create(properties?: waproto.Message.IQuestionAdminReplyMessage): waproto.Message.QuestionAdminReplyMessage;
|
|
33733
|
+
|
|
33734
|
+
/**
|
|
33735
|
+
* Encodes the specified QuestionAdminReplyMessage message. Does not implicitly {@link waproto.Message.QuestionAdminReplyMessage.verify|verify} messages.
|
|
33736
|
+
* @param message QuestionAdminReplyMessage message or plain object to encode
|
|
33737
|
+
* @param [writer] Writer to encode to
|
|
33738
|
+
* @returns Writer
|
|
33739
|
+
*/
|
|
33740
|
+
public static encode(message: waproto.Message.IQuestionAdminReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33741
|
+
|
|
33742
|
+
/**
|
|
33743
|
+
* Encodes the specified QuestionAdminReplyMessage message, length delimited. Does not implicitly {@link waproto.Message.QuestionAdminReplyMessage.verify|verify} messages.
|
|
33744
|
+
* @param message QuestionAdminReplyMessage message or plain object to encode
|
|
33745
|
+
* @param [writer] Writer to encode to
|
|
33746
|
+
* @returns Writer
|
|
33747
|
+
*/
|
|
33748
|
+
public static encodeDelimited(message: waproto.Message.IQuestionAdminReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33749
|
+
|
|
33750
|
+
/**
|
|
33751
|
+
* Decodes a QuestionAdminReplyMessage message from the specified reader or buffer.
|
|
33752
|
+
* @param reader Reader or buffer to decode from
|
|
33753
|
+
* @param [length] Message length if known beforehand
|
|
33754
|
+
* @returns QuestionAdminReplyMessage
|
|
33755
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33756
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33757
|
+
*/
|
|
33758
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.QuestionAdminReplyMessage;
|
|
33759
|
+
|
|
33760
|
+
/**
|
|
33761
|
+
* Decodes a QuestionAdminReplyMessage message from the specified reader or buffer, length delimited.
|
|
33762
|
+
* @param reader Reader or buffer to decode from
|
|
33763
|
+
* @returns QuestionAdminReplyMessage
|
|
33764
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33765
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33766
|
+
*/
|
|
33767
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.QuestionAdminReplyMessage;
|
|
33768
|
+
|
|
33769
|
+
/**
|
|
33770
|
+
* Verifies a QuestionAdminReplyMessage message.
|
|
33771
|
+
* @param message Plain object to verify
|
|
33772
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33773
|
+
*/
|
|
33774
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33775
|
+
|
|
33776
|
+
/**
|
|
33777
|
+
* Creates a QuestionAdminReplyMessage message from a plain object. Also converts values to their respective internal types.
|
|
33778
|
+
* @param object Plain object
|
|
33779
|
+
* @returns QuestionAdminReplyMessage
|
|
33780
|
+
*/
|
|
33781
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.QuestionAdminReplyMessage;
|
|
33782
|
+
|
|
33783
|
+
/**
|
|
33784
|
+
* Creates a plain object from a QuestionAdminReplyMessage message. Also converts values to other types if specified.
|
|
33785
|
+
* @param message QuestionAdminReplyMessage
|
|
33786
|
+
* @param [options] Conversion options
|
|
33787
|
+
* @returns Plain object
|
|
33788
|
+
*/
|
|
33789
|
+
public static toObject(message: waproto.Message.QuestionAdminReplyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33790
|
+
|
|
33791
|
+
/**
|
|
33792
|
+
* Converts this QuestionAdminReplyMessage to JSON.
|
|
33793
|
+
* @returns JSON object
|
|
33794
|
+
*/
|
|
33795
|
+
public toJSON(): { [k: string]: any };
|
|
33796
|
+
|
|
33797
|
+
/**
|
|
33798
|
+
* Gets the default type url for QuestionAdminReplyMessage
|
|
33799
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33800
|
+
* @returns The default type url
|
|
33801
|
+
*/
|
|
33802
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33803
|
+
}
|
|
33804
|
+
|
|
33805
|
+
namespace QuestionAdminReplyMessage {
|
|
33806
|
+
|
|
33807
|
+
/** Properties of a QuotedQuestionAdminReplyMessage. */
|
|
33808
|
+
interface IQuotedQuestionAdminReplyMessage {
|
|
33809
|
+
|
|
33810
|
+
/** QuotedQuestionAdminReplyMessage serverQuestionId */
|
|
33811
|
+
serverQuestionId?: (number|null);
|
|
33812
|
+
|
|
33813
|
+
/** QuotedQuestionAdminReplyMessage quotedQuestion */
|
|
33814
|
+
quotedQuestion?: (waproto.IMessage|null);
|
|
33815
|
+
|
|
33816
|
+
/** QuotedQuestionAdminReplyMessage quotedFollowerResponse */
|
|
33817
|
+
quotedFollowerResponse?: (waproto.IMessage|null);
|
|
33818
|
+
}
|
|
33819
|
+
|
|
33820
|
+
/** Represents a QuotedQuestionAdminReplyMessage. */
|
|
33821
|
+
class QuotedQuestionAdminReplyMessage implements IQuotedQuestionAdminReplyMessage {
|
|
33822
|
+
|
|
33823
|
+
/**
|
|
33824
|
+
* Constructs a new QuotedQuestionAdminReplyMessage.
|
|
33825
|
+
* @param [properties] Properties to set
|
|
33826
|
+
*/
|
|
33827
|
+
constructor(properties?: waproto.Message.QuestionAdminReplyMessage.IQuotedQuestionAdminReplyMessage);
|
|
33828
|
+
|
|
33829
|
+
/** QuotedQuestionAdminReplyMessage serverQuestionId. */
|
|
33830
|
+
public serverQuestionId?: (number|null);
|
|
33831
|
+
|
|
33832
|
+
/** QuotedQuestionAdminReplyMessage quotedQuestion. */
|
|
33833
|
+
public quotedQuestion?: (waproto.IMessage|null);
|
|
33834
|
+
|
|
33835
|
+
/** QuotedQuestionAdminReplyMessage quotedFollowerResponse. */
|
|
33836
|
+
public quotedFollowerResponse?: (waproto.IMessage|null);
|
|
33837
|
+
|
|
33838
|
+
/**
|
|
33839
|
+
* Creates a new QuotedQuestionAdminReplyMessage instance using the specified properties.
|
|
33840
|
+
* @param [properties] Properties to set
|
|
33841
|
+
* @returns QuotedQuestionAdminReplyMessage instance
|
|
33842
|
+
*/
|
|
33843
|
+
public static create(properties?: waproto.Message.QuestionAdminReplyMessage.IQuotedQuestionAdminReplyMessage): waproto.Message.QuestionAdminReplyMessage.QuotedQuestionAdminReplyMessage;
|
|
33844
|
+
|
|
33845
|
+
/**
|
|
33846
|
+
* Encodes the specified QuotedQuestionAdminReplyMessage message. Does not implicitly {@link waproto.Message.QuestionAdminReplyMessage.QuotedQuestionAdminReplyMessage.verify|verify} messages.
|
|
33847
|
+
* @param message QuotedQuestionAdminReplyMessage message or plain object to encode
|
|
33848
|
+
* @param [writer] Writer to encode to
|
|
33849
|
+
* @returns Writer
|
|
33850
|
+
*/
|
|
33851
|
+
public static encode(message: waproto.Message.QuestionAdminReplyMessage.IQuotedQuestionAdminReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33852
|
+
|
|
33853
|
+
/**
|
|
33854
|
+
* Encodes the specified QuotedQuestionAdminReplyMessage message, length delimited. Does not implicitly {@link waproto.Message.QuestionAdminReplyMessage.QuotedQuestionAdminReplyMessage.verify|verify} messages.
|
|
33855
|
+
* @param message QuotedQuestionAdminReplyMessage message or plain object to encode
|
|
33856
|
+
* @param [writer] Writer to encode to
|
|
33857
|
+
* @returns Writer
|
|
33858
|
+
*/
|
|
33859
|
+
public static encodeDelimited(message: waproto.Message.QuestionAdminReplyMessage.IQuotedQuestionAdminReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33860
|
+
|
|
33861
|
+
/**
|
|
33862
|
+
* Decodes a QuotedQuestionAdminReplyMessage message from the specified reader or buffer.
|
|
33863
|
+
* @param reader Reader or buffer to decode from
|
|
33864
|
+
* @param [length] Message length if known beforehand
|
|
33865
|
+
* @returns QuotedQuestionAdminReplyMessage
|
|
33866
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33867
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33868
|
+
*/
|
|
33869
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.QuestionAdminReplyMessage.QuotedQuestionAdminReplyMessage;
|
|
33870
|
+
|
|
33871
|
+
/**
|
|
33872
|
+
* Decodes a QuotedQuestionAdminReplyMessage message from the specified reader or buffer, length delimited.
|
|
33873
|
+
* @param reader Reader or buffer to decode from
|
|
33874
|
+
* @returns QuotedQuestionAdminReplyMessage
|
|
33875
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33876
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33877
|
+
*/
|
|
33878
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.QuestionAdminReplyMessage.QuotedQuestionAdminReplyMessage;
|
|
33879
|
+
|
|
33880
|
+
/**
|
|
33881
|
+
* Verifies a QuotedQuestionAdminReplyMessage message.
|
|
33882
|
+
* @param message Plain object to verify
|
|
33883
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33884
|
+
*/
|
|
33885
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33886
|
+
|
|
33887
|
+
/**
|
|
33888
|
+
* Creates a QuotedQuestionAdminReplyMessage message from a plain object. Also converts values to their respective internal types.
|
|
33889
|
+
* @param object Plain object
|
|
33890
|
+
* @returns QuotedQuestionAdminReplyMessage
|
|
33891
|
+
*/
|
|
33892
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.QuestionAdminReplyMessage.QuotedQuestionAdminReplyMessage;
|
|
33893
|
+
|
|
33894
|
+
/**
|
|
33895
|
+
* Creates a plain object from a QuotedQuestionAdminReplyMessage message. Also converts values to other types if specified.
|
|
33896
|
+
* @param message QuotedQuestionAdminReplyMessage
|
|
33897
|
+
* @param [options] Conversion options
|
|
33898
|
+
* @returns Plain object
|
|
33899
|
+
*/
|
|
33900
|
+
public static toObject(message: waproto.Message.QuestionAdminReplyMessage.QuotedQuestionAdminReplyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33901
|
+
|
|
33902
|
+
/**
|
|
33903
|
+
* Converts this QuotedQuestionAdminReplyMessage to JSON.
|
|
33904
|
+
* @returns JSON object
|
|
33905
|
+
*/
|
|
33906
|
+
public toJSON(): { [k: string]: any };
|
|
33907
|
+
|
|
33908
|
+
/**
|
|
33909
|
+
* Gets the default type url for QuotedQuestionAdminReplyMessage
|
|
33910
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33911
|
+
* @returns The default type url
|
|
33912
|
+
*/
|
|
33913
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33914
|
+
}
|
|
33915
|
+
}
|
|
33916
|
+
|
|
33491
33917
|
/** Properties of a ReactionMessage. */
|
|
33492
33918
|
interface IReactionMessage {
|
|
33493
33919
|
|