up

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: AGPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, c *telegram.Client, kvd storage.Storage, opts Options) (rerr error)

Types

type Env added in v0.20.0

type Env struct {
	FilePath  string `comment:"File path"`
	FileName  string `comment:"File name"`
	FileExt   string `comment:"File extension"`
	ThumbPath string `comment:"Thumbnail path"`
	MIME      string `comment:"File mime type"`
}

type File added in v0.20.0

type File struct {
	File  string
	Thumb string
}

type Options added in v0.7.0

type Options struct {
	Chat     string
	Thread   int
	To       string
	Paths    []string
	Includes []string
	Excludes []string
	Remove   bool
	Photo    bool
	Caption  string
}

Jump to

Keyboard shortcuts

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