From 0b81c2e16d96d33a5740f609c7e8a95b2f27345a Mon Sep 17 00:00:00 2001 From: iyear Date: Sat, 30 Sep 2023 22:53:57 +0800 Subject: [PATCH] docs(README): add notes to message link --- README.md | 12 +++++++++++- README_zh.md | 10 ++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a1122b7ff2..89fbde7021 100644 --- a/README.md +++ b/README.md @@ -264,9 +264,19 @@ tdl login --code > If you need higher speed, set higher threads. But do not arbitrarily set too large `threads`. -- Download (protected) chat files from message urls: +- Download (protected) chat files from message link: + +> **Note** +> Get message links from "Copy Link" button in official clients. ```shell +# message link may be like: +# - https://t.me/telegram/193 +# - https://t.me/c/1697797156/151 +# - https://t.me/iFreeKnow/45662/55005 +# - https://t.me/c/1492447836/251015/251021 +# - file a new issue if you find other formats + tdl dl -u https://t.me/tdl/1 -u https://t.me/tdl/2 ``` diff --git a/README_zh.md b/README_zh.md index 99a06f14f9..291c0b08ad 100644 --- a/README_zh.md +++ b/README_zh.md @@ -271,7 +271,17 @@ tdl login --code - 从消息链接下载(受保护的)文件: +> **Note** +> 从官方客户端的 "复制链接" 按钮获取消息链接。 + ```shell +# 消息链接可能是以下格式之一: +# - https://t.me/telegram/193 +# - https://t.me/c/1697797156/151 +# - https://t.me/iFreeKnow/45662/55005 +# - https://t.me/c/1492447836/251015/251021 +# - 如果你发现其他格式的链接,请提交 issue + tdl dl -u https://t.me/tdl/1 -u https://t.me/tdl/2 ```