Versions in this module Expand all Collapse all v0 v0.2.1 Jul 18, 2018 Changes in this version + const AppMention + const AppRateLimited + const AppUninstalled + const CallbackEvent + const GridMigrationFinished + const GridMigrationStarted + const LinkShared + const Message + const URLVerification + var EventsAPIEventMap = map[string]interface + var EventsAPIInnerEventMapping = map[string]interface + type AppMentionEvent struct + Channel string + EventTimeStamp json.Number + Text string + TimeStamp string + Type string + User string + type AppUninstalledEvent struct + Type string + type ChallengeResponse struct + Challenge string + type Config struct + TokenVerified bool + VerificationToken string + type EventsAPIAppRateLimited struct + APIAppID string + MinuteRateLimited int + TeamID string + Token string + Type string + type EventsAPICallbackEvent struct + APIAppID string + AuthedUsers []string + EventID string + EventTime int + InnerEvent *json.RawMessage + TeamID string + Token string + Type string + type EventsAPIEvent struct + Data interface{} + InnerEvent EventsAPIInnerEvent + Token string + Type string + func ParseEvent(rawEvent json.RawMessage, opts ...Option) (EventsAPIEvent, error) + type EventsAPIInnerEvent struct + Data interface{} + Type string + type EventsAPIURLVerificationEvent struct + Challenge string + Token string + Type string + type GridMigrationFinishedEvent struct + EnterpriseID string + Type string + type GridMigrationStartedEvent struct + EnterpriseID string + Type string + type Icon struct + IconEmoji string + IconURL string + type LinkSharedEvent struct + Channel string + Links []sharedLinks + MessageTimeStamp json.Number + TimeStamp string + Type string + User string + type MessageAction struct + ActionTimestamp json.Number + Actions []slack.AttachmentAction + AttachmentId json.Number + CallbackId string + Channel MessageActionEntity + MessageTimestamp json.Number + OriginalMessage slack.Message + ResponseUrl string + Team MessageActionEntity + Token string + TriggerId string + Type string + User MessageActionEntity + func ParseActionEvent(payloadString string, opts ...Option) (MessageAction, error) + type MessageActionEntity struct + Domain string + Id string + type MessageActionResponse struct + ReplaceOriginal bool + ResponseType string + Text string + type MessageEvent struct + BotID string + Channel string + ChannelType string + EventTimeStamp json.Number + Icons *Icon + SubType string + Text string + ThreadTimeStamp string + TimeStamp string + Type string + User string + Username string + type Option func(cfg *Config) + func OptionVerifyToken(v verifier) Option + type TokenComparator struct + VerificationToken string + func (c TokenComparator) Verify(t string) bool