@wppconnect/wa-proto 2.3000.1029904231 → 2.3000.1029982878
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 +69 -3
- package/dist/index.d.ts +286 -13
- package/dist/index.js +1144 -72
- 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.1029982878
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -3026,7 +3026,6 @@ message Message {
|
|
|
3026
3026
|
message PaymentExtendedMetadata {
|
|
3027
3027
|
optional uint32 type = 1;
|
|
3028
3028
|
optional string platform = 2;
|
|
3029
|
-
optional string messageParamsJson = 3;
|
|
3030
3029
|
}
|
|
3031
3030
|
|
|
3032
3031
|
message PaymentInviteMessage {
|
|
@@ -3930,6 +3929,7 @@ enum MutationProps {
|
|
|
3930
3929
|
NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
|
|
3931
3930
|
AI_THREAD_RENAME_ACTION = 76;
|
|
3932
3931
|
INTERACTIVE_MESSAGE_ACTION = 77;
|
|
3932
|
+
SETTINGS_SYNC_ACTION = 78;
|
|
3933
3933
|
SHARE_OWN_PN = 10001;
|
|
3934
3934
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
3935
3935
|
}
|
|
@@ -4547,7 +4547,6 @@ message SyncActionValue {
|
|
|
4547
4547
|
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
|
4548
4548
|
optional PaymentTosAction paymentTosAction = 63;
|
|
4549
4549
|
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
4550
|
-
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
4551
4550
|
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
|
|
4552
4551
|
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
|
|
4553
4552
|
optional BusinessBroadcastListAction businessBroadcastListAction = 69;
|
|
@@ -4558,6 +4557,7 @@ message SyncActionValue {
|
|
|
4558
4557
|
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4559
4558
|
optional AiThreadRenameAction aiThreadRenameAction = 76;
|
|
4560
4559
|
optional InteractiveMessageAction interactiveMessageAction = 77;
|
|
4560
|
+
optional SettingsSyncAction settingsSyncAction = 78;
|
|
4561
4561
|
message AgentAction {
|
|
4562
4562
|
optional string name = 1;
|
|
4563
4563
|
optional int32 deviceID = 2;
|
|
@@ -4890,6 +4890,71 @@ message SyncActionValue {
|
|
|
4890
4890
|
optional int64 lastStickerSentTs = 1;
|
|
4891
4891
|
}
|
|
4892
4892
|
|
|
4893
|
+
message SettingsSyncAction {
|
|
4894
|
+
optional bool startAtLogin = 1;
|
|
4895
|
+
optional bool minimizeToTray = 2;
|
|
4896
|
+
optional string language = 3;
|
|
4897
|
+
optional bool replaceTextWithEmoji = 4;
|
|
4898
|
+
optional DisplayMode bannerNotificationDisplayMode = 5;
|
|
4899
|
+
optional DisplayMode unreadCounterBadgeDisplayMode = 6;
|
|
4900
|
+
optional bool isMessagesNotificationEnabled = 7;
|
|
4901
|
+
optional bool isCallsNotificationEnabled = 8;
|
|
4902
|
+
optional bool isReactionsNotificationEnabled = 9;
|
|
4903
|
+
optional bool isStatusReactionsNotificationEnabled = 10;
|
|
4904
|
+
optional bool isTextPreviewForNotificationEnabled = 11;
|
|
4905
|
+
optional int32 defaultNotificationToneId = 12;
|
|
4906
|
+
optional int32 groupDefaultNotificationToneId = 13;
|
|
4907
|
+
optional int32 appTheme = 14;
|
|
4908
|
+
optional int32 wallpaperId = 15;
|
|
4909
|
+
optional bool isDoodleWallpaperEnabled = 16;
|
|
4910
|
+
optional int32 fontSize = 17;
|
|
4911
|
+
optional bool isPhotosAutodownloadEnabled = 18;
|
|
4912
|
+
optional bool isAudiosAutodownloadEnabled = 19;
|
|
4913
|
+
optional bool isVideosAutodownloadEnabled = 20;
|
|
4914
|
+
optional bool isDocumentsAutodownloadEnabled = 21;
|
|
4915
|
+
optional bool disableLinkPreviews = 22;
|
|
4916
|
+
optional int32 notificationToneId = 23;
|
|
4917
|
+
enum DisplayMode {
|
|
4918
|
+
DISPLAY_MODE_UNKNOWN = 0;
|
|
4919
|
+
ALWAYS = 1;
|
|
4920
|
+
NEVER = 2;
|
|
4921
|
+
ONLY_WHEN_APP_IS_OPEN = 3;
|
|
4922
|
+
}
|
|
4923
|
+
enum SettingKey {
|
|
4924
|
+
SETTING_KEY_UNKNOWN = 0;
|
|
4925
|
+
START_AT_LOGIN = 1;
|
|
4926
|
+
MINIMIZE_TO_TRAY = 2;
|
|
4927
|
+
LANGUAGE = 3;
|
|
4928
|
+
REPLACE_TEXT_WITH_EMOJI = 4;
|
|
4929
|
+
BANNER_NOTIFICATION_DISPLAY_MODE = 5;
|
|
4930
|
+
UNREAD_COUNTER_BADGE_DISPLAY_MODE = 6;
|
|
4931
|
+
IS_MESSAGES_NOTIFICATION_ENABLED = 7;
|
|
4932
|
+
IS_CALLS_NOTIFICATION_ENABLED = 8;
|
|
4933
|
+
IS_REACTIONS_NOTIFICATION_ENABLED = 9;
|
|
4934
|
+
IS_STATUS_REACTIONS_NOTIFICATION_ENABLED = 10;
|
|
4935
|
+
IS_TEXT_PREVIEW_FOR_NOTIFICATION_ENABLED = 11;
|
|
4936
|
+
DEFAULT_NOTIFICATION_TONE_ID = 12;
|
|
4937
|
+
GROUP_DEFAULT_NOTIFICATION_TONE_ID = 13;
|
|
4938
|
+
APP_THEME = 14;
|
|
4939
|
+
WALLPAPER_ID = 15;
|
|
4940
|
+
IS_DOODLE_WALLPAPER_ENABLED = 16;
|
|
4941
|
+
FONT_SIZE = 17;
|
|
4942
|
+
IS_PHOTOS_AUTODOWNLOAD_ENABLED = 18;
|
|
4943
|
+
IS_AUDIOS_AUTODOWNLOAD_ENABLED = 19;
|
|
4944
|
+
IS_VIDEOS_AUTODOWNLOAD_ENABLED = 20;
|
|
4945
|
+
IS_DOCUMENTS_AUTODOWNLOAD_ENABLED = 21;
|
|
4946
|
+
DISABLE_LINK_PREVIEWS = 22;
|
|
4947
|
+
NOTIFICATION_TONE_ID = 23;
|
|
4948
|
+
}
|
|
4949
|
+
enum SettingPlatform {
|
|
4950
|
+
PLATFORM_UNKNOWN = 0;
|
|
4951
|
+
WEB = 1;
|
|
4952
|
+
HYBRID = 2;
|
|
4953
|
+
WINDOWS = 3;
|
|
4954
|
+
MAC = 4;
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4957
|
+
|
|
4893
4958
|
message StarAction {
|
|
4894
4959
|
optional bool starred = 1;
|
|
4895
4960
|
}
|
|
@@ -5500,6 +5565,7 @@ message WebMessageInfo {
|
|
|
5500
5565
|
QUARANTINED_MESSAGE = 220;
|
|
5501
5566
|
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
|
5502
5567
|
GROUP_OPEN_BOT_ADDED = 222;
|
|
5568
|
+
GROUP_TEE_BOT_ADDED = 223;
|
|
5503
5569
|
}
|
|
5504
5570
|
}
|
|
5505
5571
|
|
package/dist/index.d.ts
CHANGED
|
@@ -33755,9 +33755,6 @@ export namespace waproto {
|
|
|
33755
33755
|
|
|
33756
33756
|
/** PaymentExtendedMetadata platform */
|
|
33757
33757
|
platform?: (string|null);
|
|
33758
|
-
|
|
33759
|
-
/** PaymentExtendedMetadata messageParamsJson */
|
|
33760
|
-
messageParamsJson?: (string|null);
|
|
33761
33758
|
}
|
|
33762
33759
|
|
|
33763
33760
|
/** Represents a PaymentExtendedMetadata. */
|
|
@@ -33775,9 +33772,6 @@ export namespace waproto {
|
|
|
33775
33772
|
/** PaymentExtendedMetadata platform. */
|
|
33776
33773
|
public platform?: (string|null);
|
|
33777
33774
|
|
|
33778
|
-
/** PaymentExtendedMetadata messageParamsJson. */
|
|
33779
|
-
public messageParamsJson?: (string|null);
|
|
33780
|
-
|
|
33781
33775
|
/**
|
|
33782
33776
|
* Creates a new PaymentExtendedMetadata instance using the specified properties.
|
|
33783
33777
|
* @param [properties] Properties to set
|
|
@@ -43810,6 +43804,7 @@ export namespace waproto {
|
|
|
43810
43804
|
NEWSLETTER_SAVED_INTERESTS_ACTION = 75,
|
|
43811
43805
|
AI_THREAD_RENAME_ACTION = 76,
|
|
43812
43806
|
INTERACTIVE_MESSAGE_ACTION = 77,
|
|
43807
|
+
SETTINGS_SYNC_ACTION = 78,
|
|
43813
43808
|
SHARE_OWN_PN = 10001,
|
|
43814
43809
|
BUSINESS_BROADCAST_ACTION = 10002
|
|
43815
43810
|
}
|
|
@@ -51092,9 +51087,6 @@ export namespace waproto {
|
|
|
51092
51087
|
/** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction */
|
|
51093
51088
|
privacySettingChannelsPersonalisedRecommendationAction?: (waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
|
|
51094
51089
|
|
|
51095
|
-
/** SyncActionValue businessBroadcastAssociationAction */
|
|
51096
|
-
businessBroadcastAssociationAction?: (waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
|
|
51097
|
-
|
|
51098
51090
|
/** SyncActionValue detectedOutcomesStatusAction */
|
|
51099
51091
|
detectedOutcomesStatusAction?: (waproto.SyncActionValue.IDetectedOutcomesStatusAction|null);
|
|
51100
51092
|
|
|
@@ -51124,6 +51116,9 @@ export namespace waproto {
|
|
|
51124
51116
|
|
|
51125
51117
|
/** SyncActionValue interactiveMessageAction */
|
|
51126
51118
|
interactiveMessageAction?: (waproto.SyncActionValue.IInteractiveMessageAction|null);
|
|
51119
|
+
|
|
51120
|
+
/** SyncActionValue settingsSyncAction */
|
|
51121
|
+
settingsSyncAction?: (waproto.SyncActionValue.ISettingsSyncAction|null);
|
|
51127
51122
|
}
|
|
51128
51123
|
|
|
51129
51124
|
/** Represents a SyncActionValue. */
|
|
@@ -51309,9 +51304,6 @@ export namespace waproto {
|
|
|
51309
51304
|
/** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction. */
|
|
51310
51305
|
public privacySettingChannelsPersonalisedRecommendationAction?: (waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
|
|
51311
51306
|
|
|
51312
|
-
/** SyncActionValue businessBroadcastAssociationAction. */
|
|
51313
|
-
public businessBroadcastAssociationAction?: (waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
|
|
51314
|
-
|
|
51315
51307
|
/** SyncActionValue detectedOutcomesStatusAction. */
|
|
51316
51308
|
public detectedOutcomesStatusAction?: (waproto.SyncActionValue.IDetectedOutcomesStatusAction|null);
|
|
51317
51309
|
|
|
@@ -51342,6 +51334,9 @@ export namespace waproto {
|
|
|
51342
51334
|
/** SyncActionValue interactiveMessageAction. */
|
|
51343
51335
|
public interactiveMessageAction?: (waproto.SyncActionValue.IInteractiveMessageAction|null);
|
|
51344
51336
|
|
|
51337
|
+
/** SyncActionValue settingsSyncAction. */
|
|
51338
|
+
public settingsSyncAction?: (waproto.SyncActionValue.ISettingsSyncAction|null);
|
|
51339
|
+
|
|
51345
51340
|
/**
|
|
51346
51341
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
51347
51342
|
* @param [properties] Properties to set
|
|
@@ -57451,6 +57446,283 @@ export namespace waproto {
|
|
|
57451
57446
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
57452
57447
|
}
|
|
57453
57448
|
|
|
57449
|
+
/** Properties of a SettingsSyncAction. */
|
|
57450
|
+
interface ISettingsSyncAction {
|
|
57451
|
+
|
|
57452
|
+
/** SettingsSyncAction startAtLogin */
|
|
57453
|
+
startAtLogin?: (boolean|null);
|
|
57454
|
+
|
|
57455
|
+
/** SettingsSyncAction minimizeToTray */
|
|
57456
|
+
minimizeToTray?: (boolean|null);
|
|
57457
|
+
|
|
57458
|
+
/** SettingsSyncAction language */
|
|
57459
|
+
language?: (string|null);
|
|
57460
|
+
|
|
57461
|
+
/** SettingsSyncAction replaceTextWithEmoji */
|
|
57462
|
+
replaceTextWithEmoji?: (boolean|null);
|
|
57463
|
+
|
|
57464
|
+
/** SettingsSyncAction bannerNotificationDisplayMode */
|
|
57465
|
+
bannerNotificationDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null);
|
|
57466
|
+
|
|
57467
|
+
/** SettingsSyncAction unreadCounterBadgeDisplayMode */
|
|
57468
|
+
unreadCounterBadgeDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null);
|
|
57469
|
+
|
|
57470
|
+
/** SettingsSyncAction isMessagesNotificationEnabled */
|
|
57471
|
+
isMessagesNotificationEnabled?: (boolean|null);
|
|
57472
|
+
|
|
57473
|
+
/** SettingsSyncAction isCallsNotificationEnabled */
|
|
57474
|
+
isCallsNotificationEnabled?: (boolean|null);
|
|
57475
|
+
|
|
57476
|
+
/** SettingsSyncAction isReactionsNotificationEnabled */
|
|
57477
|
+
isReactionsNotificationEnabled?: (boolean|null);
|
|
57478
|
+
|
|
57479
|
+
/** SettingsSyncAction isStatusReactionsNotificationEnabled */
|
|
57480
|
+
isStatusReactionsNotificationEnabled?: (boolean|null);
|
|
57481
|
+
|
|
57482
|
+
/** SettingsSyncAction isTextPreviewForNotificationEnabled */
|
|
57483
|
+
isTextPreviewForNotificationEnabled?: (boolean|null);
|
|
57484
|
+
|
|
57485
|
+
/** SettingsSyncAction defaultNotificationToneId */
|
|
57486
|
+
defaultNotificationToneId?: (number|null);
|
|
57487
|
+
|
|
57488
|
+
/** SettingsSyncAction groupDefaultNotificationToneId */
|
|
57489
|
+
groupDefaultNotificationToneId?: (number|null);
|
|
57490
|
+
|
|
57491
|
+
/** SettingsSyncAction appTheme */
|
|
57492
|
+
appTheme?: (number|null);
|
|
57493
|
+
|
|
57494
|
+
/** SettingsSyncAction wallpaperId */
|
|
57495
|
+
wallpaperId?: (number|null);
|
|
57496
|
+
|
|
57497
|
+
/** SettingsSyncAction isDoodleWallpaperEnabled */
|
|
57498
|
+
isDoodleWallpaperEnabled?: (boolean|null);
|
|
57499
|
+
|
|
57500
|
+
/** SettingsSyncAction fontSize */
|
|
57501
|
+
fontSize?: (number|null);
|
|
57502
|
+
|
|
57503
|
+
/** SettingsSyncAction isPhotosAutodownloadEnabled */
|
|
57504
|
+
isPhotosAutodownloadEnabled?: (boolean|null);
|
|
57505
|
+
|
|
57506
|
+
/** SettingsSyncAction isAudiosAutodownloadEnabled */
|
|
57507
|
+
isAudiosAutodownloadEnabled?: (boolean|null);
|
|
57508
|
+
|
|
57509
|
+
/** SettingsSyncAction isVideosAutodownloadEnabled */
|
|
57510
|
+
isVideosAutodownloadEnabled?: (boolean|null);
|
|
57511
|
+
|
|
57512
|
+
/** SettingsSyncAction isDocumentsAutodownloadEnabled */
|
|
57513
|
+
isDocumentsAutodownloadEnabled?: (boolean|null);
|
|
57514
|
+
|
|
57515
|
+
/** SettingsSyncAction disableLinkPreviews */
|
|
57516
|
+
disableLinkPreviews?: (boolean|null);
|
|
57517
|
+
|
|
57518
|
+
/** SettingsSyncAction notificationToneId */
|
|
57519
|
+
notificationToneId?: (number|null);
|
|
57520
|
+
}
|
|
57521
|
+
|
|
57522
|
+
/** Represents a SettingsSyncAction. */
|
|
57523
|
+
class SettingsSyncAction implements ISettingsSyncAction {
|
|
57524
|
+
|
|
57525
|
+
/**
|
|
57526
|
+
* Constructs a new SettingsSyncAction.
|
|
57527
|
+
* @param [properties] Properties to set
|
|
57528
|
+
*/
|
|
57529
|
+
constructor(properties?: waproto.SyncActionValue.ISettingsSyncAction);
|
|
57530
|
+
|
|
57531
|
+
/** SettingsSyncAction startAtLogin. */
|
|
57532
|
+
public startAtLogin?: (boolean|null);
|
|
57533
|
+
|
|
57534
|
+
/** SettingsSyncAction minimizeToTray. */
|
|
57535
|
+
public minimizeToTray?: (boolean|null);
|
|
57536
|
+
|
|
57537
|
+
/** SettingsSyncAction language. */
|
|
57538
|
+
public language?: (string|null);
|
|
57539
|
+
|
|
57540
|
+
/** SettingsSyncAction replaceTextWithEmoji. */
|
|
57541
|
+
public replaceTextWithEmoji?: (boolean|null);
|
|
57542
|
+
|
|
57543
|
+
/** SettingsSyncAction bannerNotificationDisplayMode. */
|
|
57544
|
+
public bannerNotificationDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null);
|
|
57545
|
+
|
|
57546
|
+
/** SettingsSyncAction unreadCounterBadgeDisplayMode. */
|
|
57547
|
+
public unreadCounterBadgeDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null);
|
|
57548
|
+
|
|
57549
|
+
/** SettingsSyncAction isMessagesNotificationEnabled. */
|
|
57550
|
+
public isMessagesNotificationEnabled?: (boolean|null);
|
|
57551
|
+
|
|
57552
|
+
/** SettingsSyncAction isCallsNotificationEnabled. */
|
|
57553
|
+
public isCallsNotificationEnabled?: (boolean|null);
|
|
57554
|
+
|
|
57555
|
+
/** SettingsSyncAction isReactionsNotificationEnabled. */
|
|
57556
|
+
public isReactionsNotificationEnabled?: (boolean|null);
|
|
57557
|
+
|
|
57558
|
+
/** SettingsSyncAction isStatusReactionsNotificationEnabled. */
|
|
57559
|
+
public isStatusReactionsNotificationEnabled?: (boolean|null);
|
|
57560
|
+
|
|
57561
|
+
/** SettingsSyncAction isTextPreviewForNotificationEnabled. */
|
|
57562
|
+
public isTextPreviewForNotificationEnabled?: (boolean|null);
|
|
57563
|
+
|
|
57564
|
+
/** SettingsSyncAction defaultNotificationToneId. */
|
|
57565
|
+
public defaultNotificationToneId?: (number|null);
|
|
57566
|
+
|
|
57567
|
+
/** SettingsSyncAction groupDefaultNotificationToneId. */
|
|
57568
|
+
public groupDefaultNotificationToneId?: (number|null);
|
|
57569
|
+
|
|
57570
|
+
/** SettingsSyncAction appTheme. */
|
|
57571
|
+
public appTheme?: (number|null);
|
|
57572
|
+
|
|
57573
|
+
/** SettingsSyncAction wallpaperId. */
|
|
57574
|
+
public wallpaperId?: (number|null);
|
|
57575
|
+
|
|
57576
|
+
/** SettingsSyncAction isDoodleWallpaperEnabled. */
|
|
57577
|
+
public isDoodleWallpaperEnabled?: (boolean|null);
|
|
57578
|
+
|
|
57579
|
+
/** SettingsSyncAction fontSize. */
|
|
57580
|
+
public fontSize?: (number|null);
|
|
57581
|
+
|
|
57582
|
+
/** SettingsSyncAction isPhotosAutodownloadEnabled. */
|
|
57583
|
+
public isPhotosAutodownloadEnabled?: (boolean|null);
|
|
57584
|
+
|
|
57585
|
+
/** SettingsSyncAction isAudiosAutodownloadEnabled. */
|
|
57586
|
+
public isAudiosAutodownloadEnabled?: (boolean|null);
|
|
57587
|
+
|
|
57588
|
+
/** SettingsSyncAction isVideosAutodownloadEnabled. */
|
|
57589
|
+
public isVideosAutodownloadEnabled?: (boolean|null);
|
|
57590
|
+
|
|
57591
|
+
/** SettingsSyncAction isDocumentsAutodownloadEnabled. */
|
|
57592
|
+
public isDocumentsAutodownloadEnabled?: (boolean|null);
|
|
57593
|
+
|
|
57594
|
+
/** SettingsSyncAction disableLinkPreviews. */
|
|
57595
|
+
public disableLinkPreviews?: (boolean|null);
|
|
57596
|
+
|
|
57597
|
+
/** SettingsSyncAction notificationToneId. */
|
|
57598
|
+
public notificationToneId?: (number|null);
|
|
57599
|
+
|
|
57600
|
+
/**
|
|
57601
|
+
* Creates a new SettingsSyncAction instance using the specified properties.
|
|
57602
|
+
* @param [properties] Properties to set
|
|
57603
|
+
* @returns SettingsSyncAction instance
|
|
57604
|
+
*/
|
|
57605
|
+
public static create(properties?: waproto.SyncActionValue.ISettingsSyncAction): waproto.SyncActionValue.SettingsSyncAction;
|
|
57606
|
+
|
|
57607
|
+
/**
|
|
57608
|
+
* Encodes the specified SettingsSyncAction message. Does not implicitly {@link waproto.SyncActionValue.SettingsSyncAction.verify|verify} messages.
|
|
57609
|
+
* @param message SettingsSyncAction message or plain object to encode
|
|
57610
|
+
* @param [writer] Writer to encode to
|
|
57611
|
+
* @returns Writer
|
|
57612
|
+
*/
|
|
57613
|
+
public static encode(message: waproto.SyncActionValue.ISettingsSyncAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
57614
|
+
|
|
57615
|
+
/**
|
|
57616
|
+
* Encodes the specified SettingsSyncAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SettingsSyncAction.verify|verify} messages.
|
|
57617
|
+
* @param message SettingsSyncAction message or plain object to encode
|
|
57618
|
+
* @param [writer] Writer to encode to
|
|
57619
|
+
* @returns Writer
|
|
57620
|
+
*/
|
|
57621
|
+
public static encodeDelimited(message: waproto.SyncActionValue.ISettingsSyncAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
57622
|
+
|
|
57623
|
+
/**
|
|
57624
|
+
* Decodes a SettingsSyncAction message from the specified reader or buffer.
|
|
57625
|
+
* @param reader Reader or buffer to decode from
|
|
57626
|
+
* @param [length] Message length if known beforehand
|
|
57627
|
+
* @returns SettingsSyncAction
|
|
57628
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
57629
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
57630
|
+
*/
|
|
57631
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SettingsSyncAction;
|
|
57632
|
+
|
|
57633
|
+
/**
|
|
57634
|
+
* Decodes a SettingsSyncAction message from the specified reader or buffer, length delimited.
|
|
57635
|
+
* @param reader Reader or buffer to decode from
|
|
57636
|
+
* @returns SettingsSyncAction
|
|
57637
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
57638
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
57639
|
+
*/
|
|
57640
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SettingsSyncAction;
|
|
57641
|
+
|
|
57642
|
+
/**
|
|
57643
|
+
* Verifies a SettingsSyncAction message.
|
|
57644
|
+
* @param message Plain object to verify
|
|
57645
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
57646
|
+
*/
|
|
57647
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
57648
|
+
|
|
57649
|
+
/**
|
|
57650
|
+
* Creates a SettingsSyncAction message from a plain object. Also converts values to their respective internal types.
|
|
57651
|
+
* @param object Plain object
|
|
57652
|
+
* @returns SettingsSyncAction
|
|
57653
|
+
*/
|
|
57654
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SettingsSyncAction;
|
|
57655
|
+
|
|
57656
|
+
/**
|
|
57657
|
+
* Creates a plain object from a SettingsSyncAction message. Also converts values to other types if specified.
|
|
57658
|
+
* @param message SettingsSyncAction
|
|
57659
|
+
* @param [options] Conversion options
|
|
57660
|
+
* @returns Plain object
|
|
57661
|
+
*/
|
|
57662
|
+
public static toObject(message: waproto.SyncActionValue.SettingsSyncAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
57663
|
+
|
|
57664
|
+
/**
|
|
57665
|
+
* Converts this SettingsSyncAction to JSON.
|
|
57666
|
+
* @returns JSON object
|
|
57667
|
+
*/
|
|
57668
|
+
public toJSON(): { [k: string]: any };
|
|
57669
|
+
|
|
57670
|
+
/**
|
|
57671
|
+
* Gets the default type url for SettingsSyncAction
|
|
57672
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
57673
|
+
* @returns The default type url
|
|
57674
|
+
*/
|
|
57675
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
57676
|
+
}
|
|
57677
|
+
|
|
57678
|
+
namespace SettingsSyncAction {
|
|
57679
|
+
|
|
57680
|
+
/** DisplayMode enum. */
|
|
57681
|
+
enum DisplayMode {
|
|
57682
|
+
DISPLAY_MODE_UNKNOWN = 0,
|
|
57683
|
+
ALWAYS = 1,
|
|
57684
|
+
NEVER = 2,
|
|
57685
|
+
ONLY_WHEN_APP_IS_OPEN = 3
|
|
57686
|
+
}
|
|
57687
|
+
|
|
57688
|
+
/** SettingKey enum. */
|
|
57689
|
+
enum SettingKey {
|
|
57690
|
+
SETTING_KEY_UNKNOWN = 0,
|
|
57691
|
+
START_AT_LOGIN = 1,
|
|
57692
|
+
MINIMIZE_TO_TRAY = 2,
|
|
57693
|
+
LANGUAGE = 3,
|
|
57694
|
+
REPLACE_TEXT_WITH_EMOJI = 4,
|
|
57695
|
+
BANNER_NOTIFICATION_DISPLAY_MODE = 5,
|
|
57696
|
+
UNREAD_COUNTER_BADGE_DISPLAY_MODE = 6,
|
|
57697
|
+
IS_MESSAGES_NOTIFICATION_ENABLED = 7,
|
|
57698
|
+
IS_CALLS_NOTIFICATION_ENABLED = 8,
|
|
57699
|
+
IS_REACTIONS_NOTIFICATION_ENABLED = 9,
|
|
57700
|
+
IS_STATUS_REACTIONS_NOTIFICATION_ENABLED = 10,
|
|
57701
|
+
IS_TEXT_PREVIEW_FOR_NOTIFICATION_ENABLED = 11,
|
|
57702
|
+
DEFAULT_NOTIFICATION_TONE_ID = 12,
|
|
57703
|
+
GROUP_DEFAULT_NOTIFICATION_TONE_ID = 13,
|
|
57704
|
+
APP_THEME = 14,
|
|
57705
|
+
WALLPAPER_ID = 15,
|
|
57706
|
+
IS_DOODLE_WALLPAPER_ENABLED = 16,
|
|
57707
|
+
FONT_SIZE = 17,
|
|
57708
|
+
IS_PHOTOS_AUTODOWNLOAD_ENABLED = 18,
|
|
57709
|
+
IS_AUDIOS_AUTODOWNLOAD_ENABLED = 19,
|
|
57710
|
+
IS_VIDEOS_AUTODOWNLOAD_ENABLED = 20,
|
|
57711
|
+
IS_DOCUMENTS_AUTODOWNLOAD_ENABLED = 21,
|
|
57712
|
+
DISABLE_LINK_PREVIEWS = 22,
|
|
57713
|
+
NOTIFICATION_TONE_ID = 23
|
|
57714
|
+
}
|
|
57715
|
+
|
|
57716
|
+
/** SettingPlatform enum. */
|
|
57717
|
+
enum SettingPlatform {
|
|
57718
|
+
PLATFORM_UNKNOWN = 0,
|
|
57719
|
+
WEB = 1,
|
|
57720
|
+
HYBRID = 2,
|
|
57721
|
+
WINDOWS = 3,
|
|
57722
|
+
MAC = 4
|
|
57723
|
+
}
|
|
57724
|
+
}
|
|
57725
|
+
|
|
57454
57726
|
/** Properties of a StarAction. */
|
|
57455
57727
|
interface IStarAction {
|
|
57456
57728
|
|
|
@@ -62593,7 +62865,8 @@ export namespace waproto {
|
|
|
62593
62865
|
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219,
|
|
62594
62866
|
QUARANTINED_MESSAGE = 220,
|
|
62595
62867
|
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221,
|
|
62596
|
-
GROUP_OPEN_BOT_ADDED = 222
|
|
62868
|
+
GROUP_OPEN_BOT_ADDED = 222,
|
|
62869
|
+
GROUP_TEE_BOT_ADDED = 223
|
|
62597
62870
|
}
|
|
62598
62871
|
}
|
|
62599
62872
|
|