Documentation ¶ Index ¶ func GetChannels(api *slack.Client) ([]slack.Channel, error) func NewClient(botToken string, appToken string) (channels.Channel, error) type Channel func (c *Channel) Callback(channel chan channels.Message) func (c *Channel) Send(msg channels.Message) error 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 Source Files ¶ View all Source files init.goreceive.gosend.gotype.go Click to show internal directories. Click to hide internal directories.