Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackQueryHandler ¶
type CallbackQueryHandler struct {
// contains filtered or unexported fields
}
func NewCallbackQueryHandler ¶
func NewCallbackQueryHandler(service ServiceCapabilities) *CallbackQueryHandler
func (*CallbackQueryHandler) Detail ¶
func (n *CallbackQueryHandler) Detail(update tgbotapi.Update)
func (*CallbackQueryHandler) Insert ¶
func (c *CallbackQueryHandler) Insert(update tgbotapi.Update)
func (*CallbackQueryHandler) List ¶
func (i *CallbackQueryHandler) List(update tgbotapi.Update)
type ServiceCapabilities ¶
type ServiceCapabilities interface { ServiceDetailCallbackCapabilities ServiceInsertCallbackCapabilities ServiceListCallbackCapabilities }
type ServiceInsertCallbackCapabilities ¶
type ServiceInsertCallbackCapabilities interface { SubmitCallback(chatID int64, messageID int, text string) error CorrectHostCallback(chatID int64, messageID int, text string) error CorrectPortCallback(chatID int64, messageID int, text string) error CorrectMailboxCallback(chatID int64, messageID int, text string) error CorrectUsernameCallback(chatID int64, messageID int, text string) error CorrectPasswordCallback(chatID int64, messageID int, text string) error }
Click to show internal directories.
Click to hide internal directories.