telegram

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2015 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback added in v0.0.2

type Callback func(event string, args []string, chat int)

type Notifier

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

func New

func New(token string, chat int) Notifier

func (*Notifier) Handle added in v0.0.2

func (n *Notifier) Handle(event string, callback Callback)

func (Notifier) Notify

func (n Notifier) Notify(message string) (err error)

Jump to

Keyboard shortcuts

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