Skip to content

Commit

Permalink
docs: cancellation
Browse files Browse the repository at this point in the history
  • Loading branch information
hlf20010508 committed Dec 20, 2024
1 parent f465eeb commit 8abdc07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ If you don't follow these steps, the bot may not work.
- `/version` to show the version.
- `/help` for help.
The bot support files with extension `.t2o` as scripts. You can use them to automate the bot.
The bot support files with extension `.t2o` as batch scripts. You can use them to automate the bot.
To cancel a job, delete the responded message.
To cancel batch or links tasks, delete the message you sent.
### Example
- `/links https://t.me/c/xxxxxxx/100 2` will transfer `https://t.me/c/xxxxxxx/100` and `https://t.me/c/xxxxxxx/101`.
Expand Down
1 change: 1 addition & 0 deletions src/handlers/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const INSTRUCTION: &str = "\
- Tap the file name on the Progress message to locate the job.
- To upload files through url, the headers of the file response must includes Content-Length.
- To cancel a job, delete the responded message.
- To cancel batch or links tasks, delete the message you sent.
- Support files with extension .t2o as scripts.
See <a href=\"https://github.com/hlf20010508/telegram-onedrive#example\">example</a>.
Expand Down

0 comments on commit 8abdc07

Please sign in to comment.