This commit is contained in:
1 parent
5915ed0c5b
commit
4dcc52a835
1 file changed
+2
-2
+2
-2
@@ -73,9 +73,9 @@ def do_p2_im_message_receive_v1(data: P2ImMessageReceiveV1) -> None:
|
|||||||
images_path = []
|
images_path = []
|
||||||
for image in images:
|
for image in images:
|
||||||
image_path = get_message_resource(client, message_id, image, "image", cache_dir)
|
image_path = get_message_resource(client, message_id, image, "image", cache_dir)
|
||||||
print("下载文件成功:", image)
|
print("下载文件成功:", image, image_path)
|
||||||
images_path.append(image_path)
|
images_path.append(image_path)
|
||||||
file_token = upload_media(client, image_path, "bitable_file", bitable_token)
|
file_token = upload_media(client, image_path, "docx_image", bitable_token)
|
||||||
print("上传文件成功:", file_token)
|
print("上传文件成功:", file_token)
|
||||||
|
|
||||||
add_record(record)
|
add_record(record)
|
||||||
|
|||||||
Reference in new issue
Block a user