telegram

package
v0.0.0-...-cfe2003 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BotID        string
	ChannelID    int64
	HouseChan    chan *models.House
	SendMessages bool
	AC           = accounting.Accounting{Symbol: "€", Precision: 0}
)

Functions

func Init

func Init(config models.Telegram, communicationChannel chan *models.House)

Init

func RunBot

func RunBot(ctx context.Context, ctxCancel context.CancelFunc)

Types

This section is empty.

Jump to

Keyboard shortcuts

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