Documentation ¶
Index ¶
- func New(ac *appcontext.Context)
- type Reminder
- func (r *Reminder) AlarmsList(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
- func (r *Reminder) CreateAlarmSetting(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
- func (r *Reminder) DestroyAlarmSetting(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
- func (r *Reminder) Init()
- func (r *Reminder) SendReminders()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reminder ¶
type Reminder struct{}
Reminder is a function-handling struct for Reminder
func (*Reminder) AlarmsList ¶
AlarmsList lists all alarms for user with buttons to enable/disable each of available alarms
func (*Reminder) CreateAlarmSetting ¶
CreateAlarmSetting creates alarm setting for user
func (*Reminder) DestroyAlarmSetting ¶
DestroyAlarmSetting creates alarm setting for user
func (*Reminder) SendReminders ¶
func (r *Reminder) SendReminders()
SendReminders sends reminders for users about coming league tournament
Click to show internal directories.
Click to hide internal directories.