Documentation ¶ Index ¶ type Client func New(rootCtx context.Context, botToken, appToken string) (*Client, error) func (c *Client) Close() func (c *Client) SendMessage(recipientID string, message string) error func (c *Client) Subscribe() (chan ds.UserEvent, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func New ¶ func New(rootCtx context.Context, botToken, appToken string) (*Client, error) func (*Client) Close ¶ func (c *Client) Close() func (*Client) SendMessage ¶ func (c *Client) SendMessage(recipientID string, message string) error SendMessage sends message to slack channel or user func (*Client) Subscribe ¶ func (c *Client) Subscribe() (chan ds.UserEvent, error) Source Files ¶ View all Source files client.go msg.go Click to show internal directories. Click to hide internal directories.