command

package
v0.0.0-...-ce24463 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(message *tgbotapi.Message)

Compress handles the initialization of a compress session, making sure the format is supported by the library in use

func CompressAddItem

func CompressAddItem(message *tgbotapi.Message)

CompressAddItem handles the addition of files to the current session archive, upon download of the file itself from a Telegram document

func CompressDone

func CompressDone(message *tgbotapi.Message)

CompressDone ends the current compress session, if any

func ExtractChoose

func ExtractChoose(callbackQuery *tgbotapi.CallbackQuery, callbackData callback.Callback)

ExtractChoose handles the user choice of which file(s) to extract from the current session archive

func ExtractDone

func ExtractDone(callbackQuery *tgbotapi.CallbackQuery)

ExtractDone ends the current extract session, if any

func ExtractFile

func ExtractFile(message *tgbotapi.Message)

ExtractFile handles the extraction of specific archive files or all of them, upon download of the archive itself from a Telegram document

func ExtractURL

func ExtractURL(message *tgbotapi.Message)

ExtractURL handles the extraction of specific archive files or all of them, upon download of the archive itself from a common URL

Types

This section is empty.

Jump to

Keyboard shortcuts

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