slack

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChannels

func GetChannels(api *slack.Client) ([]slack.Channel, error)

func NewClient

func NewClient(botToken string, appToken string) (channels.Channel, error)

Types

type Channel

type Channel struct {
	API      *slack.Client
	Client   *socketmode.Client
	Channels []slack.Channel
}

func (*Channel) Callback

func (c *Channel) Callback(channel chan channels.Message)

func (*Channel) Send

func (c *Channel) Send(msg channels.Message) error

Jump to

Keyboard shortcuts

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