telegram

package
v0.0.0-...-01b0788 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelegramNotifier

type TelegramNotifier struct {
	Client   *tgbotapi.BotAPI
	AuthCode int
	ChatID   int64
}

func New

func New() (t *TelegramNotifier, err error)

func (*TelegramNotifier) Auth

func (t *TelegramNotifier) Auth()

func (*TelegramNotifier) GetName

func (t *TelegramNotifier) GetName() string

func (*TelegramNotifier) Send

func (t *TelegramNotifier) Send(notif Notification) error

func (*TelegramNotifier) Status

func (t *TelegramNotifier) Status() (Module, error)

Jump to

Keyboard shortcuts

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