From b8af582749ae5ea8e5df1a3ca39c0367beb47ab7 Mon Sep 17 00:00:00 2001 From: linyuchen Date: Tue, 27 Feb 2024 03:38:03 +0800 Subject: [PATCH] docs: update readme --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71ccda1..1fc4752 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,16 @@ TG群: - [x] 语音(支持mp3、wav等多种音频格式直接发送) - [x] json消息(只上报) - [x] 转发消息记录(目前只能发不能收) -- [x] 视频(只能上报本地路径) -- [x] 文件(只能上报本地路径) +- [x] 视频(上报时暂时只有个空的file) +- [x] 文件(上报时暂时只有个空的file), type为file, data为{file: uri}, 发送时uri支持http://, file://, base64:// + ``` + { + "type": "file", + "data": { + "file": "file:///D:/1.txt" + } + } + ``` - [ ] 发送音乐卡片 - [ ] 红包(没有计划支持) - [ ] xml (没有计划支持)