notification

package
v0.0.0-...-2e0bdef Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTelegramBot

func NewTelegramBot(telegramBotCfg configs.TelegramBot, debug bool) (*telegramBot, error)

Types

type TelegramBot

type TelegramBot interface {
	SendMessage(ctx context.Context, chatId int64, text string, parseMode string) error
	CommandHandling(ctx context.Context, cmd func(tgbotapi.Update) string) error
}

Directories

Path Synopsis
Package mocktelegram is a generated GoMock package.
Package mocktelegram is a generated GoMock package.

Jump to

Keyboard shortcuts

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