backend

package
v0.0.0-...-7844ac0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetUpdates

func GetUpdates() tba.UpdatesChannel

func ProcessUpdate

func ProcessUpdate(markovs Tables, update tba.Update) error

Types

type ChatID

type ChatID int64

type Tables

type Tables map[ChatID]TimedMarkov

func (Tables) Persist

func (tabs Tables) Persist()

func (Tables) UnloadOld

func (t Tables) UnloadOld()

type TimedMarkov

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

Jump to

Keyboard shortcuts

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