notify

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoTelegramAPIToken = fmt.Errorf("no telegram API token found in config file")

ErrNoTelegramAPIToken given if no telegram API token is found in the config file.

Functions

func DecodeBase64Image

func DecodeBase64Image(data string)

func GetBot added in v0.12.0

func GetBot() (*tgbotapi.BotAPI, error)

func SendMessageViaTelegram added in v0.6.0

func SendMessageViaTelegram(message string, chatID int64, imageURI string, replyToMessageID int, replyMarkup interface{})

func SendNotification

func SendNotification(gb *gloomberg.Gloomberg, ttx *totra.TokenTransaction)

Types

This section is empty.

Jump to

Keyboard shortcuts

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