@awangxcode/qiro-baileys 7.0.0-rc23 → 7.0.0-rc25.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.
- package/README.md +6 -0
- package/WAProto/WAProto.proto +47 -0
- package/WAProto/index.d.ts +115 -2
- package/WAProto/index.js +299 -0
- package/lib/Defaults/index.d.ts.map +1 -1
- package/lib/Defaults/index.js +2 -0
- package/lib/Defaults/index.js.map +1 -1
- package/lib/Extensions/advanced.d.ts +247 -0
- package/lib/Extensions/advanced.d.ts.map +1 -0
- package/lib/Extensions/advanced.js +821 -0
- package/lib/Extensions/advanced.js.map +1 -0
- package/lib/Extensions/experimental.d.ts +378 -0
- package/lib/Extensions/experimental.d.ts.map +1 -0
- package/lib/Extensions/experimental.js +628 -0
- package/lib/Extensions/experimental.js.map +1 -0
- package/lib/MessageBuilder/index.d.ts +4 -0
- package/lib/MessageBuilder/index.d.ts.map +1 -1
- package/lib/MessageBuilder/index.js +4 -1
- package/lib/MessageBuilder/index.js.map +1 -1
- package/lib/Socket/business.d.ts +5 -3
- package/lib/Socket/business.d.ts.map +1 -1
- package/lib/Socket/chats.d.ts +4 -2
- package/lib/Socket/chats.d.ts.map +1 -1
- package/lib/Socket/chats.js.map +1 -1
- package/lib/Socket/communities.d.ts +5 -3
- package/lib/Socket/communities.d.ts.map +1 -1
- package/lib/Socket/groups.d.ts +4 -2
- package/lib/Socket/groups.d.ts.map +1 -1
- package/lib/Socket/index.d.ts +6 -4
- package/lib/Socket/index.d.ts.map +1 -1
- package/lib/Socket/index.js +9 -1
- package/lib/Socket/index.js.map +1 -1
- package/lib/Socket/messages-recv.d.ts +5 -3
- package/lib/Socket/messages-recv.d.ts.map +1 -1
- package/lib/Socket/messages-send.d.ts +5 -3
- package/lib/Socket/messages-send.d.ts.map +1 -1
- package/lib/Socket/messages-send.js +65 -5
- package/lib/Socket/messages-send.js.map +1 -1
- package/lib/Socket/newsletter.d.ts +4 -2
- package/lib/Socket/newsletter.d.ts.map +1 -1
- package/lib/Types/Message.d.ts +11 -0
- package/lib/Types/Message.d.ts.map +1 -1
- package/lib/Types/Socket.d.ts +4 -0
- package/lib/Types/Socket.d.ts.map +1 -1
- package/lib/Utils/messages-media.d.ts +4 -2
- package/lib/Utils/messages-media.d.ts.map +1 -1
- package/lib/Utils/messages-media.js +14 -11
- package/lib/Utils/messages-media.js.map +1 -1
- package/lib/Utils/messages.d.ts.map +1 -1
- package/lib/Utils/messages.js +20 -3
- package/lib/Utils/messages.js.map +1 -1
- package/lib/WABinary/generic-utils.d.ts +16 -0
- package/lib/WABinary/generic-utils.d.ts.map +1 -1
- package/lib/WABinary/generic-utils.js +111 -0
- package/lib/WABinary/generic-utils.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/package.json +6 -1
- package/THIRD_PARTY_NOTICES.md +0 -15
package/README.md
CHANGED
|
@@ -1353,3 +1353,9 @@ import { sendCarousel } from '@awangxcode/qiro-baileys/lib/extensions/awang-caro
|
|
|
1353
1353
|
```
|
|
1354
1354
|
|
|
1355
1355
|
`awang-MessageBuilder.js` and `awang-carousel.js` use the public `@awangxcode/qiro-baileys` root API. `axios` and `fluent-ffmpeg` are dependencies for the bundled extensions, while `sharp` is a peer dependency.
|
|
1356
|
+
|
|
1357
|
+
## Qiro Baileys RC25: Advanced/Experimental APIs
|
|
1358
|
+
|
|
1359
|
+
The RC25 source adds optional WebUI/A2UI/Rich Menu payload builders, image polls, scheduled-message primitives, modern status/question/Add Yours/comment helpers and protobuf declarations. It also retains the RC24 reader/media/auth/store utilities. These experimental APIs are not guaranteed to render or be accepted by WhatsApp. See [`QIRO-BAILEYS-RC25.md`](./QIRO-BAILEYS-RC25.md) for API examples and limitations, and [`MIGRASI-QIRO-BAILEYS-RC25.md`](./MIGRASI-QIRO-BAILEYS-RC25.md) for pre-release checks.
|
|
1360
|
+
|
|
1361
|
+
**RC25 source has not been built, fully type-checked, tested against a live WhatsApp account, or published to npm.** `makeVoipClient()` is an engine-injection scaffold only; it does not bundle a complete VoIP engine.
|
package/WAProto/WAProto.proto
CHANGED
|
@@ -1450,6 +1450,8 @@ message ContextInfo {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
message StatusAudienceMetadata {
|
|
1452
1452
|
optional AudienceType audienceType = 1;
|
|
1453
|
+
optional string listName = 2;
|
|
1454
|
+
optional string listEmoji = 3;
|
|
1453
1455
|
enum AudienceType {
|
|
1454
1456
|
UNKNOWN = 0;
|
|
1455
1457
|
CLOSE_FRIENDS = 1;
|
|
@@ -2154,11 +2156,46 @@ message Message {
|
|
|
2154
2156
|
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
2155
2157
|
optional FutureProofMessage questionReplyMessage = 106;
|
|
2156
2158
|
optional QuestionResponseMessage questionResponseMessage = 107;
|
|
2159
|
+
optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 108;
|
|
2157
2160
|
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2158
2161
|
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2159
2162
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2160
2163
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2161
2164
|
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 114;
|
|
2165
|
+
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
|
2166
|
+
optional FutureProofMessage newsletterAdminProfileMessageV2 = 117;
|
|
2167
|
+
optional FutureProofMessage spoilerMessage = 118;
|
|
2168
|
+
optional PollCreationMessage pollCreationMessageV6 = 119;
|
|
2169
|
+
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
|
2170
|
+
optional PollAddOptionMessage pollAddOptionMessage = 121;
|
|
2171
|
+
optional FutureProofMessage eventInviteMessage = 122;
|
|
2172
|
+
optional FutureProofMessage groupRootKeyShare = 123;
|
|
2173
|
+
optional FutureProofMessage paymentReminderMessage = 124;
|
|
2174
|
+
optional FutureProofMessage splitPaymentMessage = 125;
|
|
2175
|
+
optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
|
|
2176
|
+
optional FutureProofMessage rootSecretDistributeMessage = 127;
|
|
2177
|
+
|
|
2178
|
+
message StatusLinkPreviewMetadata {
|
|
2179
|
+
optional int32 style = 1;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
message ConditionalRevealMessage {
|
|
2183
|
+
optional bytes encPayload = 1;
|
|
2184
|
+
optional bytes encIv = 2;
|
|
2185
|
+
optional ConditionalRevealMessageType conditionalRevealMessageType = 3;
|
|
2186
|
+
optional string revealKeyId = 4;
|
|
2187
|
+
enum ConditionalRevealMessageType {
|
|
2188
|
+
UNKNOWN = 0;
|
|
2189
|
+
SCHEDULED_MESSAGE = 1;
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
message PollAddOptionMessage {
|
|
2194
|
+
optional MessageKey pollCreationMessageKey = 1;
|
|
2195
|
+
optional PollCreationMessage.Option addOption = 2;
|
|
2196
|
+
optional PollUpdateMessageMetadata metadata = 3;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2162
2199
|
message AlbumMessage {
|
|
2163
2200
|
optional uint32 expectedImageCount = 2;
|
|
2164
2201
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -2676,6 +2713,7 @@ message Message {
|
|
|
2676
2713
|
optional Header header = 1;
|
|
2677
2714
|
optional Body body = 2;
|
|
2678
2715
|
optional Footer footer = 3;
|
|
2716
|
+
optional BloksWidget bloksWidget = 8;
|
|
2679
2717
|
optional ContextInfo contextInfo = 15;
|
|
2680
2718
|
optional UrlTrackingMap urlTrackingMap = 16;
|
|
2681
2719
|
oneof interactiveMessage {
|
|
@@ -2688,6 +2726,13 @@ message Message {
|
|
|
2688
2726
|
optional string text = 1;
|
|
2689
2727
|
}
|
|
2690
2728
|
|
|
2729
|
+
message BloksWidget {
|
|
2730
|
+
optional string uuid = 1;
|
|
2731
|
+
optional string data = 2;
|
|
2732
|
+
optional string type = 3;
|
|
2733
|
+
optional string fallback = 4;
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2691
2736
|
message CarouselMessage {
|
|
2692
2737
|
repeated Message.InteractiveMessage cards = 1;
|
|
2693
2738
|
optional int32 messageVersion = 2;
|
|
@@ -3450,6 +3495,7 @@ message Message {
|
|
|
3450
3495
|
STATUS_ADD_YOURS = 1;
|
|
3451
3496
|
STATUS_RESHARE = 2;
|
|
3452
3497
|
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
3498
|
+
STATUS_GROUP_STATUS_REPLY = 4;
|
|
3453
3499
|
}
|
|
3454
3500
|
}
|
|
3455
3501
|
|
|
@@ -3699,6 +3745,7 @@ message MessageAssociation {
|
|
|
3699
3745
|
STATUS_ADD_YOURS_DIWALI = 17;
|
|
3700
3746
|
STATUS_REACTION = 18;
|
|
3701
3747
|
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
3748
|
+
POLL_ADD_OPTION = 20;
|
|
3702
3749
|
}
|
|
3703
3750
|
}
|
|
3704
3751
|
|
package/WAProto/index.d.ts
CHANGED
|
@@ -3548,11 +3548,15 @@ export namespace proto {
|
|
|
3548
3548
|
|
|
3549
3549
|
interface IStatusAudienceMetadata {
|
|
3550
3550
|
audienceType?: (proto.ContextInfo.StatusAudienceMetadata.AudienceType|null);
|
|
3551
|
+
listName?: (string|null);
|
|
3552
|
+
listEmoji?: (string|null);
|
|
3551
3553
|
}
|
|
3552
3554
|
|
|
3553
3555
|
class StatusAudienceMetadata implements IStatusAudienceMetadata {
|
|
3554
3556
|
constructor(p?: proto.ContextInfo.IStatusAudienceMetadata);
|
|
3555
3557
|
public audienceType?: (proto.ContextInfo.StatusAudienceMetadata.AudienceType|null);
|
|
3558
|
+
public listName?: (string|null);
|
|
3559
|
+
public listEmoji?: (string|null);
|
|
3556
3560
|
public static create(properties?: proto.ContextInfo.IStatusAudienceMetadata): proto.ContextInfo.StatusAudienceMetadata;
|
|
3557
3561
|
public static encode(m: proto.ContextInfo.IStatusAudienceMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
3558
3562
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ContextInfo.StatusAudienceMetadata;
|
|
@@ -5273,11 +5277,24 @@ export namespace proto {
|
|
|
5273
5277
|
statusQuestionAnswerMessage?: (proto.Message.IStatusQuestionAnswerMessage|null);
|
|
5274
5278
|
questionReplyMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5275
5279
|
questionResponseMessage?: (proto.Message.IQuestionResponseMessage|null);
|
|
5280
|
+
statusLinkPreviewMetadata?: (proto.Message.IStatusLinkPreviewMetadata|null);
|
|
5276
5281
|
statusQuotedMessage?: (proto.Message.IStatusQuotedMessage|null);
|
|
5277
5282
|
statusStickerInteractionMessage?: (proto.Message.IStatusStickerInteractionMessage|null);
|
|
5278
5283
|
pollCreationMessageV5?: (proto.Message.IPollCreationMessage|null);
|
|
5279
5284
|
newsletterFollowerInviteMessageV2?: (proto.Message.INewsletterFollowerInviteMessage|null);
|
|
5280
5285
|
pollResultSnapshotMessageV3?: (proto.Message.IPollResultSnapshotMessage|null);
|
|
5286
|
+
newsletterAdminProfileMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5287
|
+
newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null);
|
|
5288
|
+
spoilerMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5289
|
+
pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
|
5290
|
+
conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
|
5291
|
+
pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
|
5292
|
+
eventInviteMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5293
|
+
groupRootKeyShare?: (proto.Message.IFutureProofMessage|null);
|
|
5294
|
+
paymentReminderMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5295
|
+
splitPaymentMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5296
|
+
newsletterAdminProfileStatusMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5297
|
+
rootSecretDistributeMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5281
5298
|
}
|
|
5282
5299
|
|
|
5283
5300
|
class Message implements IMessage {
|
|
@@ -5372,11 +5389,24 @@ export namespace proto {
|
|
|
5372
5389
|
public statusQuestionAnswerMessage?: (proto.Message.IStatusQuestionAnswerMessage|null);
|
|
5373
5390
|
public questionReplyMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5374
5391
|
public questionResponseMessage?: (proto.Message.IQuestionResponseMessage|null);
|
|
5392
|
+
public statusLinkPreviewMetadata?: (proto.Message.IStatusLinkPreviewMetadata|null);
|
|
5375
5393
|
public statusQuotedMessage?: (proto.Message.IStatusQuotedMessage|null);
|
|
5376
5394
|
public statusStickerInteractionMessage?: (proto.Message.IStatusStickerInteractionMessage|null);
|
|
5377
5395
|
public pollCreationMessageV5?: (proto.Message.IPollCreationMessage|null);
|
|
5378
5396
|
public newsletterFollowerInviteMessageV2?: (proto.Message.INewsletterFollowerInviteMessage|null);
|
|
5379
5397
|
public pollResultSnapshotMessageV3?: (proto.Message.IPollResultSnapshotMessage|null);
|
|
5398
|
+
public newsletterAdminProfileMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5399
|
+
public newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null);
|
|
5400
|
+
public spoilerMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5401
|
+
public pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
|
5402
|
+
public conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
|
5403
|
+
public pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
|
5404
|
+
public eventInviteMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5405
|
+
public groupRootKeyShare?: (proto.Message.IFutureProofMessage|null);
|
|
5406
|
+
public paymentReminderMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5407
|
+
public splitPaymentMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5408
|
+
public newsletterAdminProfileStatusMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5409
|
+
public rootSecretDistributeMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5380
5410
|
public static create(properties?: proto.IMessage): proto.Message;
|
|
5381
5411
|
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
|
5382
5412
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
|
@@ -6733,6 +6763,7 @@ export namespace proto {
|
|
|
6733
6763
|
header?: (proto.Message.InteractiveMessage.IHeader|null);
|
|
6734
6764
|
body?: (proto.Message.InteractiveMessage.IBody|null);
|
|
6735
6765
|
footer?: (proto.Message.InteractiveMessage.IFooter|null);
|
|
6766
|
+
bloksWidget?: (proto.Message.InteractiveMessage.IBloksWidget|null);
|
|
6736
6767
|
contextInfo?: (proto.IContextInfo|null);
|
|
6737
6768
|
urlTrackingMap?: (proto.IUrlTrackingMap|null);
|
|
6738
6769
|
shopStorefrontMessage?: (proto.Message.InteractiveMessage.IShopMessage|null);
|
|
@@ -6746,6 +6777,7 @@ export namespace proto {
|
|
|
6746
6777
|
public header?: (proto.Message.InteractiveMessage.IHeader|null);
|
|
6747
6778
|
public body?: (proto.Message.InteractiveMessage.IBody|null);
|
|
6748
6779
|
public footer?: (proto.Message.InteractiveMessage.IFooter|null);
|
|
6780
|
+
public bloksWidget?: (proto.Message.InteractiveMessage.IBloksWidget|null);
|
|
6749
6781
|
public contextInfo?: (proto.IContextInfo|null);
|
|
6750
6782
|
public urlTrackingMap?: (proto.IUrlTrackingMap|null);
|
|
6751
6783
|
public shopStorefrontMessage?: (proto.Message.InteractiveMessage.IShopMessage|null);
|
|
@@ -6764,6 +6796,27 @@ export namespace proto {
|
|
|
6764
6796
|
|
|
6765
6797
|
namespace InteractiveMessage {
|
|
6766
6798
|
|
|
6799
|
+
interface IBloksWidget {
|
|
6800
|
+
uuid?: (string|null);
|
|
6801
|
+
data?: (string|null);
|
|
6802
|
+
type?: (string|null);
|
|
6803
|
+
fallback?: (string|null);
|
|
6804
|
+
}
|
|
6805
|
+
class BloksWidget implements IBloksWidget {
|
|
6806
|
+
constructor(p?: proto.Message.InteractiveMessage.IBloksWidget);
|
|
6807
|
+
public uuid?: (string|null);
|
|
6808
|
+
public data?: (string|null);
|
|
6809
|
+
public type?: (string|null);
|
|
6810
|
+
public fallback?: (string|null);
|
|
6811
|
+
public static create(properties?: proto.Message.InteractiveMessage.IBloksWidget): proto.Message.InteractiveMessage.BloksWidget;
|
|
6812
|
+
public static encode(m: proto.Message.InteractiveMessage.IBloksWidget, w?: $protobuf.Writer): $protobuf.Writer;
|
|
6813
|
+
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.InteractiveMessage.BloksWidget;
|
|
6814
|
+
public static fromObject(d: { [k: string]: any }): proto.Message.InteractiveMessage.BloksWidget;
|
|
6815
|
+
public static toObject(m: proto.Message.InteractiveMessage.BloksWidget, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6816
|
+
public toJSON(): { [k: string]: any };
|
|
6817
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6818
|
+
}
|
|
6819
|
+
|
|
6767
6820
|
interface IBody {
|
|
6768
6821
|
text?: (string|null);
|
|
6769
6822
|
}
|
|
@@ -8553,6 +8606,64 @@ export namespace proto {
|
|
|
8553
8606
|
}
|
|
8554
8607
|
}
|
|
8555
8608
|
|
|
8609
|
+
interface IStatusLinkPreviewMetadata {
|
|
8610
|
+
style?: (number|null);
|
|
8611
|
+
}
|
|
8612
|
+
class StatusLinkPreviewMetadata implements IStatusLinkPreviewMetadata {
|
|
8613
|
+
constructor(p?: proto.Message.IStatusLinkPreviewMetadata);
|
|
8614
|
+
public style?: (number|null);
|
|
8615
|
+
public static create(properties?: proto.Message.IStatusLinkPreviewMetadata): proto.Message.StatusLinkPreviewMetadata;
|
|
8616
|
+
public static encode(m: proto.Message.IStatusLinkPreviewMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
8617
|
+
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.StatusLinkPreviewMetadata;
|
|
8618
|
+
public static fromObject(d: { [k: string]: any }): proto.Message.StatusLinkPreviewMetadata;
|
|
8619
|
+
public static toObject(m: proto.Message.StatusLinkPreviewMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8620
|
+
public toJSON(): { [k: string]: any };
|
|
8621
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8622
|
+
}
|
|
8623
|
+
|
|
8624
|
+
interface IConditionalRevealMessage {
|
|
8625
|
+
encPayload?: (Uint8Array|null);
|
|
8626
|
+
encIv?: (Uint8Array|null);
|
|
8627
|
+
conditionalRevealMessageType?: (proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType|null);
|
|
8628
|
+
revealKeyId?: (string|null);
|
|
8629
|
+
}
|
|
8630
|
+
class ConditionalRevealMessage implements IConditionalRevealMessage {
|
|
8631
|
+
constructor(p?: proto.Message.IConditionalRevealMessage);
|
|
8632
|
+
public encPayload?: (Uint8Array|null);
|
|
8633
|
+
public encIv?: (Uint8Array|null);
|
|
8634
|
+
public conditionalRevealMessageType?: (proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType|null);
|
|
8635
|
+
public revealKeyId?: (string|null);
|
|
8636
|
+
public static create(properties?: proto.Message.IConditionalRevealMessage): proto.Message.ConditionalRevealMessage;
|
|
8637
|
+
public static encode(m: proto.Message.IConditionalRevealMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
|
8638
|
+
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.ConditionalRevealMessage;
|
|
8639
|
+
public static fromObject(d: { [k: string]: any }): proto.Message.ConditionalRevealMessage;
|
|
8640
|
+
public static toObject(m: proto.Message.ConditionalRevealMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8641
|
+
public toJSON(): { [k: string]: any };
|
|
8642
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8643
|
+
}
|
|
8644
|
+
namespace ConditionalRevealMessage {
|
|
8645
|
+
enum ConditionalRevealMessageType { UNKNOWN = 0, SCHEDULED_MESSAGE = 1 }
|
|
8646
|
+
}
|
|
8647
|
+
|
|
8648
|
+
interface IPollAddOptionMessage {
|
|
8649
|
+
pollCreationMessageKey?: (proto.IMessageKey|null);
|
|
8650
|
+
addOption?: (proto.Message.PollCreationMessage.IOption|null);
|
|
8651
|
+
metadata?: (proto.Message.IPollUpdateMessageMetadata|null);
|
|
8652
|
+
}
|
|
8653
|
+
class PollAddOptionMessage implements IPollAddOptionMessage {
|
|
8654
|
+
constructor(p?: proto.Message.IPollAddOptionMessage);
|
|
8655
|
+
public pollCreationMessageKey?: (proto.IMessageKey|null);
|
|
8656
|
+
public addOption?: (proto.Message.PollCreationMessage.IOption|null);
|
|
8657
|
+
public metadata?: (proto.Message.IPollUpdateMessageMetadata|null);
|
|
8658
|
+
public static create(properties?: proto.Message.IPollAddOptionMessage): proto.Message.PollAddOptionMessage;
|
|
8659
|
+
public static encode(m: proto.Message.IPollAddOptionMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
|
8660
|
+
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.PollAddOptionMessage;
|
|
8661
|
+
public static fromObject(d: { [k: string]: any }): proto.Message.PollAddOptionMessage;
|
|
8662
|
+
public static toObject(m: proto.Message.PollAddOptionMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8663
|
+
public toJSON(): { [k: string]: any };
|
|
8664
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8665
|
+
}
|
|
8666
|
+
|
|
8556
8667
|
interface IProtocolMessage {
|
|
8557
8668
|
key?: (proto.IMessageKey|null);
|
|
8558
8669
|
type?: (proto.Message.ProtocolMessage.Type|null);
|
|
@@ -8907,7 +9018,8 @@ export namespace proto {
|
|
|
8907
9018
|
UNKNOWN = 0,
|
|
8908
9019
|
STATUS_ADD_YOURS = 1,
|
|
8909
9020
|
STATUS_RESHARE = 2,
|
|
8910
|
-
STATUS_QUESTION_ANSWER_RESHARE = 3
|
|
9021
|
+
STATUS_QUESTION_ANSWER_RESHARE = 3,
|
|
9022
|
+
STATUS_GROUP_STATUS_REPLY = 4
|
|
8911
9023
|
}
|
|
8912
9024
|
}
|
|
8913
9025
|
|
|
@@ -9506,7 +9618,8 @@ export namespace proto {
|
|
|
9506
9618
|
STATUS_QUESTION = 16,
|
|
9507
9619
|
STATUS_ADD_YOURS_DIWALI = 17,
|
|
9508
9620
|
STATUS_REACTION = 18,
|
|
9509
|
-
HEVC_VIDEO_DUAL_UPLOAD = 19
|
|
9621
|
+
HEVC_VIDEO_DUAL_UPLOAD = 19,
|
|
9622
|
+
POLL_ADD_OPTION = 20
|
|
9510
9623
|
}
|
|
9511
9624
|
}
|
|
9512
9625
|
|
package/WAProto/index.js
CHANGED
|
@@ -97685,6 +97685,305 @@ export const proto = $root.proto = (() => {
|
|
|
97685
97685
|
return WebNotificationsInfo;
|
|
97686
97686
|
})();
|
|
97687
97687
|
|
|
97688
|
+
/* Runtime extensions for the modern, still-gated WhatsApp wire fields used by RC25. */
|
|
97689
|
+
(function installQiroModernProto($root, $Reader, $Writer, $util, $protobuf) {
|
|
97690
|
+
const proto = $root;
|
|
97691
|
+
const Message = proto.Message;
|
|
97692
|
+
const captureBytes = (r, l) => {
|
|
97693
|
+
if (r instanceof $Reader) {
|
|
97694
|
+
const start = r.pos;
|
|
97695
|
+
const end = l === undefined ? r.len : Math.min(r.len, start + l);
|
|
97696
|
+
return r.buf.slice(start, end);
|
|
97697
|
+
}
|
|
97698
|
+
const rr = $Reader.create(r);
|
|
97699
|
+
return rr.buf.slice(0, l === undefined ? rr.len : Math.min(rr.len, l));
|
|
97700
|
+
};
|
|
97701
|
+
const parseUnknownFields = (raw, onField) => {
|
|
97702
|
+
const r = $Reader.create(raw);
|
|
97703
|
+
while (r.pos < r.len) {
|
|
97704
|
+
const t = r.uint32();
|
|
97705
|
+
if (!onField(t >>> 3, t & 7, r)) r.skipType(t & 7);
|
|
97706
|
+
}
|
|
97707
|
+
};
|
|
97708
|
+
|
|
97709
|
+
Message.StatusLinkPreviewMetadata = (function () {
|
|
97710
|
+
function StatusLinkPreviewMetadata(p) { if (p) for (const k of Object.keys(p)) if (p[k] != null) this[k] = p[k]; }
|
|
97711
|
+
StatusLinkPreviewMetadata.prototype.style = null;
|
|
97712
|
+
StatusLinkPreviewMetadata.create = p => new StatusLinkPreviewMetadata(p);
|
|
97713
|
+
StatusLinkPreviewMetadata.encode = function (m, w) {
|
|
97714
|
+
if (!w) w = $Writer.create();
|
|
97715
|
+
if (m.style != null) w.uint32(8).int32(m.style);
|
|
97716
|
+
return w;
|
|
97717
|
+
};
|
|
97718
|
+
StatusLinkPreviewMetadata.decode = function (r, l, e) {
|
|
97719
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
97720
|
+
const c = l === undefined ? r.len : r.pos + l;
|
|
97721
|
+
const m = new StatusLinkPreviewMetadata();
|
|
97722
|
+
while (r.pos < c) {
|
|
97723
|
+
const t = r.uint32(); if (t === e) break;
|
|
97724
|
+
if ((t >>> 3) === 1) m.style = r.int32(); else r.skipType(t & 7);
|
|
97725
|
+
}
|
|
97726
|
+
return m;
|
|
97727
|
+
};
|
|
97728
|
+
StatusLinkPreviewMetadata.fromObject = function (d) { if (d instanceof StatusLinkPreviewMetadata) return d; const m = new StatusLinkPreviewMetadata(); if (d.style != null) m.style = d.style | 0; return m; };
|
|
97729
|
+
StatusLinkPreviewMetadata.toObject = function (m) { const d = {}; if (m.style != null) d.style = m.style; return d; };
|
|
97730
|
+
StatusLinkPreviewMetadata.prototype.toJSON = function () { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); };
|
|
97731
|
+
StatusLinkPreviewMetadata.getTypeUrl = prefix => (prefix === undefined ? 'type.googleapis.com' : prefix) + '/proto.Message.StatusLinkPreviewMetadata';
|
|
97732
|
+
return StatusLinkPreviewMetadata;
|
|
97733
|
+
})();
|
|
97734
|
+
|
|
97735
|
+
Message.ConditionalRevealMessage = (function () {
|
|
97736
|
+
function ConditionalRevealMessage(p) { if (p) for (const k of Object.keys(p)) if (p[k] != null) this[k] = p[k]; }
|
|
97737
|
+
ConditionalRevealMessage.prototype.encPayload = null;
|
|
97738
|
+
ConditionalRevealMessage.prototype.encIv = null;
|
|
97739
|
+
ConditionalRevealMessage.prototype.conditionalRevealMessageType = null;
|
|
97740
|
+
ConditionalRevealMessage.prototype.revealKeyId = null;
|
|
97741
|
+
ConditionalRevealMessage.create = p => new ConditionalRevealMessage(p);
|
|
97742
|
+
ConditionalRevealMessage.encode = function (m, w) {
|
|
97743
|
+
if (!w) w = $Writer.create();
|
|
97744
|
+
if (m.encPayload != null) w.uint32(10).bytes(m.encPayload);
|
|
97745
|
+
if (m.encIv != null) w.uint32(18).bytes(m.encIv);
|
|
97746
|
+
if (m.conditionalRevealMessageType != null) w.uint32(24).int32(m.conditionalRevealMessageType);
|
|
97747
|
+
if (m.revealKeyId != null) w.uint32(34).string(m.revealKeyId);
|
|
97748
|
+
return w;
|
|
97749
|
+
};
|
|
97750
|
+
ConditionalRevealMessage.decode = function (r, l, e) {
|
|
97751
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
97752
|
+
const c = l === undefined ? r.len : r.pos + l;
|
|
97753
|
+
const m = new ConditionalRevealMessage();
|
|
97754
|
+
while (r.pos < c) {
|
|
97755
|
+
const t = r.uint32(); if (t === e) break;
|
|
97756
|
+
switch (t >>> 3) {
|
|
97757
|
+
case 1: m.encPayload = r.bytes(); break;
|
|
97758
|
+
case 2: m.encIv = r.bytes(); break;
|
|
97759
|
+
case 3: m.conditionalRevealMessageType = r.int32(); break;
|
|
97760
|
+
case 4: m.revealKeyId = r.string(); break;
|
|
97761
|
+
default: r.skipType(t & 7); break;
|
|
97762
|
+
}
|
|
97763
|
+
}
|
|
97764
|
+
return m;
|
|
97765
|
+
};
|
|
97766
|
+
ConditionalRevealMessage.fromObject = function (d) {
|
|
97767
|
+
if (d instanceof ConditionalRevealMessage) return d;
|
|
97768
|
+
const m = new ConditionalRevealMessage();
|
|
97769
|
+
if (d.encPayload != null) m.encPayload = typeof d.encPayload === 'string' ? Buffer.from(d.encPayload, 'base64') : d.encPayload;
|
|
97770
|
+
if (d.encIv != null) m.encIv = typeof d.encIv === 'string' ? Buffer.from(d.encIv, 'base64') : d.encIv;
|
|
97771
|
+
if (d.conditionalRevealMessageType != null) m.conditionalRevealMessageType = typeof d.conditionalRevealMessageType === 'string' ? (ConditionalRevealMessage.ConditionalRevealMessageType[d.conditionalRevealMessageType] ?? 0) : d.conditionalRevealMessageType | 0;
|
|
97772
|
+
if (d.revealKeyId != null) m.revealKeyId = String(d.revealKeyId);
|
|
97773
|
+
return m;
|
|
97774
|
+
};
|
|
97775
|
+
ConditionalRevealMessage.toObject = function (m, o) {
|
|
97776
|
+
o = o || {}; const d = {};
|
|
97777
|
+
if (m.encPayload != null) d.encPayload = o.bytes === String ? Buffer.from(m.encPayload).toString('base64') : m.encPayload;
|
|
97778
|
+
if (m.encIv != null) d.encIv = o.bytes === String ? Buffer.from(m.encIv).toString('base64') : m.encIv;
|
|
97779
|
+
if (m.conditionalRevealMessageType != null) d.conditionalRevealMessageType = o.enums === String ? (ConditionalRevealMessage.ConditionalRevealMessageType[m.conditionalRevealMessageType] ?? m.conditionalRevealMessageType) : m.conditionalRevealMessageType;
|
|
97780
|
+
if (m.revealKeyId != null) d.revealKeyId = m.revealKeyId;
|
|
97781
|
+
return d;
|
|
97782
|
+
};
|
|
97783
|
+
ConditionalRevealMessage.prototype.toJSON = function () { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); };
|
|
97784
|
+
ConditionalRevealMessage.getTypeUrl = prefix => (prefix === undefined ? 'type.googleapis.com' : prefix) + '/proto.Message.ConditionalRevealMessage';
|
|
97785
|
+
ConditionalRevealMessage.ConditionalRevealMessageType = Object.assign(Object.create(null), { 0: 'UNKNOWN', 1: 'SCHEDULED_MESSAGE', UNKNOWN: 0, SCHEDULED_MESSAGE: 1 });
|
|
97786
|
+
return ConditionalRevealMessage;
|
|
97787
|
+
})();
|
|
97788
|
+
|
|
97789
|
+
Message.PollAddOptionMessage = (function () {
|
|
97790
|
+
function PollAddOptionMessage(p) { if (p) for (const k of Object.keys(p)) if (p[k] != null) this[k] = p[k]; }
|
|
97791
|
+
PollAddOptionMessage.prototype.pollCreationMessageKey = null;
|
|
97792
|
+
PollAddOptionMessage.prototype.addOption = null;
|
|
97793
|
+
PollAddOptionMessage.prototype.metadata = null;
|
|
97794
|
+
PollAddOptionMessage.create = p => new PollAddOptionMessage(p);
|
|
97795
|
+
PollAddOptionMessage.encode = function (m, w) {
|
|
97796
|
+
if (!w) w = $Writer.create();
|
|
97797
|
+
if (m.pollCreationMessageKey != null) proto.MessageKey.encode(m.pollCreationMessageKey, w.uint32(10).fork()).ldelim();
|
|
97798
|
+
if (m.addOption != null) Message.PollCreationMessage.Option.encode(m.addOption, w.uint32(18).fork()).ldelim();
|
|
97799
|
+
if (m.metadata != null) Message.PollUpdateMessageMetadata.encode(m.metadata, w.uint32(26).fork()).ldelim();
|
|
97800
|
+
return w;
|
|
97801
|
+
};
|
|
97802
|
+
PollAddOptionMessage.decode = function (r, l, e) {
|
|
97803
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
97804
|
+
const c = l === undefined ? r.len : r.pos + l; const m = new PollAddOptionMessage();
|
|
97805
|
+
while (r.pos < c) {
|
|
97806
|
+
const t = r.uint32(); if (t === e) break;
|
|
97807
|
+
switch (t >>> 3) {
|
|
97808
|
+
case 1: m.pollCreationMessageKey = proto.MessageKey.decode(r, r.uint32()); break;
|
|
97809
|
+
case 2: m.addOption = Message.PollCreationMessage.Option.decode(r, r.uint32()); break;
|
|
97810
|
+
case 3: m.metadata = Message.PollUpdateMessageMetadata.decode(r, r.uint32()); break;
|
|
97811
|
+
default: r.skipType(t & 7); break;
|
|
97812
|
+
}
|
|
97813
|
+
}
|
|
97814
|
+
return m;
|
|
97815
|
+
};
|
|
97816
|
+
PollAddOptionMessage.fromObject = function (d) {
|
|
97817
|
+
if (d instanceof PollAddOptionMessage) return d;
|
|
97818
|
+
const m = new PollAddOptionMessage();
|
|
97819
|
+
if (d.pollCreationMessageKey != null) m.pollCreationMessageKey = proto.MessageKey.fromObject(d.pollCreationMessageKey);
|
|
97820
|
+
if (d.addOption != null) m.addOption = Message.PollCreationMessage.Option.fromObject(d.addOption);
|
|
97821
|
+
if (d.metadata != null) m.metadata = Message.PollUpdateMessageMetadata.fromObject(d.metadata);
|
|
97822
|
+
return m;
|
|
97823
|
+
};
|
|
97824
|
+
PollAddOptionMessage.toObject = function (m, o) {
|
|
97825
|
+
o = o || {}; const d = {};
|
|
97826
|
+
if (m.pollCreationMessageKey != null) d.pollCreationMessageKey = proto.MessageKey.toObject(m.pollCreationMessageKey, o);
|
|
97827
|
+
if (m.addOption != null) d.addOption = Message.PollCreationMessage.Option.toObject(m.addOption, o);
|
|
97828
|
+
if (m.metadata != null) d.metadata = Message.PollUpdateMessageMetadata.toObject(m.metadata, o);
|
|
97829
|
+
return d;
|
|
97830
|
+
};
|
|
97831
|
+
PollAddOptionMessage.prototype.toJSON = function () { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); };
|
|
97832
|
+
PollAddOptionMessage.getTypeUrl = prefix => (prefix === undefined ? 'type.googleapis.com' : prefix) + '/proto.Message.PollAddOptionMessage';
|
|
97833
|
+
return PollAddOptionMessage;
|
|
97834
|
+
})();
|
|
97835
|
+
|
|
97836
|
+
Message.InteractiveMessage.BloksWidget = (function () {
|
|
97837
|
+
function BloksWidget(p) { if (p) for (const k of Object.keys(p)) if (p[k] != null) this[k] = p[k]; }
|
|
97838
|
+
BloksWidget.prototype.uuid = null; BloksWidget.prototype.data = null; BloksWidget.prototype.type = null; BloksWidget.prototype.fallback = null;
|
|
97839
|
+
BloksWidget.create = p => new BloksWidget(p);
|
|
97840
|
+
BloksWidget.encode = function (m, w) {
|
|
97841
|
+
if (!w) w = $Writer.create();
|
|
97842
|
+
if (m.uuid != null) w.uint32(10).string(m.uuid);
|
|
97843
|
+
if (m.data != null) w.uint32(18).string(m.data);
|
|
97844
|
+
if (m.type != null) w.uint32(26).string(m.type);
|
|
97845
|
+
if (m.fallback != null) w.uint32(34).string(m.fallback);
|
|
97846
|
+
return w;
|
|
97847
|
+
};
|
|
97848
|
+
BloksWidget.decode = function (r, l, e) {
|
|
97849
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
97850
|
+
const c = l === undefined ? r.len : r.pos + l; const m = new BloksWidget();
|
|
97851
|
+
while (r.pos < c) {
|
|
97852
|
+
const t = r.uint32(); if (t === e) break;
|
|
97853
|
+
switch (t >>> 3) {
|
|
97854
|
+
case 1: m.uuid = r.string(); break;
|
|
97855
|
+
case 2: m.data = r.string(); break;
|
|
97856
|
+
case 3: m.type = r.string(); break;
|
|
97857
|
+
case 4: m.fallback = r.string(); break;
|
|
97858
|
+
default: r.skipType(t & 7); break;
|
|
97859
|
+
}
|
|
97860
|
+
}
|
|
97861
|
+
return m;
|
|
97862
|
+
};
|
|
97863
|
+
BloksWidget.fromObject = function (d) { if (d instanceof BloksWidget) return d; const m = new BloksWidget(); for (const k of ['uuid','data','type','fallback']) if (d[k] != null) m[k] = String(d[k]); return m; };
|
|
97864
|
+
BloksWidget.toObject = function (m) { const d = {}; for (const k of ['uuid','data','type','fallback']) if (m[k] != null) d[k] = m[k]; return d; };
|
|
97865
|
+
BloksWidget.prototype.toJSON = function () { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); };
|
|
97866
|
+
BloksWidget.getTypeUrl = prefix => (prefix === undefined ? 'type.googleapis.com' : prefix) + '/proto.Message.InteractiveMessage.BloksWidget';
|
|
97867
|
+
return BloksWidget;
|
|
97868
|
+
})();
|
|
97869
|
+
|
|
97870
|
+
// Extend generated runtime methods through wrappers so upstream-generated fields stay untouched.
|
|
97871
|
+
const im = Message.InteractiveMessage;
|
|
97872
|
+
im.prototype.bloksWidget = null;
|
|
97873
|
+
const imEncode = im.encode;
|
|
97874
|
+
im.encode = function (m, w) {
|
|
97875
|
+
const writer = imEncode.call(this, m, w);
|
|
97876
|
+
if (m.bloksWidget != null) im.BloksWidget.encode(m.bloksWidget, writer.uint32(66).fork()).ldelim();
|
|
97877
|
+
return writer;
|
|
97878
|
+
};
|
|
97879
|
+
const imDecode = im.decode;
|
|
97880
|
+
im.decode = function (r, l, e) {
|
|
97881
|
+
const raw = captureBytes(r, l);
|
|
97882
|
+
const m = imDecode.call(this, r, l, e);
|
|
97883
|
+
parseUnknownFields(raw, (field, wire, reader) => {
|
|
97884
|
+
if (field === 8 && wire === 2) { m.bloksWidget = im.BloksWidget.decode(reader, reader.uint32()); return true; }
|
|
97885
|
+
return false;
|
|
97886
|
+
});
|
|
97887
|
+
return m;
|
|
97888
|
+
};
|
|
97889
|
+
const imFromObject = im.fromObject;
|
|
97890
|
+
im.fromObject = function (d) { const m = imFromObject.call(this, d); if (d.bloksWidget != null) m.bloksWidget = im.BloksWidget.fromObject(d.bloksWidget); return m; };
|
|
97891
|
+
const imToObject = im.toObject;
|
|
97892
|
+
im.toObject = function (m, o) { const d = imToObject.call(this, m, o); if (m.bloksWidget != null) d.bloksWidget = im.BloksWidget.toObject(m.bloksWidget, o); return d; };
|
|
97893
|
+
|
|
97894
|
+
const audience = proto.ContextInfo.StatusAudienceMetadata;
|
|
97895
|
+
audience.prototype.listName = null; audience.prototype.listEmoji = null;
|
|
97896
|
+
const audEncode = audience.encode;
|
|
97897
|
+
audience.encode = function (m, w) {
|
|
97898
|
+
const writer = audEncode.call(this, m, w);
|
|
97899
|
+
if (m.listName != null) writer.uint32(18).string(m.listName);
|
|
97900
|
+
if (m.listEmoji != null) writer.uint32(26).string(m.listEmoji);
|
|
97901
|
+
return writer;
|
|
97902
|
+
};
|
|
97903
|
+
const audDecode = audience.decode;
|
|
97904
|
+
audience.decode = function (r, l, e) {
|
|
97905
|
+
const raw = captureBytes(r, l); const m = audDecode.call(this, r, l, e);
|
|
97906
|
+
parseUnknownFields(raw, (field, wire, reader) => {
|
|
97907
|
+
if (field === 2 && wire === 2) { m.listName = reader.string(); return true; }
|
|
97908
|
+
if (field === 3 && wire === 2) { m.listEmoji = reader.string(); return true; }
|
|
97909
|
+
return false;
|
|
97910
|
+
});
|
|
97911
|
+
return m;
|
|
97912
|
+
};
|
|
97913
|
+
const audFrom = audience.fromObject;
|
|
97914
|
+
audience.fromObject = function (d) { const m = audFrom.call(this, d); if (d.listName != null) m.listName = String(d.listName); if (d.listEmoji != null) m.listEmoji = String(d.listEmoji); return m; };
|
|
97915
|
+
const audTo = audience.toObject;
|
|
97916
|
+
audience.toObject = function (m, o) { const d = audTo.call(this, m, o); if (m.listName != null) d.listName = m.listName; if (m.listEmoji != null) d.listEmoji = m.listEmoji; return d; };
|
|
97917
|
+
|
|
97918
|
+
const messageFields = [
|
|
97919
|
+
['newsletterAdminProfileMessage', 116, 'future'],
|
|
97920
|
+
['newsletterAdminProfileMessageV2', 117, 'future'],
|
|
97921
|
+
['spoilerMessage', 118, 'future'],
|
|
97922
|
+
['pollCreationMessageV6', 119, 'poll'],
|
|
97923
|
+
['statusLinkPreviewMetadata', 108, 'statusLinkPreview'],
|
|
97924
|
+
['conditionalRevealMessage', 120, 'conditional'],
|
|
97925
|
+
['pollAddOptionMessage', 121, 'pollAdd'],
|
|
97926
|
+
['eventInviteMessage', 122, 'future'],
|
|
97927
|
+
['groupRootKeyShare', 123, 'future'],
|
|
97928
|
+
['paymentReminderMessage', 124, 'future'],
|
|
97929
|
+
['splitPaymentMessage', 125, 'future'],
|
|
97930
|
+
['newsletterAdminProfileStatusMessage', 126, 'future'],
|
|
97931
|
+
['rootSecretDistributeMessage', 127, 'future']
|
|
97932
|
+
];
|
|
97933
|
+
for (const [field] of messageFields) Message.prototype[field] = null;
|
|
97934
|
+
const messageEncode = Message.encode;
|
|
97935
|
+
Message.encode = function (m, w) {
|
|
97936
|
+
const writer = messageEncode.call(this, m, w);
|
|
97937
|
+
for (const [field, number, kind] of messageFields) {
|
|
97938
|
+
if (m[field] == null) continue;
|
|
97939
|
+
const cls = kind === 'future' ? Message.FutureProofMessage : kind === 'poll' ? Message.PollCreationMessage : kind === 'conditional' ? Message.ConditionalRevealMessage : kind === 'statusLinkPreview' ? Message.StatusLinkPreviewMetadata : Message.PollAddOptionMessage;
|
|
97940
|
+
cls.encode(m[field], writer.uint32(number * 8 + 2).fork()).ldelim();
|
|
97941
|
+
}
|
|
97942
|
+
return writer;
|
|
97943
|
+
};
|
|
97944
|
+
const messageDecode = Message.decode;
|
|
97945
|
+
Message.decode = function (r, l, e) {
|
|
97946
|
+
const raw = captureBytes(r, l); const m = messageDecode.call(this, r, l, e);
|
|
97947
|
+
const byNumber = new Map(messageFields.map(([field, number, kind]) => [number, { field, kind }]));
|
|
97948
|
+
parseUnknownFields(raw, (fieldNumber, wire, reader) => {
|
|
97949
|
+
const item = byNumber.get(fieldNumber);
|
|
97950
|
+
if (!item || wire !== 2) return false;
|
|
97951
|
+
const length = reader.uint32();
|
|
97952
|
+
const cls = item.kind === 'future' ? Message.FutureProofMessage : item.kind === 'poll' ? Message.PollCreationMessage : item.kind === 'conditional' ? Message.ConditionalRevealMessage : item.kind === 'statusLinkPreview' ? Message.StatusLinkPreviewMetadata : Message.PollAddOptionMessage;
|
|
97953
|
+
m[item.field] = cls.decode(reader, length);
|
|
97954
|
+
return true;
|
|
97955
|
+
});
|
|
97956
|
+
return m;
|
|
97957
|
+
};
|
|
97958
|
+
const messageFromObject = Message.fromObject;
|
|
97959
|
+
Message.fromObject = function (d) {
|
|
97960
|
+
const m = messageFromObject.call(this, d);
|
|
97961
|
+
for (const [field, , kind] of messageFields) if (d[field] != null) {
|
|
97962
|
+
const cls = kind === 'future' ? Message.FutureProofMessage : kind === 'poll' ? Message.PollCreationMessage : kind === 'conditional' ? Message.ConditionalRevealMessage : kind === 'statusLinkPreview' ? Message.StatusLinkPreviewMetadata : Message.PollAddOptionMessage;
|
|
97963
|
+
m[field] = cls.fromObject(d[field]);
|
|
97964
|
+
}
|
|
97965
|
+
return m;
|
|
97966
|
+
};
|
|
97967
|
+
const messageToObject = Message.toObject;
|
|
97968
|
+
Message.toObject = function (m, o) {
|
|
97969
|
+
const d = messageToObject.call(this, m, o);
|
|
97970
|
+
for (const [field, , kind] of messageFields) if (m[field] != null) {
|
|
97971
|
+
const cls = kind === 'future' ? Message.FutureProofMessage : kind === 'poll' ? Message.PollCreationMessage : kind === 'conditional' ? Message.ConditionalRevealMessage : kind === 'statusLinkPreview' ? Message.StatusLinkPreviewMetadata : Message.PollAddOptionMessage;
|
|
97972
|
+
d[field] = cls.toObject(m[field], o);
|
|
97973
|
+
}
|
|
97974
|
+
return d;
|
|
97975
|
+
};
|
|
97976
|
+
|
|
97977
|
+
// Association type 20 was added in a newer wire schema, while the current enum ships with rc14.
|
|
97978
|
+
if (proto.MessageAssociation?.AssociationType) {
|
|
97979
|
+
const statusNotificationTypes = Message.StatusNotificationMessage.StatusNotificationType;
|
|
97980
|
+
if (statusNotificationTypes) { statusNotificationTypes.STATUS_GROUP_STATUS_REPLY = 4; statusNotificationTypes[4] = 'STATUS_GROUP_STATUS_REPLY'; }
|
|
97981
|
+
proto.MessageAssociation.AssociationType.POLL_ADD_OPTION = 20;
|
|
97982
|
+
proto.MessageAssociation.AssociationType[20] = 'POLL_ADD_OPTION';
|
|
97983
|
+
}
|
|
97984
|
+
})(proto, $Reader, $Writer, $util, $protobuf);
|
|
97985
|
+
|
|
97986
|
+
|
|
97688
97987
|
return proto;
|
|
97689
97988
|
})();
|
|
97690
97989
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Defaults/index.ts"],"names":[],"mapp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AkC,SAAS,EAAE,CAAA;AAEpE,yHAAyH;AACzH,eAAO,MAAM,8BAA8B,SAAU,CAAA;AAErD,eAAO,MAAM,gBAAgB,IAAI,CAAA;AAEjC,eAAO,MAAM,oBAAoB,MAAM,CAAA;AAEvC,eAAO,MAAM,cAAc,QAAQ,CAAA;AAEnC,eAAO,MAAM,MAAM;;;;;CAKlB,CAAA"}
|
package/lib/Defaults/index.js
CHANGED
|
@@ -60,6 +60,8 @@ export const DEFAULT_CONNECTION_CONFIG = {
|
|
|
60
60
|
fireInitQueries: true,
|
|
61
61
|
auth: undefined,
|
|
62
62
|
markOnlineOnConnect: true,
|
|
63
|
+
lowMemoryMode: false,
|
|
64
|
+
autoBizNode: true,
|
|
63
65
|
syncFullHistory: true,
|
|
64
66
|
patchMessageBeforeSending: msg => msg,
|
|
65
67
|
shouldSyncHistoryMessage: ({ syncType }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Defaults/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACjD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAEpC,MAAM,OAAO,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,CAAA;AAErC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAG,0BAA0B,CAAA;AACxD,MAAM,CAAC,MAAM,iBAAiB,GAAG,kCAAkC,CAAA;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,kCAAkC,CAAA;AACnE,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAA;AACxC,MAAM,CAAC,MAAM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