upload

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: BSD-3-Clause Imports: 13 Imported by: 1

Documentation

Overview

Package upload contains functions to upload files on variuos file hostings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Komf added in v0.6.0

func Komf(bot *tgbotapi.BotAPI, id string, c *config.Telegram) (url string, err error)

Komf uploads a Telegram media file to a komf hosting. It doesn't check if the file was already uploaded, that is handeled by pomfs.

func Pomf

func Pomf(bot *tgbotapi.BotAPI, id string, c *config.Telegram) (url string, err error)

Pomf uploads a Telegram media file to a pomf-like hosting. It doesn't check if the file was already uploaded, that is handeled by pomfs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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