@wppconnect/wa-proto 2.3000.1051853749 → 2.3000.1051908825
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/WAProto.proto +22 -1
- package/dist/index.d.ts +297 -1
- package/dist/index.js +927 -1
- package/package.json +1 -1
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.1051908825
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -505,6 +505,7 @@ message BotCapabilityMetadata {
|
|
|
505
505
|
AI_STUDY_CENTER_ENABLED = 80;
|
|
506
506
|
AI_MUSE_JARVIS_SCHEMA_ENABLED = 81;
|
|
507
507
|
AI_STUDY_QUIZ_ENABLED = 82;
|
|
508
|
+
HATCH_CVM_ENABLED = 83;
|
|
508
509
|
}
|
|
509
510
|
}
|
|
510
511
|
|
|
@@ -652,6 +653,11 @@ message BotInfrastructureDiagnostics {
|
|
|
652
653
|
}
|
|
653
654
|
}
|
|
654
655
|
|
|
656
|
+
message BotInterjectionMetadata {
|
|
657
|
+
optional string targetPromptMessageId = 1;
|
|
658
|
+
repeated string foldedPromptMessageIds = 2;
|
|
659
|
+
}
|
|
660
|
+
|
|
655
661
|
message BotLinkedAccount {
|
|
656
662
|
optional BotLinkedAccountType type = 1;
|
|
657
663
|
enum BotLinkedAccountType {
|
|
@@ -757,6 +763,7 @@ message BotMetadata {
|
|
|
757
763
|
optional BotPttPromptMetadata pttPromptMetadata = 42;
|
|
758
764
|
optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
|
|
759
765
|
optional bool responseStoppedByUser = 44;
|
|
766
|
+
optional BotInterjectionMetadata interjectionMetadata = 45;
|
|
760
767
|
optional bytes internalMetadata = 999;
|
|
761
768
|
}
|
|
762
769
|
|
|
@@ -1580,6 +1587,7 @@ message ContextInfo {
|
|
|
1580
1587
|
repeated uint32 experienceIds = 82 [packed=true];
|
|
1581
1588
|
optional string partnerDeepLinkToken = 83;
|
|
1582
1589
|
optional uint32 sourceExperienceId = 84;
|
|
1590
|
+
repeated uint32 sourceExperienceIds = 85 [packed=true];
|
|
1583
1591
|
message AdReplyInfo {
|
|
1584
1592
|
optional string advertiserName = 1;
|
|
1585
1593
|
optional MediaType mediaType = 2;
|
|
@@ -3673,6 +3681,14 @@ message Message {
|
|
|
3673
3681
|
optional int64 startTimeInMs = 1;
|
|
3674
3682
|
optional int64 endTimeInMs = 2;
|
|
3675
3683
|
optional string text = 3;
|
|
3684
|
+
repeated WordOffset wordOffsets = 4;
|
|
3685
|
+
message WordOffset {
|
|
3686
|
+
optional int32 startIndex = 1;
|
|
3687
|
+
optional int32 endIndex = 2;
|
|
3688
|
+
optional int64 startOffsetMs = 3;
|
|
3689
|
+
optional int64 endOffsetMs = 4;
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3676
3692
|
}
|
|
3677
3693
|
|
|
3678
3694
|
}
|
|
@@ -3861,6 +3877,11 @@ message Message {
|
|
|
3861
3877
|
optional int64 oldestMsgTimestampMs = 5;
|
|
3862
3878
|
optional string accountLid = 6;
|
|
3863
3879
|
optional bool supportInlineResponse = 7;
|
|
3880
|
+
optional Mode mode = 8;
|
|
3881
|
+
enum Mode {
|
|
3882
|
+
MODE_UNSPECIFIED = 0;
|
|
3883
|
+
INITIAL_REVERSE_HISTORY = 1;
|
|
3884
|
+
}
|
|
3864
3885
|
}
|
|
3865
3886
|
|
|
3866
3887
|
message PlaceholderMessageResendRequest {
|
package/dist/index.d.ts
CHANGED
|
@@ -7329,7 +7329,10 @@ export namespace waproto {
|
|
|
7329
7329
|
AI_MUSE_JARVIS_SCHEMA_ENABLED = 81,
|
|
7330
7330
|
|
|
7331
7331
|
/** AI_STUDY_QUIZ_ENABLED value */
|
|
7332
|
-
AI_STUDY_QUIZ_ENABLED = 82
|
|
7332
|
+
AI_STUDY_QUIZ_ENABLED = 82,
|
|
7333
|
+
|
|
7334
|
+
/** HATCH_CVM_ENABLED value */
|
|
7335
|
+
HATCH_CVM_ENABLED = 83
|
|
7333
7336
|
}
|
|
7334
7337
|
}
|
|
7335
7338
|
|
|
@@ -9521,6 +9524,129 @@ export namespace waproto {
|
|
|
9521
9524
|
}
|
|
9522
9525
|
}
|
|
9523
9526
|
|
|
9527
|
+
/**
|
|
9528
|
+
* Properties of a BotInterjectionMetadata.
|
|
9529
|
+
* @deprecated Use waproto.BotInterjectionMetadata.$Properties instead.
|
|
9530
|
+
*/
|
|
9531
|
+
interface IBotInterjectionMetadata extends waproto.BotInterjectionMetadata.$Properties {
|
|
9532
|
+
}
|
|
9533
|
+
|
|
9534
|
+
/** Represents a BotInterjectionMetadata. */
|
|
9535
|
+
class BotInterjectionMetadata {
|
|
9536
|
+
|
|
9537
|
+
/**
|
|
9538
|
+
* Constructs a new BotInterjectionMetadata.
|
|
9539
|
+
* @param [properties] Properties to set
|
|
9540
|
+
*/
|
|
9541
|
+
constructor(properties?: waproto.BotInterjectionMetadata.$Properties);
|
|
9542
|
+
|
|
9543
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
9544
|
+
$unknowns?: Uint8Array[];
|
|
9545
|
+
|
|
9546
|
+
/** BotInterjectionMetadata targetPromptMessageId. */
|
|
9547
|
+
targetPromptMessageId?: (string|null);
|
|
9548
|
+
|
|
9549
|
+
/** BotInterjectionMetadata foldedPromptMessageIds. */
|
|
9550
|
+
foldedPromptMessageIds: string[];
|
|
9551
|
+
|
|
9552
|
+
/**
|
|
9553
|
+
* Creates a new BotInterjectionMetadata instance using the specified properties.
|
|
9554
|
+
* @param [properties] Properties to set
|
|
9555
|
+
* @returns BotInterjectionMetadata instance
|
|
9556
|
+
*/
|
|
9557
|
+
static create(properties: waproto.BotInterjectionMetadata.$Shape): waproto.BotInterjectionMetadata & waproto.BotInterjectionMetadata.$Shape;
|
|
9558
|
+
static create(properties?: waproto.BotInterjectionMetadata.$Properties): waproto.BotInterjectionMetadata;
|
|
9559
|
+
|
|
9560
|
+
/**
|
|
9561
|
+
* Encodes the specified BotInterjectionMetadata message. Does not implicitly {@link waproto.BotInterjectionMetadata.verify|verify} messages.
|
|
9562
|
+
* @param message BotInterjectionMetadata message or plain object to encode
|
|
9563
|
+
* @param [writer] Writer to encode to
|
|
9564
|
+
* @returns Writer
|
|
9565
|
+
*/
|
|
9566
|
+
static encode(message: waproto.BotInterjectionMetadata.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9567
|
+
|
|
9568
|
+
/**
|
|
9569
|
+
* Encodes the specified BotInterjectionMetadata message, length delimited. Does not implicitly {@link waproto.BotInterjectionMetadata.verify|verify} messages.
|
|
9570
|
+
* @param message BotInterjectionMetadata message or plain object to encode
|
|
9571
|
+
* @param [writer] Writer to encode to
|
|
9572
|
+
* @returns Writer
|
|
9573
|
+
*/
|
|
9574
|
+
static encodeDelimited(message: waproto.BotInterjectionMetadata.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9575
|
+
|
|
9576
|
+
/**
|
|
9577
|
+
* Decodes a BotInterjectionMetadata message from the specified reader or buffer.
|
|
9578
|
+
* @param reader Reader or buffer to decode from
|
|
9579
|
+
* @param [length] Message length if known beforehand
|
|
9580
|
+
* @returns {waproto.BotInterjectionMetadata & waproto.BotInterjectionMetadata.$Shape} BotInterjectionMetadata
|
|
9581
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9582
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9583
|
+
*/
|
|
9584
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotInterjectionMetadata & waproto.BotInterjectionMetadata.$Shape;
|
|
9585
|
+
|
|
9586
|
+
/**
|
|
9587
|
+
* Decodes a BotInterjectionMetadata message from the specified reader or buffer, length delimited.
|
|
9588
|
+
* @param reader Reader or buffer to decode from
|
|
9589
|
+
* @returns {waproto.BotInterjectionMetadata & waproto.BotInterjectionMetadata.$Shape} BotInterjectionMetadata
|
|
9590
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9591
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9592
|
+
*/
|
|
9593
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotInterjectionMetadata & waproto.BotInterjectionMetadata.$Shape;
|
|
9594
|
+
|
|
9595
|
+
/**
|
|
9596
|
+
* Verifies a BotInterjectionMetadata message.
|
|
9597
|
+
* @param message Plain object to verify
|
|
9598
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9599
|
+
*/
|
|
9600
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
9601
|
+
|
|
9602
|
+
/**
|
|
9603
|
+
* Creates a BotInterjectionMetadata message from a plain object. Also converts values to their respective internal types.
|
|
9604
|
+
* @param object Plain object
|
|
9605
|
+
* @returns BotInterjectionMetadata
|
|
9606
|
+
*/
|
|
9607
|
+
static fromObject(object: { [k: string]: any }): waproto.BotInterjectionMetadata;
|
|
9608
|
+
|
|
9609
|
+
/**
|
|
9610
|
+
* Creates a plain object from a BotInterjectionMetadata message. Also converts values to other types if specified.
|
|
9611
|
+
* @param message BotInterjectionMetadata
|
|
9612
|
+
* @param [options] Conversion options
|
|
9613
|
+
* @returns Plain object
|
|
9614
|
+
*/
|
|
9615
|
+
static toObject(message: waproto.BotInterjectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9616
|
+
|
|
9617
|
+
/**
|
|
9618
|
+
* Converts this BotInterjectionMetadata to JSON.
|
|
9619
|
+
* @returns JSON object
|
|
9620
|
+
*/
|
|
9621
|
+
toJSON(): { [k: string]: any };
|
|
9622
|
+
|
|
9623
|
+
/**
|
|
9624
|
+
* Gets the type url for BotInterjectionMetadata
|
|
9625
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
9626
|
+
* @returns The type url
|
|
9627
|
+
*/
|
|
9628
|
+
static getTypeUrl(prefix?: string): string;
|
|
9629
|
+
}
|
|
9630
|
+
|
|
9631
|
+
namespace BotInterjectionMetadata {
|
|
9632
|
+
|
|
9633
|
+
/** Properties of a BotInterjectionMetadata. */
|
|
9634
|
+
interface $Properties {
|
|
9635
|
+
|
|
9636
|
+
/** BotInterjectionMetadata targetPromptMessageId */
|
|
9637
|
+
targetPromptMessageId?: (string|null);
|
|
9638
|
+
|
|
9639
|
+
/** BotInterjectionMetadata foldedPromptMessageIds */
|
|
9640
|
+
foldedPromptMessageIds?: (string[]|null);
|
|
9641
|
+
|
|
9642
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
9643
|
+
$unknowns?: Uint8Array[];
|
|
9644
|
+
}
|
|
9645
|
+
|
|
9646
|
+
/** Shape of a BotInterjectionMetadata. */
|
|
9647
|
+
type $Shape = waproto.BotInterjectionMetadata.$Properties;
|
|
9648
|
+
}
|
|
9649
|
+
|
|
9524
9650
|
/**
|
|
9525
9651
|
* Properties of a BotLinkedAccount.
|
|
9526
9652
|
* @deprecated Use waproto.BotLinkedAccount.$Properties instead.
|
|
@@ -10830,6 +10956,9 @@ export namespace waproto {
|
|
|
10830
10956
|
/** BotMetadata responseStoppedByUser. */
|
|
10831
10957
|
responseStoppedByUser?: (boolean|null);
|
|
10832
10958
|
|
|
10959
|
+
/** BotMetadata interjectionMetadata. */
|
|
10960
|
+
interjectionMetadata?: (waproto.BotInterjectionMetadata.$Properties|null);
|
|
10961
|
+
|
|
10833
10962
|
/** BotMetadata internalMetadata. */
|
|
10834
10963
|
internalMetadata?: (Uint8Array|null);
|
|
10835
10964
|
|
|
@@ -11046,6 +11175,9 @@ export namespace waproto {
|
|
|
11046
11175
|
/** BotMetadata responseStoppedByUser */
|
|
11047
11176
|
responseStoppedByUser?: (boolean|null);
|
|
11048
11177
|
|
|
11178
|
+
/** BotMetadata interjectionMetadata */
|
|
11179
|
+
interjectionMetadata?: (waproto.BotInterjectionMetadata.$Properties|null);
|
|
11180
|
+
|
|
11049
11181
|
/** BotMetadata internalMetadata */
|
|
11050
11182
|
internalMetadata?: (Uint8Array|null);
|
|
11051
11183
|
|
|
@@ -20270,6 +20402,9 @@ export namespace waproto {
|
|
|
20270
20402
|
/** ContextInfo sourceExperienceId. */
|
|
20271
20403
|
sourceExperienceId?: (number|null);
|
|
20272
20404
|
|
|
20405
|
+
/** ContextInfo sourceExperienceIds. */
|
|
20406
|
+
sourceExperienceIds: number[];
|
|
20407
|
+
|
|
20273
20408
|
/**
|
|
20274
20409
|
* Creates a new ContextInfo instance using the specified properties.
|
|
20275
20410
|
* @param [properties] Properties to set
|
|
@@ -20555,6 +20690,9 @@ export namespace waproto {
|
|
|
20555
20690
|
/** ContextInfo sourceExperienceId */
|
|
20556
20691
|
sourceExperienceId?: (number|null);
|
|
20557
20692
|
|
|
20693
|
+
/** ContextInfo sourceExperienceIds */
|
|
20694
|
+
sourceExperienceIds?: (number[]|null);
|
|
20695
|
+
|
|
20558
20696
|
/** Unknown fields preserved while decoding when enabled */
|
|
20559
20697
|
$unknowns?: Uint8Array[];
|
|
20560
20698
|
}
|
|
@@ -20628,6 +20766,7 @@ export namespace waproto {
|
|
|
20628
20766
|
experienceIds?: number[]|null;
|
|
20629
20767
|
partnerDeepLinkToken?: string|null;
|
|
20630
20768
|
sourceExperienceId?: number|null;
|
|
20769
|
+
sourceExperienceIds?: number[]|null;
|
|
20631
20770
|
$unknowns?: Uint8Array[];
|
|
20632
20771
|
};
|
|
20633
20772
|
|
|
@@ -49786,6 +49925,9 @@ export namespace waproto {
|
|
|
49786
49925
|
/** Line text. */
|
|
49787
49926
|
text?: (string|null);
|
|
49788
49927
|
|
|
49928
|
+
/** Line wordOffsets. */
|
|
49929
|
+
wordOffsets: waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties[];
|
|
49930
|
+
|
|
49789
49931
|
/**
|
|
49790
49932
|
* Creates a new Line instance using the specified properties.
|
|
49791
49933
|
* @param [properties] Properties to set
|
|
@@ -49879,12 +50021,150 @@ export namespace waproto {
|
|
|
49879
50021
|
/** Line text */
|
|
49880
50022
|
text?: (string|null);
|
|
49881
50023
|
|
|
50024
|
+
/** Line wordOffsets */
|
|
50025
|
+
wordOffsets?: (waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties[]|null);
|
|
50026
|
+
|
|
49882
50027
|
/** Unknown fields preserved while decoding when enabled */
|
|
49883
50028
|
$unknowns?: Uint8Array[];
|
|
49884
50029
|
}
|
|
49885
50030
|
|
|
49886
50031
|
/** Shape of a Line. */
|
|
49887
50032
|
type $Shape = waproto.Message.MusicMessage.Lyrics.Line.$Properties;
|
|
50033
|
+
|
|
50034
|
+
/**
|
|
50035
|
+
* Properties of a WordOffset.
|
|
50036
|
+
* @deprecated Use waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties instead.
|
|
50037
|
+
*/
|
|
50038
|
+
interface IWordOffset extends waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties {
|
|
50039
|
+
}
|
|
50040
|
+
|
|
50041
|
+
/** Represents a WordOffset. */
|
|
50042
|
+
class WordOffset {
|
|
50043
|
+
|
|
50044
|
+
/**
|
|
50045
|
+
* Constructs a new WordOffset.
|
|
50046
|
+
* @param [properties] Properties to set
|
|
50047
|
+
*/
|
|
50048
|
+
constructor(properties?: waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties);
|
|
50049
|
+
|
|
50050
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
50051
|
+
$unknowns?: Uint8Array[];
|
|
50052
|
+
|
|
50053
|
+
/** WordOffset startIndex. */
|
|
50054
|
+
startIndex?: (number|null);
|
|
50055
|
+
|
|
50056
|
+
/** WordOffset endIndex. */
|
|
50057
|
+
endIndex?: (number|null);
|
|
50058
|
+
|
|
50059
|
+
/** WordOffset startOffsetMs. */
|
|
50060
|
+
startOffsetMs?: (number|Long|null);
|
|
50061
|
+
|
|
50062
|
+
/** WordOffset endOffsetMs. */
|
|
50063
|
+
endOffsetMs?: (number|Long|null);
|
|
50064
|
+
|
|
50065
|
+
/**
|
|
50066
|
+
* Creates a new WordOffset instance using the specified properties.
|
|
50067
|
+
* @param [properties] Properties to set
|
|
50068
|
+
* @returns WordOffset instance
|
|
50069
|
+
*/
|
|
50070
|
+
static create(properties: waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Shape): waproto.Message.MusicMessage.Lyrics.Line.WordOffset & waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Shape;
|
|
50071
|
+
static create(properties?: waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties): waproto.Message.MusicMessage.Lyrics.Line.WordOffset;
|
|
50072
|
+
|
|
50073
|
+
/**
|
|
50074
|
+
* Encodes the specified WordOffset message. Does not implicitly {@link waproto.Message.MusicMessage.Lyrics.Line.WordOffset.verify|verify} messages.
|
|
50075
|
+
* @param message WordOffset message or plain object to encode
|
|
50076
|
+
* @param [writer] Writer to encode to
|
|
50077
|
+
* @returns Writer
|
|
50078
|
+
*/
|
|
50079
|
+
static encode(message: waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
50080
|
+
|
|
50081
|
+
/**
|
|
50082
|
+
* Encodes the specified WordOffset message, length delimited. Does not implicitly {@link waproto.Message.MusicMessage.Lyrics.Line.WordOffset.verify|verify} messages.
|
|
50083
|
+
* @param message WordOffset message or plain object to encode
|
|
50084
|
+
* @param [writer] Writer to encode to
|
|
50085
|
+
* @returns Writer
|
|
50086
|
+
*/
|
|
50087
|
+
static encodeDelimited(message: waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
50088
|
+
|
|
50089
|
+
/**
|
|
50090
|
+
* Decodes a WordOffset message from the specified reader or buffer.
|
|
50091
|
+
* @param reader Reader or buffer to decode from
|
|
50092
|
+
* @param [length] Message length if known beforehand
|
|
50093
|
+
* @returns {waproto.Message.MusicMessage.Lyrics.Line.WordOffset & waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Shape} WordOffset
|
|
50094
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50095
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50096
|
+
*/
|
|
50097
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MusicMessage.Lyrics.Line.WordOffset & waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Shape;
|
|
50098
|
+
|
|
50099
|
+
/**
|
|
50100
|
+
* Decodes a WordOffset message from the specified reader or buffer, length delimited.
|
|
50101
|
+
* @param reader Reader or buffer to decode from
|
|
50102
|
+
* @returns {waproto.Message.MusicMessage.Lyrics.Line.WordOffset & waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Shape} WordOffset
|
|
50103
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50104
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50105
|
+
*/
|
|
50106
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MusicMessage.Lyrics.Line.WordOffset & waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Shape;
|
|
50107
|
+
|
|
50108
|
+
/**
|
|
50109
|
+
* Verifies a WordOffset message.
|
|
50110
|
+
* @param message Plain object to verify
|
|
50111
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
50112
|
+
*/
|
|
50113
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
50114
|
+
|
|
50115
|
+
/**
|
|
50116
|
+
* Creates a WordOffset message from a plain object. Also converts values to their respective internal types.
|
|
50117
|
+
* @param object Plain object
|
|
50118
|
+
* @returns WordOffset
|
|
50119
|
+
*/
|
|
50120
|
+
static fromObject(object: { [k: string]: any }): waproto.Message.MusicMessage.Lyrics.Line.WordOffset;
|
|
50121
|
+
|
|
50122
|
+
/**
|
|
50123
|
+
* Creates a plain object from a WordOffset message. Also converts values to other types if specified.
|
|
50124
|
+
* @param message WordOffset
|
|
50125
|
+
* @param [options] Conversion options
|
|
50126
|
+
* @returns Plain object
|
|
50127
|
+
*/
|
|
50128
|
+
static toObject(message: waproto.Message.MusicMessage.Lyrics.Line.WordOffset, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
50129
|
+
|
|
50130
|
+
/**
|
|
50131
|
+
* Converts this WordOffset to JSON.
|
|
50132
|
+
* @returns JSON object
|
|
50133
|
+
*/
|
|
50134
|
+
toJSON(): { [k: string]: any };
|
|
50135
|
+
|
|
50136
|
+
/**
|
|
50137
|
+
* Gets the type url for WordOffset
|
|
50138
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
50139
|
+
* @returns The type url
|
|
50140
|
+
*/
|
|
50141
|
+
static getTypeUrl(prefix?: string): string;
|
|
50142
|
+
}
|
|
50143
|
+
|
|
50144
|
+
namespace WordOffset {
|
|
50145
|
+
|
|
50146
|
+
/** Properties of a WordOffset. */
|
|
50147
|
+
interface $Properties {
|
|
50148
|
+
|
|
50149
|
+
/** WordOffset startIndex */
|
|
50150
|
+
startIndex?: (number|null);
|
|
50151
|
+
|
|
50152
|
+
/** WordOffset endIndex */
|
|
50153
|
+
endIndex?: (number|null);
|
|
50154
|
+
|
|
50155
|
+
/** WordOffset startOffsetMs */
|
|
50156
|
+
startOffsetMs?: (number|Long|null);
|
|
50157
|
+
|
|
50158
|
+
/** WordOffset endOffsetMs */
|
|
50159
|
+
endOffsetMs?: (number|Long|null);
|
|
50160
|
+
|
|
50161
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
50162
|
+
$unknowns?: Uint8Array[];
|
|
50163
|
+
}
|
|
50164
|
+
|
|
50165
|
+
/** Shape of a WordOffset. */
|
|
50166
|
+
type $Shape = waproto.Message.MusicMessage.Lyrics.Line.WordOffset.$Properties;
|
|
50167
|
+
}
|
|
49888
50168
|
}
|
|
49889
50169
|
}
|
|
49890
50170
|
|
|
@@ -52435,6 +52715,9 @@ export namespace waproto {
|
|
|
52435
52715
|
/** HistorySyncOnDemandRequest supportInlineResponse. */
|
|
52436
52716
|
supportInlineResponse?: (boolean|null);
|
|
52437
52717
|
|
|
52718
|
+
/** HistorySyncOnDemandRequest mode. */
|
|
52719
|
+
mode?: (waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest.Mode|null);
|
|
52720
|
+
|
|
52438
52721
|
/**
|
|
52439
52722
|
* Creates a new HistorySyncOnDemandRequest instance using the specified properties.
|
|
52440
52723
|
* @param [properties] Properties to set
|
|
@@ -52540,12 +52823,25 @@ export namespace waproto {
|
|
|
52540
52823
|
/** HistorySyncOnDemandRequest supportInlineResponse */
|
|
52541
52824
|
supportInlineResponse?: (boolean|null);
|
|
52542
52825
|
|
|
52826
|
+
/** HistorySyncOnDemandRequest mode */
|
|
52827
|
+
mode?: (waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest.Mode|null);
|
|
52828
|
+
|
|
52543
52829
|
/** Unknown fields preserved while decoding when enabled */
|
|
52544
52830
|
$unknowns?: Uint8Array[];
|
|
52545
52831
|
}
|
|
52546
52832
|
|
|
52547
52833
|
/** Shape of a HistorySyncOnDemandRequest. */
|
|
52548
52834
|
type $Shape = waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest.$Properties;
|
|
52835
|
+
|
|
52836
|
+
/** Mode enum. */
|
|
52837
|
+
enum Mode {
|
|
52838
|
+
|
|
52839
|
+
/** MODE_UNSPECIFIED value */
|
|
52840
|
+
MODE_UNSPECIFIED = 0,
|
|
52841
|
+
|
|
52842
|
+
/** INITIAL_REVERSE_HISTORY value */
|
|
52843
|
+
INITIAL_REVERSE_HISTORY = 1
|
|
52844
|
+
}
|
|
52549
52845
|
}
|
|
52550
52846
|
|
|
52551
52847
|
/**
|