Documentation ¶
Index ¶
- func AddTemp(m tgbotapi.Message, tempTime time.Time, bot *tg.Bot)
- func CheckShedules(bot *tg.Bot, now time.Time)
- func ClearTemp(bot *tg.Bot, now time.Time)
- func FirstMailing(bot *tg.Bot, now time.Time)
- func Mailing(bot *tg.Bot, notes []Notify, now time.Time)
- func ShortPairStr(lesson database.Lesson) string
- func StrNext(db *xorm.Engine, note Notify) (string, error)
- func StrNextDay(bot *tg.Bot, note Notify) (string, error)
- type Next
- type Notify
- type NotifyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstMailing ¶
Рассылка сообщений о начале занятий
func ShortPairStr ¶
Types ¶
type NotifyType ¶
type NotifyType string
const ( NextLesson NotifyType = "nextnote" NextDay NotifyType = "nextday" NextWeek NotifyType = "nextweek" Changes NotifyType = "changes" Military NotifyType = "mil" )
Click to show internal directories.
Click to hide internal directories.