btelegram

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Btelegram

type Btelegram struct {
	Config  *config.Protocol
	Remote  chan config.Message
	Account string
	// contains filtered or unexported fields
}

func New

func New(cfg config.Protocol, account string, c chan config.Message) *Btelegram

func (*Btelegram) Connect

func (b *Btelegram) Connect() error

func (*Btelegram) JoinChannel

func (b *Btelegram) JoinChannel(channel string) error

func (*Btelegram) Send

func (b *Btelegram) Send(msg config.Message) error

Jump to

Keyboard shortcuts

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