Versions in this module Expand all Collapse all v0 v0.12.3 Mar 19, 2023 Changes in this version + const AppHomeOpened + const AppMention + const AppRateLimited + const AppUninstalled + const CallbackEvent + const ChannelArchive + const ChannelCreated + const ChannelDeleted + const ChannelIDChanged + const ChannelLeft + const ChannelRename + const ChannelUnarchive + const EmojiChanged + const FileChange + const FileDeleted + const FileShared + const FileUnshared + const GridMigrationFinished + const GridMigrationStarted + const GroupArchive + const GroupDeleted + const GroupLeft + const GroupRename + const GroupUnarchive + const LinkShared + const MemberJoinedChannel + const MemberLeftChannel + const Message + const MessageMetadataDeleted + const MessageMetadataPosted + const MessageMetadataUpdated + const PinAdded + const PinRemoved + const ReactionAdded + const ReactionRemoved + const TeamAccessGranted + const TeamAccessrevoked + const TeamJoin + const TokensRevoked + const URLVerification + const WorkflowStepExecute + var EventsAPIEventMap = map[string]interface + var EventsAPIInnerEventMapping = map[EventsAPIType]interface + type AppHomeOpenedEvent struct + Channel string + EventTimeStamp string + Tab string + Type string + User string + View slack.View + type AppMentionEvent struct + BotID string + Channel string + EventTimeStamp string + SourceTeam string + Text string + ThreadTimeStamp string + TimeStamp string + Type string + User string + UserTeam string + type AppUninstalledEvent struct + Type string + type Block struct + BlockID string + Fields []struct{ ... } + Text struct{ ... } + Type string + type ChallengeResponse struct + Challenge string + type ChannelArchiveEvent struct + Channel string + EventTimestamp string + Type string + User string + type ChannelCreatedEvent struct + Channel ChannelCreatedInfo + EventTimestamp string + Type string + type ChannelCreatedInfo struct + Created int + Creator string + ID string + IsChannel bool + Name string + type ChannelDeletedEvent struct + Channel string + EventTimestamp string + Type string + type ChannelIDChangedEvent struct + EventTimestamp string + NewChannelID string + OldChannelID string + Type string + type ChannelLeftEvent struct + Channel string + EventTimestamp string + Type string + type ChannelRenameEvent struct + Channel ChannelRenameInfo + EventTimestamp string + Type string + type ChannelRenameInfo struct + Created int + ID string + Name string + type ChannelUnarchiveEvent struct + Channel string + EventTimestamp string + Type string + User 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 EmojiChangedEvent struct + EventTimeStamp string + Name string + Names []string + NewName string + OldName string + Subtype string + Type string + Value string + type EventWorkflowStep struct + Inputs *slack.WorkflowStepInputs + Outputs *[]slack.WorkflowStepOutput + StepID string + WorkflowID string + WorkflowInstanceID string + WorkflowStepExecuteID string + type EventsAPIAppRateLimited struct + APIAppID string + MinuteRateLimited int + TeamID string + Token string + Type string + type EventsAPICallbackEvent struct + APIAppID string + AuthedTeams []string + AuthedUsers []string + EnterpriseID string + EventContext string + EventID string + EventTime int + InnerEvent *json.RawMessage + TeamID string + Token string + Type string + type EventsAPIEvent struct + APIAppID string + Data interface{} + EnterpriseID string + 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 EventsAPIType 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 FileChangeEvent struct + File FileEventFile + FileID string + Type string + type FileDeletedEvent struct + EventTimestamp string + FileID string + Type string + type FileEventFile struct + ID string + type FileSharedEvent struct + ChannelID string + EventTimestamp string + File FileEventFile + FileID string + Type string + UserID string + type FileUnsharedEvent struct + File FileEventFile + FileID string + Type string + type GridMigrationFinishedEvent struct + EnterpriseID string + Type string + type GridMigrationStartedEvent struct + EnterpriseID string + Type string + type GroupArchiveEvent struct + Channel string + EventTimestamp string + Type string + type GroupDeletedEvent struct + Channel string + EventTimestamp string + Type string + type GroupLeftEvent struct + Channel string + EventTimestamp string + Type string + type GroupRenameEvent struct + Channel GroupRenameInfo + EventTimestamp string + Type string + type GroupRenameInfo struct + Created int + ID string + Name string + type GroupUnarchiveEvent struct + Channel string + EventTimestamp 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 + EventTimestamp string + Links []SharedLinks + MessageTimeStamp string + ThreadTimeStamp string + TimeStamp string + Type string + User string + type MemberJoinedChannelEvent struct + Channel string + ChannelType string + EventTimestamp string + Inviter string + Team string + Type string + User string + type MemberLeftChannelEvent struct + Channel string + ChannelType string + EventTimestamp 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 + Blocks []Block + BotID string + Channel string + ChannelType string + ClientMsgID string + Edited *Edited + EventTimeStamp string + Files []File + Icons *Icon + Message *MessageEvent + PreviousMessage *MessageEvent + Root *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 MessageMetadataDeletedEvent struct + AppId string + BotId string + ChannelId string + DeletedTimestamp string + EventTimestamp string + MessageTimestamp string + PreviousMetadata *slack.SlackMetadata + TeamId string + Type string + UserId string + type MessageMetadataPostedEvent struct + AppId string + BotId string + ChannelId string + EventTimestamp string + MessageTimestamp string + Metadata *slack.SlackMetadata + TeamId string + Type string + UserId string + type MessageMetadataUpdatedEvent struct + AppId string + BotId string + ChannelId string + EventTimestamp string + MessageTimestamp string + Metadata *slack.SlackMetadata + PreviousMetadata *slack.SlackMetadata + TeamId string + Type string + UserId string + 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 SharedLinks struct + Domain string + URL string + type TeamAccessGrantedEvent struct + TeamIDs []string + Type string + type TeamAccessRevokedEvent struct + TeamIDs []string + Type string + type TeamJoinEvent struct + EventTimestamp string + Type string + User *slack.User + type TokenComparator struct + VerificationToken string + func (c TokenComparator) Verify(t string) bool + type TokensRevokedEvent struct + EventTimestamp string + Tokens tokens + Type string + type WorkflowStepExecuteEvent struct + CallbackID string + EventTimestamp string + Type string + WorkflowStep EventWorkflowStep