durable

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enqueue

func Enqueue(botRef, chatID, message, parseMode string) error

func StartWorker

func StartWorker(cfg WorkerConfig)

Types

type WorkerConfig

type WorkerConfig struct {
	TokenFor func(botRef string) string
	Enabled  func() bool

	RequireDefaultToken bool
}

Jump to

Keyboard shortcuts

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