sender

package
v0.0.0-...-cf1c157 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telegram

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

func NewTelegram

func NewTelegram() (*Telegram, error)

func (*Telegram) ID

func (tg *Telegram) ID()

func (*Telegram) SendFile

func (tg *Telegram) SendFile(filePath, fileName, mime, caption string, recipient []conf.TGRecipient) error

func (*Telegram) SendImage

func (tg *Telegram) SendImage(imagePath, caption string, recipient []conf.TGRecipient) error

func (*Telegram) SendMessage

func (tg *Telegram) SendMessage(msg string, recipient []conf.TGRecipient, markdown bool) error

func (*Telegram) Start

func (tg *Telegram) Start()

Jump to

Keyboard shortcuts

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