Documentation ¶
Index ¶
- Constants
- 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(states state.States, service *service.Service, ...) bot.Form
- type FileIdForm
- type LoginForm
- type MessageForm
- type PasswordForm
- type UploadCategoriesForm
Constants ¶
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 NewMessageForm ¶
func NewPasswordForm ¶
Types ¶
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.