save-media

command
v0.0.0-...-9711369 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Binary save-media is a userbot that saves the media of a message you reply to with the text "save".

It addresses the request from https://github.com/gotd/td/issues/166: "reply to a picture / video message with key phrase like 'save' and it'll save the referred picture / video".

Reply "save" to any photo, video or document in a private chat or basic group and the file is downloaded to --out. It demonstrates the update dispatcher, fetching the replied-to message and the downloader helper, reusing query/messages Elem.File to locate the attachment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL