webm

package
v0.0.0-...-b0fc717 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMp4ForWebm

func CheckMp4ForWebm(tx storage.DBLike, result *types.TPostInfo) (*data.FileID, error)

checks if an mp4 file id is available, returning it immediately if so and returning nil if not.

func ConfigureWebmToTelegramMp4Converter

func ConfigureWebmToTelegramMp4Converter(bot *gogram.TelegramBot, s settings)

func GetMp4ForWebm

func GetMp4ForWebm(result *types.TPostInfo) *data.FileID

waits for an mp4 file id to become available, possibly triggering a conversion and blocking until it completes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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