@larksuiteoapi/node-sdk 1.6.2 → 1.7.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/es/index.js +253 -64
- package/lib/index.js +253 -64
- package/package.json +1 -1
- package/types/index.d.ts +587 -203
package/types/index.d.ts
CHANGED
|
@@ -364,7 +364,7 @@ declare abstract class Client$1 {
|
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* 管理后台-企业勋章
|
|
368
368
|
*/
|
|
369
369
|
admin: {
|
|
370
370
|
/**
|
|
@@ -514,6 +514,16 @@ declare abstract class Client$1 {
|
|
|
514
514
|
explanation?: string;
|
|
515
515
|
detail_image: string;
|
|
516
516
|
show_image: string;
|
|
517
|
+
i18n_name?: {
|
|
518
|
+
zh_cn?: string;
|
|
519
|
+
en_us?: string;
|
|
520
|
+
ja_jp?: string;
|
|
521
|
+
};
|
|
522
|
+
i18n_explanation?: {
|
|
523
|
+
zh_cn?: string;
|
|
524
|
+
en_us?: string;
|
|
525
|
+
ja_jp?: string;
|
|
526
|
+
};
|
|
517
527
|
};
|
|
518
528
|
}, options?: IRequestOptions$1) => Promise<{
|
|
519
529
|
code?: number | undefined;
|
|
@@ -525,6 +535,16 @@ declare abstract class Client$1 {
|
|
|
525
535
|
explanation?: string | undefined;
|
|
526
536
|
detail_image: string;
|
|
527
537
|
show_image: string;
|
|
538
|
+
i18n_name?: {
|
|
539
|
+
zh_cn?: string | undefined;
|
|
540
|
+
en_us?: string | undefined;
|
|
541
|
+
ja_jp?: string | undefined;
|
|
542
|
+
} | undefined;
|
|
543
|
+
i18n_explanation?: {
|
|
544
|
+
zh_cn?: string | undefined;
|
|
545
|
+
en_us?: string | undefined;
|
|
546
|
+
ja_jp?: string | undefined;
|
|
547
|
+
} | undefined;
|
|
528
548
|
} | undefined;
|
|
529
549
|
} | undefined;
|
|
530
550
|
}>;
|
|
@@ -551,6 +571,16 @@ declare abstract class Client$1 {
|
|
|
551
571
|
explanation?: string | undefined;
|
|
552
572
|
detail_image: string;
|
|
553
573
|
show_image: string;
|
|
574
|
+
i18n_name?: {
|
|
575
|
+
zh_cn?: string | undefined;
|
|
576
|
+
en_us?: string | undefined;
|
|
577
|
+
ja_jp?: string | undefined;
|
|
578
|
+
} | undefined;
|
|
579
|
+
i18n_explanation?: {
|
|
580
|
+
zh_cn?: string | undefined;
|
|
581
|
+
en_us?: string | undefined;
|
|
582
|
+
ja_jp?: string | undefined;
|
|
583
|
+
} | undefined;
|
|
554
584
|
} | undefined;
|
|
555
585
|
} | undefined;
|
|
556
586
|
}>;
|
|
@@ -568,6 +598,16 @@ declare abstract class Client$1 {
|
|
|
568
598
|
explanation?: string | undefined;
|
|
569
599
|
detail_image: string;
|
|
570
600
|
show_image: string;
|
|
601
|
+
i18n_name?: {
|
|
602
|
+
zh_cn?: string | undefined;
|
|
603
|
+
en_us?: string | undefined;
|
|
604
|
+
ja_jp?: string | undefined;
|
|
605
|
+
} | undefined;
|
|
606
|
+
i18n_explanation?: {
|
|
607
|
+
zh_cn?: string | undefined;
|
|
608
|
+
en_us?: string | undefined;
|
|
609
|
+
ja_jp?: string | undefined;
|
|
610
|
+
} | undefined;
|
|
571
611
|
}[] | undefined;
|
|
572
612
|
} | null, void, unknown>;
|
|
573
613
|
}>;
|
|
@@ -596,6 +636,16 @@ declare abstract class Client$1 {
|
|
|
596
636
|
explanation?: string | undefined;
|
|
597
637
|
detail_image: string;
|
|
598
638
|
show_image: string;
|
|
639
|
+
i18n_name?: {
|
|
640
|
+
zh_cn?: string | undefined;
|
|
641
|
+
en_us?: string | undefined;
|
|
642
|
+
ja_jp?: string | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
i18n_explanation?: {
|
|
645
|
+
zh_cn?: string | undefined;
|
|
646
|
+
en_us?: string | undefined;
|
|
647
|
+
ja_jp?: string | undefined;
|
|
648
|
+
} | undefined;
|
|
599
649
|
}[] | undefined;
|
|
600
650
|
page_token?: string | undefined;
|
|
601
651
|
has_more?: boolean | undefined;
|
|
@@ -616,6 +666,16 @@ declare abstract class Client$1 {
|
|
|
616
666
|
explanation?: string;
|
|
617
667
|
detail_image: string;
|
|
618
668
|
show_image: string;
|
|
669
|
+
i18n_name?: {
|
|
670
|
+
zh_cn?: string;
|
|
671
|
+
en_us?: string;
|
|
672
|
+
ja_jp?: string;
|
|
673
|
+
};
|
|
674
|
+
i18n_explanation?: {
|
|
675
|
+
zh_cn?: string;
|
|
676
|
+
en_us?: string;
|
|
677
|
+
ja_jp?: string;
|
|
678
|
+
};
|
|
619
679
|
};
|
|
620
680
|
path: {
|
|
621
681
|
badge_id: string;
|
|
@@ -630,6 +690,16 @@ declare abstract class Client$1 {
|
|
|
630
690
|
explanation?: string | undefined;
|
|
631
691
|
detail_image: string;
|
|
632
692
|
show_image: string;
|
|
693
|
+
i18n_name?: {
|
|
694
|
+
zh_cn?: string | undefined;
|
|
695
|
+
en_us?: string | undefined;
|
|
696
|
+
ja_jp?: string | undefined;
|
|
697
|
+
} | undefined;
|
|
698
|
+
i18n_explanation?: {
|
|
699
|
+
zh_cn?: string | undefined;
|
|
700
|
+
en_us?: string | undefined;
|
|
701
|
+
ja_jp?: string | undefined;
|
|
702
|
+
} | undefined;
|
|
633
703
|
} | undefined;
|
|
634
704
|
} | undefined;
|
|
635
705
|
}>;
|
|
@@ -759,6 +829,7 @@ declare abstract class Client$1 {
|
|
|
759
829
|
page_token?: string;
|
|
760
830
|
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
761
831
|
department_id_type?: "department_id" | "open_department_id";
|
|
832
|
+
name?: string;
|
|
762
833
|
};
|
|
763
834
|
path: {
|
|
764
835
|
badge_id: string;
|
|
@@ -799,6 +870,7 @@ declare abstract class Client$1 {
|
|
|
799
870
|
page_token?: string;
|
|
800
871
|
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
801
872
|
department_id_type?: "department_id" | "open_department_id";
|
|
873
|
+
name?: string;
|
|
802
874
|
};
|
|
803
875
|
path: {
|
|
804
876
|
badge_id: string;
|
|
@@ -2596,8 +2668,8 @@ declare abstract class Client$1 {
|
|
|
2596
2668
|
} | undefined;
|
|
2597
2669
|
}>;
|
|
2598
2670
|
queryWithIterator: (payload?: {
|
|
2599
|
-
data
|
|
2600
|
-
user_id
|
|
2671
|
+
data?: {
|
|
2672
|
+
user_id?: string;
|
|
2601
2673
|
approval_code?: string;
|
|
2602
2674
|
instance_code?: string;
|
|
2603
2675
|
instance_external_id?: string;
|
|
@@ -2657,8 +2729,8 @@ declare abstract class Client$1 {
|
|
|
2657
2729
|
* 该接口通过不同条件查询审批系统中符合条件的审批实例列表。
|
|
2658
2730
|
*/
|
|
2659
2731
|
query: (payload?: {
|
|
2660
|
-
data
|
|
2661
|
-
user_id
|
|
2732
|
+
data?: {
|
|
2733
|
+
user_id?: string;
|
|
2662
2734
|
approval_code?: string;
|
|
2663
2735
|
instance_code?: string;
|
|
2664
2736
|
instance_external_id?: string;
|
|
@@ -2722,8 +2794,8 @@ declare abstract class Client$1 {
|
|
|
2722
2794
|
* 该接口通过不同条件查询审批系统中符合条件的审批抄送列表。
|
|
2723
2795
|
*/
|
|
2724
2796
|
searchCc: (payload?: {
|
|
2725
|
-
data
|
|
2726
|
-
user_id
|
|
2797
|
+
data?: {
|
|
2798
|
+
user_id?: string;
|
|
2727
2799
|
approval_code?: string;
|
|
2728
2800
|
instance_code?: string;
|
|
2729
2801
|
instance_external_id?: string;
|
|
@@ -2972,7 +3044,7 @@ declare abstract class Client$1 {
|
|
|
2972
3044
|
}>;
|
|
2973
3045
|
};
|
|
2974
3046
|
/**
|
|
2975
|
-
*
|
|
3047
|
+
* 审批查询
|
|
2976
3048
|
*/
|
|
2977
3049
|
task: {
|
|
2978
3050
|
/**
|
|
@@ -3127,8 +3199,8 @@ declare abstract class Client$1 {
|
|
|
3127
3199
|
* 该接口通过不同条件查询审批系统中符合条件的审批任务列表
|
|
3128
3200
|
*/
|
|
3129
3201
|
search: (payload?: {
|
|
3130
|
-
data
|
|
3131
|
-
user_id
|
|
3202
|
+
data?: {
|
|
3203
|
+
user_id?: string;
|
|
3132
3204
|
approval_code?: string;
|
|
3133
3205
|
instance_code?: string;
|
|
3134
3206
|
instance_external_id?: string;
|
|
@@ -4109,8 +4181,10 @@ declare abstract class Client$1 {
|
|
|
4109
4181
|
user_ids: Array<string>;
|
|
4110
4182
|
check_date_from: number;
|
|
4111
4183
|
check_date_to: number;
|
|
4112
|
-
check_date_type?: "PeriodTime" | "CreateTime";
|
|
4184
|
+
check_date_type?: "PeriodTime" | "CreateTime" | "UpdateTime";
|
|
4113
4185
|
status?: number;
|
|
4186
|
+
check_time_from?: string;
|
|
4187
|
+
check_time_to?: string;
|
|
4114
4188
|
};
|
|
4115
4189
|
params: {
|
|
4116
4190
|
employee_type: "employee_id" | "employee_no";
|
|
@@ -4800,7 +4874,7 @@ declare abstract class Client$1 {
|
|
|
4800
4874
|
user_ids: Array<string>;
|
|
4801
4875
|
check_time_from: string;
|
|
4802
4876
|
check_time_to: string;
|
|
4803
|
-
check_date_type?: "PeriodTime" | "CreateTime";
|
|
4877
|
+
check_date_type?: "PeriodTime" | "CreateTime" | "UpdateTime";
|
|
4804
4878
|
status?: number;
|
|
4805
4879
|
};
|
|
4806
4880
|
params: {
|
|
@@ -6171,9 +6245,9 @@ declare abstract class Client$1 {
|
|
|
6171
6245
|
*
|
|
6172
6246
|
* 获取多维表格元数据
|
|
6173
6247
|
*
|
|
6174
|
-
*
|
|
6248
|
+
* 获取指定多维表格的元数据信息,包括多维表格名称,多维表格版本号,多维表格是否开启高级权限等。
|
|
6175
6249
|
*
|
|
6176
|
-
* 该接口支持调用频率上限为 20 QPS
|
|
6250
|
+
* 该接口支持调用频率上限为 20 QPS(Query Per Second,每秒请求率)
|
|
6177
6251
|
*/
|
|
6178
6252
|
get: (payload?: {
|
|
6179
6253
|
path: {
|
|
@@ -7314,7 +7388,7 @@ declare abstract class Client$1 {
|
|
|
7314
7388
|
*
|
|
7315
7389
|
* 该接口用于在数据表中新增多条记录,单次调用最多新增 500 条记录。
|
|
7316
7390
|
*
|
|
7317
|
-
* 该接口支持调用频率上限为 10 QPS
|
|
7391
|
+
* 该接口支持调用频率上限为 10 QPS(Query Per Second,每秒请求率)
|
|
7318
7392
|
*/
|
|
7319
7393
|
batchCreate: (payload?: {
|
|
7320
7394
|
data: {
|
|
@@ -7560,7 +7634,7 @@ declare abstract class Client$1 {
|
|
|
7560
7634
|
*
|
|
7561
7635
|
* 该接口用于在数据表中新增一条记录
|
|
7562
7636
|
*
|
|
7563
|
-
* 该接口支持调用频率上限为 10 QPS
|
|
7637
|
+
* 该接口支持调用频率上限为 10 QPS(Query Per Second,每秒请求率)
|
|
7564
7638
|
*/
|
|
7565
7639
|
create: (payload?: {
|
|
7566
7640
|
data: {
|
|
@@ -7810,7 +7884,7 @@ declare abstract class Client$1 {
|
|
|
7810
7884
|
*
|
|
7811
7885
|
* 该接口用于列出数据表中的现有记录,单次最多列出 500 行记录,支持分页获取。
|
|
7812
7886
|
*
|
|
7813
|
-
* 该接口支持调用频率上限为 1000
|
|
7887
|
+
* 该接口支持调用频率上限为 10 QPS(Query Per Second,每秒请求率),1000 QPM(Query Per Minute,每分钟请求率)
|
|
7814
7888
|
*/
|
|
7815
7889
|
list: (payload?: {
|
|
7816
7890
|
params?: {
|
|
@@ -7888,7 +7962,7 @@ declare abstract class Client$1 {
|
|
|
7888
7962
|
*
|
|
7889
7963
|
* 该接口用于更新数据表中的一条记录
|
|
7890
7964
|
*
|
|
7891
|
-
* 该接口支持调用频率上限为 10 QPS
|
|
7965
|
+
* 该接口支持调用频率上限为 10 QPS(Query Per Second,每秒请求率)
|
|
7892
7966
|
*/
|
|
7893
7967
|
update: (payload?: {
|
|
7894
7968
|
data: {
|
|
@@ -36500,7 +36574,7 @@ declare abstract class Client$1 {
|
|
|
36500
36574
|
};
|
|
36501
36575
|
};
|
|
36502
36576
|
params: {
|
|
36503
|
-
file_type: "doc" | "
|
|
36577
|
+
file_type: "doc" | "docx";
|
|
36504
36578
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
36505
36579
|
};
|
|
36506
36580
|
path: {
|
|
@@ -36824,7 +36898,7 @@ declare abstract class Client$1 {
|
|
|
36824
36898
|
}>;
|
|
36825
36899
|
};
|
|
36826
36900
|
/**
|
|
36827
|
-
*
|
|
36901
|
+
* 事件
|
|
36828
36902
|
*/
|
|
36829
36903
|
file: {
|
|
36830
36904
|
/**
|
|
@@ -40383,7 +40457,7 @@ declare abstract class Client$1 {
|
|
|
40383
40457
|
*/
|
|
40384
40458
|
hire: {
|
|
40385
40459
|
/**
|
|
40386
|
-
*
|
|
40460
|
+
* 入职
|
|
40387
40461
|
*/
|
|
40388
40462
|
application: {
|
|
40389
40463
|
/**
|
|
@@ -41141,6 +41215,7 @@ declare abstract class Client$1 {
|
|
|
41141
41215
|
en_us?: string | undefined;
|
|
41142
41216
|
} | undefined;
|
|
41143
41217
|
}[] | undefined;
|
|
41218
|
+
job_attribute?: number | undefined;
|
|
41144
41219
|
} | undefined;
|
|
41145
41220
|
} | undefined;
|
|
41146
41221
|
}>;
|
|
@@ -42005,7 +42080,7 @@ declare abstract class Client$1 {
|
|
|
42005
42080
|
};
|
|
42006
42081
|
};
|
|
42007
42082
|
/**
|
|
42008
|
-
*
|
|
42083
|
+
* 消息卡片
|
|
42009
42084
|
*/
|
|
42010
42085
|
im: {
|
|
42011
42086
|
/**
|
|
@@ -42021,7 +42096,7 @@ declare abstract class Client$1 {
|
|
|
42021
42096
|
*
|
|
42022
42097
|
* 批量撤回通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口发送的消息。
|
|
42023
42098
|
*
|
|
42024
|
-
* 注意事项:;- 撤回单条发送的消息请使用[撤回消息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/delete)接口;- 不支持撤回发出时间超过1天的消息;- 一次调用涉及大量消息,所以为异步接口,会有一定延迟。
|
|
42099
|
+
* 注意事项:;- 应用需要启用[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 撤回单条发送的消息请使用[撤回消息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/delete)接口;- 不支持撤回发出时间超过1天的消息;- 一次调用涉及大量消息,所以为异步接口,会有一定延迟。
|
|
42025
42100
|
*/
|
|
42026
42101
|
delete: (payload?: {
|
|
42027
42102
|
path: {
|
|
@@ -42101,7 +42176,7 @@ declare abstract class Client$1 {
|
|
|
42101
42176
|
*
|
|
42102
42177
|
* 获取会话中的群公告信息,公告信息格式与[云文档](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN)格式相同。
|
|
42103
42178
|
*
|
|
42104
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42179
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42105
42180
|
*/
|
|
42106
42181
|
get: (payload?: {
|
|
42107
42182
|
params?: {
|
|
@@ -42133,7 +42208,7 @@ declare abstract class Client$1 {
|
|
|
42133
42208
|
*
|
|
42134
42209
|
* 更新会话中的群公告信息,更新公告信息的格式和更新[云文档](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN)格式相同。
|
|
42135
42210
|
*
|
|
42136
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42211
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 操作者需要拥有群公告文档的阅读权限;- 获取内部群信息时,操作者须与群组在同一租户下;- 若群开启了 ==仅群主和群管理员可编辑群信息== 配置,群主/群管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可更新群公告;- 若群未开启 ==仅群主和群管理员可编辑群信息== 配置,所有成员可以更新群公告
|
|
42137
42212
|
*/
|
|
42138
42213
|
patch: (payload?: {
|
|
42139
42214
|
data: {
|
|
@@ -42162,7 +42237,7 @@ declare abstract class Client$1 {
|
|
|
42162
42237
|
*
|
|
42163
42238
|
* 创建群并设置群头像、群名、群描述等。
|
|
42164
42239
|
*
|
|
42165
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42240
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 本接口支持在创建群的同时拉用户或机器人进群;如果仅需要拉用户或者机器人入群参考 [将用户或机器人拉入群聊](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/create)接口
|
|
42166
42241
|
*/
|
|
42167
42242
|
create: (payload?: {
|
|
42168
42243
|
data?: {
|
|
@@ -42189,6 +42264,7 @@ declare abstract class Client$1 {
|
|
|
42189
42264
|
params?: {
|
|
42190
42265
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
42191
42266
|
set_bot_manager?: boolean;
|
|
42267
|
+
uuid?: string;
|
|
42192
42268
|
};
|
|
42193
42269
|
}, options?: IRequestOptions$1) => Promise<{
|
|
42194
42270
|
code?: number | undefined;
|
|
@@ -42231,7 +42307,7 @@ declare abstract class Client$1 {
|
|
|
42231
42307
|
*
|
|
42232
42308
|
* 解散群组。
|
|
42233
42309
|
*
|
|
42234
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42310
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 如果使用tenant_access_token,需要机器人符合以下任一情况才可解散群:; - 机器人是群主; - 机器人是群的创建者且具备==更新应用所创建群的群信息==权限;- 如果使用user_access_token,需要对应的用户是群主才可解散群
|
|
42235
42311
|
*/
|
|
42236
42312
|
delete: (payload?: {
|
|
42237
42313
|
path?: {
|
|
@@ -42251,7 +42327,7 @@ declare abstract class Client$1 {
|
|
|
42251
42327
|
*
|
|
42252
42328
|
* 获取群名称、群描述、群头像、群主 ID 等群基本信息。
|
|
42253
42329
|
*
|
|
42254
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42330
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - 机器人或授权用户必须在群里(否则只会返回群名称、群头像等基本信息);- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42255
42331
|
*/
|
|
42256
42332
|
get: (payload?: {
|
|
42257
42333
|
params?: {
|
|
@@ -42300,9 +42376,9 @@ declare abstract class Client$1 {
|
|
|
42300
42376
|
*
|
|
42301
42377
|
* 获取群分享链接
|
|
42302
42378
|
*
|
|
42303
|
-
*
|
|
42379
|
+
* 获取指定群的分享链接。
|
|
42304
42380
|
*
|
|
42305
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42381
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - 机器人或授权用户必须在群组中;- 单聊、密聊、团队群不支持分享群链接;- 当Bot被停用或Bot退出群组时,Bot生成的群链接也将停用;- 当群聊开启了 ==仅群主和群管理员可添加群成员/分享群== 设置时,仅**群主**和**群管理员**可以获取群分享链接;- 获取内部群分享链接时,操作者须与群组在同一租户下
|
|
42306
42382
|
*/
|
|
42307
42383
|
link: (payload?: {
|
|
42308
42384
|
data?: {
|
|
@@ -42350,7 +42426,7 @@ declare abstract class Client$1 {
|
|
|
42350
42426
|
*
|
|
42351
42427
|
* 获取用户或者机器人所在群列表。
|
|
42352
42428
|
*
|
|
42353
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42429
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 请注意区分本接口和[获取群信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/get)的请求 URL;- 获取的群列表不包含P2P单聊
|
|
42354
42430
|
*/
|
|
42355
42431
|
list: (payload?: {
|
|
42356
42432
|
params?: {
|
|
@@ -42408,7 +42484,7 @@ declare abstract class Client$1 {
|
|
|
42408
42484
|
*
|
|
42409
42485
|
* 搜索对用户或机器人可见的群列表,包括:用户或机器人所在的群、对用户或机器人公开的群。;搜索可获得的群信息包括:群ID(chat_id)、群名称、群描述等。
|
|
42410
42486
|
*
|
|
42411
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42487
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)
|
|
42412
42488
|
*/
|
|
42413
42489
|
search: (payload?: {
|
|
42414
42490
|
params?: {
|
|
@@ -42445,7 +42521,7 @@ declare abstract class Client$1 {
|
|
|
42445
42521
|
*
|
|
42446
42522
|
* 更新群头像、群名称、群描述、群配置、转让群主等。
|
|
42447
42523
|
*
|
|
42448
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42524
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 对于群主/群管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可更新所有信息;- 对于不满足上述权限条件的群成员或机器人:; - 若未开启 ==仅群主和群管理员可编辑群信息== 配置,仅可更新群头像、群名称、群描述、群国际化名称信息; - 若开启了 ==仅群主和群管理员可编辑群信息== 配置,任何群信息都不能修改;- 如果同时更新 ==邀请用户或机器人入群权限== 和 ==群分享权限== 这两项设置需要满足以下条件:; - 若未开启 ==仅群主和管理员可以邀请用户或机器人入群==,需要设置 ==群分享权限== 为 ==允许分享==; - 若开启了 ==仅群主和管理员可以邀请用户或机器人入群==,需要设置 ==群分享权限== 为 ==不允许分享==
|
|
42449
42525
|
*/
|
|
42450
42526
|
update: (payload?: {
|
|
42451
42527
|
data?: {
|
|
@@ -42494,7 +42570,7 @@ declare abstract class Client$1 {
|
|
|
42494
42570
|
*
|
|
42495
42571
|
* 将用户或机器人指定为群管理员。
|
|
42496
42572
|
*
|
|
42497
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42573
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 仅有群主可以指定群管理员
|
|
42498
42574
|
*/
|
|
42499
42575
|
addManagers: (payload?: {
|
|
42500
42576
|
data?: {
|
|
@@ -42523,7 +42599,7 @@ declare abstract class Client$1 {
|
|
|
42523
42599
|
*
|
|
42524
42600
|
* 删除指定的群管理员(用户或机器人)。
|
|
42525
42601
|
*
|
|
42526
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42602
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 仅有群主可以删除群管理员
|
|
42527
42603
|
*/
|
|
42528
42604
|
deleteManagers: (payload?: {
|
|
42529
42605
|
data?: {
|
|
@@ -42557,7 +42633,7 @@ declare abstract class Client$1 {
|
|
|
42557
42633
|
*
|
|
42558
42634
|
* 将用户或机器人拉入群聊。
|
|
42559
42635
|
*
|
|
42560
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42636
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - 如需拉用户进群,需要机器人对用户有[可用性](https://open.feishu.cn/document/home/introduction-to-scope-and-authorization/availability); - 机器人或授权用户必须在群组中;- 外部租户不能被加入到内部群中;- 操作内部群时,操作者须与群组在同一租户下; - 在开启 ==仅群主和群管理员可添加群成员== 的设置时,仅有群主/管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可以拉用户或者机器人进群; - 在未开启 ==仅群主和群管理员可添加群成员== 的设置时,所有群成员都可以拉用户或机器人进群
|
|
42561
42637
|
*/
|
|
42562
42638
|
create: (payload?: {
|
|
42563
42639
|
data?: {
|
|
@@ -42587,7 +42663,7 @@ declare abstract class Client$1 {
|
|
|
42587
42663
|
*
|
|
42588
42664
|
* 将用户或机器人移出群聊。
|
|
42589
42665
|
*
|
|
42590
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42666
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 用户或机器人在任何条件下均可移除自己出群(即主动退群);- 仅有群主/管理员 或 创建群组并且具备 ==更新应用所创建群的群信息== 权限的机器人,可以移除其他用户或者机器人;- 每次请求,最多移除50个用户或者5个机器人;- 操作内部群时,操作者须与群组在同一租户下
|
|
42591
42667
|
*/
|
|
42592
42668
|
delete: (payload?: {
|
|
42593
42669
|
data?: {
|
|
@@ -42635,7 +42711,7 @@ declare abstract class Client$1 {
|
|
|
42635
42711
|
*
|
|
42636
42712
|
* 获取用户/机器人所在群的群成员列表。
|
|
42637
42713
|
*
|
|
42638
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42714
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - 机器人或授权用户必须在群组中; - 该接口不会返回群内的机器人成员; - 由于返回的群成员列表会过滤掉机器人成员,因此返回的群成员个数可能会小于指定的page_size; - 如果有同一时间加入群的群成员,会一次性返回,这会导致返回的群成员个数可能会大于指定的page_size;- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42639
42715
|
*/
|
|
42640
42716
|
get: (payload?: {
|
|
42641
42717
|
params?: {
|
|
@@ -42670,7 +42746,7 @@ declare abstract class Client$1 {
|
|
|
42670
42746
|
*
|
|
42671
42747
|
* 根据使用的access_token判断对应的用户或者机器人是否在群里。
|
|
42672
42748
|
*
|
|
42673
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42749
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42674
42750
|
*/
|
|
42675
42751
|
isInChat: (payload?: {
|
|
42676
42752
|
path?: {
|
|
@@ -42692,7 +42768,7 @@ declare abstract class Client$1 {
|
|
|
42692
42768
|
*
|
|
42693
42769
|
* 用户或机器人主动加入群聊。
|
|
42694
42770
|
*
|
|
42695
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42771
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 目前仅支持加入公开群;- 操作内部群时,操作者须与群组在同一租户下
|
|
42696
42772
|
*/
|
|
42697
42773
|
meJoin: (payload?: {
|
|
42698
42774
|
path?: {
|
|
@@ -42736,7 +42812,7 @@ declare abstract class Client$1 {
|
|
|
42736
42812
|
*
|
|
42737
42813
|
* 获取群发言模式、可发言用户名单等
|
|
42738
42814
|
*
|
|
42739
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42815
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - 机器人 或 授权用户 必须在群里
|
|
42740
42816
|
*/
|
|
42741
42817
|
get: (payload?: {
|
|
42742
42818
|
params?: {
|
|
@@ -42770,7 +42846,7 @@ declare abstract class Client$1 {
|
|
|
42770
42846
|
*
|
|
42771
42847
|
* 更新群组的发言权限设置,可设置为全员可发言、仅管理员可发言 或 指定用户可发言。
|
|
42772
42848
|
*
|
|
42773
|
-
* 注意事项:; - 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42849
|
+
* 注意事项:; - 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 若以用户授权调用接口,**当授权用户是群主**时,可更新群发言权限;- 若以租户授权调用接口(即以机器人身份调用接口),当**机器人是群主** 或者 **机器人是群组创建者、具备==更新应用所创建群的群信息==权限且仍在群内**时,可更新群发言权限
|
|
42774
42850
|
*/
|
|
42775
42851
|
update: (payload?: {
|
|
42776
42852
|
data?: {
|
|
@@ -42803,7 +42879,7 @@ declare abstract class Client$1 {
|
|
|
42803
42879
|
*
|
|
42804
42880
|
* 添加自定义会话标签页。
|
|
42805
42881
|
*
|
|
42806
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42882
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 只允许添加类型为`doc`和`url`的会话标签页;- 添加doc类型时,操作者(access token对应的身份)需要拥有对应文档的权限;- tab_config字段当前只对`url`类型的会话标签页生效;- 在开启 ==仅群主和管理员可管理标签页== 的设置时,仅群主和群管理员可以添加会话标签页;- 操作内部群时,操作者须与群组在同一租户下
|
|
42807
42883
|
*/
|
|
42808
42884
|
create: (payload?: {
|
|
42809
42885
|
data: {
|
|
@@ -42853,7 +42929,7 @@ declare abstract class Client$1 {
|
|
|
42853
42929
|
*
|
|
42854
42930
|
* 删除会话标签页。
|
|
42855
42931
|
*
|
|
42856
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42932
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 只允许删除类型为`doc`和`url`的会话标签页;- 在开启 ==仅群主和管理员可管理标签页== 的设置时,仅群主和群管理员可以删除会话标签页;- 操作内部群时,操作者须与群组在同一租户下
|
|
42857
42933
|
*/
|
|
42858
42934
|
deleteTabs: (payload?: {
|
|
42859
42935
|
data: {
|
|
@@ -42891,7 +42967,7 @@ declare abstract class Client$1 {
|
|
|
42891
42967
|
*
|
|
42892
42968
|
* 拉取会话标签页。
|
|
42893
42969
|
*
|
|
42894
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
42970
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 操作内部群时,操作者须与群组在同一租户下
|
|
42895
42971
|
*/
|
|
42896
42972
|
listTabs: (payload?: {
|
|
42897
42973
|
path?: {
|
|
@@ -42926,7 +43002,7 @@ declare abstract class Client$1 {
|
|
|
42926
43002
|
*
|
|
42927
43003
|
* 会话标签页排序。
|
|
42928
43004
|
*
|
|
42929
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43005
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 消息标签页强制固定为第一顺位,不参与排序,但是请求体中必须包含该标签页的Tab ID;- 操作内部群时,操作者须与群组在同一租户下
|
|
42930
43006
|
*/
|
|
42931
43007
|
sortTabs: (payload?: {
|
|
42932
43008
|
data?: {
|
|
@@ -42964,7 +43040,7 @@ declare abstract class Client$1 {
|
|
|
42964
43040
|
*
|
|
42965
43041
|
* 更新会话标签页
|
|
42966
43042
|
*
|
|
42967
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43043
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人或授权用户必须在群里;- 只允许更新类型为`doc`和`url`的会话标签页;- 更新doc类型时,操作者(access token对应的身份)需要拥有对应文档的权限;- 在开启 ==仅群主和管理员可管理标签页== 的设置时,仅群主和群管理员可以更新会话标签页;- 操作内部群时,操作者须与群组在同一租户下
|
|
42968
43044
|
*/
|
|
42969
43045
|
updateTabs: (payload?: {
|
|
42970
43046
|
data?: {
|
|
@@ -43020,7 +43096,7 @@ declare abstract class Client$1 {
|
|
|
43020
43096
|
*
|
|
43021
43097
|
* 撤销会话中的置顶。
|
|
43022
43098
|
*
|
|
43023
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43099
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - 机器人或授权用户必须在群组中;- 撤销内部群置顶时,操作者须与群组在同一租户下
|
|
43024
43100
|
*/
|
|
43025
43101
|
deleteTopNotice: (payload?: {
|
|
43026
43102
|
path: {
|
|
@@ -43040,7 +43116,7 @@ declare abstract class Client$1 {
|
|
|
43040
43116
|
*
|
|
43041
43117
|
* 更新会话中的群置顶信息,可以将群中的某一条消息,或者群公告置顶显示。
|
|
43042
43118
|
*
|
|
43043
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43119
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability); - 机器人或授权用户必须在群组中;- 更新内部群置顶时,操作者须与群组在同一租户下
|
|
43044
43120
|
*/
|
|
43045
43121
|
putTopNotice: (payload?: {
|
|
43046
43122
|
data: {
|
|
@@ -43071,7 +43147,7 @@ declare abstract class Client$1 {
|
|
|
43071
43147
|
*
|
|
43072
43148
|
* 上传文件,可以上传视频,音频和常见的文件类型。
|
|
43073
43149
|
*
|
|
43074
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43150
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 文件大小不得超过30M,且不允许上传空文件
|
|
43075
43151
|
*/
|
|
43076
43152
|
create: (payload?: {
|
|
43077
43153
|
data: {
|
|
@@ -43092,7 +43168,7 @@ declare abstract class Client$1 {
|
|
|
43092
43168
|
*
|
|
43093
43169
|
* 下载文件接口,只能下载应用自己上传的文件。
|
|
43094
43170
|
*
|
|
43095
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43171
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 只能下载机器人自己上传的文件;- 下载用户发送的资源,请使用[获取消息中的资源文件](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-resource/get)接口;- 下载的资源大小不能超过100M;- 如果需要Content-Disposition header,发起请求的时候需要在header中设置Content-Type为application/json
|
|
43096
43172
|
*/
|
|
43097
43173
|
get: (payload?: {
|
|
43098
43174
|
path: {
|
|
@@ -43115,7 +43191,7 @@ declare abstract class Client$1 {
|
|
|
43115
43191
|
*
|
|
43116
43192
|
* 上传图片接口,支持上传 JPEG、PNG、WEBP、GIF、TIFF、BMP、ICO格式图片。
|
|
43117
43193
|
*
|
|
43118
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43194
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 图片大小不得超过10M,且不支持上传大小为0的图片
|
|
43119
43195
|
*/
|
|
43120
43196
|
create: (payload?: {
|
|
43121
43197
|
data: {
|
|
@@ -43134,7 +43210,7 @@ declare abstract class Client$1 {
|
|
|
43134
43210
|
*
|
|
43135
43211
|
* 下载图片资源,只能下载当前应用所上传且图片类型为message的图片。
|
|
43136
43212
|
*
|
|
43137
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43213
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 只能下载机器人自己上传且图片类型为message的图片,avatar类型暂不支持下载;- 下载用户发送的资源,请使用[获取消息中的资源文件](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-resource/get)接口
|
|
43138
43214
|
*/
|
|
43139
43215
|
get: (payload?: {
|
|
43140
43216
|
path: {
|
|
@@ -43157,7 +43233,7 @@ declare abstract class Client$1 {
|
|
|
43157
43233
|
*
|
|
43158
43234
|
* 给指定用户或者会话发送消息,支持文本、富文本、可交互的[消息卡片](https://open.feishu.cn/document/ukTMukTMukTM/uczM3QjL3MzN04yNzcDN)、群名片、个人名片、图片、视频、音频、文件、表情包。
|
|
43159
43235
|
*
|
|
43160
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43236
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 给用户发送消息,需要机器人对用户有[可用性](https://open.feishu.cn/document/home/introduction-to-scope-and-authorization/availability);- 给群组发送消息,需要机器人在群组中
|
|
43161
43237
|
*/
|
|
43162
43238
|
create: (payload?: {
|
|
43163
43239
|
data: {
|
|
@@ -43210,7 +43286,7 @@ declare abstract class Client$1 {
|
|
|
43210
43286
|
*
|
|
43211
43287
|
* 机器人撤回机器人自己发送的消息或群主撤回群内消息。
|
|
43212
43288
|
*
|
|
43213
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43289
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ,撤回消息时机器人仍需要在会话内;- 机器人可以撤回单聊和群组内,自己发送 且 发送时间不超过1天(24小时)的消息;- 若机器人要撤回群内他人发送的消息,则机器人必须是该群的群主、管理员 或者 创建者,且消息发送时间不超过1年;- 无法撤回通过「[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)」接口发送的消息
|
|
43214
43290
|
*/
|
|
43215
43291
|
delete: (payload?: {
|
|
43216
43292
|
path: {
|
|
@@ -43230,7 +43306,7 @@ declare abstract class Client$1 {
|
|
|
43230
43306
|
*
|
|
43231
43307
|
* 通过 message_id 查询消息内容。
|
|
43232
43308
|
*
|
|
43233
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43309
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 机器人必须在群组中
|
|
43234
43310
|
*/
|
|
43235
43311
|
get: (payload?: {
|
|
43236
43312
|
path: {
|
|
@@ -43320,7 +43396,7 @@ declare abstract class Client$1 {
|
|
|
43320
43396
|
*
|
|
43321
43397
|
* 获取会话(包括单聊、群组)的历史消息(聊天记录)。
|
|
43322
43398
|
*
|
|
43323
|
-
* - 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43399
|
+
* - 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 获取消息时,机器人必须在群组中
|
|
43324
43400
|
*
|
|
43325
43401
|
* 接口级别权限默认只能获取单聊(p2p)消息,如果需要获取群组(group)消息,应用还必须拥有 **==获取群组中所有消息==** 权限
|
|
43326
43402
|
*/
|
|
@@ -43378,7 +43454,7 @@ declare abstract class Client$1 {
|
|
|
43378
43454
|
*
|
|
43379
43455
|
* 更新应用已发送的消息卡片内容。
|
|
43380
43456
|
*
|
|
43381
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43457
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 若以user_access_token更新消息,该操作用户必须是卡片消息的发送者;- 仅支持对所有人更新**未撤回**的[「共享卡片」](ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN)消息,需在卡片的config属性中,显式声明 =="update_multi":true==。 ;- **不支持更新批量消息**;- 文本消息请求体最大不能超过150KB;卡片及富文本消息请求体最大不能超过30KB;- 仅支持修改14天内发送的消息;- 单条消息更新频控为**5QPS**
|
|
43382
43458
|
*/
|
|
43383
43459
|
patch: (payload?: {
|
|
43384
43460
|
data: {
|
|
@@ -43401,7 +43477,7 @@ declare abstract class Client$1 {
|
|
|
43401
43477
|
*
|
|
43402
43478
|
* 查询消息的已读信息。
|
|
43403
43479
|
*
|
|
43404
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43480
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 只能查询机器人自己发送,且发送时间不超过7天的消息;- 查询消息已读信息时机器人仍需要在会话内;- 本接口不支持查询批量消息
|
|
43405
43481
|
*/
|
|
43406
43482
|
readUsers: (payload?: {
|
|
43407
43483
|
params: {
|
|
@@ -43435,7 +43511,7 @@ declare abstract class Client$1 {
|
|
|
43435
43511
|
*
|
|
43436
43512
|
* 回复指定消息,支持文本、富文本、卡片、群名片、个人名片、图片、视频、文件等多种消息类型。
|
|
43437
43513
|
*
|
|
43438
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43514
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 回复私聊消息,需要机器人对用户有[可用性](https://open.feishu.cn/document/home/introduction-to-scope-and-authorization/availability);- 回复群组消息,需要机器人在群中
|
|
43439
43515
|
*/
|
|
43440
43516
|
reply: (payload?: {
|
|
43441
43517
|
data: {
|
|
@@ -43487,7 +43563,7 @@ declare abstract class Client$1 {
|
|
|
43487
43563
|
*
|
|
43488
43564
|
* 对指定消息进行应用内加急。
|
|
43489
43565
|
*
|
|
43490
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43566
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 不支持加急批量消息;- 只能加急机器人自己发送的消息;- 加急时机器人需要在加急消息所在的群中;- 调用本接口需要用户已阅读加急的消息才可以继续加急(用户未读的加急上限为200条)
|
|
43491
43567
|
*
|
|
43492
43568
|
* 特别说明:;- 默认接口限流为50 QPS,请谨慎调用
|
|
43493
43569
|
*/
|
|
@@ -43517,7 +43593,7 @@ declare abstract class Client$1 {
|
|
|
43517
43593
|
*
|
|
43518
43594
|
* 对指定消息进行应用内加急与电话加急。
|
|
43519
43595
|
*
|
|
43520
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43596
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 只能加急机器人自己发送的消息;- 加急时机器人需要在加急消息所在的群组中;- 需要用户阅读已加急的消息才可以继续加急(用户未读的加急上限为200条)
|
|
43521
43597
|
*
|
|
43522
43598
|
* 特别说明:;- 通过接口产生的电话加急将消耗企业的加急额度,请慎重调用;- 通过[租户管理后台](https://admin.feishu.cn/)-费用中心-短信/电话加急 可以查看当前额度;- 默认接口限流为50 QPS,请谨慎调用
|
|
43523
43599
|
*/
|
|
@@ -43547,7 +43623,7 @@ declare abstract class Client$1 {
|
|
|
43547
43623
|
*
|
|
43548
43624
|
* 对指定消息进行应用内加急与短信加急。
|
|
43549
43625
|
*
|
|
43550
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43626
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 只能加急机器人自己发送的消息;- 加急时机器人仍需要在加急消息所在的群组中;- 调用本接口需要用户已阅读加急的消息才可以继续加急(用户未读的加急上限为200条)
|
|
43551
43627
|
*
|
|
43552
43628
|
* 特别说明:;- 通过接口产生的短信加急将消耗企业的加急额度,请慎重调用;- 通过[租户管理后台](https://admin.feishu.cn/)-费用中心-短信/电话加急 可以查看当前额度;- 默认接口限流为50 QPS,请谨慎调用
|
|
43553
43629
|
*/
|
|
@@ -43582,7 +43658,7 @@ declare abstract class Client$1 {
|
|
|
43582
43658
|
*
|
|
43583
43659
|
* 给指定消息添加指定类型的表情回复(reaction即表情回复,本文档统一用“reaction”代称)。
|
|
43584
43660
|
*
|
|
43585
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43661
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 待添加reaction的消息要真实存在,不能被撤回;- 给消息添加reaction,需要reaction的发送方(机器人或者用户)在消息所在的会话内
|
|
43586
43662
|
*/
|
|
43587
43663
|
create: (payload?: {
|
|
43588
43664
|
data: {
|
|
@@ -43617,7 +43693,7 @@ declare abstract class Client$1 {
|
|
|
43617
43693
|
*
|
|
43618
43694
|
* 删除指定消息的表情回复(reaction即表情回复,本文档统一用“reaction”代称)。
|
|
43619
43695
|
*
|
|
43620
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43696
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 只能删除真实存在的reaction,并且删除reaction请求的操作者必须是reaction的原始添加者
|
|
43621
43697
|
*/
|
|
43622
43698
|
delete: (payload?: {
|
|
43623
43699
|
path: {
|
|
@@ -43661,7 +43737,7 @@ declare abstract class Client$1 {
|
|
|
43661
43737
|
*
|
|
43662
43738
|
* 获取指定消息的特定类型表情回复列表(reaction即表情回复,本文档统一用“reaction”代称)。
|
|
43663
43739
|
*
|
|
43664
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43740
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 待获取reaction信息的消息要真实存在,不能被撤回;- 获取消息的reaction,需要request的授权主体(机器人或者用户)在消息所在的会话内
|
|
43665
43741
|
*/
|
|
43666
43742
|
list: (payload?: {
|
|
43667
43743
|
params?: {
|
|
@@ -43706,7 +43782,7 @@ declare abstract class Client$1 {
|
|
|
43706
43782
|
*
|
|
43707
43783
|
* 获取消息中的资源文件,包括音频,视频,图片和文件,**暂不支持表情包资源下载**。当前仅支持 100M 以内的资源文件的下载。
|
|
43708
43784
|
*
|
|
43709
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43785
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 机器人和消息需要在同一会话中;- 暂不支持获取合并转发消息中的子消息的资源文件
|
|
43710
43786
|
*/
|
|
43711
43787
|
get: (payload?: {
|
|
43712
43788
|
params: {
|
|
@@ -43733,7 +43809,7 @@ declare abstract class Client$1 {
|
|
|
43733
43809
|
*
|
|
43734
43810
|
* Pin一条指定的消息。
|
|
43735
43811
|
*
|
|
43736
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43812
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- Pin消息时,机器人必须在对应的群组中;- 若消息已经被Pin,返回该Pin的操作信息;- 不能Pin一条对操作者不可见的消息;- 对同一条消息的Pin操作不能超过==5 QPS==
|
|
43737
43813
|
*/
|
|
43738
43814
|
create: (payload?: {
|
|
43739
43815
|
data: {
|
|
@@ -43761,7 +43837,7 @@ declare abstract class Client$1 {
|
|
|
43761
43837
|
*
|
|
43762
43838
|
* 移除一条指定消息的Pin。
|
|
43763
43839
|
*
|
|
43764
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43840
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 移除Pin消息时,机器人必须在对应的群组中;- 若消息未被Pin或已被撤回,返回成功信息;- 不能移除一条对操作者不可见的Pin消息;- 对同一条消息移除Pin的操作不能超过==5 QPS==
|
|
43765
43841
|
*/
|
|
43766
43842
|
delete: (payload?: {
|
|
43767
43843
|
path: {
|
|
@@ -43800,7 +43876,7 @@ declare abstract class Client$1 {
|
|
|
43800
43876
|
*
|
|
43801
43877
|
* 获取所在群内指定时间范围内的所有Pin消息。
|
|
43802
43878
|
*
|
|
43803
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
43879
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 获取Pin消息时,机器人必须在群组中;- 获取的Pin消息按Pin的创建时间降序排列;- 接口默认限流为==50 QPS==
|
|
43804
43880
|
*/
|
|
43805
43881
|
list: (payload?: {
|
|
43806
43882
|
params: {
|
|
@@ -44954,11 +45030,270 @@ declare abstract class Client$1 {
|
|
|
44954
45030
|
target_type: number;
|
|
44955
45031
|
};
|
|
44956
45032
|
}, options?: IRequestOptions$1) => Promise<{
|
|
45033
|
+
file_token?: string | undefined;
|
|
45034
|
+
url?: string | undefined;
|
|
45035
|
+
} | {}>;
|
|
45036
|
+
};
|
|
45037
|
+
/**
|
|
45038
|
+
* 指标库
|
|
45039
|
+
*/
|
|
45040
|
+
metricSource: {
|
|
45041
|
+
/**
|
|
45042
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source&apiName=list&version=v1 click to debug }
|
|
45043
|
+
*
|
|
45044
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source/list document }
|
|
45045
|
+
*
|
|
45046
|
+
* 获取指标库
|
|
45047
|
+
*
|
|
45048
|
+
* 获取租户下全部 OKR 指标库(仅限 OKR 企业版使用)
|
|
45049
|
+
*/
|
|
45050
|
+
list: (payload?: {
|
|
45051
|
+
params?: {
|
|
45052
|
+
page_token?: string;
|
|
45053
|
+
page_size?: string;
|
|
45054
|
+
};
|
|
45055
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45056
|
+
code?: number | undefined;
|
|
45057
|
+
msg?: string | undefined;
|
|
44957
45058
|
data?: {
|
|
44958
|
-
|
|
44959
|
-
|
|
45059
|
+
total: number;
|
|
45060
|
+
has_more: boolean;
|
|
45061
|
+
page_token?: string | undefined;
|
|
45062
|
+
items?: {
|
|
45063
|
+
metric_source_id: string;
|
|
45064
|
+
metric_source_name: string;
|
|
45065
|
+
metric_name: string;
|
|
45066
|
+
metric_unit: {
|
|
45067
|
+
zh_cn: string;
|
|
45068
|
+
en_us: string;
|
|
45069
|
+
ja_jp: string;
|
|
45070
|
+
};
|
|
45071
|
+
}[] | undefined;
|
|
44960
45072
|
} | undefined;
|
|
44961
|
-
}
|
|
45073
|
+
}>;
|
|
45074
|
+
};
|
|
45075
|
+
/**
|
|
45076
|
+
* 指标项
|
|
45077
|
+
*/
|
|
45078
|
+
metricSourceTableItem: {
|
|
45079
|
+
/**
|
|
45080
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=batch_update&version=v1 click to debug }
|
|
45081
|
+
*
|
|
45082
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/batch_update document }
|
|
45083
|
+
*
|
|
45084
|
+
* 批量更新指标项
|
|
45085
|
+
*
|
|
45086
|
+
* - 该接口用于批量更新多项指标,单次调用最多更新 100 条记录。接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
|
|
45087
|
+
*/
|
|
45088
|
+
batchUpdate: (payload?: {
|
|
45089
|
+
data: {
|
|
45090
|
+
items: Array<{
|
|
45091
|
+
metric_item_id: string;
|
|
45092
|
+
metric_initial_value?: number;
|
|
45093
|
+
metric_target_value?: number;
|
|
45094
|
+
metric_current_value?: number;
|
|
45095
|
+
supported_user_id?: string;
|
|
45096
|
+
}>;
|
|
45097
|
+
};
|
|
45098
|
+
params?: {
|
|
45099
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45100
|
+
};
|
|
45101
|
+
path: {
|
|
45102
|
+
metric_source_id: string;
|
|
45103
|
+
metric_table_id: string;
|
|
45104
|
+
};
|
|
45105
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45106
|
+
code?: number | undefined;
|
|
45107
|
+
msg?: string | undefined;
|
|
45108
|
+
data?: {
|
|
45109
|
+
items?: {
|
|
45110
|
+
metric_item_id: string;
|
|
45111
|
+
user_id: string;
|
|
45112
|
+
period_id: string;
|
|
45113
|
+
metric_unit: {
|
|
45114
|
+
zh_cn: string;
|
|
45115
|
+
en_us: string;
|
|
45116
|
+
ja_jp: string;
|
|
45117
|
+
};
|
|
45118
|
+
metric_initial_value: number;
|
|
45119
|
+
metric_target_value?: number | undefined;
|
|
45120
|
+
metric_current_value: number;
|
|
45121
|
+
supported_user_id?: string | undefined;
|
|
45122
|
+
kr_id?: string | undefined;
|
|
45123
|
+
updated_at: string;
|
|
45124
|
+
updated_by?: string | undefined;
|
|
45125
|
+
}[] | undefined;
|
|
45126
|
+
failed_items?: {
|
|
45127
|
+
metric_item_id: string;
|
|
45128
|
+
reason: string;
|
|
45129
|
+
}[] | undefined;
|
|
45130
|
+
} | undefined;
|
|
45131
|
+
}>;
|
|
45132
|
+
/**
|
|
45133
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=get&version=v1 click to debug }
|
|
45134
|
+
*
|
|
45135
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/get document }
|
|
45136
|
+
*
|
|
45137
|
+
* 获取指标项详情
|
|
45138
|
+
*
|
|
45139
|
+
* 获取某项指标的具体内容(仅限 OKR 企业版使用)
|
|
45140
|
+
*/
|
|
45141
|
+
get: (payload?: {
|
|
45142
|
+
params?: {
|
|
45143
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45144
|
+
};
|
|
45145
|
+
path: {
|
|
45146
|
+
metric_source_id: string;
|
|
45147
|
+
metric_table_id: string;
|
|
45148
|
+
metric_item_id: string;
|
|
45149
|
+
};
|
|
45150
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45151
|
+
code?: number | undefined;
|
|
45152
|
+
msg?: string | undefined;
|
|
45153
|
+
data?: {
|
|
45154
|
+
metric_item_id: string;
|
|
45155
|
+
user_id: string;
|
|
45156
|
+
period_id: string;
|
|
45157
|
+
metric_unit: {
|
|
45158
|
+
zh_cn: string;
|
|
45159
|
+
en_us: string;
|
|
45160
|
+
ja_jp: string;
|
|
45161
|
+
};
|
|
45162
|
+
metric_initial_value: number;
|
|
45163
|
+
metric_target_value?: number | undefined;
|
|
45164
|
+
metric_current_value: number;
|
|
45165
|
+
supported_user_id?: string | undefined;
|
|
45166
|
+
kr_id?: string | undefined;
|
|
45167
|
+
updated_at: string;
|
|
45168
|
+
updated_by?: string | undefined;
|
|
45169
|
+
} | undefined;
|
|
45170
|
+
}>;
|
|
45171
|
+
/**
|
|
45172
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=list&version=v1 click to debug }
|
|
45173
|
+
*
|
|
45174
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/list document }
|
|
45175
|
+
*
|
|
45176
|
+
* 获取指标项
|
|
45177
|
+
*
|
|
45178
|
+
* 获取指定指标表下的所有指标项(仅限 OKR 企业版使用)
|
|
45179
|
+
*/
|
|
45180
|
+
list: (payload?: {
|
|
45181
|
+
params?: {
|
|
45182
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45183
|
+
page_token?: string;
|
|
45184
|
+
page_size?: string;
|
|
45185
|
+
};
|
|
45186
|
+
path: {
|
|
45187
|
+
metric_source_id: string;
|
|
45188
|
+
metric_table_id: string;
|
|
45189
|
+
};
|
|
45190
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45191
|
+
code?: number | undefined;
|
|
45192
|
+
msg?: string | undefined;
|
|
45193
|
+
data?: {
|
|
45194
|
+
total: number;
|
|
45195
|
+
has_more: boolean;
|
|
45196
|
+
page_token?: string | undefined;
|
|
45197
|
+
items?: {
|
|
45198
|
+
metric_item_id: string;
|
|
45199
|
+
user_id: string;
|
|
45200
|
+
period_id: string;
|
|
45201
|
+
metric_unit: {
|
|
45202
|
+
zh_cn: string;
|
|
45203
|
+
en_us: string;
|
|
45204
|
+
ja_jp: string;
|
|
45205
|
+
};
|
|
45206
|
+
metric_initial_value: number;
|
|
45207
|
+
metric_target_value?: number | undefined;
|
|
45208
|
+
metric_current_value: number;
|
|
45209
|
+
supported_user_id?: string | undefined;
|
|
45210
|
+
kr_id?: string | undefined;
|
|
45211
|
+
updated_at: string;
|
|
45212
|
+
updated_by?: string | undefined;
|
|
45213
|
+
}[] | undefined;
|
|
45214
|
+
} | undefined;
|
|
45215
|
+
}>;
|
|
45216
|
+
/**
|
|
45217
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table.item&apiName=patch&version=v1 click to debug }
|
|
45218
|
+
*
|
|
45219
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table-item/patch document }
|
|
45220
|
+
*
|
|
45221
|
+
* 更新指标项
|
|
45222
|
+
*
|
|
45223
|
+
* - 该接口用于更新某项指标,接口仅限 OKR 企业版使用。;; 更新成功后 OKR 系统会给以下人员发送消息通知:;; - 首次更新目标值的人员 ;; - 已经将指标添加为 KR、且本次目标值/起始值/支撑的上级有变更的人员,不包含仅更新了进度值的人员
|
|
45224
|
+
*/
|
|
45225
|
+
patch: (payload?: {
|
|
45226
|
+
data?: {
|
|
45227
|
+
metric_initial_value?: number;
|
|
45228
|
+
metric_target_value?: number;
|
|
45229
|
+
metric_current_value?: number;
|
|
45230
|
+
supported_user_id?: string;
|
|
45231
|
+
};
|
|
45232
|
+
params?: {
|
|
45233
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45234
|
+
};
|
|
45235
|
+
path: {
|
|
45236
|
+
metric_source_id: string;
|
|
45237
|
+
metric_table_id: string;
|
|
45238
|
+
metric_item_id: string;
|
|
45239
|
+
};
|
|
45240
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45241
|
+
code?: number | undefined;
|
|
45242
|
+
msg?: string | undefined;
|
|
45243
|
+
data?: {
|
|
45244
|
+
metric_item_id: string;
|
|
45245
|
+
user_id: string;
|
|
45246
|
+
period_id: string;
|
|
45247
|
+
metric_unit: {
|
|
45248
|
+
zh_cn: string;
|
|
45249
|
+
en_us: string;
|
|
45250
|
+
ja_jp: string;
|
|
45251
|
+
};
|
|
45252
|
+
metric_initial_value: number;
|
|
45253
|
+
metric_target_value?: number | undefined;
|
|
45254
|
+
metric_current_value: number;
|
|
45255
|
+
supported_user_id?: string | undefined;
|
|
45256
|
+
kr_id?: string | undefined;
|
|
45257
|
+
updated_at: string;
|
|
45258
|
+
updated_by?: string | undefined;
|
|
45259
|
+
} | undefined;
|
|
45260
|
+
}>;
|
|
45261
|
+
};
|
|
45262
|
+
/**
|
|
45263
|
+
* 指标表
|
|
45264
|
+
*/
|
|
45265
|
+
metricSourceTable: {
|
|
45266
|
+
/**
|
|
45267
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=metric_source.table&apiName=list&version=v1 click to debug }
|
|
45268
|
+
*
|
|
45269
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/metric_source-table/list document }
|
|
45270
|
+
*
|
|
45271
|
+
* 获取指标表
|
|
45272
|
+
*
|
|
45273
|
+
* 获取指定指标库下有哪些指标表(仅限 OKR 企业版使用)
|
|
45274
|
+
*/
|
|
45275
|
+
list: (payload?: {
|
|
45276
|
+
params?: {
|
|
45277
|
+
page_token?: string;
|
|
45278
|
+
page_size?: string;
|
|
45279
|
+
};
|
|
45280
|
+
path: {
|
|
45281
|
+
metric_source_id: string;
|
|
45282
|
+
};
|
|
45283
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45284
|
+
code?: number | undefined;
|
|
45285
|
+
msg?: string | undefined;
|
|
45286
|
+
data?: {
|
|
45287
|
+
total: number;
|
|
45288
|
+
has_more: boolean;
|
|
45289
|
+
page_token?: string | undefined;
|
|
45290
|
+
items?: {
|
|
45291
|
+
metric_table_id: string;
|
|
45292
|
+
metric_table_name: string;
|
|
45293
|
+
period_id: string;
|
|
45294
|
+
}[] | undefined;
|
|
45295
|
+
} | undefined;
|
|
45296
|
+
}>;
|
|
44962
45297
|
};
|
|
44963
45298
|
/**
|
|
44964
45299
|
* OKR
|
|
@@ -44999,7 +45334,7 @@ declare abstract class Client$1 {
|
|
|
44999
45334
|
weight?: number | undefined;
|
|
45000
45335
|
progress_rate?: {
|
|
45001
45336
|
percent?: number | undefined;
|
|
45002
|
-
status?:
|
|
45337
|
+
status?: string | undefined;
|
|
45003
45338
|
} | undefined;
|
|
45004
45339
|
kr_list?: {
|
|
45005
45340
|
id?: string | undefined;
|
|
@@ -45009,7 +45344,7 @@ declare abstract class Client$1 {
|
|
|
45009
45344
|
kr_weight?: number | undefined;
|
|
45010
45345
|
progress_rate?: {
|
|
45011
45346
|
percent?: number | undefined;
|
|
45012
|
-
status?:
|
|
45347
|
+
status?: string | undefined;
|
|
45013
45348
|
} | undefined;
|
|
45014
45349
|
progress_record_list?: {
|
|
45015
45350
|
id?: string | undefined;
|
|
@@ -45119,11 +45454,11 @@ declare abstract class Client$1 {
|
|
|
45119
45454
|
type?: "paragraph" | "gallery";
|
|
45120
45455
|
paragraph?: {
|
|
45121
45456
|
style?: {
|
|
45122
|
-
list?:
|
|
45457
|
+
list?: {
|
|
45123
45458
|
type?: "number" | "bullet" | "checkBox" | "checkedBox" | "indent";
|
|
45124
45459
|
indentLevel?: number;
|
|
45125
45460
|
number?: number;
|
|
45126
|
-
}
|
|
45461
|
+
};
|
|
45127
45462
|
};
|
|
45128
45463
|
elements?: Array<{
|
|
45129
45464
|
type?: "textRun" | "docsLink" | "person";
|
|
@@ -45161,7 +45496,7 @@ declare abstract class Client$1 {
|
|
|
45161
45496
|
gallery?: {
|
|
45162
45497
|
imageList?: Array<{
|
|
45163
45498
|
fileToken?: string;
|
|
45164
|
-
|
|
45499
|
+
src?: string;
|
|
45165
45500
|
width?: number;
|
|
45166
45501
|
height?: number;
|
|
45167
45502
|
}>;
|
|
@@ -45169,67 +45504,68 @@ declare abstract class Client$1 {
|
|
|
45169
45504
|
}>;
|
|
45170
45505
|
};
|
|
45171
45506
|
};
|
|
45507
|
+
params?: {
|
|
45508
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45509
|
+
};
|
|
45172
45510
|
}, options?: IRequestOptions$1) => Promise<{
|
|
45173
45511
|
code?: number | undefined;
|
|
45174
45512
|
msg?: string | undefined;
|
|
45175
45513
|
data?: {
|
|
45176
|
-
|
|
45177
|
-
|
|
45178
|
-
|
|
45179
|
-
|
|
45180
|
-
|
|
45181
|
-
|
|
45182
|
-
|
|
45183
|
-
|
|
45184
|
-
|
|
45185
|
-
|
|
45186
|
-
|
|
45187
|
-
number?: number | undefined;
|
|
45188
|
-
}[] | undefined;
|
|
45514
|
+
progress_id?: string | undefined;
|
|
45515
|
+
modify_time?: string | undefined;
|
|
45516
|
+
content?: {
|
|
45517
|
+
blocks?: {
|
|
45518
|
+
type?: "gallery" | "paragraph" | undefined;
|
|
45519
|
+
paragraph?: {
|
|
45520
|
+
style?: {
|
|
45521
|
+
list?: {
|
|
45522
|
+
type?: "number" | "bullet" | "checkBox" | "checkedBox" | "indent" | undefined;
|
|
45523
|
+
indentLevel?: number | undefined;
|
|
45524
|
+
number?: number | undefined;
|
|
45189
45525
|
} | undefined;
|
|
45190
|
-
|
|
45191
|
-
|
|
45192
|
-
|
|
45193
|
-
|
|
45194
|
-
|
|
45195
|
-
|
|
45196
|
-
|
|
45197
|
-
|
|
45198
|
-
|
|
45199
|
-
|
|
45200
|
-
|
|
45201
|
-
|
|
45202
|
-
|
|
45203
|
-
|
|
45204
|
-
|
|
45205
|
-
|
|
45206
|
-
|
|
45207
|
-
|
|
45208
|
-
|
|
45209
|
-
|
|
45210
|
-
|
|
45211
|
-
|
|
45526
|
+
} | undefined;
|
|
45527
|
+
elements?: {
|
|
45528
|
+
type?: "person" | "textRun" | "docsLink" | undefined;
|
|
45529
|
+
textRun?: {
|
|
45530
|
+
text?: string | undefined;
|
|
45531
|
+
style?: {
|
|
45532
|
+
bold?: boolean | undefined;
|
|
45533
|
+
strikeThrough?: boolean | undefined;
|
|
45534
|
+
backColor?: {
|
|
45535
|
+
red?: number | undefined;
|
|
45536
|
+
green?: number | undefined;
|
|
45537
|
+
blue?: number | undefined;
|
|
45538
|
+
alpha?: number | undefined;
|
|
45539
|
+
} | undefined;
|
|
45540
|
+
textColor?: {
|
|
45541
|
+
red?: number | undefined;
|
|
45542
|
+
green?: number | undefined;
|
|
45543
|
+
blue?: number | undefined;
|
|
45544
|
+
alpha?: number | undefined;
|
|
45545
|
+
} | undefined;
|
|
45546
|
+
link?: {
|
|
45547
|
+
url?: string | undefined;
|
|
45212
45548
|
} | undefined;
|
|
45213
45549
|
} | undefined;
|
|
45214
|
-
|
|
45215
|
-
|
|
45216
|
-
title?: string | undefined;
|
|
45217
|
-
} | undefined;
|
|
45218
|
-
person?: {
|
|
45219
|
-
openId?: string | undefined;
|
|
45220
|
-
} | undefined;
|
|
45221
|
-
}[] | undefined;
|
|
45222
|
-
} | undefined;
|
|
45223
|
-
gallery?: {
|
|
45224
|
-
imageList?: {
|
|
45225
|
-
fileToken?: string | undefined;
|
|
45550
|
+
} | undefined;
|
|
45551
|
+
docsLink?: {
|
|
45226
45552
|
url?: string | undefined;
|
|
45227
|
-
|
|
45228
|
-
|
|
45229
|
-
|
|
45230
|
-
|
|
45231
|
-
|
|
45232
|
-
|
|
45553
|
+
title?: string | undefined;
|
|
45554
|
+
} | undefined;
|
|
45555
|
+
person?: {
|
|
45556
|
+
openId?: string | undefined;
|
|
45557
|
+
} | undefined;
|
|
45558
|
+
}[] | undefined;
|
|
45559
|
+
} | undefined;
|
|
45560
|
+
gallery?: {
|
|
45561
|
+
imageList?: {
|
|
45562
|
+
fileToken?: string | undefined;
|
|
45563
|
+
src?: string | undefined;
|
|
45564
|
+
width?: number | undefined;
|
|
45565
|
+
height?: number | undefined;
|
|
45566
|
+
}[] | undefined;
|
|
45567
|
+
} | undefined;
|
|
45568
|
+
}[] | undefined;
|
|
45233
45569
|
} | undefined;
|
|
45234
45570
|
} | undefined;
|
|
45235
45571
|
}>;
|
|
@@ -45261,6 +45597,9 @@ declare abstract class Client$1 {
|
|
|
45261
45597
|
* 根据ID获取OKR进展记录详情
|
|
45262
45598
|
*/
|
|
45263
45599
|
get: (payload?: {
|
|
45600
|
+
params?: {
|
|
45601
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45602
|
+
};
|
|
45264
45603
|
path?: {
|
|
45265
45604
|
progress_id?: string;
|
|
45266
45605
|
};
|
|
@@ -45279,7 +45618,7 @@ declare abstract class Client$1 {
|
|
|
45279
45618
|
type?: "number" | "bullet" | "checkBox" | "checkedBox" | "indent" | undefined;
|
|
45280
45619
|
indentLevel?: number | undefined;
|
|
45281
45620
|
number?: number | undefined;
|
|
45282
|
-
}
|
|
45621
|
+
} | undefined;
|
|
45283
45622
|
} | undefined;
|
|
45284
45623
|
elements?: {
|
|
45285
45624
|
type?: "person" | "textRun" | "docsLink" | undefined;
|
|
@@ -45317,7 +45656,7 @@ declare abstract class Client$1 {
|
|
|
45317
45656
|
gallery?: {
|
|
45318
45657
|
imageList?: {
|
|
45319
45658
|
fileToken?: string | undefined;
|
|
45320
|
-
|
|
45659
|
+
src?: string | undefined;
|
|
45321
45660
|
width?: number | undefined;
|
|
45322
45661
|
height?: number | undefined;
|
|
45323
45662
|
}[] | undefined;
|
|
@@ -45342,11 +45681,11 @@ declare abstract class Client$1 {
|
|
|
45342
45681
|
type?: "paragraph" | "gallery";
|
|
45343
45682
|
paragraph?: {
|
|
45344
45683
|
style?: {
|
|
45345
|
-
list?:
|
|
45684
|
+
list?: {
|
|
45346
45685
|
type?: "number" | "bullet" | "checkBox" | "checkedBox" | "indent";
|
|
45347
45686
|
indentLevel?: number;
|
|
45348
45687
|
number?: number;
|
|
45349
|
-
}
|
|
45688
|
+
};
|
|
45350
45689
|
};
|
|
45351
45690
|
elements?: Array<{
|
|
45352
45691
|
type?: "textRun" | "docsLink" | "person";
|
|
@@ -45384,7 +45723,7 @@ declare abstract class Client$1 {
|
|
|
45384
45723
|
gallery?: {
|
|
45385
45724
|
imageList?: Array<{
|
|
45386
45725
|
fileToken?: string;
|
|
45387
|
-
|
|
45726
|
+
src?: string;
|
|
45388
45727
|
width?: number;
|
|
45389
45728
|
height?: number;
|
|
45390
45729
|
}>;
|
|
@@ -45392,6 +45731,9 @@ declare abstract class Client$1 {
|
|
|
45392
45731
|
}>;
|
|
45393
45732
|
};
|
|
45394
45733
|
};
|
|
45734
|
+
params?: {
|
|
45735
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
45736
|
+
};
|
|
45395
45737
|
path: {
|
|
45396
45738
|
progress_id: string;
|
|
45397
45739
|
};
|
|
@@ -45399,67 +45741,108 @@ declare abstract class Client$1 {
|
|
|
45399
45741
|
code?: number | undefined;
|
|
45400
45742
|
msg?: string | undefined;
|
|
45401
45743
|
data?: {
|
|
45402
|
-
|
|
45403
|
-
|
|
45404
|
-
|
|
45405
|
-
|
|
45406
|
-
|
|
45407
|
-
|
|
45408
|
-
|
|
45409
|
-
|
|
45410
|
-
|
|
45411
|
-
|
|
45412
|
-
|
|
45413
|
-
number?: number | undefined;
|
|
45414
|
-
}[] | undefined;
|
|
45744
|
+
progress_id?: string | undefined;
|
|
45745
|
+
modify_time?: string | undefined;
|
|
45746
|
+
content?: {
|
|
45747
|
+
blocks?: {
|
|
45748
|
+
type?: "gallery" | "paragraph" | undefined;
|
|
45749
|
+
paragraph?: {
|
|
45750
|
+
style?: {
|
|
45751
|
+
list?: {
|
|
45752
|
+
type?: "number" | "bullet" | "checkBox" | "checkedBox" | "indent" | undefined;
|
|
45753
|
+
indentLevel?: number | undefined;
|
|
45754
|
+
number?: number | undefined;
|
|
45415
45755
|
} | undefined;
|
|
45416
|
-
|
|
45417
|
-
|
|
45418
|
-
|
|
45419
|
-
|
|
45420
|
-
|
|
45421
|
-
|
|
45422
|
-
|
|
45423
|
-
|
|
45424
|
-
|
|
45425
|
-
|
|
45426
|
-
|
|
45427
|
-
|
|
45428
|
-
|
|
45429
|
-
|
|
45430
|
-
|
|
45431
|
-
|
|
45432
|
-
|
|
45433
|
-
|
|
45434
|
-
|
|
45435
|
-
|
|
45436
|
-
|
|
45437
|
-
|
|
45756
|
+
} | undefined;
|
|
45757
|
+
elements?: {
|
|
45758
|
+
type?: "person" | "textRun" | "docsLink" | undefined;
|
|
45759
|
+
textRun?: {
|
|
45760
|
+
text?: string | undefined;
|
|
45761
|
+
style?: {
|
|
45762
|
+
bold?: boolean | undefined;
|
|
45763
|
+
strikeThrough?: boolean | undefined;
|
|
45764
|
+
backColor?: {
|
|
45765
|
+
red?: number | undefined;
|
|
45766
|
+
green?: number | undefined;
|
|
45767
|
+
blue?: number | undefined;
|
|
45768
|
+
alpha?: number | undefined;
|
|
45769
|
+
} | undefined;
|
|
45770
|
+
textColor?: {
|
|
45771
|
+
red?: number | undefined;
|
|
45772
|
+
green?: number | undefined;
|
|
45773
|
+
blue?: number | undefined;
|
|
45774
|
+
alpha?: number | undefined;
|
|
45775
|
+
} | undefined;
|
|
45776
|
+
link?: {
|
|
45777
|
+
url?: string | undefined;
|
|
45438
45778
|
} | undefined;
|
|
45439
45779
|
} | undefined;
|
|
45440
|
-
|
|
45441
|
-
|
|
45442
|
-
title?: string | undefined;
|
|
45443
|
-
} | undefined;
|
|
45444
|
-
person?: {
|
|
45445
|
-
openId?: string | undefined;
|
|
45446
|
-
} | undefined;
|
|
45447
|
-
}[] | undefined;
|
|
45448
|
-
} | undefined;
|
|
45449
|
-
gallery?: {
|
|
45450
|
-
imageList?: {
|
|
45451
|
-
fileToken?: string | undefined;
|
|
45780
|
+
} | undefined;
|
|
45781
|
+
docsLink?: {
|
|
45452
45782
|
url?: string | undefined;
|
|
45453
|
-
|
|
45454
|
-
|
|
45455
|
-
|
|
45456
|
-
|
|
45457
|
-
|
|
45458
|
-
|
|
45783
|
+
title?: string | undefined;
|
|
45784
|
+
} | undefined;
|
|
45785
|
+
person?: {
|
|
45786
|
+
openId?: string | undefined;
|
|
45787
|
+
} | undefined;
|
|
45788
|
+
}[] | undefined;
|
|
45789
|
+
} | undefined;
|
|
45790
|
+
gallery?: {
|
|
45791
|
+
imageList?: {
|
|
45792
|
+
fileToken?: string | undefined;
|
|
45793
|
+
src?: string | undefined;
|
|
45794
|
+
width?: number | undefined;
|
|
45795
|
+
height?: number | undefined;
|
|
45796
|
+
}[] | undefined;
|
|
45797
|
+
} | undefined;
|
|
45798
|
+
}[] | undefined;
|
|
45459
45799
|
} | undefined;
|
|
45460
45800
|
} | undefined;
|
|
45461
45801
|
}>;
|
|
45462
45802
|
};
|
|
45803
|
+
/**
|
|
45804
|
+
* 复盘(灰度租户可见)
|
|
45805
|
+
*/
|
|
45806
|
+
review: {
|
|
45807
|
+
/**
|
|
45808
|
+
* {@link https://open.feishu.cn/api-explorer?project=okr&resource=review&apiName=query&version=v1 click to debug }
|
|
45809
|
+
*
|
|
45810
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/review/query document }
|
|
45811
|
+
*
|
|
45812
|
+
* 查询复盘信息
|
|
45813
|
+
*
|
|
45814
|
+
* 根据周期和用户查询复盘信息。
|
|
45815
|
+
*/
|
|
45816
|
+
query: (payload?: {
|
|
45817
|
+
params: {
|
|
45818
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | "people_admin_id";
|
|
45819
|
+
user_ids: number;
|
|
45820
|
+
period_ids: number;
|
|
45821
|
+
};
|
|
45822
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
45823
|
+
code?: number | undefined;
|
|
45824
|
+
msg?: string | undefined;
|
|
45825
|
+
data?: {
|
|
45826
|
+
review_list?: {
|
|
45827
|
+
user_id?: {
|
|
45828
|
+
open_id?: string | undefined;
|
|
45829
|
+
user_id?: string | undefined;
|
|
45830
|
+
} | undefined;
|
|
45831
|
+
review_period_list?: {
|
|
45832
|
+
period_id?: string | undefined;
|
|
45833
|
+
cycle_review_list?: {
|
|
45834
|
+
url?: string | undefined;
|
|
45835
|
+
create_time?: string | undefined;
|
|
45836
|
+
}[] | undefined;
|
|
45837
|
+
progress_report_list?: {
|
|
45838
|
+
url?: string | undefined;
|
|
45839
|
+
create_time?: string | undefined;
|
|
45840
|
+
}[] | undefined;
|
|
45841
|
+
}[] | undefined;
|
|
45842
|
+
}[] | undefined;
|
|
45843
|
+
} | undefined;
|
|
45844
|
+
}>;
|
|
45845
|
+
};
|
|
45463
45846
|
/**
|
|
45464
45847
|
* 用户OKR
|
|
45465
45848
|
*/
|
|
@@ -45505,7 +45888,7 @@ declare abstract class Client$1 {
|
|
|
45505
45888
|
weight?: number | undefined;
|
|
45506
45889
|
progress_rate?: {
|
|
45507
45890
|
percent?: number | undefined;
|
|
45508
|
-
status?:
|
|
45891
|
+
status?: string | undefined;
|
|
45509
45892
|
} | undefined;
|
|
45510
45893
|
kr_list?: {
|
|
45511
45894
|
id?: string | undefined;
|
|
@@ -45515,7 +45898,7 @@ declare abstract class Client$1 {
|
|
|
45515
45898
|
kr_weight?: number | undefined;
|
|
45516
45899
|
progress_rate?: {
|
|
45517
45900
|
percent?: number | undefined;
|
|
45518
|
-
status?:
|
|
45901
|
+
status?: string | undefined;
|
|
45519
45902
|
} | undefined;
|
|
45520
45903
|
progress_record_list?: {
|
|
45521
45904
|
id?: string | undefined;
|
|
@@ -46751,7 +47134,7 @@ declare abstract class Client$1 {
|
|
|
46751
47134
|
}>;
|
|
46752
47135
|
};
|
|
46753
47136
|
/**
|
|
46754
|
-
*
|
|
47137
|
+
* 行列
|
|
46755
47138
|
*/
|
|
46756
47139
|
spreadsheetSheet: {
|
|
46757
47140
|
/**
|
|
@@ -48892,6 +49275,7 @@ declare abstract class Client$1 {
|
|
|
48892
49275
|
apply: (payload?: {
|
|
48893
49276
|
data: {
|
|
48894
49277
|
end_time?: string;
|
|
49278
|
+
owner_id?: string;
|
|
48895
49279
|
meeting_settings: {
|
|
48896
49280
|
topic?: string;
|
|
48897
49281
|
action_permissions?: Array<{
|
|
@@ -53224,7 +53608,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53224
53608
|
*
|
|
53225
53609
|
* 群组被解散后触发此事件。
|
|
53226
53610
|
*
|
|
53227
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53611
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 需要订阅 ==消息与群组== 分类下的 ==解散群== 事件;- 事件会向群内订阅了该事件的机器人进行推送
|
|
53228
53612
|
*/
|
|
53229
53613
|
"im.chat.disbanded_v1"?: (data: {
|
|
53230
53614
|
event_id?: string;
|
|
@@ -53258,7 +53642,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53258
53642
|
*
|
|
53259
53643
|
* 机器人被用户添加至群聊时触发此事件。
|
|
53260
53644
|
*
|
|
53261
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53645
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 需要订阅 ==消息与群组== 分类下的 ==机器人进群== 事件;- 事件会向进群的机器人进行推送;- 机器人邀请机器人不会触发事件
|
|
53262
53646
|
*/
|
|
53263
53647
|
"im.chat.member.bot.added_v1"?: (data: {
|
|
53264
53648
|
event_id?: string;
|
|
@@ -53292,7 +53676,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53292
53676
|
*
|
|
53293
53677
|
* 机器人被移出群聊后触发此事件。
|
|
53294
53678
|
*
|
|
53295
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53679
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 需要订阅 ==消息与群组== 分类下的 ==机器人被移出群== 事件;- 事件会向被移出群的机器人进行推送
|
|
53296
53680
|
*/
|
|
53297
53681
|
"im.chat.member.bot.deleted_v1"?: (data: {
|
|
53298
53682
|
event_id?: string;
|
|
@@ -53326,7 +53710,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53326
53710
|
*
|
|
53327
53711
|
* 新用户进群(包含话题群)触发此事件。
|
|
53328
53712
|
*
|
|
53329
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53713
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 需要订阅 ==消息与群组== 分类下的 ==用户进群== 事件;- 事件会向群内订阅了该事件的机器人进行推送
|
|
53330
53714
|
*/
|
|
53331
53715
|
"im.chat.member.user.added_v1"?: (data: {
|
|
53332
53716
|
event_id?: string;
|
|
@@ -53369,7 +53753,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53369
53753
|
*
|
|
53370
53754
|
* 用户主动退群或被移出群聊时推送事件。
|
|
53371
53755
|
*
|
|
53372
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53756
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)并且机器人所在群发生上述变化;- 机器人需要订阅 ==消息与群组== 分类下的 ==用户主动退群或被移出群聊== 事件;- 事件会向群内订阅了该事件的机器人进行推送
|
|
53373
53757
|
*/
|
|
53374
53758
|
"im.chat.member.user.deleted_v1"?: (data: {
|
|
53375
53759
|
event_id?: string;
|
|
@@ -53412,7 +53796,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53412
53796
|
*
|
|
53413
53797
|
* 撤销拉用户进群后触发此事件。
|
|
53414
53798
|
*
|
|
53415
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53799
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 需要订阅 ==消息与群组== 分类下的 ==撤销拉用户进群== 事件;- 事件会向群内订阅了该事件的机器人进行推送
|
|
53416
53800
|
*/
|
|
53417
53801
|
"im.chat.member.user.withdrawn_v1"?: (data: {
|
|
53418
53802
|
event_id?: string;
|
|
@@ -53455,7 +53839,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53455
53839
|
*
|
|
53456
53840
|
* 群组配置被修改后触发此事件,包含:;- 群主转移;- 群基本信息修改(群头像/群名称/群描述/群国际化名称);- 群权限修改(加人入群权限/群编辑权限/at所有人权限/群分享权限)。
|
|
53457
53841
|
*
|
|
53458
|
-
* 注意事项:; - 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53842
|
+
* 注意事项:; - 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability);- 需要订阅 ==消息与群组== 分类下的 ==群配置修改== 事件;- 事件会向群内订阅了该事件的机器人进行推送
|
|
53459
53843
|
*/
|
|
53460
53844
|
"im.chat.updated_v1"?: (data: {
|
|
53461
53845
|
event_id?: string;
|
|
@@ -53549,7 +53933,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53549
53933
|
*
|
|
53550
53934
|
* 用户阅读机器人发送的单聊消息后触发此事件。
|
|
53551
53935
|
*
|
|
53552
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53936
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 需要订阅 ==消息与群组== 分类下的 ==消息已读== 事件
|
|
53553
53937
|
*/
|
|
53554
53938
|
"im.message.message_read_v1"?: (data: {
|
|
53555
53939
|
event_id?: string;
|
|
@@ -53579,7 +53963,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53579
53963
|
*
|
|
53580
53964
|
* 消息被添加某一个表情回复后触发此事件
|
|
53581
53965
|
*
|
|
53582
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53966
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 具备==获取单聊、群组消息== 或 ==获取与发送单聊、群组消息==权限,并订阅 ==消息与群组== 分类下的 ==消息被reaction== 事件才可接收推送;- 机器人只能收到所在群聊内的消息被添加表情回复事件
|
|
53583
53967
|
*/
|
|
53584
53968
|
"im.message.reaction.created_v1"?: (data: {
|
|
53585
53969
|
event_id?: string;
|
|
@@ -53610,7 +53994,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53610
53994
|
*
|
|
53611
53995
|
* 消息被删除某一个表情回复后触发此事件
|
|
53612
53996
|
*
|
|
53613
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
53997
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 具备==获取单聊、群组消息== 或 ==获取与发送单聊、群组消息==权限,并订阅 ==消息与群组== 分类下的 ==消息被取消reaction== 事件才可接收推送;- 机器人只能收到所在群聊内的消息被删除表情回复事件
|
|
53614
53998
|
*/
|
|
53615
53999
|
"im.message.reaction.deleted_v1"?: (data: {
|
|
53616
54000
|
event_id?: string;
|
|
@@ -53663,7 +54047,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53663
54047
|
*
|
|
53664
54048
|
* 机器人接收到用户发送的消息后触发此事件。
|
|
53665
54049
|
*
|
|
53666
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/
|
|
54050
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability),并订阅 ==消息与群组== 分类下的 ==接收消息v2.0== 事件才可接收推送;- 同时,将根据应用具备的权限,判断可推送的信息:; - 当具备==获取用户发给机器人的单聊消息==权限或者==读取用户发给机器人的单聊消息(历史权限)==,可接收与机器人单聊会话中用户发送的所有消息; - 当具备==获取群组中所有消息== 权限时,可接收与机器人所在群聊会话中用户发送的所有消息; - 当具备==获取用户在群组中@机器人的消息== 权限或者==获取用户在群聊中@机器人的消息(历史权限)==,可接收机器人所在群聊中用户 @ 机器人的消息
|
|
53667
54051
|
*/
|
|
53668
54052
|
"im.message.receive_v1"?: (data: {
|
|
53669
54053
|
event_id?: string;
|