@acidify/core 0.8.0 → 0.9.0
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/dist/acidify-acidify-core.d.ts +343 -34
- package/dist/acidify-acidify-core.mjs +19365 -15749
- package/package.json +1 -1
|
@@ -38,6 +38,10 @@ export declare class AppInfo {
|
|
|
38
38
|
get subSigMap(): number;
|
|
39
39
|
get ntLoginType(): number;
|
|
40
40
|
toJson(): string;
|
|
41
|
+
copy(os?: string, kernel?: string, vendorOs?: string, currentVersion?: string, miscBitmap?: number, ptVersion?: string, ssoVersion?: number, packageName?: string, wtLoginSdk?: string, appId?: number, subAppId?: number, appClientVersion?: number, mainSigMap?: number, subSigMap?: number, ntLoginType?: number): AppInfo;
|
|
42
|
+
toString(): string;
|
|
43
|
+
hashCode(): number;
|
|
44
|
+
equals(other: Nullable<any>): boolean;
|
|
41
45
|
static fromJson(json: string): AppInfo;
|
|
42
46
|
}
|
|
43
47
|
export declare namespace AppInfo {
|
|
@@ -210,6 +214,9 @@ export declare interface AcidifyEvent {
|
|
|
210
214
|
export declare class BotOfflineEvent implements AcidifyEvent {
|
|
211
215
|
private constructor();
|
|
212
216
|
get reason(): string;
|
|
217
|
+
toString(): string;
|
|
218
|
+
hashCode(): number;
|
|
219
|
+
equals(other: Nullable<any>): boolean;
|
|
213
220
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
214
221
|
}
|
|
215
222
|
export declare namespace BotOfflineEvent {
|
|
@@ -227,6 +234,9 @@ export declare class FriendFileUploadEvent implements AcidifyEvent {
|
|
|
227
234
|
get fileSize(): bigint;
|
|
228
235
|
get fileHash(): string;
|
|
229
236
|
get isSelf(): boolean;
|
|
237
|
+
toString(): string;
|
|
238
|
+
hashCode(): number;
|
|
239
|
+
equals(other: Nullable<any>): boolean;
|
|
230
240
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
231
241
|
}
|
|
232
242
|
export declare namespace FriendFileUploadEvent {
|
|
@@ -244,6 +254,9 @@ export declare class FriendNudgeEvent implements AcidifyEvent {
|
|
|
244
254
|
get displayAction(): string;
|
|
245
255
|
get displaySuffix(): string;
|
|
246
256
|
get displayActionImgUrl(): string;
|
|
257
|
+
toString(): string;
|
|
258
|
+
hashCode(): number;
|
|
259
|
+
equals(other: Nullable<any>): boolean;
|
|
247
260
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
248
261
|
}
|
|
249
262
|
export declare namespace FriendNudgeEvent {
|
|
@@ -258,6 +271,9 @@ export declare class FriendRequestEvent implements AcidifyEvent {
|
|
|
258
271
|
get initiatorUid(): string;
|
|
259
272
|
get comment(): string;
|
|
260
273
|
get via(): string;
|
|
274
|
+
toString(): string;
|
|
275
|
+
hashCode(): number;
|
|
276
|
+
equals(other: Nullable<any>): boolean;
|
|
261
277
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
262
278
|
}
|
|
263
279
|
export declare namespace FriendRequestEvent {
|
|
@@ -274,6 +290,9 @@ export declare class GroupAdminChangeEvent implements AcidifyEvent {
|
|
|
274
290
|
get operatorUin(): bigint;
|
|
275
291
|
get operatorUid(): string;
|
|
276
292
|
get isSet(): boolean;
|
|
293
|
+
toString(): string;
|
|
294
|
+
hashCode(): number;
|
|
295
|
+
equals(other: Nullable<any>): boolean;
|
|
277
296
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
278
297
|
}
|
|
279
298
|
export declare namespace GroupAdminChangeEvent {
|
|
@@ -288,6 +307,9 @@ export declare class GroupEssenceMessageChangeEvent implements AcidifyEvent {
|
|
|
288
307
|
get messageSeq(): bigint;
|
|
289
308
|
get operatorUin(): bigint;
|
|
290
309
|
get isSet(): boolean;
|
|
310
|
+
toString(): string;
|
|
311
|
+
hashCode(): number;
|
|
312
|
+
equals(other: Nullable<any>): boolean;
|
|
291
313
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
292
314
|
}
|
|
293
315
|
export declare namespace GroupEssenceMessageChangeEvent {
|
|
@@ -304,6 +326,9 @@ export declare class GroupFileUploadEvent implements AcidifyEvent {
|
|
|
304
326
|
get fileId(): string;
|
|
305
327
|
get fileName(): string;
|
|
306
328
|
get fileSize(): bigint;
|
|
329
|
+
toString(): string;
|
|
330
|
+
hashCode(): number;
|
|
331
|
+
equals(other: Nullable<any>): boolean;
|
|
307
332
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
308
333
|
}
|
|
309
334
|
export declare namespace GroupFileUploadEvent {
|
|
@@ -318,6 +343,9 @@ export declare class GroupInvitationEvent implements AcidifyEvent {
|
|
|
318
343
|
get invitationSeq(): bigint;
|
|
319
344
|
get initiatorUin(): bigint;
|
|
320
345
|
get initiatorUid(): string;
|
|
346
|
+
toString(): string;
|
|
347
|
+
hashCode(): number;
|
|
348
|
+
equals(other: Nullable<any>): boolean;
|
|
321
349
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
322
350
|
}
|
|
323
351
|
export declare namespace GroupInvitationEvent {
|
|
@@ -334,6 +362,9 @@ export declare class GroupInvitedJoinRequestEvent implements AcidifyEvent {
|
|
|
334
362
|
get initiatorUid(): string;
|
|
335
363
|
get targetUserUin(): bigint;
|
|
336
364
|
get targetUserUid(): string;
|
|
365
|
+
toString(): string;
|
|
366
|
+
hashCode(): number;
|
|
367
|
+
equals(other: Nullable<any>): boolean;
|
|
337
368
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
338
369
|
}
|
|
339
370
|
export declare namespace GroupInvitedJoinRequestEvent {
|
|
@@ -350,6 +381,9 @@ export declare class GroupJoinRequestEvent implements AcidifyEvent {
|
|
|
350
381
|
get initiatorUin(): bigint;
|
|
351
382
|
get initiatorUid(): string;
|
|
352
383
|
get comment(): string;
|
|
384
|
+
toString(): string;
|
|
385
|
+
hashCode(): number;
|
|
386
|
+
equals(other: Nullable<any>): boolean;
|
|
353
387
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
354
388
|
}
|
|
355
389
|
export declare namespace GroupJoinRequestEvent {
|
|
@@ -365,6 +399,9 @@ export declare class GroupMemberDecreaseEvent implements AcidifyEvent {
|
|
|
365
399
|
get userUid(): string;
|
|
366
400
|
get operatorUin(): Nullable<bigint>;
|
|
367
401
|
get operatorUid(): Nullable<string>;
|
|
402
|
+
toString(): string;
|
|
403
|
+
hashCode(): number;
|
|
404
|
+
equals(other: Nullable<any>): boolean;
|
|
368
405
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
369
406
|
}
|
|
370
407
|
export declare namespace GroupMemberDecreaseEvent {
|
|
@@ -382,6 +419,9 @@ export declare class GroupMemberIncreaseEvent implements AcidifyEvent {
|
|
|
382
419
|
get operatorUid(): Nullable<string>;
|
|
383
420
|
get invitorUin(): Nullable<bigint>;
|
|
384
421
|
get invitorUid(): Nullable<string>;
|
|
422
|
+
toString(): string;
|
|
423
|
+
hashCode(): number;
|
|
424
|
+
equals(other: Nullable<any>): boolean;
|
|
385
425
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
386
426
|
}
|
|
387
427
|
export declare namespace GroupMemberIncreaseEvent {
|
|
@@ -398,6 +438,9 @@ export declare class GroupMessageReactionEvent implements AcidifyEvent {
|
|
|
398
438
|
get messageSeq(): bigint;
|
|
399
439
|
get faceId(): string;
|
|
400
440
|
get isAdd(): boolean;
|
|
441
|
+
toString(): string;
|
|
442
|
+
hashCode(): number;
|
|
443
|
+
equals(other: Nullable<any>): boolean;
|
|
401
444
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
402
445
|
}
|
|
403
446
|
export declare namespace GroupMessageReactionEvent {
|
|
@@ -414,6 +457,9 @@ export declare class GroupMuteEvent implements AcidifyEvent {
|
|
|
414
457
|
get operatorUin(): bigint;
|
|
415
458
|
get operatorUid(): string;
|
|
416
459
|
get duration(): number;
|
|
460
|
+
toString(): string;
|
|
461
|
+
hashCode(): number;
|
|
462
|
+
equals(other: Nullable<any>): boolean;
|
|
417
463
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
418
464
|
}
|
|
419
465
|
export declare namespace GroupMuteEvent {
|
|
@@ -428,6 +474,9 @@ export declare class GroupNameChangeEvent implements AcidifyEvent {
|
|
|
428
474
|
get newGroupName(): string;
|
|
429
475
|
get operatorUin(): bigint;
|
|
430
476
|
get operatorUid(): string;
|
|
477
|
+
toString(): string;
|
|
478
|
+
hashCode(): number;
|
|
479
|
+
equals(other: Nullable<any>): boolean;
|
|
431
480
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
432
481
|
}
|
|
433
482
|
export declare namespace GroupNameChangeEvent {
|
|
@@ -446,6 +495,9 @@ export declare class GroupNudgeEvent implements AcidifyEvent {
|
|
|
446
495
|
get displayAction(): string;
|
|
447
496
|
get displaySuffix(): string;
|
|
448
497
|
get displayActionImgUrl(): string;
|
|
498
|
+
toString(): string;
|
|
499
|
+
hashCode(): number;
|
|
500
|
+
equals(other: Nullable<any>): boolean;
|
|
449
501
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
450
502
|
}
|
|
451
503
|
export declare namespace GroupNudgeEvent {
|
|
@@ -460,6 +512,9 @@ export declare class GroupWholeMuteEvent implements AcidifyEvent {
|
|
|
460
512
|
get operatorUin(): bigint;
|
|
461
513
|
get operatorUid(): string;
|
|
462
514
|
get isMute(): boolean;
|
|
515
|
+
toString(): string;
|
|
516
|
+
hashCode(): number;
|
|
517
|
+
equals(other: Nullable<any>): boolean;
|
|
463
518
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
464
519
|
}
|
|
465
520
|
export declare namespace GroupWholeMuteEvent {
|
|
@@ -478,6 +533,9 @@ export declare class MessageRecallEvent implements AcidifyEvent {
|
|
|
478
533
|
get operatorUin(): bigint;
|
|
479
534
|
get operatorUid(): string;
|
|
480
535
|
get displaySuffix(): string;
|
|
536
|
+
toString(): string;
|
|
537
|
+
hashCode(): number;
|
|
538
|
+
equals(other: Nullable<any>): boolean;
|
|
481
539
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
482
540
|
}
|
|
483
541
|
export declare namespace MessageRecallEvent {
|
|
@@ -489,6 +547,9 @@ export declare namespace MessageRecallEvent {
|
|
|
489
547
|
export declare class MessageReceiveEvent implements AcidifyEvent {
|
|
490
548
|
private constructor();
|
|
491
549
|
get message(): BotIncomingMessage;
|
|
550
|
+
toString(): string;
|
|
551
|
+
hashCode(): number;
|
|
552
|
+
equals(other: Nullable<any>): boolean;
|
|
492
553
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
493
554
|
}
|
|
494
555
|
export declare namespace MessageReceiveEvent {
|
|
@@ -502,6 +563,9 @@ export declare class PinChangedEvent implements AcidifyEvent {
|
|
|
502
563
|
get scene(): MessageScene;
|
|
503
564
|
get peerUin(): bigint;
|
|
504
565
|
get isPinned(): boolean;
|
|
566
|
+
toString(): string;
|
|
567
|
+
hashCode(): number;
|
|
568
|
+
equals(other: Nullable<any>): boolean;
|
|
505
569
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
506
570
|
}
|
|
507
571
|
export declare namespace PinChangedEvent {
|
|
@@ -514,6 +578,9 @@ export declare class QRCodeGeneratedEvent implements AcidifyEvent {
|
|
|
514
578
|
private constructor();
|
|
515
579
|
get url(): string;
|
|
516
580
|
get png(): Int8Array;
|
|
581
|
+
toString(): string;
|
|
582
|
+
hashCode(): number;
|
|
583
|
+
equals(other: Nullable<any>): boolean;
|
|
517
584
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
518
585
|
}
|
|
519
586
|
export declare namespace QRCodeGeneratedEvent {
|
|
@@ -525,6 +592,9 @@ export declare namespace QRCodeGeneratedEvent {
|
|
|
525
592
|
export declare class QRCodeStateQueryEvent implements AcidifyEvent {
|
|
526
593
|
private constructor();
|
|
527
594
|
get state(): QRCodeState;
|
|
595
|
+
toString(): string;
|
|
596
|
+
hashCode(): number;
|
|
597
|
+
equals(other: Nullable<any>): boolean;
|
|
528
598
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
529
599
|
}
|
|
530
600
|
export declare namespace QRCodeStateQueryEvent {
|
|
@@ -536,6 +606,9 @@ export declare namespace QRCodeStateQueryEvent {
|
|
|
536
606
|
export declare class SessionStoreUpdatedEvent implements AcidifyEvent {
|
|
537
607
|
private constructor();
|
|
538
608
|
get sessionStore(): SessionStore;
|
|
609
|
+
toString(): string;
|
|
610
|
+
hashCode(): number;
|
|
611
|
+
equals(other: Nullable<any>): boolean;
|
|
539
612
|
readonly __doNotUseOrImplementIt: AcidifyEvent["__doNotUseOrImplementIt"];
|
|
540
613
|
}
|
|
541
614
|
export declare namespace SessionStoreUpdatedEvent {
|
|
@@ -590,6 +663,18 @@ export declare namespace ServiceException {
|
|
|
590
663
|
const constructor: abstract new () => ServiceException;
|
|
591
664
|
}
|
|
592
665
|
}
|
|
666
|
+
export declare class ServiceInternalException extends /* Exception */ Error {
|
|
667
|
+
private constructor();
|
|
668
|
+
get retCode(): number;
|
|
669
|
+
get retMsg(): string;
|
|
670
|
+
get serviceName(): Nullable<string>;
|
|
671
|
+
}
|
|
672
|
+
export declare namespace ServiceInternalException {
|
|
673
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
674
|
+
namespace $metadata$ {
|
|
675
|
+
const constructor: abstract new () => ServiceInternalException;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
593
678
|
export declare class WebApiException extends /* Exception */ Error {
|
|
594
679
|
private constructor();
|
|
595
680
|
get statusCode(): number;
|
|
@@ -697,6 +782,9 @@ export declare class BotEssenceMessage {
|
|
|
697
782
|
get operatorName(): string;
|
|
698
783
|
get operationTime(): bigint;
|
|
699
784
|
get segments(): KtList<BotEssenceSegment>;
|
|
785
|
+
toString(): string;
|
|
786
|
+
hashCode(): number;
|
|
787
|
+
equals(other: Nullable<any>): boolean;
|
|
700
788
|
}
|
|
701
789
|
export declare namespace BotEssenceMessage {
|
|
702
790
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -708,6 +796,9 @@ export declare class BotEssenceMessageResult {
|
|
|
708
796
|
private constructor();
|
|
709
797
|
get messages(): KtList<BotEssenceMessage>;
|
|
710
798
|
get isEnd(): boolean;
|
|
799
|
+
toString(): string;
|
|
800
|
+
hashCode(): number;
|
|
801
|
+
equals(other: Nullable<any>): boolean;
|
|
711
802
|
}
|
|
712
803
|
export declare namespace BotEssenceMessageResult {
|
|
713
804
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -727,6 +818,8 @@ export declare namespace BotEssenceSegment {
|
|
|
727
818
|
private constructor();
|
|
728
819
|
get text(): string;
|
|
729
820
|
toString(): string;
|
|
821
|
+
hashCode(): number;
|
|
822
|
+
equals(other: Nullable<any>): boolean;
|
|
730
823
|
}
|
|
731
824
|
namespace Text {
|
|
732
825
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -738,6 +831,8 @@ export declare namespace BotEssenceSegment {
|
|
|
738
831
|
private constructor();
|
|
739
832
|
get faceId(): number;
|
|
740
833
|
toString(): string;
|
|
834
|
+
hashCode(): number;
|
|
835
|
+
equals(other: Nullable<any>): boolean;
|
|
741
836
|
}
|
|
742
837
|
namespace Face {
|
|
743
838
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -749,6 +844,8 @@ export declare namespace BotEssenceSegment {
|
|
|
749
844
|
private constructor();
|
|
750
845
|
get imageUrl(): string;
|
|
751
846
|
toString(): string;
|
|
847
|
+
hashCode(): number;
|
|
848
|
+
equals(other: Nullable<any>): boolean;
|
|
752
849
|
}
|
|
753
850
|
namespace Image {
|
|
754
851
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -760,6 +857,8 @@ export declare namespace BotEssenceSegment {
|
|
|
760
857
|
private constructor();
|
|
761
858
|
get thumbnailUrl(): string;
|
|
762
859
|
toString(): string;
|
|
860
|
+
hashCode(): number;
|
|
861
|
+
equals(other: Nullable<any>): boolean;
|
|
763
862
|
}
|
|
764
863
|
namespace Video {
|
|
765
864
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -774,7 +873,9 @@ export declare class BotForwardedMessage {
|
|
|
774
873
|
get avatarUrl(): string;
|
|
775
874
|
get timestamp(): bigint;
|
|
776
875
|
get segments(): KtList<BotIncomingSegment>;
|
|
777
|
-
|
|
876
|
+
toString(): string;
|
|
877
|
+
hashCode(): number;
|
|
878
|
+
equals(other: Nullable<any>): boolean;
|
|
778
879
|
}
|
|
779
880
|
export declare namespace BotForwardedMessage {
|
|
780
881
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -786,6 +887,9 @@ export declare class BotHistoryMessages {
|
|
|
786
887
|
private constructor();
|
|
787
888
|
get messages(): KtList<BotIncomingMessage>;
|
|
788
889
|
get nextStartSequence(): Nullable<bigint>;
|
|
890
|
+
toString(): string;
|
|
891
|
+
hashCode(): number;
|
|
892
|
+
equals(other: Nullable<any>): boolean;
|
|
789
893
|
}
|
|
790
894
|
export declare namespace BotHistoryMessages {
|
|
791
895
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -806,9 +910,10 @@ export declare class BotIncomingMessage {
|
|
|
806
910
|
get random(): number;
|
|
807
911
|
get messageUid(): bigint;
|
|
808
912
|
get segments(): KtList<BotIncomingSegment>;
|
|
809
|
-
set segments(value: KtList<BotIncomingSegment>);
|
|
810
913
|
get extraInfo(): Nullable<BotIncomingMessage.ExtraInfo>;
|
|
811
|
-
|
|
914
|
+
toString(): string;
|
|
915
|
+
hashCode(): number;
|
|
916
|
+
equals(other: Nullable<any>): boolean;
|
|
812
917
|
}
|
|
813
918
|
export declare namespace BotIncomingMessage {
|
|
814
919
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -820,6 +925,9 @@ export declare namespace BotIncomingMessage {
|
|
|
820
925
|
get nick(): string;
|
|
821
926
|
get groupCard(): string;
|
|
822
927
|
get specialTitle(): string;
|
|
928
|
+
toString(): string;
|
|
929
|
+
hashCode(): number;
|
|
930
|
+
equals(other: Nullable<any>): boolean;
|
|
823
931
|
}
|
|
824
932
|
namespace ExtraInfo {
|
|
825
933
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -840,6 +948,8 @@ export declare namespace BotIncomingSegment {
|
|
|
840
948
|
private constructor();
|
|
841
949
|
get text(): string;
|
|
842
950
|
toString(): string;
|
|
951
|
+
hashCode(): number;
|
|
952
|
+
equals(other: Nullable<any>): boolean;
|
|
843
953
|
}
|
|
844
954
|
namespace Text {
|
|
845
955
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -852,6 +962,8 @@ export declare namespace BotIncomingSegment {
|
|
|
852
962
|
get uin(): Nullable<bigint>;
|
|
853
963
|
get name(): string;
|
|
854
964
|
toString(): string;
|
|
965
|
+
hashCode(): number;
|
|
966
|
+
equals(other: Nullable<any>): boolean;
|
|
855
967
|
}
|
|
856
968
|
namespace Mention {
|
|
857
969
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -865,6 +977,8 @@ export declare namespace BotIncomingSegment {
|
|
|
865
977
|
get summary(): string;
|
|
866
978
|
get isLarge(): boolean;
|
|
867
979
|
toString(): string;
|
|
980
|
+
hashCode(): number;
|
|
981
|
+
equals(other: Nullable<any>): boolean;
|
|
868
982
|
}
|
|
869
983
|
namespace Face {
|
|
870
984
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -878,6 +992,8 @@ export declare namespace BotIncomingSegment {
|
|
|
878
992
|
get senderUin(): bigint;
|
|
879
993
|
get segments(): KtList<BotIncomingSegment>;
|
|
880
994
|
toString(): string;
|
|
995
|
+
hashCode(): number;
|
|
996
|
+
equals(other: Nullable<any>): boolean;
|
|
881
997
|
}
|
|
882
998
|
namespace Reply {
|
|
883
999
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -893,6 +1009,8 @@ export declare namespace BotIncomingSegment {
|
|
|
893
1009
|
get subType(): ImageSubType;
|
|
894
1010
|
get summary(): string;
|
|
895
1011
|
toString(): string;
|
|
1012
|
+
hashCode(): number;
|
|
1013
|
+
equals(other: Nullable<any>): boolean;
|
|
896
1014
|
}
|
|
897
1015
|
namespace Image {
|
|
898
1016
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -905,6 +1023,8 @@ export declare namespace BotIncomingSegment {
|
|
|
905
1023
|
get fileId(): string;
|
|
906
1024
|
get duration(): number;
|
|
907
1025
|
toString(): string;
|
|
1026
|
+
hashCode(): number;
|
|
1027
|
+
equals(other: Nullable<any>): boolean;
|
|
908
1028
|
}
|
|
909
1029
|
namespace Record {
|
|
910
1030
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -919,6 +1039,8 @@ export declare namespace BotIncomingSegment {
|
|
|
919
1039
|
get width(): number;
|
|
920
1040
|
get height(): number;
|
|
921
1041
|
toString(): string;
|
|
1042
|
+
hashCode(): number;
|
|
1043
|
+
equals(other: Nullable<any>): boolean;
|
|
922
1044
|
}
|
|
923
1045
|
namespace Video {
|
|
924
1046
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -933,6 +1055,8 @@ export declare namespace BotIncomingSegment {
|
|
|
933
1055
|
get fileSize(): bigint;
|
|
934
1056
|
get fileHash(): Nullable<string>;
|
|
935
1057
|
toString(): string;
|
|
1058
|
+
hashCode(): number;
|
|
1059
|
+
equals(other: Nullable<any>): boolean;
|
|
936
1060
|
}
|
|
937
1061
|
namespace File {
|
|
938
1062
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -947,6 +1071,8 @@ export declare namespace BotIncomingSegment {
|
|
|
947
1071
|
get preview(): KtList<string>;
|
|
948
1072
|
get summary(): string;
|
|
949
1073
|
toString(): string;
|
|
1074
|
+
hashCode(): number;
|
|
1075
|
+
equals(other: Nullable<any>): boolean;
|
|
950
1076
|
}
|
|
951
1077
|
namespace Forward {
|
|
952
1078
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -962,6 +1088,8 @@ export declare namespace BotIncomingSegment {
|
|
|
962
1088
|
get emojiPackageId(): number;
|
|
963
1089
|
get key(): string;
|
|
964
1090
|
toString(): string;
|
|
1091
|
+
hashCode(): number;
|
|
1092
|
+
equals(other: Nullable<any>): boolean;
|
|
965
1093
|
}
|
|
966
1094
|
namespace MarketFace {
|
|
967
1095
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -974,6 +1102,8 @@ export declare namespace BotIncomingSegment {
|
|
|
974
1102
|
get appName(): string;
|
|
975
1103
|
get jsonPayload(): string;
|
|
976
1104
|
toString(): string;
|
|
1105
|
+
hashCode(): number;
|
|
1106
|
+
equals(other: Nullable<any>): boolean;
|
|
977
1107
|
}
|
|
978
1108
|
namespace LightApp {
|
|
979
1109
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -986,6 +1116,9 @@ export declare class BotOutgoingMessageResult {
|
|
|
986
1116
|
private constructor();
|
|
987
1117
|
get sequence(): bigint;
|
|
988
1118
|
get sendTime(): bigint;
|
|
1119
|
+
toString(): string;
|
|
1120
|
+
hashCode(): number;
|
|
1121
|
+
equals(other: Nullable<any>): boolean;
|
|
989
1122
|
}
|
|
990
1123
|
export declare namespace BotOutgoingMessageResult {
|
|
991
1124
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -993,6 +1126,160 @@ export declare namespace BotOutgoingMessageResult {
|
|
|
993
1126
|
const constructor: abstract new () => BotOutgoingMessageResult;
|
|
994
1127
|
}
|
|
995
1128
|
}
|
|
1129
|
+
export declare abstract class BotOutgoingSegment {
|
|
1130
|
+
protected constructor();
|
|
1131
|
+
}
|
|
1132
|
+
export declare namespace BotOutgoingSegment {
|
|
1133
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1134
|
+
namespace $metadata$ {
|
|
1135
|
+
const constructor: abstract new () => BotOutgoingSegment;
|
|
1136
|
+
}
|
|
1137
|
+
class Text extends BotOutgoingSegment.$metadata$.constructor {
|
|
1138
|
+
constructor(text: string);
|
|
1139
|
+
get text(): string;
|
|
1140
|
+
toString(): string;
|
|
1141
|
+
copy(text?: string): BotOutgoingSegment.Text;
|
|
1142
|
+
hashCode(): number;
|
|
1143
|
+
equals(other: Nullable<any>): boolean;
|
|
1144
|
+
}
|
|
1145
|
+
namespace Text {
|
|
1146
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1147
|
+
namespace $metadata$ {
|
|
1148
|
+
const constructor: abstract new () => Text;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
class Mention extends BotOutgoingSegment.$metadata$.constructor {
|
|
1152
|
+
constructor(uin: Nullable<bigint> | undefined, name: string);
|
|
1153
|
+
get uin(): Nullable<bigint>;
|
|
1154
|
+
get name(): string;
|
|
1155
|
+
toString(): string;
|
|
1156
|
+
copy(uin?: Nullable<bigint>, name?: string): BotOutgoingSegment.Mention;
|
|
1157
|
+
hashCode(): number;
|
|
1158
|
+
equals(other: Nullable<any>): boolean;
|
|
1159
|
+
}
|
|
1160
|
+
namespace Mention {
|
|
1161
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1162
|
+
namespace $metadata$ {
|
|
1163
|
+
const constructor: abstract new () => Mention;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
class Face extends BotOutgoingSegment.$metadata$.constructor {
|
|
1167
|
+
constructor(faceId: number, isLarge: boolean);
|
|
1168
|
+
get faceId(): number;
|
|
1169
|
+
get isLarge(): boolean;
|
|
1170
|
+
toString(): string;
|
|
1171
|
+
copy(faceId?: number, isLarge?: boolean): BotOutgoingSegment.Face;
|
|
1172
|
+
hashCode(): number;
|
|
1173
|
+
equals(other: Nullable<any>): boolean;
|
|
1174
|
+
}
|
|
1175
|
+
namespace Face {
|
|
1176
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1177
|
+
namespace $metadata$ {
|
|
1178
|
+
const constructor: abstract new () => Face;
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
class Reply extends BotOutgoingSegment.$metadata$.constructor {
|
|
1182
|
+
constructor(sequence: bigint);
|
|
1183
|
+
get sequence(): bigint;
|
|
1184
|
+
toString(): string;
|
|
1185
|
+
copy(sequence?: bigint): BotOutgoingSegment.Reply;
|
|
1186
|
+
hashCode(): number;
|
|
1187
|
+
equals(other: Nullable<any>): boolean;
|
|
1188
|
+
}
|
|
1189
|
+
namespace Reply {
|
|
1190
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1191
|
+
namespace $metadata$ {
|
|
1192
|
+
const constructor: abstract new () => Reply;
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
class Image extends BotOutgoingSegment.$metadata$.constructor {
|
|
1196
|
+
constructor(raw: Int8Array, format: ImageFormat, width: number, height: number, subType: ImageSubType, summary: string);
|
|
1197
|
+
get raw(): Int8Array;
|
|
1198
|
+
get format(): ImageFormat;
|
|
1199
|
+
get width(): number;
|
|
1200
|
+
get height(): number;
|
|
1201
|
+
get subType(): ImageSubType;
|
|
1202
|
+
get summary(): string;
|
|
1203
|
+
toString(): string;
|
|
1204
|
+
copy(raw?: Int8Array, format?: ImageFormat, width?: number, height?: number, subType?: ImageSubType, summary?: string): BotOutgoingSegment.Image;
|
|
1205
|
+
hashCode(): number;
|
|
1206
|
+
equals(other: Nullable<any>): boolean;
|
|
1207
|
+
}
|
|
1208
|
+
namespace Image {
|
|
1209
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1210
|
+
namespace $metadata$ {
|
|
1211
|
+
const constructor: abstract new () => Image;
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
class Record extends BotOutgoingSegment.$metadata$.constructor {
|
|
1215
|
+
constructor(rawSilk: Int8Array, duration: bigint);
|
|
1216
|
+
get rawSilk(): Int8Array;
|
|
1217
|
+
get duration(): bigint;
|
|
1218
|
+
toString(): string;
|
|
1219
|
+
copy(rawSilk?: Int8Array, duration?: bigint): BotOutgoingSegment.Record;
|
|
1220
|
+
hashCode(): number;
|
|
1221
|
+
equals(other: Nullable<any>): boolean;
|
|
1222
|
+
}
|
|
1223
|
+
namespace Record {
|
|
1224
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1225
|
+
namespace $metadata$ {
|
|
1226
|
+
const constructor: abstract new () => Record;
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
class Video extends BotOutgoingSegment.$metadata$.constructor {
|
|
1230
|
+
constructor(raw: Int8Array, width: number, height: number, duration: bigint, thumb: Int8Array, thumbFormat: ImageFormat);
|
|
1231
|
+
get raw(): Int8Array;
|
|
1232
|
+
get width(): number;
|
|
1233
|
+
get height(): number;
|
|
1234
|
+
get duration(): bigint;
|
|
1235
|
+
get thumb(): Int8Array;
|
|
1236
|
+
get thumbFormat(): ImageFormat;
|
|
1237
|
+
toString(): string;
|
|
1238
|
+
copy(raw?: Int8Array, width?: number, height?: number, duration?: bigint, thumb?: Int8Array, thumbFormat?: ImageFormat): BotOutgoingSegment.Video;
|
|
1239
|
+
hashCode(): number;
|
|
1240
|
+
equals(other: Nullable<any>): boolean;
|
|
1241
|
+
}
|
|
1242
|
+
namespace Video {
|
|
1243
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1244
|
+
namespace $metadata$ {
|
|
1245
|
+
const constructor: abstract new () => Video;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
class Forward extends BotOutgoingSegment.$metadata$.constructor {
|
|
1249
|
+
constructor(nodes: KtList<BotOutgoingSegment.Forward.Node>, title?: string, preview?: KtList<string>, summary?: string, prompt?: string);
|
|
1250
|
+
get nodes(): KtList<BotOutgoingSegment.Forward.Node>;
|
|
1251
|
+
get title(): string;
|
|
1252
|
+
get preview(): KtList<string>;
|
|
1253
|
+
get summary(): string;
|
|
1254
|
+
get prompt(): string;
|
|
1255
|
+
toString(): string;
|
|
1256
|
+
copy(nodes?: KtList<BotOutgoingSegment.Forward.Node>, title?: string, preview?: KtList<string>, summary?: string, prompt?: string): BotOutgoingSegment.Forward;
|
|
1257
|
+
hashCode(): number;
|
|
1258
|
+
equals(other: Nullable<any>): boolean;
|
|
1259
|
+
}
|
|
1260
|
+
namespace Forward {
|
|
1261
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1262
|
+
namespace $metadata$ {
|
|
1263
|
+
const constructor: abstract new () => Forward;
|
|
1264
|
+
}
|
|
1265
|
+
class Node {
|
|
1266
|
+
constructor(senderUin: bigint, senderName: string, segments: KtList<BotOutgoingSegment>);
|
|
1267
|
+
get senderUin(): bigint;
|
|
1268
|
+
get senderName(): string;
|
|
1269
|
+
get segments(): KtList<BotOutgoingSegment>;
|
|
1270
|
+
copy(senderUin?: bigint, senderName?: string, segments?: KtList<BotOutgoingSegment>): BotOutgoingSegment.Forward.Node;
|
|
1271
|
+
toString(): string;
|
|
1272
|
+
hashCode(): number;
|
|
1273
|
+
equals(other: Nullable<any>): boolean;
|
|
1274
|
+
}
|
|
1275
|
+
namespace Node {
|
|
1276
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1277
|
+
namespace $metadata$ {
|
|
1278
|
+
const constructor: abstract new () => Node;
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
996
1283
|
export declare abstract class ImageFormat {
|
|
997
1284
|
private constructor();
|
|
998
1285
|
static get PNG(): ImageFormat & {
|
|
@@ -1105,6 +1392,9 @@ export declare class BotFaceDetail {
|
|
|
1105
1392
|
get emojiNameAlias(): KtList<string>;
|
|
1106
1393
|
get aniStickerWidth(): number;
|
|
1107
1394
|
get aniStickerHeight(): number;
|
|
1395
|
+
toString(): string;
|
|
1396
|
+
hashCode(): number;
|
|
1397
|
+
equals(other: Nullable<any>): boolean;
|
|
1108
1398
|
}
|
|
1109
1399
|
export declare namespace BotFaceDetail {
|
|
1110
1400
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1124,6 +1414,9 @@ export declare class BotFriendData {
|
|
|
1124
1414
|
get gender(): UserInfoGender;
|
|
1125
1415
|
get categoryId(): number;
|
|
1126
1416
|
get categoryName(): string;
|
|
1417
|
+
toString(): string;
|
|
1418
|
+
hashCode(): number;
|
|
1419
|
+
equals(other: Nullable<any>): boolean;
|
|
1127
1420
|
}
|
|
1128
1421
|
export declare namespace BotFriendData {
|
|
1129
1422
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1142,23 +1435,15 @@ export declare class BotFriendRequest {
|
|
|
1142
1435
|
get comment(): string;
|
|
1143
1436
|
get via(): string;
|
|
1144
1437
|
get isFiltered(): boolean;
|
|
1438
|
+
toString(): string;
|
|
1439
|
+
hashCode(): number;
|
|
1440
|
+
equals(other: Nullable<any>): boolean;
|
|
1145
1441
|
}
|
|
1146
1442
|
export declare namespace BotFriendRequest {
|
|
1147
1443
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1148
1444
|
namespace $metadata$ {
|
|
1149
1445
|
const constructor: abstract new () => BotFriendRequest;
|
|
1150
1446
|
}
|
|
1151
|
-
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
1152
|
-
private constructor();
|
|
1153
|
-
}
|
|
1154
|
-
namespace Companion {
|
|
1155
|
-
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1156
|
-
namespace $metadata$ {
|
|
1157
|
-
abstract class constructor {
|
|
1158
|
-
private constructor();
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
1447
|
}
|
|
1163
1448
|
export declare class BotGroupAnnouncement {
|
|
1164
1449
|
private constructor();
|
|
@@ -1168,6 +1453,9 @@ export declare class BotGroupAnnouncement {
|
|
|
1168
1453
|
get time(): bigint;
|
|
1169
1454
|
get content(): string;
|
|
1170
1455
|
get imageUrl(): Nullable<string>;
|
|
1456
|
+
toString(): string;
|
|
1457
|
+
hashCode(): number;
|
|
1458
|
+
equals(other: Nullable<any>): boolean;
|
|
1171
1459
|
}
|
|
1172
1460
|
export declare namespace BotGroupAnnouncement {
|
|
1173
1461
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1181,6 +1469,9 @@ export declare class BotGroupData {
|
|
|
1181
1469
|
get name(): string;
|
|
1182
1470
|
get memberCount(): number;
|
|
1183
1471
|
get capacity(): number;
|
|
1472
|
+
toString(): string;
|
|
1473
|
+
hashCode(): number;
|
|
1474
|
+
equals(other: Nullable<any>): boolean;
|
|
1184
1475
|
}
|
|
1185
1476
|
export declare namespace BotGroupData {
|
|
1186
1477
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1199,6 +1490,9 @@ export declare class BotGroupFileEntry {
|
|
|
1199
1490
|
get uploaderUin(): bigint;
|
|
1200
1491
|
get uploadedTime(): bigint;
|
|
1201
1492
|
get downloadedTimes(): number;
|
|
1493
|
+
toString(): string;
|
|
1494
|
+
hashCode(): number;
|
|
1495
|
+
equals(other: Nullable<any>): boolean;
|
|
1202
1496
|
}
|
|
1203
1497
|
export declare namespace BotGroupFileEntry {
|
|
1204
1498
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1210,6 +1504,9 @@ export declare class BotGroupFileSystemList {
|
|
|
1210
1504
|
private constructor();
|
|
1211
1505
|
get files(): KtList<BotGroupFileEntry>;
|
|
1212
1506
|
get folders(): KtList<BotGroupFolderEntry>;
|
|
1507
|
+
toString(): string;
|
|
1508
|
+
hashCode(): number;
|
|
1509
|
+
equals(other: Nullable<any>): boolean;
|
|
1213
1510
|
}
|
|
1214
1511
|
export declare namespace BotGroupFileSystemList {
|
|
1215
1512
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1226,6 +1523,9 @@ export declare class BotGroupFolderEntry {
|
|
|
1226
1523
|
get modifiedTime(): bigint;
|
|
1227
1524
|
get creatorUin(): bigint;
|
|
1228
1525
|
get totalFileCount(): number;
|
|
1526
|
+
toString(): string;
|
|
1527
|
+
hashCode(): number;
|
|
1528
|
+
equals(other: Nullable<any>): boolean;
|
|
1229
1529
|
}
|
|
1230
1530
|
export declare namespace BotGroupFolderEntry {
|
|
1231
1531
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1234,7 +1534,7 @@ export declare namespace BotGroupFolderEntry {
|
|
|
1234
1534
|
}
|
|
1235
1535
|
}
|
|
1236
1536
|
export declare class BotGroupMemberData {
|
|
1237
|
-
constructor(
|
|
1537
|
+
private constructor();
|
|
1238
1538
|
get uin(): bigint;
|
|
1239
1539
|
get uid(): string;
|
|
1240
1540
|
get nickname(): string;
|
|
@@ -1245,7 +1545,6 @@ export declare class BotGroupMemberData {
|
|
|
1245
1545
|
get lastSpokeAt(): bigint;
|
|
1246
1546
|
get mutedUntil(): Nullable<bigint>;
|
|
1247
1547
|
get role(): GroupMemberRole;
|
|
1248
|
-
copy(uin?: bigint, uid?: string, nickname?: string, card?: string, specialTitle?: string, level?: number, joinedAt?: bigint, lastSpokeAt?: bigint, mutedUntil?: Nullable<bigint>, role?: GroupMemberRole): BotGroupMemberData;
|
|
1249
1548
|
toString(): string;
|
|
1250
1549
|
hashCode(): number;
|
|
1251
1550
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1275,6 +1574,9 @@ export declare namespace BotGroupNotification {
|
|
|
1275
1574
|
get operatorUin(): Nullable<bigint>;
|
|
1276
1575
|
get operatorUid(): Nullable<string>;
|
|
1277
1576
|
get comment(): string;
|
|
1577
|
+
toString(): string;
|
|
1578
|
+
hashCode(): number;
|
|
1579
|
+
equals(other: Nullable<any>): boolean;
|
|
1278
1580
|
}
|
|
1279
1581
|
namespace JoinRequest {
|
|
1280
1582
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1291,6 +1593,9 @@ export declare namespace BotGroupNotification {
|
|
|
1291
1593
|
get isSet(): boolean;
|
|
1292
1594
|
get operatorUin(): bigint;
|
|
1293
1595
|
get operatorUid(): string;
|
|
1596
|
+
toString(): string;
|
|
1597
|
+
hashCode(): number;
|
|
1598
|
+
equals(other: Nullable<any>): boolean;
|
|
1294
1599
|
}
|
|
1295
1600
|
namespace AdminChange {
|
|
1296
1601
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1306,6 +1611,9 @@ export declare namespace BotGroupNotification {
|
|
|
1306
1611
|
get targetUserUid(): string;
|
|
1307
1612
|
get operatorUin(): bigint;
|
|
1308
1613
|
get operatorUid(): string;
|
|
1614
|
+
toString(): string;
|
|
1615
|
+
hashCode(): number;
|
|
1616
|
+
equals(other: Nullable<any>): boolean;
|
|
1309
1617
|
}
|
|
1310
1618
|
namespace Kick {
|
|
1311
1619
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1319,6 +1627,9 @@ export declare namespace BotGroupNotification {
|
|
|
1319
1627
|
get notificationSeq(): bigint;
|
|
1320
1628
|
get targetUserUin(): bigint;
|
|
1321
1629
|
get targetUserUid(): string;
|
|
1630
|
+
toString(): string;
|
|
1631
|
+
hashCode(): number;
|
|
1632
|
+
equals(other: Nullable<any>): boolean;
|
|
1322
1633
|
}
|
|
1323
1634
|
namespace Quit {
|
|
1324
1635
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1337,6 +1648,9 @@ export declare namespace BotGroupNotification {
|
|
|
1337
1648
|
get state(): RequestState;
|
|
1338
1649
|
get operatorUin(): Nullable<bigint>;
|
|
1339
1650
|
get operatorUid(): Nullable<string>;
|
|
1651
|
+
toString(): string;
|
|
1652
|
+
hashCode(): number;
|
|
1653
|
+
equals(other: Nullable<any>): boolean;
|
|
1340
1654
|
}
|
|
1341
1655
|
namespace InvitedJoinRequest {
|
|
1342
1656
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1344,22 +1658,14 @@ export declare namespace BotGroupNotification {
|
|
|
1344
1658
|
const constructor: abstract new () => InvitedJoinRequest;
|
|
1345
1659
|
}
|
|
1346
1660
|
}
|
|
1347
|
-
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
1348
|
-
private constructor();
|
|
1349
|
-
}
|
|
1350
|
-
namespace Companion {
|
|
1351
|
-
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1352
|
-
namespace $metadata$ {
|
|
1353
|
-
abstract class constructor {
|
|
1354
|
-
private constructor();
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
1661
|
}
|
|
1359
1662
|
export declare class BotPinnedChats {
|
|
1360
1663
|
private constructor();
|
|
1361
1664
|
get friendUins(): KtList<bigint>;
|
|
1362
1665
|
get groupUins(): KtList<bigint>;
|
|
1666
|
+
toString(): string;
|
|
1667
|
+
hashCode(): number;
|
|
1668
|
+
equals(other: Nullable<any>): boolean;
|
|
1363
1669
|
}
|
|
1364
1670
|
export declare namespace BotPinnedChats {
|
|
1365
1671
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1381,6 +1687,9 @@ export declare class BotUserInfo {
|
|
|
1381
1687
|
get registerTime(): bigint;
|
|
1382
1688
|
get age(): number;
|
|
1383
1689
|
get qid(): string;
|
|
1690
|
+
toString(): string;
|
|
1691
|
+
hashCode(): number;
|
|
1692
|
+
equals(other: Nullable<any>): boolean;
|
|
1384
1693
|
}
|
|
1385
1694
|
export declare namespace BotUserInfo {
|
|
1386
1695
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1593,10 +1902,10 @@ export declare class Bot /* implements CoroutineScope */ {
|
|
|
1593
1902
|
getPSKey(domain: string): Promise<string>;
|
|
1594
1903
|
getCookies(domain: string): Promise<KtMap<string, string>>;
|
|
1595
1904
|
getCsrfToken(): Promise<number>;
|
|
1596
|
-
sendFriendMessage(friendUin: bigint, build: (p0: BotOutgoingMessageBuilder) =>
|
|
1597
|
-
sendFriendMessageRich(friendUin: bigint, clientSequence: bigint, random: number, build: (p0: BotOutgoingMessageBuilder) =>
|
|
1598
|
-
sendGroupMessage(groupUin: bigint, build: (p0: BotOutgoingMessageBuilder) =>
|
|
1599
|
-
sendGroupMessageRich(groupUin: bigint, clientSequence: bigint, random: number, build: (p0: BotOutgoingMessageBuilder) =>
|
|
1905
|
+
sendFriendMessage(friendUin: bigint, build: (p0: BotOutgoingMessageBuilder) => void): Promise<BotOutgoingMessageResult>;
|
|
1906
|
+
sendFriendMessageRich(friendUin: bigint, clientSequence: bigint, random: number, build: (p0: BotOutgoingMessageBuilder) => void): Promise<BotOutgoingMessageResult>;
|
|
1907
|
+
sendGroupMessage(groupUin: bigint, build: (p0: BotOutgoingMessageBuilder) => void): Promise<BotOutgoingMessageResult>;
|
|
1908
|
+
sendGroupMessageRich(groupUin: bigint, clientSequence: bigint, random: number, build: (p0: BotOutgoingMessageBuilder) => void): Promise<BotOutgoingMessageResult>;
|
|
1600
1909
|
recallFriendMessage(friendUin: bigint, sequence: bigint): Promise<void>;
|
|
1601
1910
|
recallGroupMessage(groupUin: bigint, sequence: bigint): Promise<void>;
|
|
1602
1911
|
getFriendHistoryMessages(friendUin: bigint, limit: number, startSequence?: Nullable<bigint>): Promise<BotHistoryMessages>;
|
|
@@ -1707,8 +2016,8 @@ export declare namespace Bot {
|
|
|
1707
2016
|
}
|
|
1708
2017
|
export declare class BotForwardBlockBuilder {
|
|
1709
2018
|
private constructor();
|
|
1710
|
-
get underlying(): any/*
|
|
1711
|
-
node(senderUin: bigint, senderName: string, block: (p0: BotOutgoingMessageBuilder) =>
|
|
2019
|
+
get underlying(): any/* BotOutgoingMessageBuilder.Forward */;
|
|
2020
|
+
node(senderUin: bigint, senderName: string, block: (p0: BotOutgoingMessageBuilder) => void): void;
|
|
1712
2021
|
}
|
|
1713
2022
|
export declare namespace BotForwardBlockBuilder {
|
|
1714
2023
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1725,7 +2034,7 @@ export declare class BotOutgoingMessageBuilder {
|
|
|
1725
2034
|
image(raw: Int8Array, format: ImageFormat, width: number, height: number, subType?: ImageSubType, summary?: string): void;
|
|
1726
2035
|
record(rawSilk: Int8Array, duration: bigint): void;
|
|
1727
2036
|
video(raw: Int8Array, width: number, height: number, duration: bigint, thumb: Int8Array, thumbFormat: ImageFormat): void;
|
|
1728
|
-
forward(block: (p0: BotForwardBlockBuilder) =>
|
|
2037
|
+
forward(block: (p0: BotForwardBlockBuilder) => void): void;
|
|
1729
2038
|
}
|
|
1730
2039
|
export declare namespace BotOutgoingMessageBuilder {
|
|
1731
2040
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|