Versions in this module Expand all Collapse all v0 v0.6.9 Sep 3, 2020 v0.6.8 Sep 3, 2020 Changes in this version + const AppHomeOpened + const AppMention + const AppRateLimited + const AppUninstalled + const CallbackEvent + const GridMigrationFinished + const GridMigrationStarted + const LinkShared + const MemberJoinedChannel + const MemberLeftChannel + const Message + const PinAdded + const PinRemoved + const ReactionAdded + const ReactionRemoved + const TokensRevoked + const URLVerification + var EventsAPIEventMap = map[string]interface + var EventsAPIInnerEventMapping = map[string]interface + type AppHomeOpenedEvent struct + Channel string + EventTimeStamp json.Number + Tab string + Type string + User string + View slack.View + type AppMentionEvent struct + BotID string + Channel string + EventTimeStamp json.Number + SourceTeam string + Text string + ThreadTimeStamp string + TimeStamp string + Type string + User string + UserTeam string + type AppUninstalledEvent struct + Type string + type ChallengeResponse struct + Challenge string + type Comment struct + Comment string + Created JSONTime + ID string + Timestamp JSONTime + User string + type Config struct + TokenVerified bool + VerificationToken string + type Edited struct + TimeStamp string + User string + type EventsAPIAppRateLimited struct + APIAppID string + MinuteRateLimited int + TeamID string + Token string + Type string + type EventsAPICallbackEvent struct + APIAppID string + AuthedTeams []string + AuthedUsers []string + EventID string + EventTime int + InnerEvent *json.RawMessage + TeamID string + Token string + Type string + type EventsAPIEvent struct + APIAppID string + Data interface{} + InnerEvent EventsAPIInnerEvent + TeamID string + 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 File struct + Created int + DisplayAsBot bool + Editable bool + ExternalType string + Filetype string + ID string + ImageExifRotation int + IsExternal bool + IsPublic bool + Mimetype string + Mode string + Name string + OriginalH int + OriginalW int + Permalink string + PermalinkPublic string + PrettyType string + PublicURLShared bool + Size int + Thumb1024 string + Thumb1024H int + Thumb1024W int + Thumb160 string + Thumb360 string + Thumb360H int + Thumb360W int + Thumb480 string + Thumb480H int + Thumb480W int + Thumb64 string + Thumb720 string + Thumb720H int + Thumb720W int + Thumb80 string + Thumb800 string + Thumb800H int + Thumb800W int + Thumb960 string + Thumb960H int + Thumb960W int + Timestamp int + Title string + URLPrivate string + URLPrivateDownload string + User string + Username string + type GridMigrationFinishedEvent struct + EnterpriseID string + Type string + type GridMigrationStartedEvent struct + EnterpriseID string + Type string + type Icon struct + IconEmoji string + IconURL string + type Item struct + Channel string + Comment *Comment + File *File + Message *ItemMessage + Timestamp string + Type string + type ItemMessage struct + DeleteOriginal bool + PinnedTo []string + ReplaceOriginal bool + Text string + Timestamp string + Type string + User string + type JSONTime int64 + type LinkSharedEvent struct + Channel string + Links []sharedLinks + MessageTimeStamp json.Number + ThreadTimeStamp string + TimeStamp string + Type string + User string + type MemberJoinedChannelEvent struct + Channel string + ChannelType string + Inviter string + Team string + Type string + User string + type MemberLeftChannelEvent struct + Channel string + ChannelType string + Team string + Type string + User string + type MessageAction struct + ActionTimestamp json.Number + Actions []slack.AttachmentAction + AttachmentID json.Number + CallbackID string + Channel MessageActionEntity + Message slack.Message + 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 + Name string + type MessageActionResponse struct + ReplaceOriginal bool + ResponseType string + Text string + type MessageEvent struct + Attachments []slack.Attachment + BotID string + Channel string + ChannelType string + ClientMsgID string + Edited *Edited + EventTimeStamp json.Number + Files []File + Icons *Icon + Message *MessageEvent + PreviousMessage *MessageEvent + SourceTeam string + SubType string + Text string + ThreadTimeStamp string + TimeStamp string + Type string + Upload bool + User string + UserTeam string + Username string + func (e MessageEvent) IsEdited() bool + type Option func(cfg *Config) + func OptionNoVerifyToken() Option + func OptionVerifyToken(v verifier) Option + type PinAddedEvent pinEvent + type PinRemovedEvent pinEvent + type ReactionAddedEvent reactionEvent + type ReactionRemovedEvent reactionEvent + type TokenComparator struct + VerificationToken string + func (c TokenComparator) Verify(t string) bool + type TokensRevokedEvent struct + Tokens tokens + Type string