@itsliaaa/baileys 0.3.15 → 0.3.17
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/README.md +21 -21
- package/WAProto/index.d.ts +99 -23
- package/WAProto/index.js +803 -167
- package/lib/Defaults/index.js +1 -1
- package/lib/Socket/business.d.ts +1 -1
- package/lib/Socket/chats.d.ts +1 -1
- package/lib/Socket/chats.js +2 -2
- package/lib/Socket/chats.js.map +1 -1
- package/lib/Socket/communities.d.ts +1 -1
- package/lib/Socket/groups.d.ts +1 -1
- package/lib/Socket/index.d.ts +1 -1
- package/lib/Socket/messages-recv.d.ts +1 -1
- package/lib/Socket/messages-send.d.ts +1 -1
- package/lib/Socket/newsletter.d.ts +1 -1
- package/lib/Utils/generics.js +1 -1
- package/lib/Utils/rich-message-utils.d.ts +1 -1
- package/lib/Utils/rich-message-utils.d.ts.map +1 -1
- package/lib/Utils/rich-message-utils.js +122 -10
- package/lib/Utils/rich-message-utils.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,36 +36,36 @@ This fork designed for production use with a focus on clarity and safety:
|
|
|
36
36
|
|
|
37
37
|
> [!IMPORTANT]
|
|
38
38
|
> Hi everyone,
|
|
39
|
-
>
|
|
40
|
-
> I
|
|
41
|
-
>
|
|
42
|
-
>
|
|
43
|
-
>
|
|
39
|
+
>
|
|
40
|
+
> I want to clarify two separate attribution issues regarding packages derived from this fork.
|
|
41
|
+
>
|
|
42
|
+
> 1. Direct redistribution of my modifications without attribution
|
|
43
|
+
>
|
|
44
|
+
> The following packages are operated by the same individual under multiple npm accounts:
|
|
45
|
+
>
|
|
44
46
|
> - [@nuisockets](https://www.npmjs.com/package/@nuisockets/baileys)
|
|
45
47
|
> - [@nuiisatoru](https://www.npmjs.com/package/@nuiisatoru/baileys)
|
|
46
48
|
> - [@nuiisweetberry](https://www.npmjs.com/package/@nuiisweetberry/baileys)
|
|
49
|
+
> - [@nuiisweety](https://www.npmjs.com/package/@nuiisweety/baileys)
|
|
50
|
+
>
|
|
51
|
+
> These packages redistribute files and modifications originating from this fork while removing contributor credits and modification notes.
|
|
52
|
+
>
|
|
53
|
+
> 2. Rebranded republishes of this fork
|
|
54
|
+
>
|
|
47
55
|
> - [@lumina-md](https://www.npmjs.com/package/@lumina-md/baileys)
|
|
48
56
|
> - [@sairidev](https://www.npmjs.com/package/@sairidev/baileys-new)
|
|
57
|
+
> - [nexora-baileys](https://www.npmjs.com/package/nexora-baileys)
|
|
58
|
+
>
|
|
59
|
+
> These packages primarily repackage or republish this fork under different names while failing to preserve proper attribution, credits, or modification notes.
|
|
49
60
|
>
|
|
50
|
-
>
|
|
51
|
-
>
|
|
52
|
-
> - Renamed my fork under different package names
|
|
53
|
-
> - Removed or ignored proper maintainer credit
|
|
54
|
-
> - Added unnecessary overhead
|
|
55
|
-
> - Rewrote changelogs and modification notes under their own names
|
|
56
|
-
> - Claimed existing work and changes as if they made them
|
|
57
|
-
> - Copied code directly from my fork with little to no meaningful modification
|
|
58
|
-
>
|
|
59
|
-
> This is not acceptable.
|
|
60
|
-
>
|
|
61
|
-
> To be clear, I am **NOT** the original maintainer of Baileys. full respect goes to https://github.com/WhiskeySockets/Baileys.
|
|
61
|
+
> To be clear, I am **NOT** the original maintainer of Baileys. Full credit and respect belong to:
|
|
62
62
|
>
|
|
63
|
-
>
|
|
63
|
+
> https://github.com/WhiskeySockets/Baileys
|
|
64
|
+
>
|
|
65
|
+
> **Forking is completely acceptable. Removing attribution, contributor credits, or modification history is not.**
|
|
64
66
|
>
|
|
65
|
-
> Forking is completely fine. Removing credits and presenting someone else's work as your own is not.
|
|
66
|
-
>
|
|
67
67
|
> Please report if necessary.
|
|
68
|
-
>
|
|
68
|
+
>
|
|
69
69
|
> Thank you. 🤍
|
|
70
70
|
|
|
71
71
|
> [!NOTE]
|
package/WAProto/index.d.ts
CHANGED
|
@@ -2451,7 +2451,8 @@ export namespace proto {
|
|
|
2451
2451
|
enum BotSignatureUseCase {
|
|
2452
2452
|
UNSPECIFIED = 0,
|
|
2453
2453
|
WA_BOT_MSG = 1,
|
|
2454
|
-
WA_TEE_BOT_MSG = 2
|
|
2454
|
+
WA_TEE_BOT_MSG = 2,
|
|
2455
|
+
P2P_PILLS = 3
|
|
2455
2456
|
}
|
|
2456
2457
|
}
|
|
2457
2458
|
|
|
@@ -3622,6 +3623,8 @@ export namespace proto {
|
|
|
3622
3623
|
businessJid?: (string|null);
|
|
3623
3624
|
pills?: (proto.ContextInfo.BusinessInteractionPills.IPill[]|null);
|
|
3624
3625
|
entryPoint?: (proto.ContextInfo.BusinessInteractionPills.EntryPoint|null);
|
|
3626
|
+
signedPayload?: (Uint8Array|null);
|
|
3627
|
+
signatureEnvelope?: (proto.IBotSignatureVerificationMetadata|null);
|
|
3625
3628
|
}
|
|
3626
3629
|
|
|
3627
3630
|
class BusinessInteractionPills implements IBusinessInteractionPills {
|
|
@@ -3629,6 +3632,8 @@ export namespace proto {
|
|
|
3629
3632
|
public businessJid?: (string|null);
|
|
3630
3633
|
public pills: proto.ContextInfo.BusinessInteractionPills.IPill[];
|
|
3631
3634
|
public entryPoint?: (proto.ContextInfo.BusinessInteractionPills.EntryPoint|null);
|
|
3635
|
+
public signedPayload?: (Uint8Array|null);
|
|
3636
|
+
public signatureEnvelope?: (proto.IBotSignatureVerificationMetadata|null);
|
|
3632
3637
|
public static create(properties?: proto.ContextInfo.IBusinessInteractionPills): proto.ContextInfo.BusinessInteractionPills;
|
|
3633
3638
|
public static encode(m: proto.ContextInfo.IBusinessInteractionPills, w?: $protobuf.Writer): $protobuf.Writer;
|
|
3634
3639
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ContextInfo.BusinessInteractionPills;
|
|
@@ -3682,6 +3687,24 @@ export namespace proto {
|
|
|
3682
3687
|
SHOP = 11,
|
|
3683
3688
|
ORDER = 12
|
|
3684
3689
|
}
|
|
3690
|
+
|
|
3691
|
+
interface ISignedPayload {
|
|
3692
|
+
verifiedName?: (string|null);
|
|
3693
|
+
pills?: (proto.ContextInfo.BusinessInteractionPills.IPill[]|null);
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
class SignedPayload implements ISignedPayload {
|
|
3697
|
+
constructor(p?: proto.ContextInfo.BusinessInteractionPills.ISignedPayload);
|
|
3698
|
+
public verifiedName?: (string|null);
|
|
3699
|
+
public pills: proto.ContextInfo.BusinessInteractionPills.IPill[];
|
|
3700
|
+
public static create(properties?: proto.ContextInfo.BusinessInteractionPills.ISignedPayload): proto.ContextInfo.BusinessInteractionPills.SignedPayload;
|
|
3701
|
+
public static encode(m: proto.ContextInfo.BusinessInteractionPills.ISignedPayload, w?: $protobuf.Writer): $protobuf.Writer;
|
|
3702
|
+
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ContextInfo.BusinessInteractionPills.SignedPayload;
|
|
3703
|
+
public static fromObject(d: { [k: string]: any }): proto.ContextInfo.BusinessInteractionPills.SignedPayload;
|
|
3704
|
+
public static toObject(m: proto.ContextInfo.BusinessInteractionPills.SignedPayload, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3705
|
+
public toJSON(): { [k: string]: any };
|
|
3706
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3707
|
+
}
|
|
3685
3708
|
}
|
|
3686
3709
|
|
|
3687
3710
|
interface IBusinessMessageForwardInfo {
|
|
@@ -5942,6 +5965,7 @@ export namespace proto {
|
|
|
5942
5965
|
paymentReminderMessage?: (proto.Message.IPaymentReminderMessage|null);
|
|
5943
5966
|
splitPaymentMessage?: (proto.Message.ISplitPaymentMessage|null);
|
|
5944
5967
|
newsletterAdminProfileStatusMessage?: (proto.Message.IFutureProofMessage|null);
|
|
5968
|
+
rootSecretDistributeMessage?: (proto.Message.IRootSecretDistributeMessage|null);
|
|
5945
5969
|
}
|
|
5946
5970
|
|
|
5947
5971
|
class Message implements IMessage {
|
|
@@ -6052,6 +6076,7 @@ export namespace proto {
|
|
|
6052
6076
|
public paymentReminderMessage?: (proto.Message.IPaymentReminderMessage|null);
|
|
6053
6077
|
public splitPaymentMessage?: (proto.Message.ISplitPaymentMessage|null);
|
|
6054
6078
|
public newsletterAdminProfileStatusMessage?: (proto.Message.IFutureProofMessage|null);
|
|
6079
|
+
public rootSecretDistributeMessage?: (proto.Message.IRootSecretDistributeMessage|null);
|
|
6055
6080
|
public static create(properties?: proto.IMessage): proto.Message;
|
|
6056
6081
|
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
|
6057
6082
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
|
@@ -9398,12 +9423,14 @@ export namespace proto {
|
|
|
9398
9423
|
interface IPollAddOptionMessage {
|
|
9399
9424
|
pollCreationMessageKey?: (proto.IMessageKey|null);
|
|
9400
9425
|
addOption?: (proto.Message.PollCreationMessage.IOption|null);
|
|
9426
|
+
metadata?: (proto.Message.IPollUpdateMessageMetadata|null);
|
|
9401
9427
|
}
|
|
9402
9428
|
|
|
9403
9429
|
class PollAddOptionMessage implements IPollAddOptionMessage {
|
|
9404
9430
|
constructor(p?: proto.Message.IPollAddOptionMessage);
|
|
9405
9431
|
public pollCreationMessageKey?: (proto.IMessageKey|null);
|
|
9406
9432
|
public addOption?: (proto.Message.PollCreationMessage.IOption|null);
|
|
9433
|
+
public metadata?: (proto.Message.IPollUpdateMessageMetadata|null);
|
|
9407
9434
|
public static create(properties?: proto.Message.IPollAddOptionMessage): proto.Message.PollAddOptionMessage;
|
|
9408
9435
|
public static encode(m: proto.Message.IPollAddOptionMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
|
9409
9436
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.PollAddOptionMessage;
|
|
@@ -9565,10 +9592,14 @@ export namespace proto {
|
|
|
9565
9592
|
}
|
|
9566
9593
|
|
|
9567
9594
|
interface IPollUpdateMessageMetadata {
|
|
9595
|
+
pollNameHash?: (Uint8Array|null);
|
|
9596
|
+
lastEditStanzaId?: (string|null);
|
|
9568
9597
|
}
|
|
9569
9598
|
|
|
9570
9599
|
class PollUpdateMessageMetadata implements IPollUpdateMessageMetadata {
|
|
9571
9600
|
constructor(p?: proto.Message.IPollUpdateMessageMetadata);
|
|
9601
|
+
public pollNameHash?: (Uint8Array|null);
|
|
9602
|
+
public lastEditStanzaId?: (string|null);
|
|
9572
9603
|
public static create(properties?: proto.Message.IPollUpdateMessageMetadata): proto.Message.PollUpdateMessageMetadata;
|
|
9573
9604
|
public static encode(m: proto.Message.IPollUpdateMessageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
9574
9605
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.PollUpdateMessageMetadata;
|
|
@@ -9904,6 +9935,22 @@ export namespace proto {
|
|
|
9904
9935
|
}
|
|
9905
9936
|
}
|
|
9906
9937
|
|
|
9938
|
+
interface IRootSecretDistributeMessage {
|
|
9939
|
+
chatJid?: (string|null);
|
|
9940
|
+
}
|
|
9941
|
+
|
|
9942
|
+
class RootSecretDistributeMessage implements IRootSecretDistributeMessage {
|
|
9943
|
+
constructor(p?: proto.Message.IRootSecretDistributeMessage);
|
|
9944
|
+
public chatJid?: (string|null);
|
|
9945
|
+
public static create(properties?: proto.Message.IRootSecretDistributeMessage): proto.Message.RootSecretDistributeMessage;
|
|
9946
|
+
public static encode(m: proto.Message.IRootSecretDistributeMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
|
9947
|
+
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.RootSecretDistributeMessage;
|
|
9948
|
+
public static fromObject(d: { [k: string]: any }): proto.Message.RootSecretDistributeMessage;
|
|
9949
|
+
public static toObject(m: proto.Message.RootSecretDistributeMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9950
|
+
public toJSON(): { [k: string]: any };
|
|
9951
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9952
|
+
}
|
|
9953
|
+
|
|
9907
9954
|
interface IScheduledCallCreationMessage {
|
|
9908
9955
|
scheduledTimestampMs?: (number|Long|null);
|
|
9909
9956
|
callType?: (proto.Message.ScheduledCallCreationMessage.CallType|null);
|
|
@@ -10889,6 +10936,14 @@ export namespace proto {
|
|
|
10889
10936
|
pollEndTime?: (number|Long|null);
|
|
10890
10937
|
pollHideVoterNames?: (boolean|null);
|
|
10891
10938
|
pollAllowAddOption?: (boolean|null);
|
|
10939
|
+
sharableEventInviteId?: (string|null);
|
|
10940
|
+
sharableEventInviteTitle?: (string|null);
|
|
10941
|
+
sharableEventInviteStartTime?: (number|Long|null);
|
|
10942
|
+
sharableEventInviteEndTime?: (number|Long|null);
|
|
10943
|
+
sharableEventInviteCaption?: (string|null);
|
|
10944
|
+
sharableEventInviteIsCanceled?: (boolean|null);
|
|
10945
|
+
sharableEventInviteJpegThumbnail?: (Uint8Array|null);
|
|
10946
|
+
sharableEventInviteCallLink?: (string|null);
|
|
10892
10947
|
}
|
|
10893
10948
|
|
|
10894
10949
|
class MsgOpaqueData implements IMsgOpaqueData {
|
|
@@ -10940,6 +10995,14 @@ export namespace proto {
|
|
|
10940
10995
|
public pollEndTime?: (number|Long|null);
|
|
10941
10996
|
public pollHideVoterNames?: (boolean|null);
|
|
10942
10997
|
public pollAllowAddOption?: (boolean|null);
|
|
10998
|
+
public sharableEventInviteId?: (string|null);
|
|
10999
|
+
public sharableEventInviteTitle?: (string|null);
|
|
11000
|
+
public sharableEventInviteStartTime?: (number|Long|null);
|
|
11001
|
+
public sharableEventInviteEndTime?: (number|Long|null);
|
|
11002
|
+
public sharableEventInviteCaption?: (string|null);
|
|
11003
|
+
public sharableEventInviteIsCanceled?: (boolean|null);
|
|
11004
|
+
public sharableEventInviteJpegThumbnail?: (Uint8Array|null);
|
|
11005
|
+
public sharableEventInviteCallLink?: (string|null);
|
|
10943
11006
|
public static create(properties?: proto.IMsgOpaqueData): proto.MsgOpaqueData;
|
|
10944
11007
|
public static encode(m: proto.IMsgOpaqueData, w?: $protobuf.Writer): $protobuf.Writer;
|
|
10945
11008
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.MsgOpaqueData;
|
|
@@ -11618,11 +11681,13 @@ export namespace proto {
|
|
|
11618
11681
|
|
|
11619
11682
|
interface IPollAdditionalMetadata {
|
|
11620
11683
|
pollInvalidated?: (boolean|null);
|
|
11684
|
+
pollNameHashHistory?: (proto.PollAdditionalMetadata.IPollNameHashHistoryEntry[]|null);
|
|
11621
11685
|
}
|
|
11622
11686
|
|
|
11623
11687
|
class PollAdditionalMetadata implements IPollAdditionalMetadata {
|
|
11624
11688
|
constructor(p?: proto.IPollAdditionalMetadata);
|
|
11625
11689
|
public pollInvalidated?: (boolean|null);
|
|
11690
|
+
public pollNameHashHistory: proto.PollAdditionalMetadata.IPollNameHashHistoryEntry[];
|
|
11626
11691
|
public static create(properties?: proto.IPollAdditionalMetadata): proto.PollAdditionalMetadata;
|
|
11627
11692
|
public static encode(m: proto.IPollAdditionalMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
11628
11693
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.PollAdditionalMetadata;
|
|
@@ -11632,6 +11697,27 @@ export namespace proto {
|
|
|
11632
11697
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11633
11698
|
}
|
|
11634
11699
|
|
|
11700
|
+
namespace PollAdditionalMetadata {
|
|
11701
|
+
|
|
11702
|
+
interface IPollNameHashHistoryEntry {
|
|
11703
|
+
editStanzaId?: (string|null);
|
|
11704
|
+
pollNameHash?: (Uint8Array|null);
|
|
11705
|
+
}
|
|
11706
|
+
|
|
11707
|
+
class PollNameHashHistoryEntry implements IPollNameHashHistoryEntry {
|
|
11708
|
+
constructor(p?: proto.PollAdditionalMetadata.IPollNameHashHistoryEntry);
|
|
11709
|
+
public editStanzaId?: (string|null);
|
|
11710
|
+
public pollNameHash?: (Uint8Array|null);
|
|
11711
|
+
public static create(properties?: proto.PollAdditionalMetadata.IPollNameHashHistoryEntry): proto.PollAdditionalMetadata.PollNameHashHistoryEntry;
|
|
11712
|
+
public static encode(m: proto.PollAdditionalMetadata.IPollNameHashHistoryEntry, w?: $protobuf.Writer): $protobuf.Writer;
|
|
11713
|
+
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.PollAdditionalMetadata.PollNameHashHistoryEntry;
|
|
11714
|
+
public static fromObject(d: { [k: string]: any }): proto.PollAdditionalMetadata.PollNameHashHistoryEntry;
|
|
11715
|
+
public static toObject(m: proto.PollAdditionalMetadata.PollNameHashHistoryEntry, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11716
|
+
public toJSON(): { [k: string]: any };
|
|
11717
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11718
|
+
}
|
|
11719
|
+
}
|
|
11720
|
+
|
|
11635
11721
|
interface IPollEncValue {
|
|
11636
11722
|
encPayload?: (Uint8Array|null);
|
|
11637
11723
|
encIv?: (Uint8Array|null);
|
|
@@ -11656,6 +11742,7 @@ export namespace proto {
|
|
|
11656
11742
|
senderTimestampMs?: (number|Long|null);
|
|
11657
11743
|
serverTimestampMs?: (number|Long|null);
|
|
11658
11744
|
unread?: (boolean|null);
|
|
11745
|
+
metadata?: (proto.Message.IPollUpdateMessageMetadata|null);
|
|
11659
11746
|
}
|
|
11660
11747
|
|
|
11661
11748
|
class PollUpdate implements IPollUpdate {
|
|
@@ -11665,6 +11752,7 @@ export namespace proto {
|
|
|
11665
11752
|
public senderTimestampMs?: (number|Long|null);
|
|
11666
11753
|
public serverTimestampMs?: (number|Long|null);
|
|
11667
11754
|
public unread?: (boolean|null);
|
|
11755
|
+
public metadata?: (proto.Message.IPollUpdateMessageMetadata|null);
|
|
11668
11756
|
public static create(properties?: proto.IPollUpdate): proto.PollUpdate;
|
|
11669
11757
|
public static encode(m: proto.IPollUpdate, w?: $protobuf.Writer): $protobuf.Writer;
|
|
11670
11758
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.PollUpdate;
|
|
@@ -13498,13 +13586,13 @@ export namespace proto {
|
|
|
13498
13586
|
|
|
13499
13587
|
interface ILabelAssociationAction {
|
|
13500
13588
|
labeled?: (boolean|null);
|
|
13501
|
-
modelMetaData?: (
|
|
13589
|
+
modelMetaData?: (string|null);
|
|
13502
13590
|
}
|
|
13503
13591
|
|
|
13504
13592
|
class LabelAssociationAction implements ILabelAssociationAction {
|
|
13505
13593
|
constructor(p?: proto.SyncActionValue.ILabelAssociationAction);
|
|
13506
13594
|
public labeled?: (boolean|null);
|
|
13507
|
-
public modelMetaData
|
|
13595
|
+
public modelMetaData?: (string|null);
|
|
13508
13596
|
public static create(properties?: proto.SyncActionValue.ILabelAssociationAction): proto.SyncActionValue.LabelAssociationAction;
|
|
13509
13597
|
public static encode(m: proto.SyncActionValue.ILabelAssociationAction, w?: $protobuf.Writer): $protobuf.Writer;
|
|
13510
13598
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.LabelAssociationAction;
|
|
@@ -13638,11 +13726,13 @@ export namespace proto {
|
|
|
13638
13726
|
|
|
13639
13727
|
interface IMaibaAIFeaturesControlAction {
|
|
13640
13728
|
aiFeatureStatus?: (proto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus|null);
|
|
13729
|
+
aiReplyMode?: (proto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIReplyMode|null);
|
|
13641
13730
|
}
|
|
13642
13731
|
|
|
13643
13732
|
class MaibaAIFeaturesControlAction implements IMaibaAIFeaturesControlAction {
|
|
13644
13733
|
constructor(p?: proto.SyncActionValue.IMaibaAIFeaturesControlAction);
|
|
13645
13734
|
public aiFeatureStatus?: (proto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus|null);
|
|
13735
|
+
public aiReplyMode?: (proto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIReplyMode|null);
|
|
13646
13736
|
public static create(properties?: proto.SyncActionValue.IMaibaAIFeaturesControlAction): proto.SyncActionValue.MaibaAIFeaturesControlAction;
|
|
13647
13737
|
public static encode(m: proto.SyncActionValue.IMaibaAIFeaturesControlAction, w?: $protobuf.Writer): $protobuf.Writer;
|
|
13648
13738
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.MaibaAIFeaturesControlAction;
|
|
@@ -13659,6 +13749,12 @@ export namespace proto {
|
|
|
13659
13749
|
ENABLED_HAS_LEARNING = 1,
|
|
13660
13750
|
DISABLED = 2
|
|
13661
13751
|
}
|
|
13752
|
+
|
|
13753
|
+
enum MaibaAIReplyMode {
|
|
13754
|
+
MUTED = 0,
|
|
13755
|
+
AI_AGENT = 1,
|
|
13756
|
+
SUGGESTIONS = 2
|
|
13757
|
+
}
|
|
13662
13758
|
}
|
|
13663
13759
|
|
|
13664
13760
|
interface IMarkChatAsReadAction {
|
|
@@ -13760,26 +13856,6 @@ export namespace proto {
|
|
|
13760
13856
|
}
|
|
13761
13857
|
}
|
|
13762
13858
|
|
|
13763
|
-
interface IModelMetadata {
|
|
13764
|
-
modelName?: (string|null);
|
|
13765
|
-
isLatestModel?: (boolean|null);
|
|
13766
|
-
isDetected?: (boolean|null);
|
|
13767
|
-
}
|
|
13768
|
-
|
|
13769
|
-
class ModelMetadata implements IModelMetadata {
|
|
13770
|
-
constructor(p?: proto.SyncActionValue.IModelMetadata);
|
|
13771
|
-
public modelName?: (string|null);
|
|
13772
|
-
public isLatestModel?: (boolean|null);
|
|
13773
|
-
public isDetected?: (boolean|null);
|
|
13774
|
-
public static create(properties?: proto.SyncActionValue.IModelMetadata): proto.SyncActionValue.ModelMetadata;
|
|
13775
|
-
public static encode(m: proto.SyncActionValue.IModelMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
13776
|
-
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.ModelMetadata;
|
|
13777
|
-
public static fromObject(d: { [k: string]: any }): proto.SyncActionValue.ModelMetadata;
|
|
13778
|
-
public static toObject(m: proto.SyncActionValue.ModelMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13779
|
-
public toJSON(): { [k: string]: any };
|
|
13780
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13781
|
-
}
|
|
13782
|
-
|
|
13783
13859
|
interface IMusicUserIdAction {
|
|
13784
13860
|
musicUserId?: (string|null);
|
|
13785
13861
|
musicUserIdMap?: ({ [k: string]: string }|null);
|