telegram

package
v0.0.0-...-6b47566 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTGTransport

func NewTGTransport() transport.ITransport

Types

type TelegramTransport

type TelegramTransport struct {
}

func (TelegramTransport) GetName

func (t TelegramTransport) GetName() string

func (TelegramTransport) NewTransportConfig

func (t TelegramTransport) NewTransportConfig(ctx context.Context)

func (TelegramTransport) SendMessage

func (t TelegramTransport) SendMessage(ctx context.Context, config transport.TransportConfig, msg msg.Message) (err error)

func (TelegramTransport) Start

func (t TelegramTransport) Start()

Jump to

Keyboard shortcuts

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