feat: update slack-go dependency

This commit is contained in:
Ivan Zuev
2022-02-18 18:59:52 +03:00
committed by Ivan Zuev
parent b3be2e208c
commit 9abbdb5a96
13 changed files with 1780 additions and 0 deletions

30
vendor/github.com/slack-go/slack/socketmode/event.go generated vendored Normal file
View File

@@ -0,0 +1,30 @@
package socketmode
import "encoding/json"
// Event is the event sent to the consumer of Client
type Event struct {
Type EventType
Data interface{}
// Request is the json-decoded raw WebSocket message that is received via the Slack Socket Mode
// WebSocket connection.
Request *Request
}
type ErrorBadMessage struct {
Cause error
Message json.RawMessage
}
type ErrorWriteFailed struct {
Cause error
Response *Response
}
type errorRequestedDisconnect struct {
}
func (e errorRequestedDisconnect) Error() string {
return "disconnection requested: Slack requested us to disconnect"
}