menu

package
v0.0.0-...-4f159c3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleMessage

func HandleMessage(context *context.Context, userId int64, message *tgbotapi.Message)

Types

type AskLocationMenuHandler

type AskLocationMenuHandler struct {
	// contains filtered or unexported fields
}

func NewAskLocationMenu

func NewAskLocationMenu() *AskLocationMenuHandler

func (*AskLocationMenuHandler) Handle

func (handler *AskLocationMenuHandler) Handle(user *objects.User, context *context.Context, message *tgbotapi.Message)

type FeedMenuHandler

type FeedMenuHandler struct {
}

func NewFeedMenu

func NewFeedMenu() *FeedMenuHandler

func (*FeedMenuHandler) Handle

func (handler *FeedMenuHandler) Handle(user *objects.User, context *context.Context, message *tgbotapi.Message)

type Handler

type Handler interface {
	Handle(user *objects.User, context *context.Context, message *tgbotapi.Message)
}

type InitMenuHandler

type InitMenuHandler struct {
	// contains filtered or unexported fields
}

func NewInitMenu

func NewInitMenu() *InitMenuHandler

func (*InitMenuHandler) Handle

func (handler *InitMenuHandler) Handle(user *objects.User, context *context.Context, message *tgbotapi.Message)

type PostMenuHandler

type PostMenuHandler struct {
	// contains filtered or unexported fields
}

func NewPostMenu

func NewPostMenu() *PostMenuHandler

func (*PostMenuHandler) Handle

func (handler *PostMenuHandler) Handle(user *objects.User, context *context.Context, message *tgbotapi.Message)

Jump to

Keyboard shortcuts

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