scheduler

package
v0.0.0-...-53c1c99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler(api *tgbotapi.BotAPI, db *database.DB) *Scheduler

func (*Scheduler) CancelUser

func (s *Scheduler) CancelUser(chatID int64)

func (*Scheduler) ScheduleAll

func (s *Scheduler) ScheduleAll()

func (*Scheduler) ScheduleUser

func (s *Scheduler) ScheduleUser(chatID int64)

func (*Scheduler) StopAll

func (s *Scheduler) StopAll()

type UserTimers

type UserTimers struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL