commands.sh

tgcloud

all

Manage a Telegram account. See also: `tgsend`, `tginfo`, `tgutil`.

More info →

Options (5)

-m, --modeboolean

Upload a file to a chat with a caption

Example: tgcloud {{[-m|--mode]}} upload {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path_of_the_file}} {{[-c|--caption]}} {{caption}}
-n, --nameboolean

Upload a file to a chat with a caption

Example: tgcloud {{[-m|--mode]}} upload {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path_of_the_file}} {{[-c|--caption]}} {{caption}}
-u, --usernameboolean

Upload a file to a chat with a caption

Example: tgcloud {{[-m|--mode]}} upload {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path_of_the_file}} {{[-c|--caption]}} {{caption}}
-p, --pathboolean

Upload a file to a chat with a caption

Example: tgcloud {{[-m|--mode]}} upload {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path_of_the_file}} {{[-c|--caption]}} {{caption}}
-c, --captionboolean

Upload a file to a chat with a caption

Example: tgcloud {{[-m|--mode]}} upload {{[-n|--name]}} {{session_name}} {{[-u|--username]}} {{chat_id}} {{[-p|--path]}} {{path_of_the_file}} {{[-c|--caption]}} {{caption}}

Examples (2)

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
made by @shridhargupta | data from tldr-pages