telegram

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 5 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 New

func New(cfg config.ChannelTelegram, logger *zap.Logger) (*Telegram, error)

func (*Telegram) Name

func (tg *Telegram) Name() string

func (*Telegram) Send

func (tg *Telegram) Send(mes *message.Message) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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