mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 11:58:34 +00:00
Update cheatsheets
This commit is contained in:
18
tldr/tgcloud
Normal file
18
tldr/tgcloud
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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/store` with a caption:
|
||||
|
||||
`tgcloud {{[-m|--mode]}} download {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path/to/store}} {{[-c|--caption]}} {{caption}}`
|
||||
Reference in New Issue
Block a user