telegram

package
v1.6.21 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addition

type Addition struct {
	BotToken        string `json:"bot_token" required:"true"`
	ChatID          string `json:"chat_id" required:"true"`
	MessageThreadID string `` /* 130-byte string literal not displayed */
	Endpoint        string `` /* 140-byte string literal not displayed */
}

type TelegramSender

type TelegramSender struct {
	Addition
}

func (*TelegramSender) Destroy

func (t *TelegramSender) Destroy() error

func (*TelegramSender) GetConfiguration

func (t *TelegramSender) GetConfiguration() factory.Configuration

func (*TelegramSender) GetName

func (t *TelegramSender) GetName() string

func (*TelegramSender) Init

func (t *TelegramSender) Init() error

func (*TelegramSender) SendTextMessage

func (t *TelegramSender) SendTextMessage(message, title string) error

Jump to

Keyboard shortcuts

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