telegram

package
v0.0.0-...-84d4e49 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartBot

func StartBot(cfg Config, db DB) error

Types

type Config

type Config interface {
	Token() string
	SpamFilterDurationSensitive() time.Duration
	SpamFilterDurationLow() time.Duration
}

type DB

type DB interface {
	GORM() *gorm.DB
	SyncNow()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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