notify: gomodules.xyz/notify/telegram Index | Files

package telegram

import "gomodules.xyz/notify/telegram"

Index

Package Files

chat.go

Constants

const UID = "telegram"

func Default Uses

func Default() (*client, error)

func Load Uses

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

func New Uses

func New(opt Options) *client

type Options Uses

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

Package telegram imports 8 packages (graph) and is imported by 2 packages. Updated 2019-05-01. Refresh now. Tools for package owners.