Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackAPI ¶
type SlackAPI interface {
GetConversationInfo(params *slack.GetConversationInfoInput) (*slack.Channel, error)
AuthTest() (*slack.AuthTestResponse, error)
GetConversationReplies(params *slack.GetConversationRepliesParameters) ([]slack.Message, bool, string, error)
PostMessage(channelID string, options ...slack.MsgOption) (string, string, error)
}
type SlackHandler ¶
type SlackHandler struct {
Api SlackAPI
}
func (*SlackHandler) HandleCallBackEvent ¶
func (h *SlackHandler) HandleCallBackEvent(event slackevents.EventsAPIEvent, path string) error
func (*SlackHandler) HandleInteractionCallback ¶
func (h *SlackHandler) HandleInteractionCallback(interaction slack.InteractionCallback) error
Click to show internal directories.
Click to hide internal directories.