Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Commands ¶
func (p *Plugin) Commands() []gotgbot.BotCommand
type Service ¶
type Service interface {
DeleteReminder(chat *gotgbot.Chat, user *gotgbot.User, id string) error
DeleteReminderByID(id int64) error
GetReminderByID(id int64) (model.Reminder, error)
GetAllReminders() ([]model.Reminder, error)
GetReminders(chat *gotgbot.Chat, user *gotgbot.User) ([]model.Reminder, error)
SaveReminder(chat *gotgbot.Chat, user *gotgbot.User, remindAt time.Time, text string) (int64, error)
}
Click to show internal directories.
Click to hide internal directories.