@acidify/core 1.0.1 → 1.1.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.
@@ -677,6 +677,7 @@ export declare class GroupMessageReactionEvent implements AcidifyEvent {
677
677
  get userUid(): string;
678
678
  get messageSeq(): bigint;
679
679
  get faceId(): string;
680
+ get type(): number;
680
681
  get isAdd(): boolean;
681
682
  toString(): string;
682
683
  hashCode(): number;
@@ -1119,6 +1120,7 @@ export declare namespace BotEssenceSegment {
1119
1120
  }
1120
1121
  export declare class BotForwardedMessage {
1121
1122
  private constructor();
1123
+ get sequence(): bigint;
1122
1124
  get senderName(): string;
1123
1125
  get avatarUrl(): string;
1124
1126
  get timestamp(): bigint;
@@ -1240,6 +1242,8 @@ export declare namespace BotIncomingSegment {
1240
1242
  private constructor();
1241
1243
  get sequence(): bigint;
1242
1244
  get senderUin(): bigint;
1245
+ get senderName(): Nullable<string>;
1246
+ get timestamp(): bigint;
1243
1247
  get segments(): KtList<BotIncomingSegment>;
1244
1248
  toString(): string;
1245
1249
  hashCode(): number;
@@ -1529,6 +1533,20 @@ export declare namespace BotOutgoingSegment {
1529
1533
  }
1530
1534
  }
1531
1535
  }
1536
+ class LightApp extends BotOutgoingSegment.$metadata$.constructor {
1537
+ constructor(jsonPayload: string);
1538
+ get jsonPayload(): string;
1539
+ copy(jsonPayload?: string): BotOutgoingSegment.LightApp;
1540
+ toString(): string;
1541
+ hashCode(): number;
1542
+ equals(other: Nullable<any>): boolean;
1543
+ }
1544
+ namespace LightApp {
1545
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1546
+ namespace $metadata$ {
1547
+ const constructor: abstract new () => LightApp;
1548
+ }
1549
+ }
1532
1550
  }
1533
1551
  export declare abstract class ImageFormat {
1534
1552
  private constructor();
@@ -2182,7 +2200,7 @@ export declare abstract class AbstractBot /* implements CoroutineScope */ {
2182
2200
  getGroupEssenceMessages(groupUin: bigint, pageIndex: number, pageSize: number): Promise<BotEssenceMessageResult>;
2183
2201
  setGroupEssenceMessage(groupUin: bigint, sequence: bigint, isSet: boolean): Promise<void>;
2184
2202
  quitGroup(groupUin: bigint): Promise<void>;
2185
- setGroupMessageReaction(groupUin: bigint, sequence: bigint, code: string, isAdd?: boolean): Promise<void>;
2203
+ setGroupMessageReaction(groupUin: bigint, sequence: bigint, code: string, type?: number, isAdd?: boolean): Promise<void>;
2186
2204
  sendGroupNudge(groupUin: bigint, targetUin: bigint): Promise<void>;
2187
2205
  getGroupNotifications(startSequence?: Nullable<bigint>, isFiltered?: boolean, count?: number): Promise<JsGroupNotifications>;
2188
2206
  setGroupRequest(groupUin: bigint, sequence: bigint, eventType: number, accept: boolean, isFiltered?: boolean, reason?: string): Promise<void>;
@@ -2344,6 +2362,8 @@ export declare class BotOutgoingMessageBuilder {
2344
2362
  record(rawSilk: Int8Array, duration: bigint): void;
2345
2363
  video(raw: Int8Array, width: number, height: number, duration: bigint, thumb: Int8Array, thumbFormat: ImageFormat): void;
2346
2364
  forward(block: (p0: BotForwardBlockBuilder) => void): void;
2365
+ lightApp(jsonPayload: string): void;
2366
+ lightAppFromJsObject(jsObject: any): void;
2347
2367
  }
2348
2368
  export declare namespace BotOutgoingMessageBuilder {
2349
2369
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */