mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
75e05049f9
* tgcloud: add page * tginfo: add page * tgsend: add page * tgutil: add page * tgcloud: add page * tginfo: add page * tgsend: add page * tgutil: add page * tgcloud: add page * tginfo: add page * tgutil: add page * tgsend: add page * tgcloud: add page * tginfo: add page * tgsend: add page * tgutil: add page
601 B
601 B
tgcloud
Manage a Telegram account. See also:
tgsend,tginfo,tgutil. More information: https://pypi.org/project/telegram-cloud/.
- Upload a file to a chat with a caption:
tgcloud {{[-m|--mode]}} upload {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path_of_the_file}} {{[-c|--caption]}} {{caption}}
- Download a file from a chat and store it in
path/to/storewith a caption:
tgcloud {{[-m|--mode]}} download {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path/to/store}} {{[-c|--caption]}} {{caption}}