Documentation ¶
Index ¶
- Constants
- func NewAccountTimeForm(logger *zap.Logger, states state.States, service *service.Service) bot.Form
- func NewFileIdForm(service *service.Service) bot.Form
- func NewLoginForm(states state.States, service *service.Service) bot.Form
- func NewMessageForm(states state.States, service *service.Service, messageQueue queue.MessageQueue, ...) bot.Form
- func NewPasswordForm(states state.States, service *service.Service, spbClient spb.Client, ...) bot.Form
- func NewUploadCategoriesForm(logger *zap.Logger, states state.States, service *service.Service, ...) bot.Form
- type AccountTimeForm
- type FileIdForm
- type LoginForm
- type MessageForm
- type PasswordForm
- type UploadCategoriesForm
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 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 ¶
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) Name ¶
func (f *FileIdForm) Name() string
type MessageForm ¶
type MessageForm struct {
// contains filtered or unexported fields
}
func (*MessageForm) Name ¶
func (f *MessageForm) Name() string
type PasswordForm ¶
type PasswordForm struct {
// contains filtered or unexported fields
}
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
Click to show internal directories.
Click to hide internal directories.