internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotService

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

func GetBot

func GetBot() *BotService

func (*BotService) FindRoute added in v1.0.0

func (b *BotService) FindRoute(bot tgbotapi.BotAPI, update tgbotapi.Update) error

func (*BotService) SetRoute added in v1.0.0

func (b *BotService) SetRoute()

func (*BotService) Start

func (bs *BotService) Start()

func (BotService) Status

func (b BotService) Status() <-chan struct{}

func (*BotService) Stop

func (b *BotService) Stop()

type Manager

type Manager struct {
}

Manager /*

The Manager must control activity of client If client don't answer long time (10 minutes), Manager will notification If client forget about lesson, Manager will send notification to start lesson If any updates became, Manger will say about them to the client through the bot

func GetManager added in v1.0.0

func GetManager() *Manager

func (Manager) Start

func (m Manager) Start()

Directories

Path Synopsis
repository

Jump to

Keyboard shortcuts

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