app

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	tgbotapi.TelegramBot
	CustomField int
}

func (App) Bye

func (app App) Bye(update *tgbotapi.Update, isSwitched bool) (newState string)

func (App) CallbackQueryHandler

func (app App) CallbackQueryHandler(update *tgbotapi.Update)

func (App) ChannelPostHandler

func (app App) ChannelPostHandler(update *tgbotapi.Update)

func (App) ChatMemberHandler

func (app App) ChatMemberHandler(update *tgbotapi.Update)

func (App) MessageTypeGroupHandler

func (app App) MessageTypeGroupHandler(update *tgbotapi.Update)

func (*App) Middleware

func (app *App) Middleware(update *tgbotapi.Update) (ignoreUpdate bool)

func (App) PollAnswerHandler

func (app App) PollAnswerHandler(update *tgbotapi.Update)

func (*App) Welcome

func (app *App) Welcome(update *tgbotapi.Update, isSwitched bool) (newState string)

Jump to

Keyboard shortcuts

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