bslack

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bslack added in v0.7.0

type Bslack struct {
	Plus  bool
	Users []slack.User

	*config.BridgeConfig
	// contains filtered or unexported fields
}

func New

func New(cfg *config.BridgeConfig) *Bslack

func (*Bslack) Command added in v0.7.0

func (b *Bslack) Command(cmd string) string

func (*Bslack) Connect added in v0.7.0

func (b *Bslack) Connect() error

func (*Bslack) Disconnect added in v0.9.3

func (b *Bslack) Disconnect() error

func (*Bslack) JoinChannel added in v0.7.0

func (b *Bslack) JoinChannel(channel config.ChannelInfo) error

func (*Bslack) Send added in v0.7.0

func (b *Bslack) Send(msg config.Message) (string, error)

type MMMessage

type MMMessage struct {
	Text     string
	Channel  string
	Username string
	UserID   string
	Raw      *slack.MessageEvent
}

Jump to

Keyboard shortcuts

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