telegram

package
v0.0.0-...-55860fd Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const UID = "telegram"

Variables

This section is empty.

Functions

func Default

func Default() (*client, error)

func Load

func Load(loader envconfig.LoaderFunc) (*client, error)

func New

func New(opt Options) *client

Types

type Options

type Options struct {
	Token   string   `envconfig:"TOKEN" required:"true"`
	Channel []string `envconfig:"CHANNEL"`
}

Jump to

Keyboard shortcuts

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