telegram

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telegram added in v0.8.0

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

func New

func New(opts *config.Options) *Telegram

New Telegram struct.

func (*Telegram) Serve added in v0.8.0

func (t *Telegram) Serve(ctx context.Context) (err error)

Serve loop request message from the Telegram api server. Serve always returns a nil error.

Jump to

Keyboard shortcuts

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