@wppconnect/wa-proto 2.3000.1029320063 → 2.3000.1029429190
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 +8 -0
- package/WAProto.proto +104 -1
- package/dist/index.d.ts +317 -2
- package/dist/index.js +781 -0
- 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.1029429190
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -1192,6 +1192,7 @@ message ClientPayload {
|
|
|
1192
1192
|
TEST = 34;
|
|
1193
1193
|
SMART_GLASSES = 35;
|
|
1194
1194
|
BLUE_VR = 36;
|
|
1195
|
+
AR_WRIST = 37;
|
|
1195
1196
|
}
|
|
1196
1197
|
enum ReleaseChannel {
|
|
1197
1198
|
RELEASE = 0;
|
|
@@ -1232,6 +1233,14 @@ message ClientPayload {
|
|
|
1232
1233
|
|
|
1233
1234
|
}
|
|
1234
1235
|
|
|
1236
|
+
enum CollectionName {
|
|
1237
|
+
COLLECTION_NAME_UNKNOWN = 0;
|
|
1238
|
+
REGULAR = 1;
|
|
1239
|
+
REGULAR_LOW = 2;
|
|
1240
|
+
REGULAR_HIGH = 3;
|
|
1241
|
+
CRITICAL_BLOCK = 4;
|
|
1242
|
+
CRITICAL_UNBLOCK_LOW = 5;
|
|
1243
|
+
}
|
|
1235
1244
|
message CommentMetadata {
|
|
1236
1245
|
optional MessageKey commentParentKey = 1;
|
|
1237
1246
|
optional uint32 replyCount = 2;
|
|
@@ -3823,6 +3832,81 @@ message MsgRowOpaqueData {
|
|
|
3823
3832
|
optional MsgOpaqueData quotedMsg = 2;
|
|
3824
3833
|
}
|
|
3825
3834
|
|
|
3835
|
+
enum MutationProps {
|
|
3836
|
+
STAR_ACTION = 2;
|
|
3837
|
+
CONTACT_ACTION = 3;
|
|
3838
|
+
MUTE_ACTION = 4;
|
|
3839
|
+
PIN_ACTION = 5;
|
|
3840
|
+
SECURITY_NOTIFICATION_SETTING = 6;
|
|
3841
|
+
PUSH_NAME_SETTING = 7;
|
|
3842
|
+
QUICK_REPLY_ACTION = 8;
|
|
3843
|
+
RECENT_EMOJI_WEIGHTS_ACTION = 11;
|
|
3844
|
+
LABEL_MESSAGE_ACTION = 13;
|
|
3845
|
+
LABEL_EDIT_ACTION = 14;
|
|
3846
|
+
LABEL_ASSOCIATION_ACTION = 15;
|
|
3847
|
+
LOCALE_SETTING = 16;
|
|
3848
|
+
ARCHIVE_CHAT_ACTION = 17;
|
|
3849
|
+
DELETE_MESSAGE_FOR_ME_ACTION = 18;
|
|
3850
|
+
KEY_EXPIRATION = 19;
|
|
3851
|
+
MARK_CHAT_AS_READ_ACTION = 20;
|
|
3852
|
+
CLEAR_CHAT_ACTION = 21;
|
|
3853
|
+
DELETE_CHAT_ACTION = 22;
|
|
3854
|
+
UNARCHIVE_CHATS_SETTING = 23;
|
|
3855
|
+
PRIMARY_FEATURE = 24;
|
|
3856
|
+
ANDROID_UNSUPPORTED_ACTIONS = 26;
|
|
3857
|
+
AGENT_ACTION = 27;
|
|
3858
|
+
SUBSCRIPTION_ACTION = 28;
|
|
3859
|
+
USER_STATUS_MUTE_ACTION = 29;
|
|
3860
|
+
TIME_FORMAT_ACTION = 30;
|
|
3861
|
+
NUX_ACTION = 31;
|
|
3862
|
+
PRIMARY_VERSION_ACTION = 32;
|
|
3863
|
+
STICKER_ACTION = 33;
|
|
3864
|
+
REMOVE_RECENT_STICKER_ACTION = 34;
|
|
3865
|
+
CHAT_ASSIGNMENT = 35;
|
|
3866
|
+
CHAT_ASSIGNMENT_OPENED_STATUS = 36;
|
|
3867
|
+
PN_FOR_LID_CHAT_ACTION = 37;
|
|
3868
|
+
MARKETING_MESSAGE_ACTION = 38;
|
|
3869
|
+
MARKETING_MESSAGE_BROADCAST_ACTION = 39;
|
|
3870
|
+
EXTERNAL_WEB_BETA_ACTION = 40;
|
|
3871
|
+
PRIVACY_SETTING_RELAY_ALL_CALLS = 41;
|
|
3872
|
+
CALL_LOG_ACTION = 42;
|
|
3873
|
+
UGC_BOT = 43;
|
|
3874
|
+
STATUS_PRIVACY = 44;
|
|
3875
|
+
BOT_WELCOME_REQUEST_ACTION = 45;
|
|
3876
|
+
DELETE_INDIVIDUAL_CALL_LOG = 46;
|
|
3877
|
+
LABEL_REORDERING_ACTION = 47;
|
|
3878
|
+
PAYMENT_INFO_ACTION = 48;
|
|
3879
|
+
CUSTOM_PAYMENT_METHODS_ACTION = 49;
|
|
3880
|
+
LOCK_CHAT_ACTION = 50;
|
|
3881
|
+
CHAT_LOCK_SETTINGS = 51;
|
|
3882
|
+
WAMO_USER_IDENTIFIER_ACTION = 52;
|
|
3883
|
+
PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53;
|
|
3884
|
+
DEVICE_CAPABILITIES = 54;
|
|
3885
|
+
NOTE_EDIT_ACTION = 55;
|
|
3886
|
+
FAVORITES_ACTION = 56;
|
|
3887
|
+
MERCHANT_PAYMENT_PARTNER_ACTION = 57;
|
|
3888
|
+
WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58;
|
|
3889
|
+
USERNAME_CHAT_START_MODE = 59;
|
|
3890
|
+
NOTIFICATION_ACTIVITY_SETTING_ACTION = 60;
|
|
3891
|
+
LID_CONTACT_ACTION = 61;
|
|
3892
|
+
CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62;
|
|
3893
|
+
PAYMENT_TOS_ACTION = 63;
|
|
3894
|
+
PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64;
|
|
3895
|
+
BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65;
|
|
3896
|
+
DETECTED_OUTCOMES_STATUS_ACTION = 66;
|
|
3897
|
+
MAIBA_AI_FEATURES_CONTROL_ACTION = 68;
|
|
3898
|
+
BUSINESS_BROADCAST_LIST_ACTION = 69;
|
|
3899
|
+
MUSIC_USER_ID_ACTION = 70;
|
|
3900
|
+
STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71;
|
|
3901
|
+
AVATAR_UPDATED_ACTION = 72;
|
|
3902
|
+
GALAXY_FLOW_ACTION = 73;
|
|
3903
|
+
PRIVATE_PROCESSING_SETTING_ACTION = 74;
|
|
3904
|
+
NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
|
|
3905
|
+
AI_THREAD_RENAME_ACTION = 76;
|
|
3906
|
+
INTERACTIVE_MESSAGE_ACTION = 77;
|
|
3907
|
+
SHARE_OWN_PN = 10001;
|
|
3908
|
+
BUSINESS_BROADCAST_ACTION = 10002;
|
|
3909
|
+
}
|
|
3826
3910
|
message NoiseCertificate {
|
|
3827
3911
|
optional bytes details = 1;
|
|
3828
3912
|
optional bytes signature = 2;
|
|
@@ -4229,8 +4313,13 @@ message SessionStructure {
|
|
|
4229
4313
|
message SessionTransparencyMetadata {
|
|
4230
4314
|
optional string disclaimerText = 1;
|
|
4231
4315
|
optional string hcaId = 2;
|
|
4316
|
+
optional SessionTransparencyType sessionTransparencyType = 3;
|
|
4232
4317
|
}
|
|
4233
4318
|
|
|
4319
|
+
enum SessionTransparencyType {
|
|
4320
|
+
UNKNOWN_TYPE = 0;
|
|
4321
|
+
NY_AI_SAFETY_DISCLAIMER = 1;
|
|
4322
|
+
}
|
|
4234
4323
|
message SignalMessage {
|
|
4235
4324
|
optional bytes ratchetKey = 1;
|
|
4236
4325
|
optional uint32 counter = 2;
|
|
@@ -4441,12 +4530,18 @@ message SyncActionValue {
|
|
|
4441
4530
|
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4442
4531
|
optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
|
|
4443
4532
|
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4533
|
+
optional AiThreadRenameAction aiThreadRenameAction = 76;
|
|
4534
|
+
optional InteractiveMessageAction interactiveMessageAction = 77;
|
|
4444
4535
|
message AgentAction {
|
|
4445
4536
|
optional string name = 1;
|
|
4446
4537
|
optional int32 deviceID = 2;
|
|
4447
4538
|
optional bool isDeleted = 3;
|
|
4448
4539
|
}
|
|
4449
4540
|
|
|
4541
|
+
message AiThreadRenameAction {
|
|
4542
|
+
optional string newTitle = 1;
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4450
4545
|
message AndroidUnsupportedActions {
|
|
4451
4546
|
optional bool allowed = 1;
|
|
4452
4547
|
}
|
|
@@ -4560,6 +4655,13 @@ message SyncActionValue {
|
|
|
4560
4655
|
|
|
4561
4656
|
}
|
|
4562
4657
|
|
|
4658
|
+
message InteractiveMessageAction {
|
|
4659
|
+
required InteractiveMessageActionMode type = 1;
|
|
4660
|
+
enum InteractiveMessageActionMode {
|
|
4661
|
+
DISABLE_CTA = 1;
|
|
4662
|
+
}
|
|
4663
|
+
}
|
|
4664
|
+
|
|
4563
4665
|
message KeyExpiration {
|
|
4564
4666
|
optional int32 expiredKeyEpoch = 1;
|
|
4565
4667
|
}
|
|
@@ -4588,6 +4690,7 @@ message SyncActionValue {
|
|
|
4588
4690
|
COMMUNITY = 6;
|
|
4589
4691
|
SERVER_ASSIGNED = 7;
|
|
4590
4692
|
DRAFTED = 8;
|
|
4693
|
+
AI_HANDOFF = 9;
|
|
4591
4694
|
}
|
|
4592
4695
|
}
|
|
4593
4696
|
|
package/dist/index.d.ts
CHANGED
|
@@ -12771,7 +12771,8 @@ export namespace waproto {
|
|
|
12771
12771
|
IPAD = 33,
|
|
12772
12772
|
TEST = 34,
|
|
12773
12773
|
SMART_GLASSES = 35,
|
|
12774
|
-
BLUE_VR = 36
|
|
12774
|
+
BLUE_VR = 36,
|
|
12775
|
+
AR_WRIST = 37
|
|
12775
12776
|
}
|
|
12776
12777
|
|
|
12777
12778
|
/** ReleaseChannel enum. */
|
|
@@ -13069,6 +13070,16 @@ export namespace waproto {
|
|
|
13069
13070
|
}
|
|
13070
13071
|
}
|
|
13071
13072
|
|
|
13073
|
+
/** CollectionName enum. */
|
|
13074
|
+
enum CollectionName {
|
|
13075
|
+
COLLECTION_NAME_UNKNOWN = 0,
|
|
13076
|
+
REGULAR = 1,
|
|
13077
|
+
REGULAR_LOW = 2,
|
|
13078
|
+
REGULAR_HIGH = 3,
|
|
13079
|
+
CRITICAL_BLOCK = 4,
|
|
13080
|
+
CRITICAL_UNBLOCK_LOW = 5
|
|
13081
|
+
}
|
|
13082
|
+
|
|
13072
13083
|
/** Properties of a CommentMetadata. */
|
|
13073
13084
|
interface ICommentMetadata {
|
|
13074
13085
|
|
|
@@ -43386,6 +43397,83 @@ export namespace waproto {
|
|
|
43386
43397
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
43387
43398
|
}
|
|
43388
43399
|
|
|
43400
|
+
/** MutationProps enum. */
|
|
43401
|
+
enum MutationProps {
|
|
43402
|
+
STAR_ACTION = 2,
|
|
43403
|
+
CONTACT_ACTION = 3,
|
|
43404
|
+
MUTE_ACTION = 4,
|
|
43405
|
+
PIN_ACTION = 5,
|
|
43406
|
+
SECURITY_NOTIFICATION_SETTING = 6,
|
|
43407
|
+
PUSH_NAME_SETTING = 7,
|
|
43408
|
+
QUICK_REPLY_ACTION = 8,
|
|
43409
|
+
RECENT_EMOJI_WEIGHTS_ACTION = 11,
|
|
43410
|
+
LABEL_MESSAGE_ACTION = 13,
|
|
43411
|
+
LABEL_EDIT_ACTION = 14,
|
|
43412
|
+
LABEL_ASSOCIATION_ACTION = 15,
|
|
43413
|
+
LOCALE_SETTING = 16,
|
|
43414
|
+
ARCHIVE_CHAT_ACTION = 17,
|
|
43415
|
+
DELETE_MESSAGE_FOR_ME_ACTION = 18,
|
|
43416
|
+
KEY_EXPIRATION = 19,
|
|
43417
|
+
MARK_CHAT_AS_READ_ACTION = 20,
|
|
43418
|
+
CLEAR_CHAT_ACTION = 21,
|
|
43419
|
+
DELETE_CHAT_ACTION = 22,
|
|
43420
|
+
UNARCHIVE_CHATS_SETTING = 23,
|
|
43421
|
+
PRIMARY_FEATURE = 24,
|
|
43422
|
+
ANDROID_UNSUPPORTED_ACTIONS = 26,
|
|
43423
|
+
AGENT_ACTION = 27,
|
|
43424
|
+
SUBSCRIPTION_ACTION = 28,
|
|
43425
|
+
USER_STATUS_MUTE_ACTION = 29,
|
|
43426
|
+
TIME_FORMAT_ACTION = 30,
|
|
43427
|
+
NUX_ACTION = 31,
|
|
43428
|
+
PRIMARY_VERSION_ACTION = 32,
|
|
43429
|
+
STICKER_ACTION = 33,
|
|
43430
|
+
REMOVE_RECENT_STICKER_ACTION = 34,
|
|
43431
|
+
CHAT_ASSIGNMENT = 35,
|
|
43432
|
+
CHAT_ASSIGNMENT_OPENED_STATUS = 36,
|
|
43433
|
+
PN_FOR_LID_CHAT_ACTION = 37,
|
|
43434
|
+
MARKETING_MESSAGE_ACTION = 38,
|
|
43435
|
+
MARKETING_MESSAGE_BROADCAST_ACTION = 39,
|
|
43436
|
+
EXTERNAL_WEB_BETA_ACTION = 40,
|
|
43437
|
+
PRIVACY_SETTING_RELAY_ALL_CALLS = 41,
|
|
43438
|
+
CALL_LOG_ACTION = 42,
|
|
43439
|
+
UGC_BOT = 43,
|
|
43440
|
+
STATUS_PRIVACY = 44,
|
|
43441
|
+
BOT_WELCOME_REQUEST_ACTION = 45,
|
|
43442
|
+
DELETE_INDIVIDUAL_CALL_LOG = 46,
|
|
43443
|
+
LABEL_REORDERING_ACTION = 47,
|
|
43444
|
+
PAYMENT_INFO_ACTION = 48,
|
|
43445
|
+
CUSTOM_PAYMENT_METHODS_ACTION = 49,
|
|
43446
|
+
LOCK_CHAT_ACTION = 50,
|
|
43447
|
+
CHAT_LOCK_SETTINGS = 51,
|
|
43448
|
+
WAMO_USER_IDENTIFIER_ACTION = 52,
|
|
43449
|
+
PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53,
|
|
43450
|
+
DEVICE_CAPABILITIES = 54,
|
|
43451
|
+
NOTE_EDIT_ACTION = 55,
|
|
43452
|
+
FAVORITES_ACTION = 56,
|
|
43453
|
+
MERCHANT_PAYMENT_PARTNER_ACTION = 57,
|
|
43454
|
+
WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58,
|
|
43455
|
+
USERNAME_CHAT_START_MODE = 59,
|
|
43456
|
+
NOTIFICATION_ACTIVITY_SETTING_ACTION = 60,
|
|
43457
|
+
LID_CONTACT_ACTION = 61,
|
|
43458
|
+
CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62,
|
|
43459
|
+
PAYMENT_TOS_ACTION = 63,
|
|
43460
|
+
PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64,
|
|
43461
|
+
BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65,
|
|
43462
|
+
DETECTED_OUTCOMES_STATUS_ACTION = 66,
|
|
43463
|
+
MAIBA_AI_FEATURES_CONTROL_ACTION = 68,
|
|
43464
|
+
BUSINESS_BROADCAST_LIST_ACTION = 69,
|
|
43465
|
+
MUSIC_USER_ID_ACTION = 70,
|
|
43466
|
+
STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71,
|
|
43467
|
+
AVATAR_UPDATED_ACTION = 72,
|
|
43468
|
+
GALAXY_FLOW_ACTION = 73,
|
|
43469
|
+
PRIVATE_PROCESSING_SETTING_ACTION = 74,
|
|
43470
|
+
NEWSLETTER_SAVED_INTERESTS_ACTION = 75,
|
|
43471
|
+
AI_THREAD_RENAME_ACTION = 76,
|
|
43472
|
+
INTERACTIVE_MESSAGE_ACTION = 77,
|
|
43473
|
+
SHARE_OWN_PN = 10001,
|
|
43474
|
+
BUSINESS_BROADCAST_ACTION = 10002
|
|
43475
|
+
}
|
|
43476
|
+
|
|
43389
43477
|
/** Properties of a NoiseCertificate. */
|
|
43390
43478
|
interface INoiseCertificate {
|
|
43391
43479
|
|
|
@@ -48695,6 +48783,9 @@ export namespace waproto {
|
|
|
48695
48783
|
|
|
48696
48784
|
/** SessionTransparencyMetadata hcaId */
|
|
48697
48785
|
hcaId?: (string|null);
|
|
48786
|
+
|
|
48787
|
+
/** SessionTransparencyMetadata sessionTransparencyType */
|
|
48788
|
+
sessionTransparencyType?: (waproto.SessionTransparencyType|null);
|
|
48698
48789
|
}
|
|
48699
48790
|
|
|
48700
48791
|
/** Represents a SessionTransparencyMetadata. */
|
|
@@ -48712,6 +48803,9 @@ export namespace waproto {
|
|
|
48712
48803
|
/** SessionTransparencyMetadata hcaId. */
|
|
48713
48804
|
public hcaId?: (string|null);
|
|
48714
48805
|
|
|
48806
|
+
/** SessionTransparencyMetadata sessionTransparencyType. */
|
|
48807
|
+
public sessionTransparencyType?: (waproto.SessionTransparencyType|null);
|
|
48808
|
+
|
|
48715
48809
|
/**
|
|
48716
48810
|
* Creates a new SessionTransparencyMetadata instance using the specified properties.
|
|
48717
48811
|
* @param [properties] Properties to set
|
|
@@ -48790,6 +48884,12 @@ export namespace waproto {
|
|
|
48790
48884
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
48791
48885
|
}
|
|
48792
48886
|
|
|
48887
|
+
/** SessionTransparencyType enum. */
|
|
48888
|
+
enum SessionTransparencyType {
|
|
48889
|
+
UNKNOWN_TYPE = 0,
|
|
48890
|
+
NY_AI_SAFETY_DISCLAIMER = 1
|
|
48891
|
+
}
|
|
48892
|
+
|
|
48793
48893
|
/** Properties of a SignalMessage. */
|
|
48794
48894
|
interface ISignalMessage {
|
|
48795
48895
|
|
|
@@ -50678,6 +50778,12 @@ export namespace waproto {
|
|
|
50678
50778
|
|
|
50679
50779
|
/** SyncActionValue newsletterSavedInterestsAction */
|
|
50680
50780
|
newsletterSavedInterestsAction?: (waproto.SyncActionValue.INewsletterSavedInterestsAction|null);
|
|
50781
|
+
|
|
50782
|
+
/** SyncActionValue aiThreadRenameAction */
|
|
50783
|
+
aiThreadRenameAction?: (waproto.SyncActionValue.IAiThreadRenameAction|null);
|
|
50784
|
+
|
|
50785
|
+
/** SyncActionValue interactiveMessageAction */
|
|
50786
|
+
interactiveMessageAction?: (waproto.SyncActionValue.IInteractiveMessageAction|null);
|
|
50681
50787
|
}
|
|
50682
50788
|
|
|
50683
50789
|
/** Represents a SyncActionValue. */
|
|
@@ -50890,6 +50996,12 @@ export namespace waproto {
|
|
|
50890
50996
|
/** SyncActionValue newsletterSavedInterestsAction. */
|
|
50891
50997
|
public newsletterSavedInterestsAction?: (waproto.SyncActionValue.INewsletterSavedInterestsAction|null);
|
|
50892
50998
|
|
|
50999
|
+
/** SyncActionValue aiThreadRenameAction. */
|
|
51000
|
+
public aiThreadRenameAction?: (waproto.SyncActionValue.IAiThreadRenameAction|null);
|
|
51001
|
+
|
|
51002
|
+
/** SyncActionValue interactiveMessageAction. */
|
|
51003
|
+
public interactiveMessageAction?: (waproto.SyncActionValue.IInteractiveMessageAction|null);
|
|
51004
|
+
|
|
50893
51005
|
/**
|
|
50894
51006
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
50895
51007
|
* @param [properties] Properties to set
|
|
@@ -51079,6 +51191,103 @@ export namespace waproto {
|
|
|
51079
51191
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
51080
51192
|
}
|
|
51081
51193
|
|
|
51194
|
+
/** Properties of an AiThreadRenameAction. */
|
|
51195
|
+
interface IAiThreadRenameAction {
|
|
51196
|
+
|
|
51197
|
+
/** AiThreadRenameAction newTitle */
|
|
51198
|
+
newTitle?: (string|null);
|
|
51199
|
+
}
|
|
51200
|
+
|
|
51201
|
+
/** Represents an AiThreadRenameAction. */
|
|
51202
|
+
class AiThreadRenameAction implements IAiThreadRenameAction {
|
|
51203
|
+
|
|
51204
|
+
/**
|
|
51205
|
+
* Constructs a new AiThreadRenameAction.
|
|
51206
|
+
* @param [properties] Properties to set
|
|
51207
|
+
*/
|
|
51208
|
+
constructor(properties?: waproto.SyncActionValue.IAiThreadRenameAction);
|
|
51209
|
+
|
|
51210
|
+
/** AiThreadRenameAction newTitle. */
|
|
51211
|
+
public newTitle?: (string|null);
|
|
51212
|
+
|
|
51213
|
+
/**
|
|
51214
|
+
* Creates a new AiThreadRenameAction instance using the specified properties.
|
|
51215
|
+
* @param [properties] Properties to set
|
|
51216
|
+
* @returns AiThreadRenameAction instance
|
|
51217
|
+
*/
|
|
51218
|
+
public static create(properties?: waproto.SyncActionValue.IAiThreadRenameAction): waproto.SyncActionValue.AiThreadRenameAction;
|
|
51219
|
+
|
|
51220
|
+
/**
|
|
51221
|
+
* Encodes the specified AiThreadRenameAction message. Does not implicitly {@link waproto.SyncActionValue.AiThreadRenameAction.verify|verify} messages.
|
|
51222
|
+
* @param message AiThreadRenameAction message or plain object to encode
|
|
51223
|
+
* @param [writer] Writer to encode to
|
|
51224
|
+
* @returns Writer
|
|
51225
|
+
*/
|
|
51226
|
+
public static encode(message: waproto.SyncActionValue.IAiThreadRenameAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
51227
|
+
|
|
51228
|
+
/**
|
|
51229
|
+
* Encodes the specified AiThreadRenameAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.AiThreadRenameAction.verify|verify} messages.
|
|
51230
|
+
* @param message AiThreadRenameAction message or plain object to encode
|
|
51231
|
+
* @param [writer] Writer to encode to
|
|
51232
|
+
* @returns Writer
|
|
51233
|
+
*/
|
|
51234
|
+
public static encodeDelimited(message: waproto.SyncActionValue.IAiThreadRenameAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
51235
|
+
|
|
51236
|
+
/**
|
|
51237
|
+
* Decodes an AiThreadRenameAction message from the specified reader or buffer.
|
|
51238
|
+
* @param reader Reader or buffer to decode from
|
|
51239
|
+
* @param [length] Message length if known beforehand
|
|
51240
|
+
* @returns AiThreadRenameAction
|
|
51241
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51242
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51243
|
+
*/
|
|
51244
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.AiThreadRenameAction;
|
|
51245
|
+
|
|
51246
|
+
/**
|
|
51247
|
+
* Decodes an AiThreadRenameAction message from the specified reader or buffer, length delimited.
|
|
51248
|
+
* @param reader Reader or buffer to decode from
|
|
51249
|
+
* @returns AiThreadRenameAction
|
|
51250
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51251
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51252
|
+
*/
|
|
51253
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.AiThreadRenameAction;
|
|
51254
|
+
|
|
51255
|
+
/**
|
|
51256
|
+
* Verifies an AiThreadRenameAction message.
|
|
51257
|
+
* @param message Plain object to verify
|
|
51258
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
51259
|
+
*/
|
|
51260
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
51261
|
+
|
|
51262
|
+
/**
|
|
51263
|
+
* Creates an AiThreadRenameAction message from a plain object. Also converts values to their respective internal types.
|
|
51264
|
+
* @param object Plain object
|
|
51265
|
+
* @returns AiThreadRenameAction
|
|
51266
|
+
*/
|
|
51267
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.AiThreadRenameAction;
|
|
51268
|
+
|
|
51269
|
+
/**
|
|
51270
|
+
* Creates a plain object from an AiThreadRenameAction message. Also converts values to other types if specified.
|
|
51271
|
+
* @param message AiThreadRenameAction
|
|
51272
|
+
* @param [options] Conversion options
|
|
51273
|
+
* @returns Plain object
|
|
51274
|
+
*/
|
|
51275
|
+
public static toObject(message: waproto.SyncActionValue.AiThreadRenameAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
51276
|
+
|
|
51277
|
+
/**
|
|
51278
|
+
* Converts this AiThreadRenameAction to JSON.
|
|
51279
|
+
* @returns JSON object
|
|
51280
|
+
*/
|
|
51281
|
+
public toJSON(): { [k: string]: any };
|
|
51282
|
+
|
|
51283
|
+
/**
|
|
51284
|
+
* Gets the default type url for AiThreadRenameAction
|
|
51285
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
51286
|
+
* @returns The default type url
|
|
51287
|
+
*/
|
|
51288
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
51289
|
+
}
|
|
51290
|
+
|
|
51082
51291
|
/** Properties of an AndroidUnsupportedActions. */
|
|
51083
51292
|
interface IAndroidUnsupportedActions {
|
|
51084
51293
|
|
|
@@ -53419,6 +53628,111 @@ export namespace waproto {
|
|
|
53419
53628
|
}
|
|
53420
53629
|
}
|
|
53421
53630
|
|
|
53631
|
+
/** Properties of an InteractiveMessageAction. */
|
|
53632
|
+
interface IInteractiveMessageAction {
|
|
53633
|
+
|
|
53634
|
+
/** InteractiveMessageAction type */
|
|
53635
|
+
type: waproto.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode;
|
|
53636
|
+
}
|
|
53637
|
+
|
|
53638
|
+
/** Represents an InteractiveMessageAction. */
|
|
53639
|
+
class InteractiveMessageAction implements IInteractiveMessageAction {
|
|
53640
|
+
|
|
53641
|
+
/**
|
|
53642
|
+
* Constructs a new InteractiveMessageAction.
|
|
53643
|
+
* @param [properties] Properties to set
|
|
53644
|
+
*/
|
|
53645
|
+
constructor(properties?: waproto.SyncActionValue.IInteractiveMessageAction);
|
|
53646
|
+
|
|
53647
|
+
/** InteractiveMessageAction type. */
|
|
53648
|
+
public type: waproto.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode;
|
|
53649
|
+
|
|
53650
|
+
/**
|
|
53651
|
+
* Creates a new InteractiveMessageAction instance using the specified properties.
|
|
53652
|
+
* @param [properties] Properties to set
|
|
53653
|
+
* @returns InteractiveMessageAction instance
|
|
53654
|
+
*/
|
|
53655
|
+
public static create(properties?: waproto.SyncActionValue.IInteractiveMessageAction): waproto.SyncActionValue.InteractiveMessageAction;
|
|
53656
|
+
|
|
53657
|
+
/**
|
|
53658
|
+
* Encodes the specified InteractiveMessageAction message. Does not implicitly {@link waproto.SyncActionValue.InteractiveMessageAction.verify|verify} messages.
|
|
53659
|
+
* @param message InteractiveMessageAction message or plain object to encode
|
|
53660
|
+
* @param [writer] Writer to encode to
|
|
53661
|
+
* @returns Writer
|
|
53662
|
+
*/
|
|
53663
|
+
public static encode(message: waproto.SyncActionValue.IInteractiveMessageAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
53664
|
+
|
|
53665
|
+
/**
|
|
53666
|
+
* Encodes the specified InteractiveMessageAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.InteractiveMessageAction.verify|verify} messages.
|
|
53667
|
+
* @param message InteractiveMessageAction message or plain object to encode
|
|
53668
|
+
* @param [writer] Writer to encode to
|
|
53669
|
+
* @returns Writer
|
|
53670
|
+
*/
|
|
53671
|
+
public static encodeDelimited(message: waproto.SyncActionValue.IInteractiveMessageAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
53672
|
+
|
|
53673
|
+
/**
|
|
53674
|
+
* Decodes an InteractiveMessageAction message from the specified reader or buffer.
|
|
53675
|
+
* @param reader Reader or buffer to decode from
|
|
53676
|
+
* @param [length] Message length if known beforehand
|
|
53677
|
+
* @returns InteractiveMessageAction
|
|
53678
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53679
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53680
|
+
*/
|
|
53681
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.InteractiveMessageAction;
|
|
53682
|
+
|
|
53683
|
+
/**
|
|
53684
|
+
* Decodes an InteractiveMessageAction message from the specified reader or buffer, length delimited.
|
|
53685
|
+
* @param reader Reader or buffer to decode from
|
|
53686
|
+
* @returns InteractiveMessageAction
|
|
53687
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53688
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53689
|
+
*/
|
|
53690
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.InteractiveMessageAction;
|
|
53691
|
+
|
|
53692
|
+
/**
|
|
53693
|
+
* Verifies an InteractiveMessageAction message.
|
|
53694
|
+
* @param message Plain object to verify
|
|
53695
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
53696
|
+
*/
|
|
53697
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
53698
|
+
|
|
53699
|
+
/**
|
|
53700
|
+
* Creates an InteractiveMessageAction message from a plain object. Also converts values to their respective internal types.
|
|
53701
|
+
* @param object Plain object
|
|
53702
|
+
* @returns InteractiveMessageAction
|
|
53703
|
+
*/
|
|
53704
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.InteractiveMessageAction;
|
|
53705
|
+
|
|
53706
|
+
/**
|
|
53707
|
+
* Creates a plain object from an InteractiveMessageAction message. Also converts values to other types if specified.
|
|
53708
|
+
* @param message InteractiveMessageAction
|
|
53709
|
+
* @param [options] Conversion options
|
|
53710
|
+
* @returns Plain object
|
|
53711
|
+
*/
|
|
53712
|
+
public static toObject(message: waproto.SyncActionValue.InteractiveMessageAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
53713
|
+
|
|
53714
|
+
/**
|
|
53715
|
+
* Converts this InteractiveMessageAction to JSON.
|
|
53716
|
+
* @returns JSON object
|
|
53717
|
+
*/
|
|
53718
|
+
public toJSON(): { [k: string]: any };
|
|
53719
|
+
|
|
53720
|
+
/**
|
|
53721
|
+
* Gets the default type url for InteractiveMessageAction
|
|
53722
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
53723
|
+
* @returns The default type url
|
|
53724
|
+
*/
|
|
53725
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
53726
|
+
}
|
|
53727
|
+
|
|
53728
|
+
namespace InteractiveMessageAction {
|
|
53729
|
+
|
|
53730
|
+
/** InteractiveMessageActionMode enum. */
|
|
53731
|
+
enum InteractiveMessageActionMode {
|
|
53732
|
+
DISABLE_CTA = 1
|
|
53733
|
+
}
|
|
53734
|
+
}
|
|
53735
|
+
|
|
53422
53736
|
/** Properties of a KeyExpiration. */
|
|
53423
53737
|
interface IKeyExpiration {
|
|
53424
53738
|
|
|
@@ -53770,7 +54084,8 @@ export namespace waproto {
|
|
|
53770
54084
|
CUSTOM = 5,
|
|
53771
54085
|
COMMUNITY = 6,
|
|
53772
54086
|
SERVER_ASSIGNED = 7,
|
|
53773
|
-
DRAFTED = 8
|
|
54087
|
+
DRAFTED = 8,
|
|
54088
|
+
AI_HANDOFF = 9
|
|
53774
54089
|
}
|
|
53775
54090
|
}
|
|
53776
54091
|
|