telegramlistener

package
v0.0.0-...-03ce398 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TgWorkspace

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

func NewTelegramBot

func NewTelegramBot(token string, router *router.Router, notifier *notifier.SystemNotifier) *TgWorkspace

func (*TgWorkspace) Run

func (workspace *TgWorkspace) Run() error

func (*TgWorkspace) RunNotificator

func (workspace *TgWorkspace) RunNotificator()

func (*TgWorkspace) SendAutoMessageWithContext

func (workspace *TgWorkspace) SendAutoMessageWithContext(chatId types.ChatId, context interface{})

Jump to

Keyboard shortcuts

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