Upload

Upload #

Upload Files #

Upload specified files and directories to Saved Messages:

tdl up -p /path/to/file -p /path/to/dir

Custom Destination #

Upload to custom chat.

CHAT Examples

Available Values: #

  • @iyear (Username)
  • iyear (Username without @)
  • 123456789 (ID)
  • https://t.me/iyear (Public Link)
  • +1 123456789 (Phone)

How to Get Chat ID on Telegram Desktop: #

  • SettingsAdvancedExperimental settingsShow Peer IDs in Profile
tdl up -p /path/to/file -c CHAT

Custom Parameters #

Upload with 8 threads per task, 4 concurrent tasks:

tdl up -p /path/to/file -t 8 -l 4

Filter #

Upload files except specified extensions:

tdl up -p /path/to/file -p /path/to/dir -e .so -e .tmp

Delete Local #

Delete the uploaded file after uploading successfully:

tdl up -p /path/to/file --rm

Photo #

Upload images as photos instead of documents:

tdl up -p /path/to/file --photo