handlers

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CALLBACK_LIST_GET           = "list/get"
	CALLBACK_LIST_GET_NO_DELETE = "list/get-retain"
)
View Source
const (
	CALLBACK_UNWATCH_CONFIRM = "unwatch/confirm"
	CALLBACK_UNWATCH_CANCEL  = "unwatch/cancel"
	CALLBACK_UNWATCH_SELECT  = "unwatch/select"
)
View Source
const (
	CALLBACK_WATCH_CONFIRM           = "watch/confirm"
	CALLBACK_WATCH_CONFIRM_NO_DELETE = "watch/confirm-retain"
	CALLBACK_WATCH_CANCEL            = "watch/cancel"
	CALLBACK_WATCH_SELECT            = "watch/select"
)

Variables

This section is empty.

Functions

func HandleGet

func HandleGet(opts Opts) error

func HandleHelp

func HandleHelp(opts Opts) error

func HandleIDK

func HandleIDK(opts Opts) error

func HandleList

func HandleList(opts Opts) error

func HandleStart

func HandleStart(opts Opts) error

func HandleStats added in v0.5.0

func HandleStats(opts Opts) error

func HandleUnwatch

func HandleUnwatch(opts Opts) error

func HandleWatch

func HandleWatch(opts Opts) error

Types

type Opts

type Opts struct {
	Bot        *tgbotapi.BotAPI
	Connection *sql.DB
	Update     tgbotapi.Update
}

Jump to

Keyboard shortcuts

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