node-karin 1.14.3 → 1.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.14.4](https://github.com/KarinJS/Karin/compare/core-v1.14.3...core-v1.14.4) (2026-02-23)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * close [#615](https://github.com/KarinJS/Karin/issues/615); 适配合并转发的外显参数 ([#616](https://github.com/KarinJS/Karin/issues/616)) ([f1129c9](https://github.com/KarinJS/Karin/commit/f1129c94317102b213148474afbdc1222b4170c5))
9
+
3
10
  ## [1.14.3](https://github.com/KarinJS/Karin/compare/core-v1.14.2...core-v1.14.3) (2026-02-09)
4
11
 
5
12
 
package/dist/index.d.ts CHANGED
@@ -10977,6 +10977,10 @@ interface NodeCustomMessage extends MessageBase {
10977
10977
  user_id: string;
10978
10978
  nickname: string;
10979
10979
  content: OneBotMessage[];
10980
+ /** napcat拓展: 小卡片中间的外显 */
10981
+ news?: Array<{
10982
+ text: string;
10983
+ }>;
10980
10984
  /** napcat拓展: 消息列表的外显 */
10981
10985
  prompt?: string;
10982
10986
  /** napcat拓展: 小卡片底下文本: 查看1条转发消息 */
@@ -12003,6 +12007,16 @@ interface OneBotMessageApi {
12003
12007
  action: 'send_forward_msg';
12004
12008
  params: {
12005
12009
  messages: NodeMessage[];
12010
+ /** napcat拓展: 小卡片中间的外显 */
12011
+ news?: Array<{
12012
+ text: string;
12013
+ }>;
12014
+ /** napcat拓展: 消息列表的外显 */
12015
+ prompt?: string;
12016
+ /** napcat拓展: 小卡片底下文本: 查看1条转发消息 */
12017
+ summary?: string;
12018
+ /** napcat拓展: 小卡片标题 */
12019
+ source?: string;
12006
12020
  };
12007
12021
  response: {
12008
12022
  message_id: string;
@@ -12017,6 +12031,16 @@ interface OneBotMessageApi {
12017
12031
  params: {
12018
12032
  group_id: number;
12019
12033
  messages: NodeMessage[];
12034
+ /** napcat拓展: 小卡片中间的外显 */
12035
+ news?: Array<{
12036
+ text: string;
12037
+ }>;
12038
+ /** napcat拓展: 消息列表的外显 */
12039
+ prompt?: string;
12040
+ /** napcat拓展: 小卡片底下文本: 查看1条转发消息 */
12041
+ summary?: string;
12042
+ /** napcat拓展: 小卡片标题 */
12043
+ source?: string;
12020
12044
  };
12021
12045
  response: {
12022
12046
  message_id: string;
@@ -12031,6 +12055,16 @@ interface OneBotMessageApi {
12031
12055
  params: {
12032
12056
  user_id: number;
12033
12057
  messages: NodeMessage[];
12058
+ /** napcat拓展: 小卡片中间的外显 */
12059
+ news?: Array<{
12060
+ text: string;
12061
+ }>;
12062
+ /** napcat拓展: 消息列表的外显 */
12063
+ prompt?: string;
12064
+ /** napcat拓展: 小卡片底下文本: 查看1条转发消息 */
12065
+ summary?: string;
12066
+ /** napcat拓展: 小卡片标题 */
12067
+ source?: string;
12034
12068
  };
12035
12069
  response: {
12036
12070
  message_id: string;
@@ -14410,9 +14444,17 @@ declare abstract class OneBotCore extends EventEmitter$1 {
14410
14444
  /**
14411
14445
  * GoCQ扩展: 发送合并转发消息
14412
14446
  * @param messages - 消息节点列表
14447
+ * @param options - 外显参数
14413
14448
  * @returns 消息ID
14414
14449
  */
14415
- sendForwardMsg(messages: NodeMessage[]): Promise<{
14450
+ sendForwardMsg(messages: NodeMessage[], options?: {
14451
+ news?: Array<{
14452
+ text: string;
14453
+ }>;
14454
+ prompt?: string;
14455
+ summary?: string;
14456
+ source?: string;
14457
+ }): Promise<{
14416
14458
  message_id: string;
14417
14459
  forward_id: string;
14418
14460
  res_id?: string;
@@ -14421,9 +14463,17 @@ declare abstract class OneBotCore extends EventEmitter$1 {
14421
14463
  * GoCQ扩展: 发送合并转发(群聊)
14422
14464
  * @param group_id - 群ID
14423
14465
  * @param messages - 消息节点列表
14466
+ * @param options - 外显参数
14424
14467
  * @returns 消息ID
14425
14468
  */
14426
- sendGroupForwardMsg(group_id: number, messages: NodeMessage[]): Promise<{
14469
+ sendGroupForwardMsg(group_id: number, messages: NodeMessage[], options?: {
14470
+ news?: Array<{
14471
+ text: string;
14472
+ }>;
14473
+ prompt?: string;
14474
+ summary?: string;
14475
+ source?: string;
14476
+ }): Promise<{
14427
14477
  message_id: string;
14428
14478
  forward_id: string;
14429
14479
  res_id?: string;
@@ -14432,9 +14482,17 @@ declare abstract class OneBotCore extends EventEmitter$1 {
14432
14482
  * GoCQ扩展: 发送合并转发(好友)
14433
14483
  * @param user_id - 用户ID
14434
14484
  * @param messages - 消息节点列表
14485
+ * @param options - 外显参数
14435
14486
  * @returns 消息ID
14436
14487
  */
14437
- sendPrivateForwardMsg(user_id: number, messages: NodeMessage[]): Promise<{
14488
+ sendPrivateForwardMsg(user_id: number, messages: NodeMessage[], options?: {
14489
+ news?: Array<{
14490
+ text: string;
14491
+ }>;
14492
+ prompt?: string;
14493
+ summary?: string;
14494
+ source?: string;
14495
+ }): Promise<{
14438
14496
  message_id: string;
14439
14497
  forward_id: string;
14440
14498
  res_id?: string;