@wppconnect/wa-proto 2.3000.1028088934 → 2.3000.1028262443
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 +10 -13
- package/dist/index.d.ts +115 -123
- package/dist/index.js +358 -342
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3000.1028262443](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028178858...v2.3000.1028262443) (2025-10-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1028178858](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028088934...v2.3000.1028178858) (2025-10-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1028088934](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028056377...v2.3000.1028088934) (2025-10-07)
|
|
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.1028262443
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -1691,6 +1691,7 @@ message GroupHistoryBundleInfo {
|
|
|
1691
1691
|
|
|
1692
1692
|
message GroupHistoryIndividualMessageInfo {
|
|
1693
1693
|
optional MessageKey bundleMessageKey = 1;
|
|
1694
|
+
optional bool editedAfterReceivedAsHistory = 2;
|
|
1694
1695
|
}
|
|
1695
1696
|
|
|
1696
1697
|
message GroupMention {
|
|
@@ -2064,7 +2065,6 @@ message Message {
|
|
|
2064
2065
|
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
2065
2066
|
optional FutureProofMessage questionReplyMessage = 106;
|
|
2066
2067
|
optional QuestionResponseMessage questionResponseMessage = 107;
|
|
2067
|
-
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessage = 108;
|
|
2068
2068
|
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2069
2069
|
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2070
2070
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
@@ -2951,9 +2951,9 @@ message Message {
|
|
|
2951
2951
|
}
|
|
2952
2952
|
|
|
2953
2953
|
message GalaxyFlowAction {
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2954
|
+
optional GalaxyFlowActionType type = 1;
|
|
2955
|
+
optional string flowId = 2;
|
|
2956
|
+
optional string stanzaId = 3;
|
|
2957
2957
|
enum GalaxyFlowActionType {
|
|
2958
2958
|
NOTIFY_LAUNCH = 1;
|
|
2959
2959
|
}
|
|
@@ -4307,6 +4307,7 @@ message SyncActionValue {
|
|
|
4307
4307
|
optional ExternalWebBetaAction externalWebBetaAction = 40;
|
|
4308
4308
|
optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
|
|
4309
4309
|
optional CallLogAction callLogAction = 42;
|
|
4310
|
+
optional UGCBot ugcBot = 43;
|
|
4310
4311
|
optional StatusPrivacyAction statusPrivacy = 44;
|
|
4311
4312
|
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
|
|
4312
4313
|
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
|
|
@@ -4335,7 +4336,6 @@ message SyncActionValue {
|
|
|
4335
4336
|
optional MusicUserIdAction musicUserIdAction = 70;
|
|
4336
4337
|
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4337
4338
|
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4338
|
-
optional GalaxyFlowAction galaxyFlowAction = 73;
|
|
4339
4339
|
message AgentAction {
|
|
4340
4340
|
optional string name = 1;
|
|
4341
4341
|
optional int32 deviceID = 2;
|
|
@@ -4455,13 +4455,6 @@ message SyncActionValue {
|
|
|
4455
4455
|
|
|
4456
4456
|
}
|
|
4457
4457
|
|
|
4458
|
-
message GalaxyFlowAction {
|
|
4459
|
-
required GalaxyFlowActionType type = 1;
|
|
4460
|
-
enum GalaxyFlowActionType {
|
|
4461
|
-
LAUNCH = 1;
|
|
4462
|
-
}
|
|
4463
|
-
}
|
|
4464
|
-
|
|
4465
4458
|
message KeyExpiration {
|
|
4466
4459
|
optional int32 expiredKeyEpoch = 1;
|
|
4467
4460
|
}
|
|
@@ -4707,6 +4700,10 @@ message SyncActionValue {
|
|
|
4707
4700
|
optional bool isTwentyFourHourFormatEnabled = 1;
|
|
4708
4701
|
}
|
|
4709
4702
|
|
|
4703
|
+
message UGCBot {
|
|
4704
|
+
optional bytes definition = 1;
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4710
4707
|
message UnarchiveChatsSetting {
|
|
4711
4708
|
optional bool unarchiveChats = 1;
|
|
4712
4709
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -17498,6 +17498,9 @@ export namespace waproto {
|
|
|
17498
17498
|
|
|
17499
17499
|
/** GroupHistoryIndividualMessageInfo bundleMessageKey */
|
|
17500
17500
|
bundleMessageKey?: (waproto.IMessageKey|null);
|
|
17501
|
+
|
|
17502
|
+
/** GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory */
|
|
17503
|
+
editedAfterReceivedAsHistory?: (boolean|null);
|
|
17501
17504
|
}
|
|
17502
17505
|
|
|
17503
17506
|
/** Represents a GroupHistoryIndividualMessageInfo. */
|
|
@@ -17512,6 +17515,9 @@ export namespace waproto {
|
|
|
17512
17515
|
/** GroupHistoryIndividualMessageInfo bundleMessageKey. */
|
|
17513
17516
|
public bundleMessageKey?: (waproto.IMessageKey|null);
|
|
17514
17517
|
|
|
17518
|
+
/** GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory. */
|
|
17519
|
+
public editedAfterReceivedAsHistory?: (boolean|null);
|
|
17520
|
+
|
|
17515
17521
|
/**
|
|
17516
17522
|
* Creates a new GroupHistoryIndividualMessageInfo instance using the specified properties.
|
|
17517
17523
|
* @param [properties] Properties to set
|
|
@@ -21729,9 +21735,6 @@ export namespace waproto {
|
|
|
21729
21735
|
/** Message questionResponseMessage */
|
|
21730
21736
|
questionResponseMessage?: (waproto.Message.IQuestionResponseMessage|null);
|
|
21731
21737
|
|
|
21732
|
-
/** Message newsletterFollowerInviteMessage */
|
|
21733
|
-
newsletterFollowerInviteMessage?: (waproto.Message.INewsletterFollowerInviteMessage|null);
|
|
21734
|
-
|
|
21735
21738
|
/** Message statusQuotedMessage */
|
|
21736
21739
|
statusQuotedMessage?: (waproto.Message.IStatusQuotedMessage|null);
|
|
21737
21740
|
|
|
@@ -22030,9 +22033,6 @@ export namespace waproto {
|
|
|
22030
22033
|
/** Message questionResponseMessage. */
|
|
22031
22034
|
public questionResponseMessage?: (waproto.Message.IQuestionResponseMessage|null);
|
|
22032
22035
|
|
|
22033
|
-
/** Message newsletterFollowerInviteMessage. */
|
|
22034
|
-
public newsletterFollowerInviteMessage?: (waproto.Message.INewsletterFollowerInviteMessage|null);
|
|
22035
|
-
|
|
22036
22036
|
/** Message statusQuotedMessage. */
|
|
22037
22037
|
public statusQuotedMessage?: (waproto.Message.IStatusQuotedMessage|null);
|
|
22038
22038
|
|
|
@@ -33007,13 +33007,13 @@ export namespace waproto {
|
|
|
33007
33007
|
interface IGalaxyFlowAction {
|
|
33008
33008
|
|
|
33009
33009
|
/** GalaxyFlowAction type */
|
|
33010
|
-
type
|
|
33010
|
+
type?: (waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null);
|
|
33011
33011
|
|
|
33012
33012
|
/** GalaxyFlowAction flowId */
|
|
33013
|
-
flowId
|
|
33013
|
+
flowId?: (string|null);
|
|
33014
33014
|
|
|
33015
33015
|
/** GalaxyFlowAction stanzaId */
|
|
33016
|
-
stanzaId
|
|
33016
|
+
stanzaId?: (string|null);
|
|
33017
33017
|
}
|
|
33018
33018
|
|
|
33019
33019
|
/** Represents a GalaxyFlowAction. */
|
|
@@ -33026,13 +33026,13 @@ export namespace waproto {
|
|
|
33026
33026
|
constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction);
|
|
33027
33027
|
|
|
33028
33028
|
/** GalaxyFlowAction type. */
|
|
33029
|
-
public type
|
|
33029
|
+
public type?: (waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null);
|
|
33030
33030
|
|
|
33031
33031
|
/** GalaxyFlowAction flowId. */
|
|
33032
|
-
public flowId
|
|
33032
|
+
public flowId?: (string|null);
|
|
33033
33033
|
|
|
33034
33034
|
/** GalaxyFlowAction stanzaId. */
|
|
33035
|
-
public stanzaId
|
|
33035
|
+
public stanzaId?: (string|null);
|
|
33036
33036
|
|
|
33037
33037
|
/**
|
|
33038
33038
|
* Creates a new GalaxyFlowAction instance using the specified properties.
|
|
@@ -49189,6 +49189,9 @@ export namespace waproto {
|
|
|
49189
49189
|
/** SyncActionValue callLogAction */
|
|
49190
49190
|
callLogAction?: (waproto.SyncActionValue.ICallLogAction|null);
|
|
49191
49191
|
|
|
49192
|
+
/** SyncActionValue ugcBot */
|
|
49193
|
+
ugcBot?: (waproto.SyncActionValue.IUGCBot|null);
|
|
49194
|
+
|
|
49192
49195
|
/** SyncActionValue statusPrivacy */
|
|
49193
49196
|
statusPrivacy?: (waproto.SyncActionValue.IStatusPrivacyAction|null);
|
|
49194
49197
|
|
|
@@ -49272,9 +49275,6 @@ export namespace waproto {
|
|
|
49272
49275
|
|
|
49273
49276
|
/** SyncActionValue avatarUpdatedAction */
|
|
49274
49277
|
avatarUpdatedAction?: (waproto.SyncActionValue.IAvatarUpdatedAction|null);
|
|
49275
|
-
|
|
49276
|
-
/** SyncActionValue galaxyFlowAction */
|
|
49277
|
-
galaxyFlowAction?: (waproto.SyncActionValue.IGalaxyFlowAction|null);
|
|
49278
49278
|
}
|
|
49279
49279
|
|
|
49280
49280
|
/** Represents a SyncActionValue. */
|
|
@@ -49397,6 +49397,9 @@ export namespace waproto {
|
|
|
49397
49397
|
/** SyncActionValue callLogAction. */
|
|
49398
49398
|
public callLogAction?: (waproto.SyncActionValue.ICallLogAction|null);
|
|
49399
49399
|
|
|
49400
|
+
/** SyncActionValue ugcBot. */
|
|
49401
|
+
public ugcBot?: (waproto.SyncActionValue.IUGCBot|null);
|
|
49402
|
+
|
|
49400
49403
|
/** SyncActionValue statusPrivacy. */
|
|
49401
49404
|
public statusPrivacy?: (waproto.SyncActionValue.IStatusPrivacyAction|null);
|
|
49402
49405
|
|
|
@@ -49481,9 +49484,6 @@ export namespace waproto {
|
|
|
49481
49484
|
/** SyncActionValue avatarUpdatedAction. */
|
|
49482
49485
|
public avatarUpdatedAction?: (waproto.SyncActionValue.IAvatarUpdatedAction|null);
|
|
49483
49486
|
|
|
49484
|
-
/** SyncActionValue galaxyFlowAction. */
|
|
49485
|
-
public galaxyFlowAction?: (waproto.SyncActionValue.IGalaxyFlowAction|null);
|
|
49486
|
-
|
|
49487
49487
|
/**
|
|
49488
49488
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
49489
49489
|
* @param [properties] Properties to set
|
|
@@ -52013,111 +52013,6 @@ export namespace waproto {
|
|
|
52013
52013
|
}
|
|
52014
52014
|
}
|
|
52015
52015
|
|
|
52016
|
-
/** Properties of a GalaxyFlowAction. */
|
|
52017
|
-
interface IGalaxyFlowAction {
|
|
52018
|
-
|
|
52019
|
-
/** GalaxyFlowAction type */
|
|
52020
|
-
type: waproto.SyncActionValue.GalaxyFlowAction.GalaxyFlowActionType;
|
|
52021
|
-
}
|
|
52022
|
-
|
|
52023
|
-
/** Represents a GalaxyFlowAction. */
|
|
52024
|
-
class GalaxyFlowAction implements IGalaxyFlowAction {
|
|
52025
|
-
|
|
52026
|
-
/**
|
|
52027
|
-
* Constructs a new GalaxyFlowAction.
|
|
52028
|
-
* @param [properties] Properties to set
|
|
52029
|
-
*/
|
|
52030
|
-
constructor(properties?: waproto.SyncActionValue.IGalaxyFlowAction);
|
|
52031
|
-
|
|
52032
|
-
/** GalaxyFlowAction type. */
|
|
52033
|
-
public type: waproto.SyncActionValue.GalaxyFlowAction.GalaxyFlowActionType;
|
|
52034
|
-
|
|
52035
|
-
/**
|
|
52036
|
-
* Creates a new GalaxyFlowAction instance using the specified properties.
|
|
52037
|
-
* @param [properties] Properties to set
|
|
52038
|
-
* @returns GalaxyFlowAction instance
|
|
52039
|
-
*/
|
|
52040
|
-
public static create(properties?: waproto.SyncActionValue.IGalaxyFlowAction): waproto.SyncActionValue.GalaxyFlowAction;
|
|
52041
|
-
|
|
52042
|
-
/**
|
|
52043
|
-
* Encodes the specified GalaxyFlowAction message. Does not implicitly {@link waproto.SyncActionValue.GalaxyFlowAction.verify|verify} messages.
|
|
52044
|
-
* @param message GalaxyFlowAction message or plain object to encode
|
|
52045
|
-
* @param [writer] Writer to encode to
|
|
52046
|
-
* @returns Writer
|
|
52047
|
-
*/
|
|
52048
|
-
public static encode(message: waproto.SyncActionValue.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
52049
|
-
|
|
52050
|
-
/**
|
|
52051
|
-
* Encodes the specified GalaxyFlowAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.GalaxyFlowAction.verify|verify} messages.
|
|
52052
|
-
* @param message GalaxyFlowAction message or plain object to encode
|
|
52053
|
-
* @param [writer] Writer to encode to
|
|
52054
|
-
* @returns Writer
|
|
52055
|
-
*/
|
|
52056
|
-
public static encodeDelimited(message: waproto.SyncActionValue.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
52057
|
-
|
|
52058
|
-
/**
|
|
52059
|
-
* Decodes a GalaxyFlowAction message from the specified reader or buffer.
|
|
52060
|
-
* @param reader Reader or buffer to decode from
|
|
52061
|
-
* @param [length] Message length if known beforehand
|
|
52062
|
-
* @returns GalaxyFlowAction
|
|
52063
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
52064
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
52065
|
-
*/
|
|
52066
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.GalaxyFlowAction;
|
|
52067
|
-
|
|
52068
|
-
/**
|
|
52069
|
-
* Decodes a GalaxyFlowAction message from the specified reader or buffer, length delimited.
|
|
52070
|
-
* @param reader Reader or buffer to decode from
|
|
52071
|
-
* @returns GalaxyFlowAction
|
|
52072
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
52073
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
52074
|
-
*/
|
|
52075
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.GalaxyFlowAction;
|
|
52076
|
-
|
|
52077
|
-
/**
|
|
52078
|
-
* Verifies a GalaxyFlowAction message.
|
|
52079
|
-
* @param message Plain object to verify
|
|
52080
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
52081
|
-
*/
|
|
52082
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
52083
|
-
|
|
52084
|
-
/**
|
|
52085
|
-
* Creates a GalaxyFlowAction message from a plain object. Also converts values to their respective internal types.
|
|
52086
|
-
* @param object Plain object
|
|
52087
|
-
* @returns GalaxyFlowAction
|
|
52088
|
-
*/
|
|
52089
|
-
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.GalaxyFlowAction;
|
|
52090
|
-
|
|
52091
|
-
/**
|
|
52092
|
-
* Creates a plain object from a GalaxyFlowAction message. Also converts values to other types if specified.
|
|
52093
|
-
* @param message GalaxyFlowAction
|
|
52094
|
-
* @param [options] Conversion options
|
|
52095
|
-
* @returns Plain object
|
|
52096
|
-
*/
|
|
52097
|
-
public static toObject(message: waproto.SyncActionValue.GalaxyFlowAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
52098
|
-
|
|
52099
|
-
/**
|
|
52100
|
-
* Converts this GalaxyFlowAction to JSON.
|
|
52101
|
-
* @returns JSON object
|
|
52102
|
-
*/
|
|
52103
|
-
public toJSON(): { [k: string]: any };
|
|
52104
|
-
|
|
52105
|
-
/**
|
|
52106
|
-
* Gets the default type url for GalaxyFlowAction
|
|
52107
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
52108
|
-
* @returns The default type url
|
|
52109
|
-
*/
|
|
52110
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
52111
|
-
}
|
|
52112
|
-
|
|
52113
|
-
namespace GalaxyFlowAction {
|
|
52114
|
-
|
|
52115
|
-
/** GalaxyFlowActionType enum. */
|
|
52116
|
-
enum GalaxyFlowActionType {
|
|
52117
|
-
LAUNCH = 1
|
|
52118
|
-
}
|
|
52119
|
-
}
|
|
52120
|
-
|
|
52121
52016
|
/** Properties of a KeyExpiration. */
|
|
52122
52017
|
interface IKeyExpiration {
|
|
52123
52018
|
|
|
@@ -56275,6 +56170,103 @@ export namespace waproto {
|
|
|
56275
56170
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
56276
56171
|
}
|
|
56277
56172
|
|
|
56173
|
+
/** Properties of a UGCBot. */
|
|
56174
|
+
interface IUGCBot {
|
|
56175
|
+
|
|
56176
|
+
/** UGCBot definition */
|
|
56177
|
+
definition?: (Uint8Array|null);
|
|
56178
|
+
}
|
|
56179
|
+
|
|
56180
|
+
/** Represents a UGCBot. */
|
|
56181
|
+
class UGCBot implements IUGCBot {
|
|
56182
|
+
|
|
56183
|
+
/**
|
|
56184
|
+
* Constructs a new UGCBot.
|
|
56185
|
+
* @param [properties] Properties to set
|
|
56186
|
+
*/
|
|
56187
|
+
constructor(properties?: waproto.SyncActionValue.IUGCBot);
|
|
56188
|
+
|
|
56189
|
+
/** UGCBot definition. */
|
|
56190
|
+
public definition?: (Uint8Array|null);
|
|
56191
|
+
|
|
56192
|
+
/**
|
|
56193
|
+
* Creates a new UGCBot instance using the specified properties.
|
|
56194
|
+
* @param [properties] Properties to set
|
|
56195
|
+
* @returns UGCBot instance
|
|
56196
|
+
*/
|
|
56197
|
+
public static create(properties?: waproto.SyncActionValue.IUGCBot): waproto.SyncActionValue.UGCBot;
|
|
56198
|
+
|
|
56199
|
+
/**
|
|
56200
|
+
* Encodes the specified UGCBot message. Does not implicitly {@link waproto.SyncActionValue.UGCBot.verify|verify} messages.
|
|
56201
|
+
* @param message UGCBot message or plain object to encode
|
|
56202
|
+
* @param [writer] Writer to encode to
|
|
56203
|
+
* @returns Writer
|
|
56204
|
+
*/
|
|
56205
|
+
public static encode(message: waproto.SyncActionValue.IUGCBot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
56206
|
+
|
|
56207
|
+
/**
|
|
56208
|
+
* Encodes the specified UGCBot message, length delimited. Does not implicitly {@link waproto.SyncActionValue.UGCBot.verify|verify} messages.
|
|
56209
|
+
* @param message UGCBot message or plain object to encode
|
|
56210
|
+
* @param [writer] Writer to encode to
|
|
56211
|
+
* @returns Writer
|
|
56212
|
+
*/
|
|
56213
|
+
public static encodeDelimited(message: waproto.SyncActionValue.IUGCBot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
56214
|
+
|
|
56215
|
+
/**
|
|
56216
|
+
* Decodes a UGCBot message from the specified reader or buffer.
|
|
56217
|
+
* @param reader Reader or buffer to decode from
|
|
56218
|
+
* @param [length] Message length if known beforehand
|
|
56219
|
+
* @returns UGCBot
|
|
56220
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56221
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56222
|
+
*/
|
|
56223
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.UGCBot;
|
|
56224
|
+
|
|
56225
|
+
/**
|
|
56226
|
+
* Decodes a UGCBot message from the specified reader or buffer, length delimited.
|
|
56227
|
+
* @param reader Reader or buffer to decode from
|
|
56228
|
+
* @returns UGCBot
|
|
56229
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56230
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56231
|
+
*/
|
|
56232
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.UGCBot;
|
|
56233
|
+
|
|
56234
|
+
/**
|
|
56235
|
+
* Verifies a UGCBot message.
|
|
56236
|
+
* @param message Plain object to verify
|
|
56237
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
56238
|
+
*/
|
|
56239
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
56240
|
+
|
|
56241
|
+
/**
|
|
56242
|
+
* Creates a UGCBot message from a plain object. Also converts values to their respective internal types.
|
|
56243
|
+
* @param object Plain object
|
|
56244
|
+
* @returns UGCBot
|
|
56245
|
+
*/
|
|
56246
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.UGCBot;
|
|
56247
|
+
|
|
56248
|
+
/**
|
|
56249
|
+
* Creates a plain object from a UGCBot message. Also converts values to other types if specified.
|
|
56250
|
+
* @param message UGCBot
|
|
56251
|
+
* @param [options] Conversion options
|
|
56252
|
+
* @returns Plain object
|
|
56253
|
+
*/
|
|
56254
|
+
public static toObject(message: waproto.SyncActionValue.UGCBot, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
56255
|
+
|
|
56256
|
+
/**
|
|
56257
|
+
* Converts this UGCBot to JSON.
|
|
56258
|
+
* @returns JSON object
|
|
56259
|
+
*/
|
|
56260
|
+
public toJSON(): { [k: string]: any };
|
|
56261
|
+
|
|
56262
|
+
/**
|
|
56263
|
+
* Gets the default type url for UGCBot
|
|
56264
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
56265
|
+
* @returns The default type url
|
|
56266
|
+
*/
|
|
56267
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
56268
|
+
}
|
|
56269
|
+
|
|
56278
56270
|
/** Properties of an UnarchiveChatsSetting. */
|
|
56279
56271
|
interface IUnarchiveChatsSetting {
|
|
56280
56272
|
|