form

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountTimeFormName = "AccountTimeForm"
)
View Source
const (
	FileIdFormName = "FileIdForm"
)
View Source
const (
	LoginFormName = "LoginForm"
)
View Source
const (
	MessageFormName = "MessageForm"
)
View Source
const (
	PasswordFormName = "PasswordForm"
)
View Source
const (
	UploadCategoriesFormName = "UploadCategoriesForm"
)

Variables

This section is empty.

Functions

func NewAccountTimeForm added in v1.8.0

func NewAccountTimeForm(logger *zap.Logger, states state.States, service *service.Service) bot.Form

func NewFileIdForm

func NewFileIdForm(service *service.Service) bot.Form

func NewLoginForm

func NewLoginForm(states state.States, service *service.Service) bot.Form

func NewMessageForm

func NewMessageForm(states state.States, service *service.Service,
	messageQueue queue.MessageQueue, categoryService *category.Service,
	deleteMessageCallback *callback.DeleteMessageCallback, deletePhotoCallback *callback.DeletePhotoCallback) bot.Form

func NewPasswordForm

func NewPasswordForm(states state.States, service *service.Service, spbClient spb.Client, queue queue.MessageQueue) bot.Form

func NewUploadCategoriesForm added in v1.3.0

func NewUploadCategoriesForm(logger *zap.Logger, states state.States, service *service.Service, categoryService *category.Service) bot.Form

Types

type AccountTimeForm added in v1.8.0

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

func (*AccountTimeForm) Handle added in v1.8.0

func (f *AccountTimeForm) Handle(message *tgbotapi.Message) error

func (*AccountTimeForm) Name added in v1.8.0

func (f *AccountTimeForm) Name() string

type FileIdForm

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

func (*FileIdForm) Handle

func (f *FileIdForm) Handle(message *tgbotapi.Message) error

func (*FileIdForm) Name

func (f *FileIdForm) Name() string

type LoginForm

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

func (*LoginForm) Handle

func (f *LoginForm) Handle(message *tgbotapi.Message) error

func (*LoginForm) Name

func (f *LoginForm) Name() string

type MessageForm

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

func (*MessageForm) Handle

func (f *MessageForm) Handle(message *tgbotapi.Message) error

func (*MessageForm) Name

func (f *MessageForm) Name() string

type PasswordForm

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

func (*PasswordForm) Handle

func (f *PasswordForm) Handle(message *tgbotapi.Message) error

func (*PasswordForm) Name

func (f *PasswordForm) Name() string

type UploadCategoriesForm added in v1.3.0

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

func (*UploadCategoriesForm) Handle added in v1.3.0

func (f *UploadCategoriesForm) Handle(message *tgbotapi.Message) error

func (*UploadCategoriesForm) Name added in v1.3.0

func (f *UploadCategoriesForm) Name() string

Jump to

Keyboard shortcuts

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