bslack

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0 Imports: 17 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *bridge.Config) bridge.Bridger

func NewLegacy added in v1.12.0

func NewLegacy(cfg *bridge.Config) bridge.Bridger

Types

type BLegacy added in v1.12.0

type BLegacy struct {
	*Bslack
}

func (*BLegacy) Connect added in v1.12.0

func (b *BLegacy) Connect() error

type Bslack added in v0.7.0

type Bslack struct {
	sync.RWMutex
	*bridge.Config
	// contains filtered or unexported fields
}

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

JoinChannel only acts as a verification method that checks whether Matterbridge's Slack integration is already member of the channel. This is because Slack does not allow apps or bots to join channels themselves and they need to be invited manually by a user.

func (*Bslack) Reload added in v1.9.0

func (b *Bslack) Reload(cfg *bridge.Config) (string, error)

func (*Bslack) Send added in v0.7.0

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

Jump to

Keyboard shortcuts

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