16 lines
258 B
Go
16 lines
258 B
Go
package slackbot
|
|
|
|
import (
|
|
"github.com/slack-go/slack/socketmode"
|
|
)
|
|
|
|
type Client struct {
|
|
socketModeClient *socketmode.Client
|
|
}
|
|
|
|
func NewSlackClient(socketModeClient *socketmode.Client) *Client {
|
|
return &Client{
|
|
socketModeClient: socketModeClient,
|
|
}
|
|
}
|