@wppconnect/wa-proto 2.3000.1027531521 → 2.3000.1027727608
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 +28 -3
- package/dist/index.d.ts +244 -3
- package/dist/index.js +695 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 2.3000.1027727608 (2025-09-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1027646615](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1027531521...v2.3000.1027646615) (2025-09-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1027531521](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1027419443...v2.3000.1027531521) (2025-09-24)
|
|
2
10
|
|
|
3
11
|
|
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.1027727608
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -296,6 +296,11 @@ message BizIdentityInfo {
|
|
|
296
296
|
message BotAgeCollectionMetadata {
|
|
297
297
|
optional bool ageCollectionEligible = 1;
|
|
298
298
|
optional bool shouldTriggerAgeCollectionOnClient = 2;
|
|
299
|
+
optional AgeCollectionType ageCollectionType = 3;
|
|
300
|
+
enum AgeCollectionType {
|
|
301
|
+
O18_BINARY = 0;
|
|
302
|
+
WAFFLE = 1;
|
|
303
|
+
}
|
|
299
304
|
}
|
|
300
305
|
|
|
301
306
|
message BotAvatarMetadata {
|
|
@@ -553,8 +558,10 @@ enum BotMetricsEntryPoint {
|
|
|
553
558
|
INVOKE_META_AI_GROUP = 30;
|
|
554
559
|
META_AI_FORWARD = 31;
|
|
555
560
|
NEW_CHAT_AI_CONTACT = 32;
|
|
556
|
-
|
|
557
|
-
|
|
561
|
+
MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33;
|
|
562
|
+
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
|
|
563
|
+
ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
|
|
564
|
+
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
558
565
|
}
|
|
559
566
|
message BotMetricsMetadata {
|
|
560
567
|
optional string destinationId = 1;
|
|
@@ -1439,6 +1446,7 @@ message DeviceCapabilities {
|
|
|
1439
1446
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1440
1447
|
optional LIDMigration lidMigration = 2;
|
|
1441
1448
|
optional BusinessBroadcast businessBroadcast = 3;
|
|
1449
|
+
optional UserHasAvatar userHasAvatar = 4;
|
|
1442
1450
|
message BusinessBroadcast {
|
|
1443
1451
|
optional bool importListEnabled = 1;
|
|
1444
1452
|
}
|
|
@@ -1452,6 +1460,10 @@ message DeviceCapabilities {
|
|
|
1452
1460
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1453
1461
|
}
|
|
1454
1462
|
|
|
1463
|
+
message UserHasAvatar {
|
|
1464
|
+
optional bool userHasAvatar = 1;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1455
1467
|
}
|
|
1456
1468
|
|
|
1457
1469
|
message DeviceConsistencyCodeMessage {
|
|
@@ -3723,6 +3735,8 @@ message PatchDebugData {
|
|
|
3723
3735
|
DARWIN = 6;
|
|
3724
3736
|
IPAD = 7;
|
|
3725
3737
|
WEAROS = 8;
|
|
3738
|
+
WASG = 9;
|
|
3739
|
+
WEARM = 10;
|
|
3726
3740
|
}
|
|
3727
3741
|
}
|
|
3728
3742
|
|
|
@@ -4250,6 +4264,7 @@ message SyncActionValue {
|
|
|
4250
4264
|
optional BusinessBroadcastListAction businessBroadcastListAction = 69;
|
|
4251
4265
|
optional MusicUserIdAction musicUserIdAction = 70;
|
|
4252
4266
|
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4267
|
+
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4253
4268
|
message AgentAction {
|
|
4254
4269
|
optional string name = 1;
|
|
4255
4270
|
optional int32 deviceID = 2;
|
|
@@ -4265,6 +4280,16 @@ message SyncActionValue {
|
|
|
4265
4280
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4266
4281
|
}
|
|
4267
4282
|
|
|
4283
|
+
message AvatarUpdatedAction {
|
|
4284
|
+
optional AvatarEventType eventType = 1;
|
|
4285
|
+
repeated SyncActionValue.StickerAction recentAvatarStickers = 2;
|
|
4286
|
+
enum AvatarEventType {
|
|
4287
|
+
UPDATED = 0;
|
|
4288
|
+
CREATED = 1;
|
|
4289
|
+
DELETED = 2;
|
|
4290
|
+
}
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4268
4293
|
message BotWelcomeRequestAction {
|
|
4269
4294
|
optional bool isSent = 1;
|
|
4270
4295
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -3948,6 +3948,9 @@ export namespace waproto {
|
|
|
3948
3948
|
|
|
3949
3949
|
/** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient */
|
|
3950
3950
|
shouldTriggerAgeCollectionOnClient?: (boolean|null);
|
|
3951
|
+
|
|
3952
|
+
/** BotAgeCollectionMetadata ageCollectionType */
|
|
3953
|
+
ageCollectionType?: (waproto.BotAgeCollectionMetadata.AgeCollectionType|null);
|
|
3951
3954
|
}
|
|
3952
3955
|
|
|
3953
3956
|
/** Represents a BotAgeCollectionMetadata. */
|
|
@@ -3965,6 +3968,9 @@ export namespace waproto {
|
|
|
3965
3968
|
/** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient. */
|
|
3966
3969
|
public shouldTriggerAgeCollectionOnClient?: (boolean|null);
|
|
3967
3970
|
|
|
3971
|
+
/** BotAgeCollectionMetadata ageCollectionType. */
|
|
3972
|
+
public ageCollectionType?: (waproto.BotAgeCollectionMetadata.AgeCollectionType|null);
|
|
3973
|
+
|
|
3968
3974
|
/**
|
|
3969
3975
|
* Creates a new BotAgeCollectionMetadata instance using the specified properties.
|
|
3970
3976
|
* @param [properties] Properties to set
|
|
@@ -4043,6 +4049,15 @@ export namespace waproto {
|
|
|
4043
4049
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4044
4050
|
}
|
|
4045
4051
|
|
|
4052
|
+
namespace BotAgeCollectionMetadata {
|
|
4053
|
+
|
|
4054
|
+
/** AgeCollectionType enum. */
|
|
4055
|
+
enum AgeCollectionType {
|
|
4056
|
+
O18_BINARY = 0,
|
|
4057
|
+
WAFFLE = 1
|
|
4058
|
+
}
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4046
4061
|
/** Properties of a BotAvatarMetadata. */
|
|
4047
4062
|
interface IBotAvatarMetadata {
|
|
4048
4063
|
|
|
@@ -6033,8 +6048,10 @@ export namespace waproto {
|
|
|
6033
6048
|
INVOKE_META_AI_GROUP = 30,
|
|
6034
6049
|
META_AI_FORWARD = 31,
|
|
6035
6050
|
NEW_CHAT_AI_CONTACT = 32,
|
|
6036
|
-
|
|
6037
|
-
|
|
6051
|
+
MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33,
|
|
6052
|
+
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34,
|
|
6053
|
+
ATTACHMENT_TRAY_1_ON_1_CHAT = 35,
|
|
6054
|
+
ATTACHMENT_TRAY_GROUP_CHAT = 36
|
|
6038
6055
|
}
|
|
6039
6056
|
|
|
6040
6057
|
/** Properties of a BotMetricsMetadata. */
|
|
@@ -14515,6 +14532,9 @@ export namespace waproto {
|
|
|
14515
14532
|
|
|
14516
14533
|
/** DeviceCapabilities businessBroadcast */
|
|
14517
14534
|
businessBroadcast?: (waproto.DeviceCapabilities.IBusinessBroadcast|null);
|
|
14535
|
+
|
|
14536
|
+
/** DeviceCapabilities userHasAvatar */
|
|
14537
|
+
userHasAvatar?: (waproto.DeviceCapabilities.IUserHasAvatar|null);
|
|
14518
14538
|
}
|
|
14519
14539
|
|
|
14520
14540
|
/** Represents a DeviceCapabilities. */
|
|
@@ -14535,6 +14555,9 @@ export namespace waproto {
|
|
|
14535
14555
|
/** DeviceCapabilities businessBroadcast. */
|
|
14536
14556
|
public businessBroadcast?: (waproto.DeviceCapabilities.IBusinessBroadcast|null);
|
|
14537
14557
|
|
|
14558
|
+
/** DeviceCapabilities userHasAvatar. */
|
|
14559
|
+
public userHasAvatar?: (waproto.DeviceCapabilities.IUserHasAvatar|null);
|
|
14560
|
+
|
|
14538
14561
|
/**
|
|
14539
14562
|
* Creates a new DeviceCapabilities instance using the specified properties.
|
|
14540
14563
|
* @param [properties] Properties to set
|
|
@@ -14815,6 +14838,103 @@ export namespace waproto {
|
|
|
14815
14838
|
*/
|
|
14816
14839
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14817
14840
|
}
|
|
14841
|
+
|
|
14842
|
+
/** Properties of a UserHasAvatar. */
|
|
14843
|
+
interface IUserHasAvatar {
|
|
14844
|
+
|
|
14845
|
+
/** UserHasAvatar userHasAvatar */
|
|
14846
|
+
userHasAvatar?: (boolean|null);
|
|
14847
|
+
}
|
|
14848
|
+
|
|
14849
|
+
/** Represents a UserHasAvatar. */
|
|
14850
|
+
class UserHasAvatar implements IUserHasAvatar {
|
|
14851
|
+
|
|
14852
|
+
/**
|
|
14853
|
+
* Constructs a new UserHasAvatar.
|
|
14854
|
+
* @param [properties] Properties to set
|
|
14855
|
+
*/
|
|
14856
|
+
constructor(properties?: waproto.DeviceCapabilities.IUserHasAvatar);
|
|
14857
|
+
|
|
14858
|
+
/** UserHasAvatar userHasAvatar. */
|
|
14859
|
+
public userHasAvatar?: (boolean|null);
|
|
14860
|
+
|
|
14861
|
+
/**
|
|
14862
|
+
* Creates a new UserHasAvatar instance using the specified properties.
|
|
14863
|
+
* @param [properties] Properties to set
|
|
14864
|
+
* @returns UserHasAvatar instance
|
|
14865
|
+
*/
|
|
14866
|
+
public static create(properties?: waproto.DeviceCapabilities.IUserHasAvatar): waproto.DeviceCapabilities.UserHasAvatar;
|
|
14867
|
+
|
|
14868
|
+
/**
|
|
14869
|
+
* Encodes the specified UserHasAvatar message. Does not implicitly {@link waproto.DeviceCapabilities.UserHasAvatar.verify|verify} messages.
|
|
14870
|
+
* @param message UserHasAvatar message or plain object to encode
|
|
14871
|
+
* @param [writer] Writer to encode to
|
|
14872
|
+
* @returns Writer
|
|
14873
|
+
*/
|
|
14874
|
+
public static encode(message: waproto.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14875
|
+
|
|
14876
|
+
/**
|
|
14877
|
+
* Encodes the specified UserHasAvatar message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.UserHasAvatar.verify|verify} messages.
|
|
14878
|
+
* @param message UserHasAvatar message or plain object to encode
|
|
14879
|
+
* @param [writer] Writer to encode to
|
|
14880
|
+
* @returns Writer
|
|
14881
|
+
*/
|
|
14882
|
+
public static encodeDelimited(message: waproto.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14883
|
+
|
|
14884
|
+
/**
|
|
14885
|
+
* Decodes a UserHasAvatar message from the specified reader or buffer.
|
|
14886
|
+
* @param reader Reader or buffer to decode from
|
|
14887
|
+
* @param [length] Message length if known beforehand
|
|
14888
|
+
* @returns UserHasAvatar
|
|
14889
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14890
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14891
|
+
*/
|
|
14892
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.UserHasAvatar;
|
|
14893
|
+
|
|
14894
|
+
/**
|
|
14895
|
+
* Decodes a UserHasAvatar message from the specified reader or buffer, length delimited.
|
|
14896
|
+
* @param reader Reader or buffer to decode from
|
|
14897
|
+
* @returns UserHasAvatar
|
|
14898
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14899
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14900
|
+
*/
|
|
14901
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.UserHasAvatar;
|
|
14902
|
+
|
|
14903
|
+
/**
|
|
14904
|
+
* Verifies a UserHasAvatar message.
|
|
14905
|
+
* @param message Plain object to verify
|
|
14906
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14907
|
+
*/
|
|
14908
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14909
|
+
|
|
14910
|
+
/**
|
|
14911
|
+
* Creates a UserHasAvatar message from a plain object. Also converts values to their respective internal types.
|
|
14912
|
+
* @param object Plain object
|
|
14913
|
+
* @returns UserHasAvatar
|
|
14914
|
+
*/
|
|
14915
|
+
public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.UserHasAvatar;
|
|
14916
|
+
|
|
14917
|
+
/**
|
|
14918
|
+
* Creates a plain object from a UserHasAvatar message. Also converts values to other types if specified.
|
|
14919
|
+
* @param message UserHasAvatar
|
|
14920
|
+
* @param [options] Conversion options
|
|
14921
|
+
* @returns Plain object
|
|
14922
|
+
*/
|
|
14923
|
+
public static toObject(message: waproto.DeviceCapabilities.UserHasAvatar, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14924
|
+
|
|
14925
|
+
/**
|
|
14926
|
+
* Converts this UserHasAvatar to JSON.
|
|
14927
|
+
* @returns JSON object
|
|
14928
|
+
*/
|
|
14929
|
+
public toJSON(): { [k: string]: any };
|
|
14930
|
+
|
|
14931
|
+
/**
|
|
14932
|
+
* Gets the default type url for UserHasAvatar
|
|
14933
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14934
|
+
* @returns The default type url
|
|
14935
|
+
*/
|
|
14936
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14937
|
+
}
|
|
14818
14938
|
}
|
|
14819
14939
|
|
|
14820
14940
|
/** Properties of a DeviceConsistencyCodeMessage. */
|
|
@@ -42270,7 +42390,9 @@ export namespace waproto {
|
|
|
42270
42390
|
UWP = 5,
|
|
42271
42391
|
DARWIN = 6,
|
|
42272
42392
|
IPAD = 7,
|
|
42273
|
-
WEAROS = 8
|
|
42393
|
+
WEAROS = 8,
|
|
42394
|
+
WASG = 9,
|
|
42395
|
+
WEARM = 10
|
|
42274
42396
|
}
|
|
42275
42397
|
}
|
|
42276
42398
|
|
|
@@ -48373,6 +48495,9 @@ export namespace waproto {
|
|
|
48373
48495
|
|
|
48374
48496
|
/** SyncActionValue statusPostOptInNotificationPreferencesAction */
|
|
48375
48497
|
statusPostOptInNotificationPreferencesAction?: (waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null);
|
|
48498
|
+
|
|
48499
|
+
/** SyncActionValue avatarUpdatedAction */
|
|
48500
|
+
avatarUpdatedAction?: (waproto.SyncActionValue.IAvatarUpdatedAction|null);
|
|
48376
48501
|
}
|
|
48377
48502
|
|
|
48378
48503
|
/** Represents a SyncActionValue. */
|
|
@@ -48576,6 +48701,9 @@ export namespace waproto {
|
|
|
48576
48701
|
/** SyncActionValue statusPostOptInNotificationPreferencesAction. */
|
|
48577
48702
|
public statusPostOptInNotificationPreferencesAction?: (waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null);
|
|
48578
48703
|
|
|
48704
|
+
/** SyncActionValue avatarUpdatedAction. */
|
|
48705
|
+
public avatarUpdatedAction?: (waproto.SyncActionValue.IAvatarUpdatedAction|null);
|
|
48706
|
+
|
|
48579
48707
|
/**
|
|
48580
48708
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
48581
48709
|
* @param [properties] Properties to set
|
|
@@ -48965,6 +49093,119 @@ export namespace waproto {
|
|
|
48965
49093
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
48966
49094
|
}
|
|
48967
49095
|
|
|
49096
|
+
/** Properties of an AvatarUpdatedAction. */
|
|
49097
|
+
interface IAvatarUpdatedAction {
|
|
49098
|
+
|
|
49099
|
+
/** AvatarUpdatedAction eventType */
|
|
49100
|
+
eventType?: (waproto.SyncActionValue.AvatarUpdatedAction.AvatarEventType|null);
|
|
49101
|
+
|
|
49102
|
+
/** AvatarUpdatedAction recentAvatarStickers */
|
|
49103
|
+
recentAvatarStickers?: (waproto.SyncActionValue.IStickerAction[]|null);
|
|
49104
|
+
}
|
|
49105
|
+
|
|
49106
|
+
/** Represents an AvatarUpdatedAction. */
|
|
49107
|
+
class AvatarUpdatedAction implements IAvatarUpdatedAction {
|
|
49108
|
+
|
|
49109
|
+
/**
|
|
49110
|
+
* Constructs a new AvatarUpdatedAction.
|
|
49111
|
+
* @param [properties] Properties to set
|
|
49112
|
+
*/
|
|
49113
|
+
constructor(properties?: waproto.SyncActionValue.IAvatarUpdatedAction);
|
|
49114
|
+
|
|
49115
|
+
/** AvatarUpdatedAction eventType. */
|
|
49116
|
+
public eventType?: (waproto.SyncActionValue.AvatarUpdatedAction.AvatarEventType|null);
|
|
49117
|
+
|
|
49118
|
+
/** AvatarUpdatedAction recentAvatarStickers. */
|
|
49119
|
+
public recentAvatarStickers: waproto.SyncActionValue.IStickerAction[];
|
|
49120
|
+
|
|
49121
|
+
/**
|
|
49122
|
+
* Creates a new AvatarUpdatedAction instance using the specified properties.
|
|
49123
|
+
* @param [properties] Properties to set
|
|
49124
|
+
* @returns AvatarUpdatedAction instance
|
|
49125
|
+
*/
|
|
49126
|
+
public static create(properties?: waproto.SyncActionValue.IAvatarUpdatedAction): waproto.SyncActionValue.AvatarUpdatedAction;
|
|
49127
|
+
|
|
49128
|
+
/**
|
|
49129
|
+
* Encodes the specified AvatarUpdatedAction message. Does not implicitly {@link waproto.SyncActionValue.AvatarUpdatedAction.verify|verify} messages.
|
|
49130
|
+
* @param message AvatarUpdatedAction message or plain object to encode
|
|
49131
|
+
* @param [writer] Writer to encode to
|
|
49132
|
+
* @returns Writer
|
|
49133
|
+
*/
|
|
49134
|
+
public static encode(message: waproto.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
49135
|
+
|
|
49136
|
+
/**
|
|
49137
|
+
* Encodes the specified AvatarUpdatedAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.AvatarUpdatedAction.verify|verify} messages.
|
|
49138
|
+
* @param message AvatarUpdatedAction message or plain object to encode
|
|
49139
|
+
* @param [writer] Writer to encode to
|
|
49140
|
+
* @returns Writer
|
|
49141
|
+
*/
|
|
49142
|
+
public static encodeDelimited(message: waproto.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
49143
|
+
|
|
49144
|
+
/**
|
|
49145
|
+
* Decodes an AvatarUpdatedAction message from the specified reader or buffer.
|
|
49146
|
+
* @param reader Reader or buffer to decode from
|
|
49147
|
+
* @param [length] Message length if known beforehand
|
|
49148
|
+
* @returns AvatarUpdatedAction
|
|
49149
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49150
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49151
|
+
*/
|
|
49152
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.AvatarUpdatedAction;
|
|
49153
|
+
|
|
49154
|
+
/**
|
|
49155
|
+
* Decodes an AvatarUpdatedAction message from the specified reader or buffer, length delimited.
|
|
49156
|
+
* @param reader Reader or buffer to decode from
|
|
49157
|
+
* @returns AvatarUpdatedAction
|
|
49158
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49159
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49160
|
+
*/
|
|
49161
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.AvatarUpdatedAction;
|
|
49162
|
+
|
|
49163
|
+
/**
|
|
49164
|
+
* Verifies an AvatarUpdatedAction message.
|
|
49165
|
+
* @param message Plain object to verify
|
|
49166
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
49167
|
+
*/
|
|
49168
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
49169
|
+
|
|
49170
|
+
/**
|
|
49171
|
+
* Creates an AvatarUpdatedAction message from a plain object. Also converts values to their respective internal types.
|
|
49172
|
+
* @param object Plain object
|
|
49173
|
+
* @returns AvatarUpdatedAction
|
|
49174
|
+
*/
|
|
49175
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.AvatarUpdatedAction;
|
|
49176
|
+
|
|
49177
|
+
/**
|
|
49178
|
+
* Creates a plain object from an AvatarUpdatedAction message. Also converts values to other types if specified.
|
|
49179
|
+
* @param message AvatarUpdatedAction
|
|
49180
|
+
* @param [options] Conversion options
|
|
49181
|
+
* @returns Plain object
|
|
49182
|
+
*/
|
|
49183
|
+
public static toObject(message: waproto.SyncActionValue.AvatarUpdatedAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
49184
|
+
|
|
49185
|
+
/**
|
|
49186
|
+
* Converts this AvatarUpdatedAction to JSON.
|
|
49187
|
+
* @returns JSON object
|
|
49188
|
+
*/
|
|
49189
|
+
public toJSON(): { [k: string]: any };
|
|
49190
|
+
|
|
49191
|
+
/**
|
|
49192
|
+
* Gets the default type url for AvatarUpdatedAction
|
|
49193
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
49194
|
+
* @returns The default type url
|
|
49195
|
+
*/
|
|
49196
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
49197
|
+
}
|
|
49198
|
+
|
|
49199
|
+
namespace AvatarUpdatedAction {
|
|
49200
|
+
|
|
49201
|
+
/** AvatarEventType enum. */
|
|
49202
|
+
enum AvatarEventType {
|
|
49203
|
+
UPDATED = 0,
|
|
49204
|
+
CREATED = 1,
|
|
49205
|
+
DELETED = 2
|
|
49206
|
+
}
|
|
49207
|
+
}
|
|
49208
|
+
|
|
48968
49209
|
/** Properties of a BotWelcomeRequestAction. */
|
|
48969
49210
|
interface IBotWelcomeRequestAction {
|
|
48970
49211
|
|