@wppconnect/wa-proto 2.3000.1024449876 → 2.3000.1024478481
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 +35 -6
- package/dist/index.d.ts +352 -9
- package/dist/index.js +965 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.1024478481
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -444,6 +444,8 @@ enum BotMetricsEntryPoint {
|
|
|
444
444
|
NEW_CHAT_AI_STUDIO = 24;
|
|
445
445
|
AIVOICE_FAVICON_CALL_HISTORY = 25;
|
|
446
446
|
ASK_META_AI_CONTEXT_MENU = 26;
|
|
447
|
+
ASK_META_AI_CONTEXT_MENU_1ON1 = 27;
|
|
448
|
+
ASK_META_AI_CONTEXT_MENU_GROUP = 28;
|
|
447
449
|
}
|
|
448
450
|
message BotMetricsMetadata {
|
|
449
451
|
optional string destinationId = 1;
|
|
@@ -1083,6 +1085,7 @@ message ContextInfo {
|
|
|
1083
1085
|
optional bool isQuestion = 63;
|
|
1084
1086
|
optional StatusSourceType statusSourceType = 64;
|
|
1085
1087
|
repeated StatusAttribution statusAttributions = 65;
|
|
1088
|
+
optional bool isGroupStatus = 66;
|
|
1086
1089
|
message AdReplyInfo {
|
|
1087
1090
|
optional string advertiserName = 1;
|
|
1088
1091
|
optional MediaType mediaType = 2;
|
|
@@ -1189,6 +1192,7 @@ message ContextInfo {
|
|
|
1189
1192
|
NONE = 0;
|
|
1190
1193
|
RESHARED_FROM_MENTION = 1;
|
|
1191
1194
|
RESHARED_FROM_POST = 2;
|
|
1195
|
+
FORWARDED_FROM_STATUS = 3;
|
|
1192
1196
|
}
|
|
1193
1197
|
enum StatusSourceType {
|
|
1194
1198
|
IMAGE = 0;
|
|
@@ -1792,6 +1796,7 @@ message Message {
|
|
|
1792
1796
|
optional MessageHistoryNotice messageHistoryNotice = 102;
|
|
1793
1797
|
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
1794
1798
|
optional FutureProofMessage botForwardedMessage = 104;
|
|
1799
|
+
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
1795
1800
|
message AlbumMessage {
|
|
1796
1801
|
optional uint32 expectedImageCount = 2;
|
|
1797
1802
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2741,6 +2746,7 @@ message Message {
|
|
|
2741
2746
|
optional string matchText = 6;
|
|
2742
2747
|
optional string previewType = 7;
|
|
2743
2748
|
optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
|
|
2749
|
+
optional PaymentLinkPreviewMetadata previewMetadata = 9;
|
|
2744
2750
|
message LinkPreviewHighQualityThumbnail {
|
|
2745
2751
|
optional string directPath = 1;
|
|
2746
2752
|
optional string thumbHash = 2;
|
|
@@ -2751,6 +2757,11 @@ message Message {
|
|
|
2751
2757
|
optional int32 thumbHeight = 7;
|
|
2752
2758
|
}
|
|
2753
2759
|
|
|
2760
|
+
message PaymentLinkPreviewMetadata {
|
|
2761
|
+
optional bool isBusinessVerified = 1;
|
|
2762
|
+
optional string providerName = 2;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2754
2765
|
}
|
|
2755
2766
|
|
|
2756
2767
|
message PlaceholderMessageResendResponse {
|
|
@@ -3024,6 +3035,11 @@ message Message {
|
|
|
3024
3035
|
}
|
|
3025
3036
|
}
|
|
3026
3037
|
|
|
3038
|
+
message StatusQuestionAnswerMessage {
|
|
3039
|
+
optional MessageKey key = 1;
|
|
3040
|
+
optional string text = 2;
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3027
3043
|
message StickerMessage {
|
|
3028
3044
|
optional string url = 1;
|
|
3029
3045
|
optional bytes fileSha256 = 2;
|
|
@@ -3238,6 +3254,7 @@ message MessageAssociation {
|
|
|
3238
3254
|
STATUS_LINK_ACTION = 13;
|
|
3239
3255
|
VIEW_ALL_REPLIES = 14;
|
|
3240
3256
|
STATUS_ADD_YOURS_AI_IMAGINE = 15;
|
|
3257
|
+
STATUS_QUESTION = 16;
|
|
3241
3258
|
}
|
|
3242
3259
|
}
|
|
3243
3260
|
|
|
@@ -3775,6 +3792,7 @@ message StatusAttribution {
|
|
|
3775
3792
|
StatusAttribution.ExternalShare externalShare = 4;
|
|
3776
3793
|
StatusAttribution.Music music = 5;
|
|
3777
3794
|
StatusAttribution.GroupStatus groupStatus = 6;
|
|
3795
|
+
StatusAttribution.RLAttribution rlAttribution = 7;
|
|
3778
3796
|
}
|
|
3779
3797
|
message ExternalShare {
|
|
3780
3798
|
optional string actionUrl = 1;
|
|
@@ -3805,6 +3823,15 @@ message StatusAttribution {
|
|
|
3805
3823
|
optional bool isExplicit = 6;
|
|
3806
3824
|
}
|
|
3807
3825
|
|
|
3826
|
+
message RLAttribution {
|
|
3827
|
+
optional Source source = 1;
|
|
3828
|
+
enum Source {
|
|
3829
|
+
UNKNOWN = 0;
|
|
3830
|
+
RAY_BAN_META_GLASSES = 1;
|
|
3831
|
+
OAKLEY_META_GLASSES = 2;
|
|
3832
|
+
}
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3808
3835
|
message StatusReshare {
|
|
3809
3836
|
optional Source source = 1;
|
|
3810
3837
|
optional Metadata metadata = 2;
|
|
@@ -3824,11 +3851,13 @@ message StatusAttribution {
|
|
|
3824
3851
|
}
|
|
3825
3852
|
|
|
3826
3853
|
enum Type {
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3854
|
+
UNKNOWN = 0;
|
|
3855
|
+
RESHARE = 1;
|
|
3856
|
+
EXTERNAL_SHARE = 2;
|
|
3857
|
+
MUSIC = 3;
|
|
3858
|
+
STATUS_MENTION = 4;
|
|
3859
|
+
GROUP_STATUS = 5;
|
|
3860
|
+
RL_ATTRIBUTION = 6;
|
|
3832
3861
|
}
|
|
3833
3862
|
}
|
|
3834
3863
|
|
package/dist/index.d.ts
CHANGED
|
@@ -5055,7 +5055,9 @@ export namespace waproto {
|
|
|
5055
5055
|
UGC_CHAT_SHORTCUT_AI_STUDIO = 23,
|
|
5056
5056
|
NEW_CHAT_AI_STUDIO = 24,
|
|
5057
5057
|
AIVOICE_FAVICON_CALL_HISTORY = 25,
|
|
5058
|
-
ASK_META_AI_CONTEXT_MENU = 26
|
|
5058
|
+
ASK_META_AI_CONTEXT_MENU = 26,
|
|
5059
|
+
ASK_META_AI_CONTEXT_MENU_1ON1 = 27,
|
|
5060
|
+
ASK_META_AI_CONTEXT_MENU_GROUP = 28
|
|
5059
5061
|
}
|
|
5060
5062
|
|
|
5061
5063
|
/** Properties of a BotMetricsMetadata. */
|
|
@@ -11148,6 +11150,9 @@ export namespace waproto {
|
|
|
11148
11150
|
|
|
11149
11151
|
/** ContextInfo statusAttributions */
|
|
11150
11152
|
statusAttributions?: (waproto.IStatusAttribution[]|null);
|
|
11153
|
+
|
|
11154
|
+
/** ContextInfo isGroupStatus */
|
|
11155
|
+
isGroupStatus?: (boolean|null);
|
|
11151
11156
|
}
|
|
11152
11157
|
|
|
11153
11158
|
/** Represents a ContextInfo. */
|
|
@@ -11303,6 +11308,9 @@ export namespace waproto {
|
|
|
11303
11308
|
/** ContextInfo statusAttributions. */
|
|
11304
11309
|
public statusAttributions: waproto.IStatusAttribution[];
|
|
11305
11310
|
|
|
11311
|
+
/** ContextInfo isGroupStatus. */
|
|
11312
|
+
public isGroupStatus?: (boolean|null);
|
|
11313
|
+
|
|
11306
11314
|
/**
|
|
11307
11315
|
* Creates a new ContextInfo instance using the specified properties.
|
|
11308
11316
|
* @param [properties] Properties to set
|
|
@@ -12465,7 +12473,8 @@ export namespace waproto {
|
|
|
12465
12473
|
enum StatusAttributionType {
|
|
12466
12474
|
NONE = 0,
|
|
12467
12475
|
RESHARED_FROM_MENTION = 1,
|
|
12468
|
-
RESHARED_FROM_POST = 2
|
|
12476
|
+
RESHARED_FROM_POST = 2,
|
|
12477
|
+
FORWARDED_FROM_STATUS = 3
|
|
12469
12478
|
}
|
|
12470
12479
|
|
|
12471
12480
|
/** StatusSourceType enum. */
|
|
@@ -18872,6 +18881,9 @@ export namespace waproto {
|
|
|
18872
18881
|
|
|
18873
18882
|
/** Message botForwardedMessage */
|
|
18874
18883
|
botForwardedMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
18884
|
+
|
|
18885
|
+
/** Message statusQuestionAnswerMessage */
|
|
18886
|
+
statusQuestionAnswerMessage?: (waproto.Message.IStatusQuestionAnswerMessage|null);
|
|
18875
18887
|
}
|
|
18876
18888
|
|
|
18877
18889
|
/** Represents a Message. */
|
|
@@ -19147,6 +19159,9 @@ export namespace waproto {
|
|
|
19147
19159
|
/** Message botForwardedMessage. */
|
|
19148
19160
|
public botForwardedMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
19149
19161
|
|
|
19162
|
+
/** Message statusQuestionAnswerMessage. */
|
|
19163
|
+
public statusQuestionAnswerMessage?: (waproto.Message.IStatusQuestionAnswerMessage|null);
|
|
19164
|
+
|
|
19150
19165
|
/**
|
|
19151
19166
|
* Creates a new Message instance using the specified properties.
|
|
19152
19167
|
* @param [properties] Properties to set
|
|
@@ -31026,6 +31041,9 @@ export namespace waproto {
|
|
|
31026
31041
|
|
|
31027
31042
|
/** LinkPreviewResponse hqThumbnail */
|
|
31028
31043
|
hqThumbnail?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail|null);
|
|
31044
|
+
|
|
31045
|
+
/** LinkPreviewResponse previewMetadata */
|
|
31046
|
+
previewMetadata?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata|null);
|
|
31029
31047
|
}
|
|
31030
31048
|
|
|
31031
31049
|
/** Represents a LinkPreviewResponse. */
|
|
@@ -31058,6 +31076,9 @@ export namespace waproto {
|
|
|
31058
31076
|
/** LinkPreviewResponse hqThumbnail. */
|
|
31059
31077
|
public hqThumbnail?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail|null);
|
|
31060
31078
|
|
|
31079
|
+
/** LinkPreviewResponse previewMetadata. */
|
|
31080
|
+
public previewMetadata?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata|null);
|
|
31081
|
+
|
|
31061
31082
|
/**
|
|
31062
31083
|
* Creates a new LinkPreviewResponse instance using the specified properties.
|
|
31063
31084
|
* @param [properties] Properties to set
|
|
@@ -31270,6 +31291,109 @@ export namespace waproto {
|
|
|
31270
31291
|
*/
|
|
31271
31292
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31272
31293
|
}
|
|
31294
|
+
|
|
31295
|
+
/** Properties of a PaymentLinkPreviewMetadata. */
|
|
31296
|
+
interface IPaymentLinkPreviewMetadata {
|
|
31297
|
+
|
|
31298
|
+
/** PaymentLinkPreviewMetadata isBusinessVerified */
|
|
31299
|
+
isBusinessVerified?: (boolean|null);
|
|
31300
|
+
|
|
31301
|
+
/** PaymentLinkPreviewMetadata providerName */
|
|
31302
|
+
providerName?: (string|null);
|
|
31303
|
+
}
|
|
31304
|
+
|
|
31305
|
+
/** Represents a PaymentLinkPreviewMetadata. */
|
|
31306
|
+
class PaymentLinkPreviewMetadata implements IPaymentLinkPreviewMetadata {
|
|
31307
|
+
|
|
31308
|
+
/**
|
|
31309
|
+
* Constructs a new PaymentLinkPreviewMetadata.
|
|
31310
|
+
* @param [properties] Properties to set
|
|
31311
|
+
*/
|
|
31312
|
+
constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata);
|
|
31313
|
+
|
|
31314
|
+
/** PaymentLinkPreviewMetadata isBusinessVerified. */
|
|
31315
|
+
public isBusinessVerified?: (boolean|null);
|
|
31316
|
+
|
|
31317
|
+
/** PaymentLinkPreviewMetadata providerName. */
|
|
31318
|
+
public providerName?: (string|null);
|
|
31319
|
+
|
|
31320
|
+
/**
|
|
31321
|
+
* Creates a new PaymentLinkPreviewMetadata instance using the specified properties.
|
|
31322
|
+
* @param [properties] Properties to set
|
|
31323
|
+
* @returns PaymentLinkPreviewMetadata instance
|
|
31324
|
+
*/
|
|
31325
|
+
public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata;
|
|
31326
|
+
|
|
31327
|
+
/**
|
|
31328
|
+
* Encodes the specified PaymentLinkPreviewMetadata message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.verify|verify} messages.
|
|
31329
|
+
* @param message PaymentLinkPreviewMetadata message or plain object to encode
|
|
31330
|
+
* @param [writer] Writer to encode to
|
|
31331
|
+
* @returns Writer
|
|
31332
|
+
*/
|
|
31333
|
+
public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31334
|
+
|
|
31335
|
+
/**
|
|
31336
|
+
* Encodes the specified PaymentLinkPreviewMetadata message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.verify|verify} messages.
|
|
31337
|
+
* @param message PaymentLinkPreviewMetadata message or plain object to encode
|
|
31338
|
+
* @param [writer] Writer to encode to
|
|
31339
|
+
* @returns Writer
|
|
31340
|
+
*/
|
|
31341
|
+
public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31342
|
+
|
|
31343
|
+
/**
|
|
31344
|
+
* Decodes a PaymentLinkPreviewMetadata message from the specified reader or buffer.
|
|
31345
|
+
* @param reader Reader or buffer to decode from
|
|
31346
|
+
* @param [length] Message length if known beforehand
|
|
31347
|
+
* @returns PaymentLinkPreviewMetadata
|
|
31348
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31349
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31350
|
+
*/
|
|
31351
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata;
|
|
31352
|
+
|
|
31353
|
+
/**
|
|
31354
|
+
* Decodes a PaymentLinkPreviewMetadata message from the specified reader or buffer, length delimited.
|
|
31355
|
+
* @param reader Reader or buffer to decode from
|
|
31356
|
+
* @returns PaymentLinkPreviewMetadata
|
|
31357
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31358
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31359
|
+
*/
|
|
31360
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata;
|
|
31361
|
+
|
|
31362
|
+
/**
|
|
31363
|
+
* Verifies a PaymentLinkPreviewMetadata message.
|
|
31364
|
+
* @param message Plain object to verify
|
|
31365
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
31366
|
+
*/
|
|
31367
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
31368
|
+
|
|
31369
|
+
/**
|
|
31370
|
+
* Creates a PaymentLinkPreviewMetadata message from a plain object. Also converts values to their respective internal types.
|
|
31371
|
+
* @param object Plain object
|
|
31372
|
+
* @returns PaymentLinkPreviewMetadata
|
|
31373
|
+
*/
|
|
31374
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata;
|
|
31375
|
+
|
|
31376
|
+
/**
|
|
31377
|
+
* Creates a plain object from a PaymentLinkPreviewMetadata message. Also converts values to other types if specified.
|
|
31378
|
+
* @param message PaymentLinkPreviewMetadata
|
|
31379
|
+
* @param [options] Conversion options
|
|
31380
|
+
* @returns Plain object
|
|
31381
|
+
*/
|
|
31382
|
+
public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31383
|
+
|
|
31384
|
+
/**
|
|
31385
|
+
* Converts this PaymentLinkPreviewMetadata to JSON.
|
|
31386
|
+
* @returns JSON object
|
|
31387
|
+
*/
|
|
31388
|
+
public toJSON(): { [k: string]: any };
|
|
31389
|
+
|
|
31390
|
+
/**
|
|
31391
|
+
* Gets the default type url for PaymentLinkPreviewMetadata
|
|
31392
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31393
|
+
* @returns The default type url
|
|
31394
|
+
*/
|
|
31395
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31396
|
+
}
|
|
31273
31397
|
}
|
|
31274
31398
|
|
|
31275
31399
|
/** Properties of a PlaceholderMessageResendResponse. */
|
|
@@ -34502,6 +34626,109 @@ export namespace waproto {
|
|
|
34502
34626
|
}
|
|
34503
34627
|
}
|
|
34504
34628
|
|
|
34629
|
+
/** Properties of a StatusQuestionAnswerMessage. */
|
|
34630
|
+
interface IStatusQuestionAnswerMessage {
|
|
34631
|
+
|
|
34632
|
+
/** StatusQuestionAnswerMessage key */
|
|
34633
|
+
key?: (waproto.IMessageKey|null);
|
|
34634
|
+
|
|
34635
|
+
/** StatusQuestionAnswerMessage text */
|
|
34636
|
+
text?: (string|null);
|
|
34637
|
+
}
|
|
34638
|
+
|
|
34639
|
+
/** Represents a StatusQuestionAnswerMessage. */
|
|
34640
|
+
class StatusQuestionAnswerMessage implements IStatusQuestionAnswerMessage {
|
|
34641
|
+
|
|
34642
|
+
/**
|
|
34643
|
+
* Constructs a new StatusQuestionAnswerMessage.
|
|
34644
|
+
* @param [properties] Properties to set
|
|
34645
|
+
*/
|
|
34646
|
+
constructor(properties?: waproto.Message.IStatusQuestionAnswerMessage);
|
|
34647
|
+
|
|
34648
|
+
/** StatusQuestionAnswerMessage key. */
|
|
34649
|
+
public key?: (waproto.IMessageKey|null);
|
|
34650
|
+
|
|
34651
|
+
/** StatusQuestionAnswerMessage text. */
|
|
34652
|
+
public text?: (string|null);
|
|
34653
|
+
|
|
34654
|
+
/**
|
|
34655
|
+
* Creates a new StatusQuestionAnswerMessage instance using the specified properties.
|
|
34656
|
+
* @param [properties] Properties to set
|
|
34657
|
+
* @returns StatusQuestionAnswerMessage instance
|
|
34658
|
+
*/
|
|
34659
|
+
public static create(properties?: waproto.Message.IStatusQuestionAnswerMessage): waproto.Message.StatusQuestionAnswerMessage;
|
|
34660
|
+
|
|
34661
|
+
/**
|
|
34662
|
+
* Encodes the specified StatusQuestionAnswerMessage message. Does not implicitly {@link waproto.Message.StatusQuestionAnswerMessage.verify|verify} messages.
|
|
34663
|
+
* @param message StatusQuestionAnswerMessage message or plain object to encode
|
|
34664
|
+
* @param [writer] Writer to encode to
|
|
34665
|
+
* @returns Writer
|
|
34666
|
+
*/
|
|
34667
|
+
public static encode(message: waproto.Message.IStatusQuestionAnswerMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34668
|
+
|
|
34669
|
+
/**
|
|
34670
|
+
* Encodes the specified StatusQuestionAnswerMessage message, length delimited. Does not implicitly {@link waproto.Message.StatusQuestionAnswerMessage.verify|verify} messages.
|
|
34671
|
+
* @param message StatusQuestionAnswerMessage message or plain object to encode
|
|
34672
|
+
* @param [writer] Writer to encode to
|
|
34673
|
+
* @returns Writer
|
|
34674
|
+
*/
|
|
34675
|
+
public static encodeDelimited(message: waproto.Message.IStatusQuestionAnswerMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34676
|
+
|
|
34677
|
+
/**
|
|
34678
|
+
* Decodes a StatusQuestionAnswerMessage message from the specified reader or buffer.
|
|
34679
|
+
* @param reader Reader or buffer to decode from
|
|
34680
|
+
* @param [length] Message length if known beforehand
|
|
34681
|
+
* @returns StatusQuestionAnswerMessage
|
|
34682
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34683
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34684
|
+
*/
|
|
34685
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StatusQuestionAnswerMessage;
|
|
34686
|
+
|
|
34687
|
+
/**
|
|
34688
|
+
* Decodes a StatusQuestionAnswerMessage message from the specified reader or buffer, length delimited.
|
|
34689
|
+
* @param reader Reader or buffer to decode from
|
|
34690
|
+
* @returns StatusQuestionAnswerMessage
|
|
34691
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34692
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34693
|
+
*/
|
|
34694
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StatusQuestionAnswerMessage;
|
|
34695
|
+
|
|
34696
|
+
/**
|
|
34697
|
+
* Verifies a StatusQuestionAnswerMessage message.
|
|
34698
|
+
* @param message Plain object to verify
|
|
34699
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34700
|
+
*/
|
|
34701
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
34702
|
+
|
|
34703
|
+
/**
|
|
34704
|
+
* Creates a StatusQuestionAnswerMessage message from a plain object. Also converts values to their respective internal types.
|
|
34705
|
+
* @param object Plain object
|
|
34706
|
+
* @returns StatusQuestionAnswerMessage
|
|
34707
|
+
*/
|
|
34708
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.StatusQuestionAnswerMessage;
|
|
34709
|
+
|
|
34710
|
+
/**
|
|
34711
|
+
* Creates a plain object from a StatusQuestionAnswerMessage message. Also converts values to other types if specified.
|
|
34712
|
+
* @param message StatusQuestionAnswerMessage
|
|
34713
|
+
* @param [options] Conversion options
|
|
34714
|
+
* @returns Plain object
|
|
34715
|
+
*/
|
|
34716
|
+
public static toObject(message: waproto.Message.StatusQuestionAnswerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34717
|
+
|
|
34718
|
+
/**
|
|
34719
|
+
* Converts this StatusQuestionAnswerMessage to JSON.
|
|
34720
|
+
* @returns JSON object
|
|
34721
|
+
*/
|
|
34722
|
+
public toJSON(): { [k: string]: any };
|
|
34723
|
+
|
|
34724
|
+
/**
|
|
34725
|
+
* Gets the default type url for StatusQuestionAnswerMessage
|
|
34726
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34727
|
+
* @returns The default type url
|
|
34728
|
+
*/
|
|
34729
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34730
|
+
}
|
|
34731
|
+
|
|
34505
34732
|
/** Properties of a StickerMessage. */
|
|
34506
34733
|
interface IStickerMessage {
|
|
34507
34734
|
|
|
@@ -36614,7 +36841,8 @@ export namespace waproto {
|
|
|
36614
36841
|
MOTION_PHOTO = 12,
|
|
36615
36842
|
STATUS_LINK_ACTION = 13,
|
|
36616
36843
|
VIEW_ALL_REPLIES = 14,
|
|
36617
|
-
STATUS_ADD_YOURS_AI_IMAGINE = 15
|
|
36844
|
+
STATUS_ADD_YOURS_AI_IMAGINE = 15,
|
|
36845
|
+
STATUS_QUESTION = 16
|
|
36618
36846
|
}
|
|
36619
36847
|
}
|
|
36620
36848
|
|
|
@@ -43460,6 +43688,9 @@ export namespace waproto {
|
|
|
43460
43688
|
|
|
43461
43689
|
/** StatusAttribution groupStatus */
|
|
43462
43690
|
groupStatus?: (waproto.StatusAttribution.IGroupStatus|null);
|
|
43691
|
+
|
|
43692
|
+
/** StatusAttribution rlAttribution */
|
|
43693
|
+
rlAttribution?: (waproto.StatusAttribution.IRLAttribution|null);
|
|
43463
43694
|
}
|
|
43464
43695
|
|
|
43465
43696
|
/** Represents a StatusAttribution. */
|
|
@@ -43489,8 +43720,11 @@ export namespace waproto {
|
|
|
43489
43720
|
/** StatusAttribution groupStatus. */
|
|
43490
43721
|
public groupStatus?: (waproto.StatusAttribution.IGroupStatus|null);
|
|
43491
43722
|
|
|
43723
|
+
/** StatusAttribution rlAttribution. */
|
|
43724
|
+
public rlAttribution?: (waproto.StatusAttribution.IRLAttribution|null);
|
|
43725
|
+
|
|
43492
43726
|
/** StatusAttribution attributionData. */
|
|
43493
|
-
public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus");
|
|
43727
|
+
public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus"|"rlAttribution");
|
|
43494
43728
|
|
|
43495
43729
|
/**
|
|
43496
43730
|
* Creates a new StatusAttribution instance using the specified properties.
|
|
@@ -43925,6 +44159,113 @@ export namespace waproto {
|
|
|
43925
44159
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
43926
44160
|
}
|
|
43927
44161
|
|
|
44162
|
+
/** Properties of a RLAttribution. */
|
|
44163
|
+
interface IRLAttribution {
|
|
44164
|
+
|
|
44165
|
+
/** RLAttribution source */
|
|
44166
|
+
source?: (waproto.StatusAttribution.RLAttribution.Source|null);
|
|
44167
|
+
}
|
|
44168
|
+
|
|
44169
|
+
/** Represents a RLAttribution. */
|
|
44170
|
+
class RLAttribution implements IRLAttribution {
|
|
44171
|
+
|
|
44172
|
+
/**
|
|
44173
|
+
* Constructs a new RLAttribution.
|
|
44174
|
+
* @param [properties] Properties to set
|
|
44175
|
+
*/
|
|
44176
|
+
constructor(properties?: waproto.StatusAttribution.IRLAttribution);
|
|
44177
|
+
|
|
44178
|
+
/** RLAttribution source. */
|
|
44179
|
+
public source?: (waproto.StatusAttribution.RLAttribution.Source|null);
|
|
44180
|
+
|
|
44181
|
+
/**
|
|
44182
|
+
* Creates a new RLAttribution instance using the specified properties.
|
|
44183
|
+
* @param [properties] Properties to set
|
|
44184
|
+
* @returns RLAttribution instance
|
|
44185
|
+
*/
|
|
44186
|
+
public static create(properties?: waproto.StatusAttribution.IRLAttribution): waproto.StatusAttribution.RLAttribution;
|
|
44187
|
+
|
|
44188
|
+
/**
|
|
44189
|
+
* Encodes the specified RLAttribution message. Does not implicitly {@link waproto.StatusAttribution.RLAttribution.verify|verify} messages.
|
|
44190
|
+
* @param message RLAttribution message or plain object to encode
|
|
44191
|
+
* @param [writer] Writer to encode to
|
|
44192
|
+
* @returns Writer
|
|
44193
|
+
*/
|
|
44194
|
+
public static encode(message: waproto.StatusAttribution.IRLAttribution, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
44195
|
+
|
|
44196
|
+
/**
|
|
44197
|
+
* Encodes the specified RLAttribution message, length delimited. Does not implicitly {@link waproto.StatusAttribution.RLAttribution.verify|verify} messages.
|
|
44198
|
+
* @param message RLAttribution message or plain object to encode
|
|
44199
|
+
* @param [writer] Writer to encode to
|
|
44200
|
+
* @returns Writer
|
|
44201
|
+
*/
|
|
44202
|
+
public static encodeDelimited(message: waproto.StatusAttribution.IRLAttribution, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
44203
|
+
|
|
44204
|
+
/**
|
|
44205
|
+
* Decodes a RLAttribution message from the specified reader or buffer.
|
|
44206
|
+
* @param reader Reader or buffer to decode from
|
|
44207
|
+
* @param [length] Message length if known beforehand
|
|
44208
|
+
* @returns RLAttribution
|
|
44209
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44210
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44211
|
+
*/
|
|
44212
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.RLAttribution;
|
|
44213
|
+
|
|
44214
|
+
/**
|
|
44215
|
+
* Decodes a RLAttribution message from the specified reader or buffer, length delimited.
|
|
44216
|
+
* @param reader Reader or buffer to decode from
|
|
44217
|
+
* @returns RLAttribution
|
|
44218
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44219
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44220
|
+
*/
|
|
44221
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.RLAttribution;
|
|
44222
|
+
|
|
44223
|
+
/**
|
|
44224
|
+
* Verifies a RLAttribution message.
|
|
44225
|
+
* @param message Plain object to verify
|
|
44226
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
44227
|
+
*/
|
|
44228
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
44229
|
+
|
|
44230
|
+
/**
|
|
44231
|
+
* Creates a RLAttribution message from a plain object. Also converts values to their respective internal types.
|
|
44232
|
+
* @param object Plain object
|
|
44233
|
+
* @returns RLAttribution
|
|
44234
|
+
*/
|
|
44235
|
+
public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.RLAttribution;
|
|
44236
|
+
|
|
44237
|
+
/**
|
|
44238
|
+
* Creates a plain object from a RLAttribution message. Also converts values to other types if specified.
|
|
44239
|
+
* @param message RLAttribution
|
|
44240
|
+
* @param [options] Conversion options
|
|
44241
|
+
* @returns Plain object
|
|
44242
|
+
*/
|
|
44243
|
+
public static toObject(message: waproto.StatusAttribution.RLAttribution, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
44244
|
+
|
|
44245
|
+
/**
|
|
44246
|
+
* Converts this RLAttribution to JSON.
|
|
44247
|
+
* @returns JSON object
|
|
44248
|
+
*/
|
|
44249
|
+
public toJSON(): { [k: string]: any };
|
|
44250
|
+
|
|
44251
|
+
/**
|
|
44252
|
+
* Gets the default type url for RLAttribution
|
|
44253
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44254
|
+
* @returns The default type url
|
|
44255
|
+
*/
|
|
44256
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
44257
|
+
}
|
|
44258
|
+
|
|
44259
|
+
namespace RLAttribution {
|
|
44260
|
+
|
|
44261
|
+
/** Source enum. */
|
|
44262
|
+
enum Source {
|
|
44263
|
+
UNKNOWN = 0,
|
|
44264
|
+
RAY_BAN_META_GLASSES = 1,
|
|
44265
|
+
OAKLEY_META_GLASSES = 2
|
|
44266
|
+
}
|
|
44267
|
+
}
|
|
44268
|
+
|
|
43928
44269
|
/** Properties of a StatusReshare. */
|
|
43929
44270
|
interface IStatusReshare {
|
|
43930
44271
|
|
|
@@ -44156,11 +44497,13 @@ export namespace waproto {
|
|
|
44156
44497
|
|
|
44157
44498
|
/** Type enum. */
|
|
44158
44499
|
enum Type {
|
|
44159
|
-
|
|
44160
|
-
|
|
44161
|
-
|
|
44162
|
-
|
|
44163
|
-
|
|
44500
|
+
UNKNOWN = 0,
|
|
44501
|
+
RESHARE = 1,
|
|
44502
|
+
EXTERNAL_SHARE = 2,
|
|
44503
|
+
MUSIC = 3,
|
|
44504
|
+
STATUS_MENTION = 4,
|
|
44505
|
+
GROUP_STATUS = 5,
|
|
44506
|
+
RL_ATTRIBUTION = 6
|
|
44164
44507
|
}
|
|
44165
44508
|
}
|
|
44166
44509
|
|