Versions in this module Expand all Collapse all v0 v0.0.2 Mar 12, 2023 Changes in this version type Conversation + ConversationHostID string v0.0.1 Mar 12, 2023 Changes in this version + const APIURL + const DEFAULT_FILES_CHANNEL + const DEFAULT_FILES_COUNT + const DEFAULT_FILES_PAGE + const DEFAULT_FILES_SHOW_HIDDEN + const DEFAULT_FILES_TS_FROM + const DEFAULT_FILES_TS_TO + const DEFAULT_FILES_TYPES + const DEFAULT_FILES_USER + const DEFAULT_HISTORY_COUNT + const DEFAULT_HISTORY_INCLUSIVE + const DEFAULT_HISTORY_LATEST + const DEFAULT_HISTORY_OLDEST + const DEFAULT_HISTORY_UNREADS + const DEFAULT_LOGINS_COUNT + const DEFAULT_LOGINS_PAGE + const DEFAULT_MESSAGE_ASUSER + const DEFAULT_MESSAGE_ESCAPE_TEXT + const DEFAULT_MESSAGE_ICON_EMOJI + const DEFAULT_MESSAGE_ICON_URL + const DEFAULT_MESSAGE_LINK_NAMES + const DEFAULT_MESSAGE_MARKDOWN + const DEFAULT_MESSAGE_PARSE + const DEFAULT_MESSAGE_REPLY_BROADCAST + const DEFAULT_MESSAGE_THREAD_TIMESTAMP + const DEFAULT_MESSAGE_UNFURL_LINKS + const DEFAULT_MESSAGE_UNFURL_MEDIA + const DEFAULT_MESSAGE_USERNAME + const DEFAULT_REACTIONS_COUNT + const DEFAULT_REACTIONS_FULL + const DEFAULT_REACTIONS_PAGE + const DEFAULT_REACTIONS_USER + const DEFAULT_REMOTE_FILES_CHANNEL + const DEFAULT_REMOTE_FILES_COUNT + const DEFAULT_REMOTE_FILES_TS_FROM + const DEFAULT_REMOTE_FILES_TS_TO + const DEFAULT_SEARCH_COUNT + const DEFAULT_SEARCH_HIGHLIGHT + const DEFAULT_SEARCH_PAGE + const DEFAULT_SEARCH_SORT + const DEFAULT_SEARCH_SORT_DIR + const DEFAULT_STARS_COUNT + const DEFAULT_STARS_PAGE + const DEFAULT_STARS_USER + const DEFAULT_USER_PHOTO_CROP_W + const DEFAULT_USER_PHOTO_CROP_X + const DEFAULT_USER_PHOTO_CROP_Y + const ErrAlreadyDisconnected + const ErrBlockIDNotUnique + const ErrExpiredTimestamp + const ErrInvalidConfiguration + const ErrMissingHeaders + const ErrParametersMissing + const ErrRTMDeadman + const ErrRTMDisconnected + const ErrRTMGoodbye + const InteractionTypeBlockActions + const InteractionTypeBlockSuggestion + const InteractionTypeDialogCancellation + const InteractionTypeDialogSubmission + const InteractionTypeDialogSuggestion + const InteractionTypeInteractionMessage + const InteractionTypeMessageAction + const InteractionTypeShortcut + const InteractionTypeViewClosed + const InteractionTypeViewSubmission + const InteractionTypeWorkflowStepEdit + const METButton + const METCheckboxGroups + const METDatepicker + const METDatetimepicker + const METEmailTextInput + const METImage + const METNumber + const METOverflow + const METPlainTextInput + const METRadioButtons + const METTimepicker + const METURLTextInput + const MarkdownType + const MaxMessageTextLength + const MixedElementImage + const MixedElementText + const MsgSubTypeBotMessage + const MsgSubTypeChannelArchive + const MsgSubTypeChannelJoin + const MsgSubTypeChannelLeave + const MsgSubTypeChannelName + const MsgSubTypeChannelPostingPermissions + const MsgSubTypeChannelPurpose + const MsgSubTypeChannelTopic + const MsgSubTypeChannelUnarchive + const MsgSubTypeEkmAccessDenied + const MsgSubTypeFileComment + const MsgSubTypeFileShare + const MsgSubTypeGileMention + const MsgSubTypeGroupArchive + const MsgSubTypeGroupJoin + const MsgSubTypeGroupLeave + const MsgSubTypeGroupName + const MsgSubTypeGroupPurpose + const MsgSubTypeGroupTopic + const MsgSubTypeGroupUnarchive + const MsgSubTypeMeMessage + const MsgSubTypeMessageChanged + const MsgSubTypeMessageDeleted + const MsgSubTypeMessageReplied + const MsgSubTypePinnedItem + const MsgSubTypeReplyBroadcast + const MsgSubTypeThreadBroadcast + const MsgSubTypeUnpinnedItem + const MultiOptTypeChannels + const MultiOptTypeConversations + const MultiOptTypeExternal + const MultiOptTypeStatic + const MultiOptTypeUser + const OptTypeChannels + const OptTypeConversations + const OptTypeExternal + const OptTypeStatic + const OptTypeUser + const PlainTextType + const ResponseTypeEphemeral + const ResponseTypeInChannel + const TYPE_CHANNEL + const TYPE_FILE + const TYPE_FILE_COMMENT + const TYPE_GROUP + const TYPE_IM + const TYPE_MESSAGE + const WEBAPIURLFormat + var EventMapping = map[string]interface + func GetOAuthToken(client httpClient, clientID, clientSecret, code, redirectURI string) (accessToken string, scope string, err error) + func GetOAuthTokenContext(ctx context.Context, client httpClient, ...) (accessToken string, scope string, err error) + func OptionAPIURL(u string) func(*Client) + func OptionAppLevelToken(token string) func(*Client) + func OptionDebug(b bool) func(*Client) + func OptionHTTPClient(client httpClient) func(*Client) + func OptionLog(l logger) func(*Client) + func PostWebhook(url string, msg *WebhookMessage) error + func PostWebhookContext(ctx context.Context, url string, msg *WebhookMessage) error + func PostWebhookCustomHTTP(url string, httpClient *http.Client, msg *WebhookMessage) error + func PostWebhookCustomHTTPContext(ctx context.Context, url string, httpClient *http.Client, msg *WebhookMessage) error + func UnsafeApplyMsgOptions(token, channel, apiurl string, options ...MsgOption) (string, url.Values, error) + func ValidateUniqueBlockID(view ModalViewRequest) bool + type AccessLogParameters struct + Count int + Page int + func NewAccessLogParameters() AccessLogParameters + type Accessory struct + ButtonElement *ButtonBlockElement + CheckboxGroupsBlockElement *CheckboxGroupsBlockElement + DatePickerElement *DatePickerBlockElement + ImageElement *ImageBlockElement + MultiSelectElement *MultiSelectBlockElement + OverflowElement *OverflowBlockElement + PlainTextInputElement *PlainTextInputBlockElement + RadioButtonsElement *RadioButtonsBlockElement + SelectElement *SelectBlockElement + TimePickerElement *TimePickerBlockElement + UnknownElement *UnknownBlockElement + func NewAccessory(element BlockElement) *Accessory + func (a *Accessory) MarshalJSON() ([]byte, error) + func (a *Accessory) UnmarshalJSON(data []byte) error + type AccountsChangedEvent struct + Type string + type AckErrorEvent struct + ErrorObj error + ReplyTo int + func (a *AckErrorEvent) Error() string + type AckMessage struct + ReplyTo int + Text string + Timestamp string + type ActionBlock struct + BlockID string + Elements *BlockElements + Type MessageBlockType + func NewActionBlock(blockID string, elements ...BlockElement) *ActionBlock + func (s ActionBlock) BlockType() MessageBlockType + type ActionCallbacks struct + AttachmentActions []*AttachmentAction + BlockActions []*BlockAction + func (a *ActionCallbacks) UnmarshalJSON(data []byte) error + func (a ActionCallbacks) MarshalJSON() ([]byte, error) + type ActionType string + type AddBookmarkParameters struct + Emoji string + EntityID string + Link string + ParentID string + Title string + Type string + type Attachment struct + Actions []AttachmentAction + AuthorID string + AuthorIcon string + AuthorLink string + AuthorName string + AuthorSubname string + Blocks Blocks + CallbackID string + Color string + Fallback string + Fields []AttachmentField + Footer string + FooterIcon string + FromURL string + ID int + ImageURL string + MarkdownIn []string + OriginalURL string + Pretext string + ServiceIcon string + ServiceName string + Text string + ThumbURL string + Title string + TitleLink string + Ts json.Number + type AttachmentAction struct + Confirm *ConfirmationField + DataSource string + MinQueryLength int + Name string + OptionGroups []AttachmentActionOptionGroup + Options []AttachmentActionOption + SelectedOptions []AttachmentActionOption + Style string + Text string + Type ActionType + URL string + Value string + type AttachmentActionCallback InteractionCallback + type AttachmentActionOption struct + Description string + Text string + Value string + type AttachmentActionOptionGroup struct + Options []AttachmentActionOption + Text string + type AttachmentField struct + Short bool + Title string + Value string + type AuditApp struct + ID string + IsDirectoryApproved bool + IsDistributed bool + IsWorkflowApp bool + Name string + Scopes []string + type AuditChannel struct + ID string + IsOrgShared bool + IsShared bool + Name string + Privacy string + type AuditEnterprise struct + Domain string + ID string + Name string + type AuditEntry struct + Action string + Actor struct{ ... } + Context struct{ ... } + DateCreate int + Details struct{ ... } + Entity struct{ ... } + ID string + type AuditFile struct + Filetype string + ID string + Name string + Title string + type AuditLogParameters struct + Action string + Actor string + Cursor string + Entity string + Latest int + Limit int + Oldest int + type AuditLogResponse struct + Entries []AuditEntry + type AuditUser struct + Email string + ID string + Name string + Team string + type AuditWorkspace struct + Domain string + ID string + Name string + type AuthRevokeResponse struct + Revoked bool + type AuthTestResponse struct + BotID string + EnterpriseID string + Team string + TeamID string + URL string + User string + UserID string + type BillableInfoResponse struct + BillableInfo map[string]BillingActive + type BillingActive struct + BillingActive bool + type Block interface + BlockType func() MessageBlockType + type BlockAction struct + ActionID string + ActionTs string + BlockID string + InitialChannel string + InitialConversation string + InitialDate string + InitialOption OptionBlockObject + InitialTime string + InitialUser string + SelectedChannel string + SelectedChannels []string + SelectedConversation string + SelectedConversations []string + SelectedDate string + SelectedDateTime int64 + SelectedOption OptionBlockObject + SelectedOptions []OptionBlockObject + SelectedTime string + SelectedUser string + SelectedUsers []string + Text TextBlockObject + Type ActionType + Value string + type BlockActionStates struct + Values map[string]map[string]BlockAction + type BlockElement interface + ElementType func() MessageElementType + type BlockElements struct + ElementSet []BlockElement + func (b *BlockElements) MarshalJSON() ([]byte, error) + func (b *BlockElements) UnmarshalJSON(data []byte) error + type BlockObjects struct + ConfirmationObjects []*ConfirmationBlockObject + OptionGroupObjects []*OptionGroupBlockObject + OptionObjects []*OptionBlockObject + TextObjects []*TextBlockObject + func (b *BlockObjects) UnmarshalJSON(data []byte) error + type Blocks struct + BlockSet []Block + func (b *Blocks) UnmarshalJSON(data []byte) error + func (b Blocks) MarshalJSON() ([]byte, error) + type Bookmark struct + AppID string + ChannelID string + Created JSONTime + Emoji string + EntityID string + ID string + IconURL string + LastUpdatedByTeamID string + LastUpdatedByUserID string + Link string + Rank string + ShortcutID string + Title string + Type string + Updated JSONTime + type Bot struct + AppID string + Deleted bool + ID string + Icons Icons + Name string + Updated JSONTime + UserID string + type BotAddedEvent struct + Bot Bot + Type string + type BotChangedEvent struct + Bot Bot + Type string + type BotProfile struct + AppID string + Deleted bool + ID string + Icons *Icons + Name string + TeamID string + Updated int64 + type ButtonBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + Style Style + Text *TextBlockObject + Type MessageElementType + URL string + Value string + func NewButtonBlockElement(actionID, value string, text *TextBlockObject) *ButtonBlockElement + func (s *ButtonBlockElement) WithConfirm(confirm *ConfirmationBlockObject) *ButtonBlockElement + func (s *ButtonBlockElement) WithStyle(style Style) *ButtonBlockElement + func (s ButtonBlockElement) ElementType() MessageElementType + type Channel struct + IsChannel bool + IsGeneral bool + IsMember bool + Locale string + type ChannelArchiveEvent ChannelInfoEvent + type ChannelCreatedEvent struct + Channel ChannelCreatedInfo + EventTimestamp string + Type string + type ChannelCreatedInfo struct + Created int + Creator string + ID string + IsChannel bool + Name string + type ChannelDeletedEvent ChannelInfoEvent + type ChannelHistoryChangedEvent struct + EventTimestamp string + Latest string + Timestamp string + Type string + type ChannelInfoEvent struct + Channel string + Timestamp string + Type string + User string + type ChannelJoinedEvent struct + Channel Channel + Type string + type ChannelLeftEvent ChannelInfoEvent + type ChannelMarkedEvent ChannelInfoEvent + type ChannelRenameEvent struct + Channel ChannelRenameInfo + Timestamp string + Type string + type ChannelRenameInfo struct + Created int + ID string + Name string + type ChannelUnarchiveEvent ChannelInfoEvent + type CheckboxGroupsBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + InitialOptions []*OptionBlockObject + Options []*OptionBlockObject + Type MessageElementType + func NewCheckboxGroupsBlockElement(actionID string, options ...*OptionBlockObject) *CheckboxGroupsBlockElement + func (c CheckboxGroupsBlockElement) ElementType() MessageElementType + type Client struct + func New(token string, options ...Option) *Client + func (api *Client) AddBookmark(channelID string, params AddBookmarkParameters) (Bookmark, error) + func (api *Client) AddBookmarkContext(ctx context.Context, channelID string, params AddBookmarkParameters) (Bookmark, error) + func (api *Client) AddChannelReminder(channelID, text, time string) (*Reminder, error) + func (api *Client) AddChannelReminderContext(ctx context.Context, channelID, text, time string) (*Reminder, error) + func (api *Client) AddPin(channel string, item ItemRef) error + func (api *Client) AddPinContext(ctx context.Context, channel string, item ItemRef) error + func (api *Client) AddReaction(name string, item ItemRef) error + func (api *Client) AddReactionContext(ctx context.Context, name string, item ItemRef) error + func (api *Client) AddRemoteFile(params RemoteFileParameters) (*RemoteFile, error) + func (api *Client) AddRemoteFileContext(ctx context.Context, params RemoteFileParameters) (remotefile *RemoteFile, err error) + func (api *Client) AddStar(channel string, item ItemRef) error + func (api *Client) AddStarContext(ctx context.Context, channel string, item ItemRef) error + func (api *Client) AddUserReminder(userID, text, time string) (*Reminder, error) + func (api *Client) AddUserReminderContext(ctx context.Context, userID, text, time string) (*Reminder, error) + func (api *Client) ArchiveConversation(channelID string) error + func (api *Client) ArchiveConversationContext(ctx context.Context, channelID string) error + func (api *Client) AuthTest() (response *AuthTestResponse, error error) + func (api *Client) AuthTestContext(ctx context.Context) (response *AuthTestResponse, err error) + func (api *Client) CloseConversation(channelID string) (noOp bool, alreadyClosed bool, err error) + func (api *Client) CloseConversationContext(ctx context.Context, channelID string) (noOp bool, alreadyClosed bool, err error) + func (api *Client) ConnectRTM() (info *Info, websocketURL string, err error) + func (api *Client) ConnectRTMContext(ctx context.Context) (info *Info, websocketURL string, err error) + func (api *Client) CreateConversation(params CreateConversationParams) (*Channel, error) + func (api *Client) CreateConversationContext(ctx context.Context, params CreateConversationParams) (*Channel, error) + func (api *Client) CreateUserGroup(userGroup UserGroup) (UserGroup, error) + func (api *Client) CreateUserGroupContext(ctx context.Context, userGroup UserGroup) (UserGroup, error) + func (api *Client) Debug() bool + func (api *Client) Debugf(format string, v ...interface{}) + func (api *Client) Debugln(v ...interface{}) + func (api *Client) DeleteFile(fileID string) error + func (api *Client) DeleteFileComment(commentID, fileID string) error + func (api *Client) DeleteFileCommentContext(ctx context.Context, fileID, commentID string) (err error) + func (api *Client) DeleteFileContext(ctx context.Context, fileID string) (err error) + func (api *Client) DeleteMessage(channel, messageTimestamp string) (string, string, error) + func (api *Client) DeleteMessageContext(ctx context.Context, channel, messageTimestamp string) (string, string, error) + func (api *Client) DeleteReminder(id string) error + func (api *Client) DeleteReminderContext(ctx context.Context, id string) error + func (api *Client) DeleteScheduledMessage(params *DeleteScheduledMessageParameters) (bool, error) + func (api *Client) DeleteScheduledMessageContext(ctx context.Context, params *DeleteScheduledMessageParameters) (bool, error) + func (api *Client) DeleteUserPhoto() error + func (api *Client) DeleteUserPhotoContext(ctx context.Context) (err error) + func (api *Client) DisableUser(teamName string, uid string) error + func (api *Client) DisableUserContext(ctx context.Context, teamName string, uid string) error + func (api *Client) DisableUserGroup(userGroup string) (UserGroup, error) + func (api *Client) DisableUserGroupContext(ctx context.Context, userGroup string) (UserGroup, error) + func (api *Client) EditBookmark(channelID, bookmarkID string, params EditBookmarkParameters) (Bookmark, error) + func (api *Client) EditBookmarkContext(ctx context.Context, channelID, bookmarkID string, ...) (Bookmark, error) + func (api *Client) EnableUserGroup(userGroup string) (UserGroup, error) + func (api *Client) EnableUserGroupContext(ctx context.Context, userGroup string) (UserGroup, error) + func (api *Client) EndDND() error + func (api *Client) EndDNDContext(ctx context.Context) error + func (api *Client) EndSnooze() (*DNDStatus, error) + func (api *Client) EndSnoozeContext(ctx context.Context) (*DNDStatus, error) + func (api *Client) GetAccessLogs(params AccessLogParameters) ([]Login, *Paging, error) + func (api *Client) GetAccessLogsContext(ctx context.Context, params AccessLogParameters) ([]Login, *Paging, error) + func (api *Client) GetAuditLogs(params AuditLogParameters) (entries []AuditEntry, nextCursor string, err error) + func (api *Client) GetAuditLogsContext(ctx context.Context, params AuditLogParameters) (entries []AuditEntry, nextCursor string, err error) + func (api *Client) GetBillableInfo(user string) (map[string]BillingActive, error) + func (api *Client) GetBillableInfoContext(ctx context.Context, user string) (map[string]BillingActive, error) + func (api *Client) GetBillableInfoForTeam() (map[string]BillingActive, error) + func (api *Client) GetBillableInfoForTeamContext(ctx context.Context) (map[string]BillingActive, error) + func (api *Client) GetBotInfo(bot string) (*Bot, error) + func (api *Client) GetBotInfoContext(ctx context.Context, bot string) (*Bot, error) + func (api *Client) GetConversationHistory(params *GetConversationHistoryParameters) (*GetConversationHistoryResponse, error) + func (api *Client) GetConversationHistoryContext(ctx context.Context, params *GetConversationHistoryParameters) (*GetConversationHistoryResponse, error) + func (api *Client) GetConversationInfo(input *GetConversationInfoInput) (*Channel, error) + func (api *Client) GetConversationInfoContext(ctx context.Context, input *GetConversationInfoInput) (*Channel, error) + func (api *Client) GetConversationReplies(params *GetConversationRepliesParameters) (msgs []Message, hasMore bool, nextCursor string, err error) + func (api *Client) GetConversationRepliesContext(ctx context.Context, params *GetConversationRepliesParameters) (msgs []Message, hasMore bool, nextCursor string, err error) + func (api *Client) GetConversations(params *GetConversationsParameters) (channels []Channel, nextCursor string, err error) + func (api *Client) GetConversationsContext(ctx context.Context, params *GetConversationsParameters) (channels []Channel, nextCursor string, err error) + func (api *Client) GetConversationsForUser(params *GetConversationsForUserParameters) (channels []Channel, nextCursor string, err error) + func (api *Client) GetConversationsForUserContext(ctx context.Context, params *GetConversationsForUserParameters) (channels []Channel, nextCursor string, err error) + func (api *Client) GetDNDInfo(user *string) (*DNDStatus, error) + func (api *Client) GetDNDInfoContext(ctx context.Context, user *string) (*DNDStatus, error) + func (api *Client) GetDNDTeamInfo(users []string) (map[string]DNDStatus, error) + func (api *Client) GetDNDTeamInfoContext(ctx context.Context, users []string) (map[string]DNDStatus, error) + func (api *Client) GetEmoji() (map[string]string, error) + func (api *Client) GetEmojiContext(ctx context.Context) (map[string]string, error) + func (api *Client) GetFile(downloadURL string, writer io.Writer) error + func (api *Client) GetFileContext(ctx context.Context, downloadURL string, writer io.Writer) error + func (api *Client) GetFileInfo(fileID string, count, page int) (*File, []Comment, *Paging, error) + func (api *Client) GetFileInfoContext(ctx context.Context, fileID string, count, page int) (*File, []Comment, *Paging, error) + func (api *Client) GetFiles(params GetFilesParameters) ([]File, *Paging, error) + func (api *Client) GetFilesContext(ctx context.Context, params GetFilesParameters) ([]File, *Paging, error) + func (api *Client) GetOtherTeamInfo(team string) (*TeamInfo, error) + func (api *Client) GetOtherTeamInfoContext(ctx context.Context, team string) (*TeamInfo, error) + func (api *Client) GetPermalink(params *PermalinkParameters) (string, error) + func (api *Client) GetPermalinkContext(ctx context.Context, params *PermalinkParameters) (string, error) + func (api *Client) GetReactions(item ItemRef, params GetReactionsParameters) ([]ItemReaction, error) + func (api *Client) GetReactionsContext(ctx context.Context, item ItemRef, params GetReactionsParameters) ([]ItemReaction, error) + func (api *Client) GetRemoteFileInfo(externalID, fileID string) (remotefile *RemoteFile, err error) + func (api *Client) GetRemoteFileInfoContext(ctx context.Context, externalID, fileID string) (remotefile *RemoteFile, err error) + func (api *Client) GetScheduledMessages(params *GetScheduledMessagesParameters) (channels []ScheduledMessage, nextCursor string, err error) + func (api *Client) GetScheduledMessagesContext(ctx context.Context, params *GetScheduledMessagesParameters) (channels []ScheduledMessage, nextCursor string, err error) + func (api *Client) GetStarred(params StarsParameters) ([]StarredItem, *Paging, error) + func (api *Client) GetStarredContext(ctx context.Context, params StarsParameters) ([]StarredItem, *Paging, error) + func (api *Client) GetTeamInfo() (*TeamInfo, error) + func (api *Client) GetTeamInfoContext(ctx context.Context) (*TeamInfo, error) + func (api *Client) GetTeamProfile() (*TeamProfile, error) + func (api *Client) GetTeamProfileContext(ctx context.Context) (*TeamProfile, error) + func (api *Client) GetUserByEmail(email string) (*User, error) + func (api *Client) GetUserByEmailContext(ctx context.Context, email string) (*User, error) + func (api *Client) GetUserGroupMembers(userGroup string) ([]string, error) + func (api *Client) GetUserGroupMembersContext(ctx context.Context, userGroup string) ([]string, error) + func (api *Client) GetUserGroups(options ...GetUserGroupsOption) ([]UserGroup, error) + func (api *Client) GetUserGroupsContext(ctx context.Context, options ...GetUserGroupsOption) ([]UserGroup, error) + func (api *Client) GetUserIdentity() (*UserIdentityResponse, error) + func (api *Client) GetUserIdentityContext(ctx context.Context) (response *UserIdentityResponse, err error) + func (api *Client) GetUserInfo(user string) (*User, error) + func (api *Client) GetUserInfoContext(ctx context.Context, user string) (*User, error) + func (api *Client) GetUserPrefs() (*UserPrefsCarrier, error) + func (api *Client) GetUserPrefsContext(ctx context.Context) (*UserPrefsCarrier, error) + func (api *Client) GetUserPresence(user string) (*UserPresence, error) + func (api *Client) GetUserPresenceContext(ctx context.Context, user string) (*UserPresence, error) + func (api *Client) GetUserProfile(params *GetUserProfileParameters) (*UserProfile, error) + func (api *Client) GetUserProfileContext(ctx context.Context, params *GetUserProfileParameters) (*UserProfile, error) + func (api *Client) GetUsers(options ...GetUsersOption) ([]User, error) + func (api *Client) GetUsersContext(ctx context.Context, options ...GetUsersOption) (results []User, err error) + func (api *Client) GetUsersInConversation(params *GetUsersInConversationParameters) ([]string, string, error) + func (api *Client) GetUsersInConversationContext(ctx context.Context, params *GetUsersInConversationParameters) ([]string, string, error) + func (api *Client) GetUsersInfo(users ...string) (*[]User, error) + func (api *Client) GetUsersInfoContext(ctx context.Context, users ...string) (*[]User, error) + func (api *Client) GetUsersPaginated(options ...GetUsersOption) UserPagination + func (api *Client) InviteGuest(teamName, channel, firstName, lastName, emailAddress string) error + func (api *Client) InviteGuestContext(ctx context.Context, ...) error + func (api *Client) InviteRestricted(teamName, channel, firstName, lastName, emailAddress string) error + func (api *Client) InviteRestrictedContext(ctx context.Context, ...) error + func (api *Client) InviteToTeam(teamName, firstName, lastName, emailAddress string) error + func (api *Client) InviteToTeamContext(ctx context.Context, teamName, firstName, lastName, emailAddress string) error + func (api *Client) InviteUsersToConversation(channelID string, users ...string) (*Channel, error) + func (api *Client) InviteUsersToConversationContext(ctx context.Context, channelID string, users ...string) (*Channel, error) + func (api *Client) JoinConversation(channelID string) (*Channel, string, []string, error) + func (api *Client) JoinConversationContext(ctx context.Context, channelID string) (*Channel, string, []string, error) + func (api *Client) KickUserFromConversation(channelID string, user string) error + func (api *Client) KickUserFromConversationContext(ctx context.Context, channelID string, user string) error + func (api *Client) LeaveConversation(channelID string) (bool, error) + func (api *Client) LeaveConversationContext(ctx context.Context, channelID string) (bool, error) + func (api *Client) ListAllStars() ([]Item, error) + func (api *Client) ListAllStarsContext(ctx context.Context) (results []Item, err error) + func (api *Client) ListBookmarks(channelID string) ([]Bookmark, error) + func (api *Client) ListBookmarksContext(ctx context.Context, channelID string) ([]Bookmark, error) + func (api *Client) ListEventAuthorizations(eventContext string) ([]EventAuthorization, error) + func (api *Client) ListEventAuthorizationsContext(ctx context.Context, eventContext string) ([]EventAuthorization, error) + func (api *Client) ListFiles(params ListFilesParameters) ([]File, *ListFilesParameters, error) + func (api *Client) ListFilesContext(ctx context.Context, params ListFilesParameters) ([]File, *ListFilesParameters, error) + func (api *Client) ListPins(channel string) ([]Item, *Paging, error) + func (api *Client) ListPinsContext(ctx context.Context, channel string) ([]Item, *Paging, error) + func (api *Client) ListReactions(params ListReactionsParameters) ([]ReactedItem, *Paging, error) + func (api *Client) ListReactionsContext(ctx context.Context, params ListReactionsParameters) ([]ReactedItem, *Paging, error) + func (api *Client) ListReminders() ([]*Reminder, error) + func (api *Client) ListRemindersContext(ctx context.Context) ([]*Reminder, error) + func (api *Client) ListRemoteFiles(params ListRemoteFilesParameters) ([]RemoteFile, error) + func (api *Client) ListRemoteFilesContext(ctx context.Context, params ListRemoteFilesParameters) ([]RemoteFile, error) + func (api *Client) ListStars(params StarsParameters) ([]Item, *Paging, error) + func (api *Client) ListStarsContext(ctx context.Context, params StarsParameters) ([]Item, *Paging, error) + func (api *Client) ListStarsPaginated(options ...ListStarsOption) StarredItemPagination + func (api *Client) ListTeams(params ListTeamsParameters) ([]Team, string, error) + func (api *Client) ListTeamsContext(ctx context.Context, params ListTeamsParameters) ([]Team, string, error) + func (api *Client) MarkConversation(channel, ts string) (err error) + func (api *Client) MarkConversationContext(ctx context.Context, channel, ts string) error + func (api *Client) MuteChat(channelID string) (*UserPrefsCarrier, error) + func (api *Client) NewRTM(options ...RTMOption) *RTM + func (api *Client) OpenConversation(params *OpenConversationParameters) (*Channel, bool, bool, error) + func (api *Client) OpenConversationContext(ctx context.Context, params *OpenConversationParameters) (*Channel, bool, bool, error) + func (api *Client) OpenDialog(triggerID string, dialog Dialog) (err error) + func (api *Client) OpenDialogContext(ctx context.Context, triggerID string, dialog Dialog) (err error) + func (api *Client) OpenView(triggerID string, view ModalViewRequest) (*ViewResponse, error) + func (api *Client) OpenViewContext(ctx context.Context, triggerID string, view ModalViewRequest) (*ViewResponse, error) + func (api *Client) PostEphemeral(channelID, userID string, options ...MsgOption) (string, error) + func (api *Client) PostEphemeralContext(ctx context.Context, channelID, userID string, options ...MsgOption) (timestamp string, err error) + func (api *Client) PostMessage(channelID string, options ...MsgOption) (string, string, error) + func (api *Client) PostMessageContext(ctx context.Context, channelID string, options ...MsgOption) (string, string, error) + func (api *Client) PublishView(userID string, view HomeTabViewRequest, hash string) (*ViewResponse, error) + func (api *Client) PublishViewContext(ctx context.Context, userID string, view HomeTabViewRequest, hash string) (*ViewResponse, error) + func (api *Client) PushView(triggerID string, view ModalViewRequest) (*ViewResponse, error) + func (api *Client) PushViewContext(ctx context.Context, triggerID string, view ModalViewRequest) (*ViewResponse, error) + func (api *Client) RemoveBookmark(channelID, bookmarkID string) error + func (api *Client) RemoveBookmarkContext(ctx context.Context, channelID, bookmarkID string) error + func (api *Client) RemovePin(channel string, item ItemRef) error + func (api *Client) RemovePinContext(ctx context.Context, channel string, item ItemRef) error + func (api *Client) RemoveReaction(name string, item ItemRef) error + func (api *Client) RemoveReactionContext(ctx context.Context, name string, item ItemRef) error + func (api *Client) RemoveRemoteFile(externalID, fileID string) (err error) + func (api *Client) RemoveRemoteFileContext(ctx context.Context, externalID, fileID string) (err error) + func (api *Client) RemoveStar(channel string, item ItemRef) error + func (api *Client) RemoveStarContext(ctx context.Context, channel string, item ItemRef) error + func (api *Client) RenameConversation(channelID, channelName string) (*Channel, error) + func (api *Client) RenameConversationContext(ctx context.Context, channelID, channelName string) (*Channel, error) + func (api *Client) RevokeFilePublicURL(fileID string) (*File, error) + func (api *Client) RevokeFilePublicURLContext(ctx context.Context, fileID string) (*File, error) + func (api *Client) SaveWorkflowStepConfiguration(workflowStepEditID string, inputs *WorkflowStepInputs, ...) error + func (api *Client) SaveWorkflowStepConfigurationContext(ctx context.Context, workflowStepEditID string, inputs *WorkflowStepInputs, ...) error + func (api *Client) ScheduleMessage(channelID, postAt string, options ...MsgOption) (string, string, error) + func (api *Client) ScheduleMessageContext(ctx context.Context, channelID, postAt string, options ...MsgOption) (string, string, error) + func (api *Client) Search(query string, params SearchParameters) (*SearchMessages, *SearchFiles, error) + func (api *Client) SearchContext(ctx context.Context, query string, params SearchParameters) (*SearchMessages, *SearchFiles, error) + func (api *Client) SearchFiles(query string, params SearchParameters) (*SearchFiles, error) + func (api *Client) SearchFilesContext(ctx context.Context, query string, params SearchParameters) (*SearchFiles, error) + func (api *Client) SearchMessages(query string, params SearchParameters) (*SearchMessages, error) + func (api *Client) SearchMessagesContext(ctx context.Context, query string, params SearchParameters) (*SearchMessages, error) + func (api *Client) SendAuthRevoke(token string) (*AuthRevokeResponse, error) + func (api *Client) SendAuthRevokeContext(ctx context.Context, token string) (*AuthRevokeResponse, error) + func (api *Client) SendMessage(channel string, options ...MsgOption) (string, string, string, error) + func (api *Client) SendMessageContext(ctx context.Context, channelID string, options ...MsgOption) (_channel string, _timestamp string, _text string, err error) + func (api *Client) SendSSOBindingEmail(teamName, user string) error + func (api *Client) SendSSOBindingEmailContext(ctx context.Context, teamName, user string) error + func (api *Client) SetPurposeOfConversation(channelID, purpose string) (*Channel, error) + func (api *Client) SetPurposeOfConversationContext(ctx context.Context, channelID, purpose string) (*Channel, error) + func (api *Client) SetRegular(teamName, user string) error + func (api *Client) SetRegularContext(ctx context.Context, teamName, user string) error + func (api *Client) SetRestricted(teamName, uid string, channelIds ...string) error + func (api *Client) SetRestrictedContext(ctx context.Context, teamName, uid string, channelIds ...string) error + func (api *Client) SetSnooze(minutes int) (*DNDStatus, error) + func (api *Client) SetSnoozeContext(ctx context.Context, minutes int) (*DNDStatus, error) + func (api *Client) SetTopicOfConversation(channelID, topic string) (*Channel, error) + func (api *Client) SetTopicOfConversationContext(ctx context.Context, channelID, topic string) (*Channel, error) + func (api *Client) SetUltraRestricted(teamName, uid, channel string) error + func (api *Client) SetUltraRestrictedContext(ctx context.Context, teamName, uid, channel string) error + func (api *Client) SetUserAsActive() error + func (api *Client) SetUserAsActiveContext(ctx context.Context) (err error) + func (api *Client) SetUserCustomFields(userID string, customFields map[string]UserProfileCustomField) error + func (api *Client) SetUserCustomFieldsContext(ctx context.Context, userID string, ...) error + func (api *Client) SetUserCustomStatus(statusText, statusEmoji string, statusExpiration int64) error + func (api *Client) SetUserCustomStatusContext(ctx context.Context, statusText, statusEmoji string, statusExpiration int64) error + func (api *Client) SetUserCustomStatusContextWithUser(ctx context.Context, user, statusText, statusEmoji string, ...) error + func (api *Client) SetUserCustomStatusWithUser(user, statusText, statusEmoji string, statusExpiration int64) error + func (api *Client) SetUserPhoto(image string, params UserSetPhotoParams) error + func (api *Client) SetUserPhotoContext(ctx context.Context, image string, params UserSetPhotoParams) (err error) + func (api *Client) SetUserPresence(presence string) error + func (api *Client) SetUserPresenceContext(ctx context.Context, presence string) error + func (api *Client) SetUserRealName(realName string) error + func (api *Client) SetUserRealNameContextWithUser(ctx context.Context, user, realName string) error + func (api *Client) ShareFilePublicURL(fileID string) (*File, []Comment, *Paging, error) + func (api *Client) ShareFilePublicURLContext(ctx context.Context, fileID string) (*File, []Comment, *Paging, error) + func (api *Client) ShareRemoteFile(channels []string, externalID, fileID string) (file *RemoteFile, err error) + func (api *Client) ShareRemoteFileContext(ctx context.Context, channels []string, externalID, fileID string) (file *RemoteFile, err error) + func (api *Client) StartRTM() (info *Info, websocketURL string, err error) + func (api *Client) StartRTMContext(ctx context.Context) (info *Info, websocketURL string, err error) + func (api *Client) StartSocketModeContext(ctx context.Context) (info *SocketModeConnection, websocketURL string, err error) + func (api *Client) UnArchiveConversation(channelID string) error + func (api *Client) UnArchiveConversationContext(ctx context.Context, channelID string) error + func (api *Client) UnMuteChat(channelID string) (*UserPrefsCarrier, error) + func (api *Client) UnfurlMessage(channelID, timestamp string, unfurls map[string]Attachment, ...) (string, string, string, error) + func (api *Client) UnfurlMessageContext(ctx context.Context, channelID, timestamp string, ...) (string, string, string, error) + func (api *Client) UnfurlMessageWithAuthURL(channelID, timestamp string, userAuthURL string, options ...MsgOption) (string, string, string, error) + func (api *Client) UnfurlMessageWithAuthURLContext(ctx context.Context, channelID, timestamp string, userAuthURL string, ...) (string, string, string, error) + func (api *Client) UninstallApp(clientID, clientSecret string) error + func (api *Client) UninstallAppContext(ctx context.Context, clientID, clientSecret string) error + func (api *Client) UnsetUserCustomStatus() error + func (api *Client) UnsetUserCustomStatusContext(ctx context.Context) error + func (api *Client) UpdateMessage(channelID, timestamp string, options ...MsgOption) (string, string, string, error) + func (api *Client) UpdateMessageContext(ctx context.Context, channelID, timestamp string, options ...MsgOption) (string, string, string, error) + func (api *Client) UpdateRemoteFile(fileID string, params RemoteFileParameters) (remotefile *RemoteFile, err error) + func (api *Client) UpdateRemoteFileContext(ctx context.Context, fileID string, params RemoteFileParameters) (remotefile *RemoteFile, err error) + func (api *Client) UpdateUserGroup(userGroupID string, options ...UpdateUserGroupsOption) (UserGroup, error) + func (api *Client) UpdateUserGroupContext(ctx context.Context, userGroupID string, options ...UpdateUserGroupsOption) (UserGroup, error) + func (api *Client) UpdateUserGroupMembers(userGroup string, members string) (UserGroup, error) + func (api *Client) UpdateUserGroupMembersContext(ctx context.Context, userGroup string, members string) (UserGroup, error) + func (api *Client) UpdateView(view ModalViewRequest, externalID, hash, viewID string) (*ViewResponse, error) + func (api *Client) UpdateViewContext(ctx context.Context, view ModalViewRequest, externalID, hash, viewID string) (*ViewResponse, error) + func (api *Client) UploadFile(params FileUploadParameters) (file *File, err error) + func (api *Client) UploadFileContext(ctx context.Context, params FileUploadParameters) (file *File, err error) + func (api *Client) UploadFileV2(params UploadFileV2Parameters) (*FileSummary, error) + func (api *Client) UploadFileV2Context(ctx context.Context, params UploadFileV2Parameters) (file *FileSummary, err error) + func (api *Client) WorkflowStepCompleted(workflowStepExecuteID string, options ...WorkflowStepCompletedRequestOption) error + func (api *Client) WorkflowStepFailed(workflowStepExecuteID string, errorMessage string) error + type CommandsChangedEvent struct + EventTimestamp string + Type string + type Comment struct + Comment string + Created JSONTime + ID string + Timestamp JSONTime + User string + type ConfigurationModalRequest struct + func NewConfigurationModalRequest(blocks Blocks, privateMetaData string, externalID string) *ConfigurationModalRequest + type ConfirmationBlockObject struct + Confirm *TextBlockObject + Deny *TextBlockObject + Style Style + Text *TextBlockObject + Title *TextBlockObject + func NewConfirmationBlockObject(title, text, confirm, deny *TextBlockObject) *ConfirmationBlockObject + func (s *ConfirmationBlockObject) WithStyle(style Style) *ConfirmationBlockObject + type ConfirmationField struct + DismissText string + OkText string + Text string + Title string + type ConnectedEvent struct + ConnectionCount int + Info *Info + type ConnectingEvent struct + Attempt int + ConnectionCount int + type ConnectionErrorEvent struct + Attempt int + Backoff time.Duration + ErrorObj error + func (c *ConnectionErrorEvent) Error() string + type Container struct + AttachmentID json.Number + ChannelID string + IsAppUnfurl bool + IsEphemeral bool + MessageTs string + ThreadTs string + Type string + ViewID string + type ContextBlock struct + BlockID string + ContextElements ContextElements + Type MessageBlockType + func NewContextBlock(blockID string, mixedElements ...MixedElement) *ContextBlock + func (s ContextBlock) BlockType() MessageBlockType + type ContextElements struct + Elements []MixedElement + func (e *ContextElements) MarshalJSON() ([]byte, error) + func (e *ContextElements) UnmarshalJSON(data []byte) error + type Conversation struct + Created JSONTime + ID string + IsExtShared bool + IsGroup bool + IsIM bool + IsMpIM bool + IsOpen bool + IsOrgShared bool + IsPendingExtShared bool + IsPrivate bool + IsShared bool + LastRead string + Latest *Message + NameNormalized string + NumMembers int + Priority float64 + Unlinked int + UnreadCount int + UnreadCountDisplay int + User string + type CreateConversationParams struct + ChannelName string + IsPrivate bool + TeamID string + type CtxChannel struct + ID string + ISOrgShared bool + IsExtShared bool + IsMPIM bool + IsPendingExtShared bool + IsPrivate bool + IsShared bool + Name string + type CtxMessage struct + Text string + Timestamp string + Type string + User string + Username string + type DNDStatus struct + Enabled bool + NextEndTimestamp int + NextStartTimestamp int + type DNDUpdatedEvent struct + Status DNDStatus + Type string + User string + type DatePickerBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + InitialDate string + Placeholder *TextBlockObject + Type MessageElementType + func NewDatePickerBlockElement(actionID string) *DatePickerBlockElement + func (s DatePickerBlockElement) ElementType() MessageElementType + type DateTimePickerBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + InitialDateTime int64 + Type MessageElementType + func NewDateTimePickerBlockElement(actionID string) *DateTimePickerBlockElement + func (s DateTimePickerBlockElement) ElementType() MessageElementType + type Debug interface + Debug func() bool + Debugf func(format string, v ...interface{}) + Debugln func(v ...interface{}) + type DeleteScheduledMessageParameters struct + AsUser bool + Channel string + ScheduledMessageID string + type DesktopNotificationEvent struct + AvatarImage string + Channel string + Content string + EventTimestamp string + ImageURI string + IsChannelInvite bool + IsShared bool + LaunchURI string + Message string + SsbFilename string + Subtitle string + Timestamp string + Title string + Type string + type Dialog struct + CallbackID string + Elements []DialogElement + NotifyOnCancel bool + State string + SubmitLabel string + Title string + TriggerID string + type DialogCallback InteractionCallback + type DialogElement interface + type DialogInput struct + Hint string + Label string + Name string + Optional bool + Placeholder string + Type InputType + type DialogInputSelect struct + DataSource SelectDataSource + Hint string + MinQueryLength int + OptionGroups []DialogOptionGroup + Options []DialogSelectOption + SelectedOptions []DialogSelectOption + Value string + func NewChannelsSelect(name, label string) *DialogInputSelect + func NewConversationsSelect(name, label string) *DialogInputSelect + func NewExternalSelectDialogInput(name, label string, options []DialogSelectOption) *DialogInputSelect + func NewGroupedSelectDialogInput(name, label string, options []DialogOptionGroup) *DialogInputSelect + func NewStaticSelectDialogInput(name, label string, options []DialogSelectOption) *DialogInputSelect + func NewUsersSelect(name, label string) *DialogInputSelect + type DialogInputValidationError struct + Error string + Name string + type DialogInputValidationErrors struct + Errors []DialogInputValidationError + type DialogOpenResponse struct + DialogResponseMetadata DialogResponseMetadata + type DialogOptionGroup struct + Label string + Options []DialogSelectOption + func NewDialogOptionGroup(label string, options ...DialogSelectOption) DialogOptionGroup + type DialogResponseMetadata struct + Messages []string + type DialogSelectOption struct + Label string + Value string + type DialogSubmissionCallback struct + State string + Submission map[string]string + type DialogTrigger struct + Dialog Dialog + TriggerID string + type DisconnectedEvent struct + Cause error + Intentional bool + type DispatchActionConfig struct + TriggerActionsOn []string + type DividerBlock struct + BlockID string + Type MessageBlockType + func NewDividerBlock() *DividerBlock + func (s DividerBlock) BlockType() MessageBlockType + type EditBookmarkParameters struct + Emoji *string + Link string + Title *string + type Edited struct + Timestamp string + User string + type EmailDomainChangedEvent struct + EmailDomain string + EventTimestamp string + Type string + type EmailTextInputBlockElement struct + ActionID string + DispatchActionConfig *DispatchActionConfig + FocusOnLoad bool + InitialValue string + Placeholder *TextBlockObject + Type MessageElementType + func NewEmailTextInputBlockElement(placeholder *TextBlockObject, actionID string) *EmailTextInputBlockElement + func (s EmailTextInputBlockElement) ElementType() MessageElementType + type EmojiChangedEvent struct + EventTimestamp string + Name string + Names []string + SubType string + Type string + Value string + type Enterprise struct + ID string + Name string + type EnterpriseUser struct + EnterpriseID string + EnterpriseName string + ID string + IsAdmin bool + IsOwner bool + Teams []string + type Event struct + Type string + type EventAuthorization struct + EnterpriseID string + IsBot bool + IsEnterpriseInstall bool + TeamID string + UserID string + type File struct + Channels []string + CommentsCount int + Created JSONTime + EditLink string + Editable bool + ExternalType string + Filetype string + Groups []string + ID string + IMs []string + ImageExifRotation int + InitialComment Comment + IsExternal bool + IsPublic bool + IsStarred bool + Lines int + LinesMore int + Mimetype string + Mode string + Name string + NumStars int + OriginalH int + OriginalW int + Permalink string + PermalinkPublic string + PrettyType string + Preview string + PreviewHighlight string + PublicURLShared bool + Shares Share + Size int + Thumb1024 string + Thumb1024H int + Thumb1024W int + Thumb160 string + Thumb360 string + Thumb360Gif string + Thumb360H int + Thumb360W int + Thumb480 string + Thumb480H int + Thumb480W int + Thumb64 string + Thumb720 string + Thumb720H int + Thumb720W int + Thumb80 string + Thumb960 string + Thumb960H int + Thumb960W int + Timestamp JSONTime + Title string + URL string + URLDownload string + URLPrivate string + URLPrivateDownload string + User string + type FileBlock struct + BlockID string + ExternalID string + Source string + Type MessageBlockType + func NewFileBlock(blockID string, externalID string, source string) *FileBlock + func (s FileBlock) BlockType() MessageBlockType + type FileChangeEvent fileActionEvent + type FileCommentAddedEvent struct + Comment Comment + type FileCommentDeletedEvent struct + Comment string + type FileCommentEditedEvent struct + Comment Comment + type FileCreatedEvent fileActionEvent + type FileDeletedEvent fileActionEvent + type FilePrivateEvent fileActionEvent + type FilePublicEvent fileActionEvent + type FileSharedEvent fileActionEvent + type FileSummary struct + ID string + Title string + type FileUnsharedEvent fileActionEvent + type FileUploadParameters struct + Channels []string + Content string + File string + Filename string + Filetype string + InitialComment string + Reader io.Reader + ThreadTimestamp string + Title string + type GetConversationHistoryParameters struct + ChannelID string + Cursor string + IncludeAllMetadata bool + Inclusive bool + Latest string + Limit int + Oldest string + type GetConversationHistoryResponse struct + HasMore bool + Latest string + Messages []Message + PinCount int + ResponseMetaData struct{ ... } + type GetConversationInfoInput struct + ChannelID string + IncludeLocale bool + IncludeNumMembers bool + type GetConversationRepliesParameters struct + ChannelID string + Cursor string + IncludeAllMetadata bool + Inclusive bool + Latest string + Limit int + Oldest string + Timestamp string + type GetConversationsForUserParameters struct + Cursor string + ExcludeArchived bool + Limit int + TeamID string + Types []string + UserID string + type GetConversationsParameters struct + Cursor string + ExcludeArchived bool + Limit int + TeamID string + Types []string + type GetFilesParameters struct + Channel string + Count int + Page int + ShowHidden bool + TimestampFrom JSONTime + TimestampTo JSONTime + Types string + User string + func NewGetFilesParameters() GetFilesParameters + type GetReactionsParameters struct + Full bool + func NewGetReactionsParameters() GetReactionsParameters + type GetScheduledMessagesParameters struct + Channel string + Cursor string + Latest string + Limit int + Oldest string + type GetUserGroupsOption func(*GetUserGroupsParams) + func GetUserGroupsOptionIncludeCount(b bool) GetUserGroupsOption + func GetUserGroupsOptionIncludeDisabled(b bool) GetUserGroupsOption + func GetUserGroupsOptionIncludeUsers(b bool) GetUserGroupsOption + type GetUserGroupsParams struct + IncludeCount bool + IncludeDisabled bool + IncludeUsers bool + type GetUserProfileParameters struct + IncludeLabels bool + UserID string + type GetUsersInConversationParameters struct + ChannelID string + Cursor string + Limit int + type GetUsersOption func(*UserPagination) + func GetUsersOptionLimit(n int) GetUsersOption + func GetUsersOptionPresence(n bool) GetUsersOption + func GetUsersOptionTeamID(teamId string) GetUsersOption + type Group struct + IsGroup bool + type GroupArchiveEvent ChannelInfoEvent + type GroupCloseEvent ChannelInfoEvent + type GroupConversation struct + Creator string + IsArchived bool + Members []string + Name string + Purpose Purpose + Topic Topic + type GroupCreatedEvent struct + Channel ChannelCreatedInfo + Type string + User string + type GroupHistoryChangedEvent ChannelHistoryChangedEvent + type GroupJoinedEvent ChannelJoinedEvent + type GroupLeftEvent ChannelInfoEvent + type GroupMarkedEvent ChannelInfoEvent + type GroupOpenEvent ChannelInfoEvent + type GroupRenameEvent struct + Group GroupRenameInfo + Timestamp string + Type string + type GroupRenameInfo struct + Created string + ID string + Name string + type GroupUnarchiveEvent ChannelInfoEvent + type HeaderBlock struct + BlockID string + Text *TextBlockObject + Type MessageBlockType + func NewHeaderBlock(textObj *TextBlockObject, options ...HeaderBlockOption) *HeaderBlock + func (s HeaderBlock) BlockType() MessageBlockType + type HeaderBlockOption func(*HeaderBlock) + func HeaderBlockOptionBlockID(blockID string) HeaderBlockOption + type HelloEvent struct + type History struct + HasMore bool + Latest string + Messages []Message + Unread int + type HistoryParameters struct + Count int + Inclusive bool + Latest string + Oldest string + Unreads bool + func NewHistoryParameters() HistoryParameters + type HomeTabViewRequest struct + Blocks Blocks + CallbackID string + ExternalID string + PrivateMetadata string + Type ViewType + func (v *HomeTabViewRequest) ViewType() ViewType + type IDGenerator interface + Next func() int + func NewSafeID(startID int) IDGenerator + type IM struct + IsUserDeleted bool + type IMCloseEvent ChannelInfoEvent + type IMCreatedEvent struct + Channel ChannelCreatedInfo + Type string + User string + type IMHistoryChangedEvent ChannelHistoryChangedEvent + type IMMarkedEvent ChannelInfoEvent + type IMMarkedHistoryChanged ChannelInfoEvent + type IMOpenEvent ChannelInfoEvent + type Icon struct + IconEmoji string + IconURL string + type Icons struct + Image36 string + Image48 string + Image72 string + type ImageBlock struct + AltText string + BlockID string + ImageURL string + Title *TextBlockObject + Type MessageBlockType + func NewImageBlock(imageURL, altText, blockID string, title *TextBlockObject) *ImageBlock + func (s ImageBlock) BlockType() MessageBlockType + type ImageBlockElement struct + AltText string + ImageURL string + Type MessageElementType + func NewImageBlockElement(imageURL, altText string) *ImageBlockElement + func (s ImageBlockElement) ElementType() MessageElementType + func (s ImageBlockElement) MixedElementType() MixedElementType + type IncomingEventError struct + ErrorObj error + func (i *IncomingEventError) Error() string + type Info struct + Team *Team + URL string + User *UserDetails + func (info Info) GetBotByID(botID string) *Bot + func (info Info) GetChannelByID(channelID string) *Channel + func (info Info) GetGroupByID(groupID string) *Group + func (info Info) GetIMByID(imID string) *IM + func (info Info) GetUserByID(userID string) *User + type InputBlock struct + BlockID string + DispatchAction bool + Element BlockElement + Hint *TextBlockObject + Label *TextBlockObject + Optional bool + Type MessageBlockType + func NewInputBlock(blockID string, label, hint *TextBlockObject, element BlockElement) *InputBlock + func (b *InputBlock) UnmarshalJSON(data []byte) error + func (s InputBlock) BlockType() MessageBlockType + type InputType string + const InputTypeSelect + const InputTypeText + const InputTypeTextArea + type InteractionCallback struct + APIAppID string + ActionCallback ActionCallbacks + ActionID string + ActionTs string + AttachmentID string + BlockActionState *BlockActionStates + BlockID string + CallbackID string + Channel Channel + Container Container + Enterprise Enterprise + Message Message + MessageTs string + Name string + OriginalMessage Message + RawState json.RawMessage + ResponseURL string + Team Team + Token string + TriggerID string + Type InteractionType + User User + Value string + View View + WorkflowStep InteractionWorkflowStep + func (ic *InteractionCallback) MarshalJSON() ([]byte, error) + func (ic *InteractionCallback) UnmarshalJSON(b []byte) error + type InteractionType string + type InteractionWorkflowStep struct + Inputs *WorkflowStepInputs + Outputs *[]WorkflowStepOutput + StepID string + WorkflowID string + WorkflowStepEditID string + type InvalidAuthEvent struct + type Item struct + Channel string + Comment *Comment + File *File + Message *Message + Timestamp string + Type string + func NewChannelItem(ch string) Item + func NewFileCommentItem(f *File, c *Comment) Item + func NewFileItem(f *File) Item + func NewGroupItem(ch string) Item + func NewIMItem(ch string) Item + func NewMessageItem(ch string, m *Message) Item + type ItemReaction struct + Count int + Name string + Users []string + type ItemRef struct + Channel string + Comment string + File string + Timestamp string + func NewRefToComment(comment string) ItemRef + func NewRefToFile(file string) ItemRef + func NewRefToMessage(channel, timestamp string) ItemRef + type JSONTime int64 + func (t *JSONTime) UnmarshalJSON(buf []byte) error + func (t JSONTime) String() string + func (t JSONTime) Time() time.Time + type LatencyReport struct + Value time.Duration + type ListFilesParameters struct + Channel string + Cursor string + Limit int + Types string + User string + type ListReactionsParameters struct + Count int + Full bool + Page int + User string + func NewListReactionsParameters() ListReactionsParameters + type ListRemoteFilesParameters struct + Channel string + Cursor string + Limit int + TimestampFrom JSONTime + TimestampTo JSONTime + type ListStarsOption func(*StarredItemPagination) + type ListTeamsParameters struct + Cursor string + Limit int + type Login struct + Count int + Country string + DateFirst int + DateLast int + IP string + ISP string + Region string + UserAgent string + UserID string + Username string + type LoginResponse struct + Logins []Login + type ManualPresenceChangeEvent struct + Presence string + Type 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 Message struct + PreviousMessage *Msg + SubMessage *Msg + func AddBlockMessage(message Message, newBlk Block) Message + func NewBlockMessage(blocks ...Block) Message + type MessageBlockType string + const MBTAction + const MBTContext + const MBTDivider + const MBTFile + const MBTHeader + const MBTImage + const MBTInput + const MBTRichText + const MBTSection + type MessageElementType string + type MessageEvent Message + type MessageObjectType string + type MessageTooLongEvent struct + MaxLength int + Message OutgoingMessage + func (m *MessageTooLongEvent) Error() string + type MixedElement interface + MixedElementType func() MixedElementType + type MixedElementType string + type MobileInAppNotificationEvent struct + AuthorDisplayName string + AuthorID string + AvatarImage string + Channel string + ChannelName string + EventTimestamp string + IsShared bool + MessageText string + MobileLaunchURI string + NotifcationID string + PushID string + Subtitle string + Timestamp string + Title string + Type string + type ModalViewRequest struct + Blocks Blocks + CallbackID string + ClearOnClose bool + Close *TextBlockObject + ExternalID string + NotifyOnClose bool + PrivateMetadata string + Submit *TextBlockObject + Title *TextBlockObject + Type ViewType + func (v *ModalViewRequest) ViewType() ViewType + type Msg struct + Attachments []Attachment + Blocks Blocks + BotID string + BotProfile *BotProfile + Channel string + ClientMsgID string + Comment *Comment + DeleteOriginal bool + DeletedTimestamp string + Edited *Edited + EventTimestamp string + Files []File + Hidden bool + Icons *Icon + Inviter string + IsStarred bool + ItemType string + LastRead string + LatestReply string + Members []string + Metadata SlackMetadata + Name string + OldName string + ParentUserId string + Permalink string + PinnedTo []string + Purpose string + Reactions []ItemReaction + ReplaceOriginal bool + Replies []Reply + ReplyCount int + ReplyTo int + ResponseType string + SubType string + Subscribed bool + Team string + Text string + ThreadTimestamp string + Timestamp string + Topic string + Type string + UnreadCount int + Upload bool + User string + Username string + type MsgOption func(*sendConfig) error + func MsgOptionAsUser(b bool) MsgOption + func MsgOptionAttachments(attachments ...Attachment) MsgOption + func MsgOptionBlocks(blocks ...Block) MsgOption + func MsgOptionBroadcast() MsgOption + func MsgOptionCompose(options ...MsgOption) MsgOption + func MsgOptionDelete(timestamp string) MsgOption + func MsgOptionDeleteOriginal(responseURL string) MsgOption + func MsgOptionDisableLinkUnfurl() MsgOption + func MsgOptionDisableMarkdown() MsgOption + func MsgOptionDisableMediaUnfurl() MsgOption + func MsgOptionEnableLinkUnfurl() MsgOption + func MsgOptionIconEmoji(iconEmoji string) MsgOption + func MsgOptionIconURL(iconURL string) MsgOption + func MsgOptionMeMessage() MsgOption + func MsgOptionMetadata(metadata SlackMetadata) MsgOption + func MsgOptionParse(b bool) MsgOption + func MsgOptionPost() MsgOption + func MsgOptionPostEphemeral(userID string) MsgOption + func MsgOptionPostMessageParameters(params PostMessageParameters) MsgOption + func MsgOptionReplaceOriginal(responseURL string) MsgOption + func MsgOptionResponseURL(url string, responseType string) MsgOption + func MsgOptionSchedule(postAt string) MsgOption + func MsgOptionTS(ts string) MsgOption + func MsgOptionText(text string, escape bool) MsgOption + func MsgOptionUnfurl(timestamp string, unfurls map[string]Attachment) MsgOption + func MsgOptionUnfurlAuthMessage(timestamp string, msg string) MsgOption + func MsgOptionUnfurlAuthRequired(timestamp string) MsgOption + func MsgOptionUnfurlAuthURL(timestamp string, userAuthURL string) MsgOption + func MsgOptionUpdate(timestamp string) MsgOption + func MsgOptionUser(userID string) MsgOption + func MsgOptionUsername(username string) MsgOption + func UnsafeMsgOptionEndpoint(endpoint string, update func(url.Values)) MsgOption + type MultiSelectBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + InitialChannels []string + InitialConversations []string + InitialOptions []*OptionBlockObject + InitialUsers []string + MaxSelectedItems *int + MinQueryLength *int + OptionGroups []*OptionGroupBlockObject + Options []*OptionBlockObject + Placeholder *TextBlockObject + Type string + func NewOptionsGroupMultiSelectBlockElement(optType string, placeholder *TextBlockObject, actionID string, ...) *MultiSelectBlockElement + func NewOptionsMultiSelectBlockElement(optType string, placeholder *TextBlockObject, actionID string, ...) *MultiSelectBlockElement + func (s MultiSelectBlockElement) ElementType() MessageElementType + type NumberInputBlockElement struct + ActionID string + DispatchActionConfig *DispatchActionConfig + InitialValue string + IsDecimalAllowed bool + MaxValue string + MinValue string + Placeholder *TextBlockObject + Type MessageElementType + func NewNumberInputBlockElement(placeholder *TextBlockObject, actionID string, isDecimalAllowed bool) *NumberInputBlockElement + func (s NumberInputBlockElement) ElementType() MessageElementType + type OAuthResponse struct + AccessToken string + Bot OAuthResponseBot + IncomingWebhook OAuthResponseIncomingWebhook + Scope string + TeamID string + TeamName string + UserID string + func GetOAuthResponse(client httpClient, clientID, clientSecret, code, redirectURI string) (resp *OAuthResponse, err error) + func GetOAuthResponseContext(ctx context.Context, client httpClient, ...) (resp *OAuthResponse, err error) + type OAuthResponseBot struct + BotAccessToken string + BotUserID string + func GetBotOAuthToken(client httpClient, clientID, clientSecret, code, redirectURI string) (accessToken string, scope string, bot OAuthResponseBot, err error) + func GetBotOAuthTokenContext(ctx context.Context, client httpClient, ...) (accessToken string, scope string, bot OAuthResponseBot, err error) + type OAuthResponseIncomingWebhook struct + Channel string + ChannelID string + ConfigurationURL string + URL string + type OAuthV2Response struct + AccessToken string + AppID string + AuthedUser OAuthV2ResponseAuthedUser + BotUserID string + Enterprise OAuthV2ResponseEnterprise + ExpiresIn int + IncomingWebhook OAuthResponseIncomingWebhook + RefreshToken string + Scope string + Team OAuthV2ResponseTeam + TokenType string + func GetOAuthV2Response(client httpClient, clientID, clientSecret, code, redirectURI string) (resp *OAuthV2Response, err error) + func GetOAuthV2ResponseContext(ctx context.Context, client httpClient, ...) (resp *OAuthV2Response, err error) + func RefreshOAuthV2Token(client httpClient, clientID, clientSecret, refreshToken string) (resp *OAuthV2Response, err error) + func RefreshOAuthV2TokenContext(ctx context.Context, client httpClient, ...) (resp *OAuthV2Response, err error) + type OAuthV2ResponseAuthedUser struct + AccessToken string + ExpiresIn int + ID string + RefreshToken string + Scope string + TokenType string + type OAuthV2ResponseEnterprise struct + ID string + Name string + type OAuthV2ResponseTeam struct + ID string + Name string + type OpenConversationParameters struct + ChannelID string + ReturnIM bool + Users []string + type Option func(*Client) + type OptionBlockObject struct + Description *TextBlockObject + Text *TextBlockObject + URL string + Value string + func GetInitialOptionFromWorkflowStepInput(selection *SelectBlockElement, inputs *WorkflowStepInputs, ...) (*OptionBlockObject, bool) + func NewOptionBlockObject(value string, text, description *TextBlockObject) *OptionBlockObject + type OptionGroupBlockObject struct + Label *TextBlockObject + Options []*OptionBlockObject + func NewOptionGroupBlockElement(label *TextBlockObject, options ...*OptionBlockObject) *OptionGroupBlockObject + type OptionGroupsResponse struct + OptionGroups []*OptionGroupBlockObject + type OptionsResponse struct + Options []*OptionBlockObject + type OutgoingErrorEvent struct + ErrorObj error + Message OutgoingMessage + func (o OutgoingErrorEvent) Error() string + type OutgoingMessage struct + Channel string + ID int + IDs []string + Text string + ThreadBroadcast bool + ThreadTimestamp string + Type string + type OverflowBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + Options []*OptionBlockObject + Type MessageElementType + func NewOverflowBlockElement(actionID string, options ...*OptionBlockObject) *OverflowBlockElement + func (s OverflowBlockElement) ElementType() MessageElementType + type Pagination struct + First int + Last int + Page int + PageCount int + PerPage int + TotalCount int + type Paging struct + Count int + Page int + Pages int + Total int + type ParamOption func(*url.Values) + type PermalinkParameters struct + Channel string + Ts string + type PinAddedEvent pinEvent + type PinRemovedEvent pinEvent + type Ping struct + ID int + Timestamp int64 + Type string + type PlainTextInputBlockElement struct + ActionID string + DispatchActionConfig *DispatchActionConfig + InitialValue string + MaxLength int + MinLength int + Multiline bool + Placeholder *TextBlockObject + Type MessageElementType + func NewPlainTextInputBlockElement(placeholder *TextBlockObject, actionID string) *PlainTextInputBlockElement + func (s PlainTextInputBlockElement) ElementType() MessageElementType + type Pong struct + ReplyTo int + Timestamp int64 + Type string + type PostMessageParameters struct + AsUser bool + Channel string + EscapeText bool + IconEmoji string + IconURL string + LinkNames int + Markdown bool + MetaData SlackMetadata + Parse string + ReplyBroadcast bool + ThreadTimestamp string + UnfurlLinks bool + UnfurlMedia bool + User string + Username string + func NewPostMessageParameters() PostMessageParameters + type PrefChangeEvent struct + Name string + Type string + Value json.RawMessage + type PresenceChangeEvent struct + Presence string + Type string + User string + Users []string + type Purpose struct + Creator string + LastSet JSONTime + Value string + type RTM struct + IncomingEvents chan RTMEvent + func (rtm *RTM) Disconnect() error + func (rtm *RTM) GetInfo() *Info + func (rtm *RTM) ManageConnection() + func (rtm *RTM) NewOutgoingMessage(text string, channelID string, options ...RTMsgOption) *OutgoingMessage + func (rtm *RTM) NewSubscribeUserPresence(ids []string) *OutgoingMessage + func (rtm *RTM) NewTypingMessage(channelID string) *OutgoingMessage + func (rtm *RTM) SendMessage(msg *OutgoingMessage) + type RTMError struct + Code int + Msg string + func (s RTMError) Error() string + type RTMEvent struct + Data interface{} + Type string + type RTMOption func(*RTM) + func RTMOptionConnParams(connParams url.Values) RTMOption + func RTMOptionDialer(d *websocket.Dialer) RTMOption + func RTMOptionPingInterval(d time.Duration) RTMOption + func RTMOptionUseStart(b bool) RTMOption + type RTMResponse struct + Error *RTMError + Ok bool + type RTMsgOption func(*OutgoingMessage) + func RTMsgOptionBroadcast() RTMsgOption + func RTMsgOptionTS(threadTimestamp string) RTMsgOption + type RadioButtonsBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + InitialOption *OptionBlockObject + Options []*OptionBlockObject + Type MessageElementType + func NewRadioButtonsBlockElement(actionID string, options ...*OptionBlockObject) *RadioButtonsBlockElement + func (s RadioButtonsBlockElement) ElementType() MessageElementType + type RateLimitEvent struct + func (e *RateLimitEvent) Error() string + type RateLimitedError struct + RetryAfter time.Duration + func (e *RateLimitedError) Error() string + func (e *RateLimitedError) Retryable() bool + type ReactedItem struct + Reactions []ItemReaction + type ReactionAddedEvent ReactionEvent + type ReactionEvent struct + EventTimestamp string + Item ReactionItem + ItemUser string + Reaction string + Type string + User string + type ReactionItem struct + Channel string + File string + FileComment string + Timestamp string + Type string + type ReactionRemovedEvent ReactionEvent + type ReconnectUrlEvent struct + Type string + URL string + type Reminder struct + CompleteTS int + Creator string + ID string + Recurring bool + Text string + Time int + User string + type RemoteFile struct + Channels []string + CommentsCount int + Created JSONTime + DisplayAsBot bool + Editable bool + ExternalID string + ExternalType string + ExternalURL string + Filetype string + Groups []string + HasRichPreview bool + ID string + IMs []string + IsExternal bool + IsPublic bool + IsStarred bool + Mimetype string + Mode string + Name string + Permalink string + PrettyType string + PublicURLShared bool + Shares Share + Size int + Timestamp JSONTime + Title string + URLPrivate string + User string + Username string + type RemoteFileParameters struct + ExternalID string + ExternalURL string + Filetype string + IndexableFileContents string + PreviewImage string + PreviewImageReader io.Reader + Title string + type Reply struct + Timestamp string + User string + type ResponseMetadata struct + Cursor string + Messages []string + Warnings []string + type RichTextBlock struct + BlockID string + Elements []RichTextElement + Type MessageBlockType + func NewRichTextBlock(blockID string, elements ...RichTextElement) *RichTextBlock + func (b RichTextBlock) BlockType() MessageBlockType + func (e *RichTextBlock) UnmarshalJSON(b []byte) error + type RichTextElement interface + RichTextElementType func() RichTextElementType + type RichTextElementType string + const RTEList + const RTEPreformatted + const RTEQuote + const RTESection + const RTEUnknown + type RichTextSection struct + Elements []RichTextSectionElement + Type RichTextElementType + func NewRichTextSection(elements ...RichTextSectionElement) *RichTextSection + func (e *RichTextSection) UnmarshalJSON(b []byte) error + func (s RichTextSection) RichTextElementType() RichTextElementType + type RichTextSectionBroadcastElement struct + Range string + Type RichTextSectionElementType + func NewRichTextSectionBroadcastElement(rangeStr string) *RichTextSectionBroadcastElement + func (r RichTextSectionBroadcastElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionChannelElement struct + ChannelID string + Style *RichTextSectionTextStyle + Type RichTextSectionElementType + func NewRichTextSectionChannelElement(channelID string, style *RichTextSectionTextStyle) *RichTextSectionChannelElement + func (r RichTextSectionChannelElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionColorElement struct + Type RichTextSectionElementType + Value string + func NewRichTextSectionColorElement(value string) *RichTextSectionColorElement + func (r RichTextSectionColorElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionDateElement struct + Timestamp JSONTime + Type RichTextSectionElementType + func NewRichTextSectionDateElement(timestamp int64) *RichTextSectionDateElement + func (r RichTextSectionDateElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionElement interface + RichTextSectionElementType func() RichTextSectionElementType + type RichTextSectionElementType string + const RTSEBroadcast + const RTSEChannel + const RTSEColor + const RTSEDate + const RTSEEmoji + const RTSELink + const RTSETeam + const RTSEText + const RTSEUnknown + const RTSEUser + const RTSEUserGroup + type RichTextSectionEmojiElement struct + Name string + SkinTone int + Style *RichTextSectionTextStyle + Type RichTextSectionElementType + func NewRichTextSectionEmojiElement(name string, skinTone int, style *RichTextSectionTextStyle) *RichTextSectionEmojiElement + func (r RichTextSectionEmojiElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionLinkElement struct + Style *RichTextSectionTextStyle + Text string + Type RichTextSectionElementType + URL string + func NewRichTextSectionLinkElement(url, text string, style *RichTextSectionTextStyle) *RichTextSectionLinkElement + func (r RichTextSectionLinkElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionTeamElement struct + Style *RichTextSectionTextStyle + TeamID string + Type RichTextSectionElementType + func NewRichTextSectionTeamElement(teamID string, style *RichTextSectionTextStyle) *RichTextSectionTeamElement + func (r RichTextSectionTeamElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionTextElement struct + Style *RichTextSectionTextStyle + Text string + Type RichTextSectionElementType + func NewRichTextSectionTextElement(text string, style *RichTextSectionTextStyle) *RichTextSectionTextElement + func (r RichTextSectionTextElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionTextStyle struct + Bold bool + Code bool + Italic bool + Strike bool + type RichTextSectionUnknownElement struct + Raw string + Type RichTextSectionElementType + func (r RichTextSectionUnknownElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionUserElement struct + Style *RichTextSectionTextStyle + Type RichTextSectionElementType + UserID string + func NewRichTextSectionUserElement(userID string, style *RichTextSectionTextStyle) *RichTextSectionUserElement + func (r RichTextSectionUserElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextSectionUserGroupElement struct + Type RichTextSectionElementType + UsergroupID string + func NewRichTextSectionUserGroupElement(usergroupID string) *RichTextSectionUserGroupElement + func (r RichTextSectionUserGroupElement) RichTextSectionElementType() RichTextSectionElementType + type RichTextUnknown struct + Raw string + Type RichTextElementType + func (u RichTextUnknown) RichTextElementType() RichTextElementType + type ScheduledMessage struct + Channel string + DateCreated int + ID string + PostAt int + Text string + type SearchFiles struct + Matches []File + Total int + type SearchMessage struct + Attachments []Attachment + Blocks Blocks + Channel CtxChannel + Next CtxMessage + Next2 CtxMessage + Permalink string + Previous CtxMessage + Previous2 CtxMessage + Text string + Timestamp string + Type string + User string + Username string + type SearchMessages struct + Matches []SearchMessage + Total int + type SearchParameters struct + Count int + Highlight bool + Page int + Sort string + SortDirection string + func NewSearchParameters() SearchParameters + type SecretsVerifier struct + func NewSecretsVerifier(header http.Header, secret string) (sv SecretsVerifier, err error) + func (v *SecretsVerifier) WithDebug(d Debug) *SecretsVerifier + func (v *SecretsVerifier) Write(body []byte) (n int, err error) + func (v SecretsVerifier) Ensure() error + type SectionBlock struct + Accessory *Accessory + BlockID string + Fields []*TextBlockObject + Text *TextBlockObject + Type MessageBlockType + func NewSectionBlock(textObj *TextBlockObject, fields []*TextBlockObject, accessory *Accessory, ...) *SectionBlock + func (s SectionBlock) BlockType() MessageBlockType + type SectionBlockOption func(*SectionBlock) + func SectionBlockOptionBlockID(blockID string) SectionBlockOption + type SelectBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + DefaultToCurrentConversation bool + Filter *SelectBlockElementFilter + InitialChannel string + InitialConversation string + InitialOption *OptionBlockObject + InitialUser string + MinQueryLength *int + OptionGroups []*OptionGroupBlockObject + Options []*OptionBlockObject + Placeholder *TextBlockObject + ResponseURLEnabled bool + Type string + func NewOptionsGroupSelectBlockElement(optType string, placeholder *TextBlockObject, actionID string, ...) *SelectBlockElement + func NewOptionsSelectBlockElement(optType string, placeholder *TextBlockObject, actionID string, ...) *SelectBlockElement + func (s SelectBlockElement) ElementType() MessageElementType + type SelectBlockElementFilter struct + ExcludeBotUsers bool + ExcludeExternalSharedChannels bool + Include []string + type SelectDataSource string + const DialogDataSourceChannels + const DialogDataSourceConversations + const DialogDataSourceExternal + const DialogDataSourceStatic + const DialogDataSourceUsers + type Share struct + Private map[string][]ShareFileInfo + Public map[string][]ShareFileInfo + type ShareFileInfo struct + ChannelName string + LatestReply string + ReplyCount int + ReplyUsers []string + ReplyUsersCount int + TeamID string + ThreadTs string + Ts string + type SlackErrorResponse struct + Err string + ResponseMetadata ResponseMetadata + func (r SlackErrorResponse) Error() string + type SlackMetadata struct + EventPayload map[string]interface{} + EventType string + type SlackResponse struct + Error string + Ok bool + ResponseMetadata ResponseMetadata + func (t SlackResponse) Err() error + type SlashCommand struct + APIAppID string + ChannelID string + ChannelName string + Command string + EnterpriseID string + EnterpriseName string + ResponseURL string + TeamDomain string + TeamID string + Text string + Token string + TriggerID string + UserID string + UserName string + func SlashCommandParse(r *http.Request) (s SlashCommand, err error) + func (s SlashCommand) ValidateToken(verificationTokens ...string) bool + type SnoozeDebug struct + SnoozeEndDate string + type SnoozeInfo struct + SnoozeDebug SnoozeDebug + SnoozeEnabled bool + SnoozeEndTime int + SnoozeRemaining int + type SocketModeConnection struct + Data map[string]interface{} + URL string + type StarAddedEvent starEvent + type StarRemovedEvent starEvent + type StarredItem Item + type StarredItemPagination struct + Items []Item + type StarsParameters struct + Count int + Page int + User string + func NewStarsParameters() StarsParameters + type StatusCodeError struct + Code int + Status string + func (t StatusCodeError) Error() string + func (t StatusCodeError) HTTPStatusCode() int + func (t StatusCodeError) Retryable() bool + type Style string + const StyleDanger + const StyleDefault + const StylePrimary + type SubteamCreatedEvent struct + Subteam UserGroup + Type string + type SubteamMembersChangedEvent struct + AddedUsers []string + AddedUsersCount int + DatePreviousUpdate JSONTime + DateUpdate JSONTime + RemovedUsers []string + RemovedUsersCount int + SubteamID string + TeamID string + Type string + type SubteamSelfAddedEvent struct + SubteamID string + Type string + type SubteamSelfRemovedEvent SubteamSelfAddedEvent + type SubteamUpdatedEvent struct + Subteam UserGroup + Type string + type Team struct + Domain string + ID string + Name string + type TeamDomainChangeEvent struct + Domain string + Type string + URL string + type TeamIdentity struct + Domain string + ID string + Image102 string + Image132 string + Image230 string + Image34 string + Image44 string + Image68 string + Image88 string + ImageDefault bool + ImageOriginal string + Name string + type TeamInfo struct + Domain string + EmailDomain string + ID string + Icon map[string]interface{} + Name string + type TeamJoinEvent struct + Type string + User User + type TeamMigrationStartedEvent struct + Type string + type TeamPrefChangeEvent struct + Name string + Type string + Value []string + type TeamProfile struct + Fields []TeamProfileField + type TeamProfileField struct + Hint string + ID string + IsHidden bool + Label string + Options map[string]bool + Ordering int + PossibleValues []string + Type string + type TeamProfileResponse struct + Profile TeamProfile + type TeamRenameEvent struct + EventTimestamp string + Name string + Type string + type TeamResponse struct + Team TeamInfo + type TextBlockObject struct + Emoji bool + Text string + Type string + Verbatim bool + func NewTextBlockObject(elementType, text string, emoji, verbatim bool) *TextBlockObject + func (s TextBlockObject) MixedElementType() MixedElementType + func (s TextBlockObject) Validate() error + func (t TextBlockObject) BlockType() MessageBlockType + type TextInputElement struct + Hint string + MaxLength int + MinLength int + Subtype TextInputSubtype + Value string + func NewTextAreaInput(name, label, text string) *TextInputElement + func NewTextInput(name, label, text string, options ...TextInputOption) *TextInputElement + type TextInputOption func(*TextInputElement) + type TextInputSubtype string + const InputSubtypeEmail + const InputSubtypeNumber + const InputSubtypeTel + const InputSubtypeURL + type TimePickerBlockElement struct + ActionID string + Confirm *ConfirmationBlockObject + InitialTime string + Placeholder *TextBlockObject + Type MessageElementType + func NewTimePickerBlockElement(actionID string) *TimePickerBlockElement + func (s TimePickerBlockElement) ElementType() MessageElementType + type Topic struct + Creator string + LastSet JSONTime + Value string + type URLTextInputBlockElement struct + ActionID string + DispatchActionConfig *DispatchActionConfig + FocusOnLoad bool + InitialValue string + Placeholder *TextBlockObject + Type MessageElementType + func NewURLTextInputBlockElement(placeholder *TextBlockObject, actionID string) *URLTextInputBlockElement + func (s URLTextInputBlockElement) ElementType() MessageElementType + type UnknownBlock struct + BlockID string + Type MessageBlockType + func (b UnknownBlock) BlockType() MessageBlockType + type UnknownBlockElement struct + Elements BlockElements + Type MessageElementType + func (s UnknownBlockElement) ElementType() MessageElementType + type UnmappedError struct + EventType string + RawEvent json.RawMessage + func NewUnmappedError(ctxMsg, eventType string, raw json.RawMessage) *UnmappedError + func (u UnmappedError) Error() string + type UnmarshallingErrorEvent struct + ErrorObj error + func (u UnmarshallingErrorEvent) Error() string + type UpdateUserGroupsOption func(*UpdateUserGroupsParams) + func UpdateUserGroupsOptionChannels(channels []string) UpdateUserGroupsOption + func UpdateUserGroupsOptionDescription(description *string) UpdateUserGroupsOption + func UpdateUserGroupsOptionHandle(handle string) UpdateUserGroupsOption + func UpdateUserGroupsOptionName(name string) UpdateUserGroupsOption + type UpdateUserGroupsParams struct + Channels *[]string + Description *string + Handle string + Name string + type UploadFileV2Parameters struct + AltTxt string + Channel string + Content string + File string + FileSize int + Filename string + InitialComment string + Reader io.Reader + SnippetText string + ThreadTimestamp string + Title string + type User struct + Color string + Deleted bool + Enterprise EnterpriseUser + Has2FA bool + HasFiles bool + ID string + IsAdmin bool + IsAppUser bool + IsBot bool + IsInvitedUser bool + IsOwner bool + IsPrimaryOwner bool + IsRestricted bool + IsStranger bool + IsUltraRestricted bool + Locale string + Name string + Presence string + Profile UserProfile + RealName string + TZ string + TZLabel string + TZOffset int + TeamID string + Updated JSONTime + type UserChangeEvent struct + Type string + User User + type UserDetails struct + Created JSONTime + ID string + ManualPresence string + Name string + Prefs UserPrefs + type UserGroup struct + AutoType string + CreatedBy string + DateCreate JSONTime + DateDelete JSONTime + DateUpdate JSONTime + DeletedBy string + Description string + Handle string + ID string + IsExternal bool + IsUserGroup bool + Name string + Prefs UserGroupPrefs + TeamID string + UpdatedBy string + UserCount int + Users []string + type UserGroupPrefs struct + Channels []string + Groups []string + type UserIdentity struct + Email string + ID string + Image192 string + Image24 string + Image32 string + Image48 string + Image512 string + Image72 string + Name string + type UserIdentityResponse struct + Team TeamIdentity + User UserIdentity + type UserPagination struct + Users []User + func (UserPagination) Done(err error) bool + func (t UserPagination) Failure(err error) error + func (t UserPagination) Next(ctx context.Context) (_ UserPagination, err error) + type UserPrefs struct + A11yAnimations bool + ActivityView string + AddAppsPromptDismissed bool + AddChannelPromptDismissed bool + AllChannelsLoud bool + AllUnreadsSortOrder string + AllowCallsToSetCurrentStatus bool + AllowCmdTabIss bool + AnalyticsUpsellCoachmarkSeen bool + AppSubdomainCheckCompleted int + ArrowHistory bool + AtChannelSuppressedChannels string + BoxEnabled bool + BrowsersDismissedChannelsLowResultsEducation bool + BrowsersDismissedFilesLowResultsEducation bool + BrowsersDismissedPeopleLowResultsEducation bool + BrowsersDismissedUserGroupsLowResultsEducation bool + BrowsersSeenInitialChannelsEducation bool + BrowsersSeenInitialFilesEducation bool + BrowsersSeenInitialPeopleEducation bool + BrowsersSeenInitialUserGroupsEducation bool + ChannelSections string + ChannelSidebarHideInvite bool + ChannelSort string + ClientLogsPri string + ColorNamesInList bool + ConfirmClearAllUnreads bool + ConfirmShCallStart bool + ConfirmUserMarkedAway bool + ContextualMessageShortcutsModalWasSeen bool + ConvertEmoticons bool + DeprecationModalLastSeen int + DeprecationToastLastSeen int + DismissedAppLauncherLimit bool + DismissedAppLauncherWelcome bool + DismissedInstalledAppDmSuggestions string + DismissedScrollSearchTooltipCount int + DisplayDisplayNames bool + DisplayRealNamesOverride int + DndAfterFriday string + DndAfterMonday string + DndAfterSaturday string + DndAfterSunday string + DndAfterThursday string + DndAfterTuesday string + DndAfterWednesday string + DndBeforeFriday string + DndBeforeMonday string + DndBeforeSaturday string + DndBeforeSunday string + DndBeforeThursday string + DndBeforeTuesday string + DndBeforeWednesday string + DndCustomNewBadgeSeen bool + DndDays string + DndEnabled bool + DndEnabledFriday string + DndEnabledMonday string + DndEnabledSaturday string + DndEnabledSunday string + DndEnabledThursday string + DndEnabledTuesday string + DndEnabledWednesday string + DndEndHour string + DndNotificationScheduleNewBadgeSeen bool + DndStartHour string + DropboxEnabled bool + EdgeUploadProxyCheckCompleted int + EmailAlerts string + EmailAlertsSleepUntil int + EmailDeveloper bool + EmailOffers bool + EmailResearch bool + EmailTips bool + EmailWeekly bool + EmojiAutocompleteBig bool + EmojiMode string + EmojiUse string + EnableReactEmojiPicker bool + EnableUnreadView bool + EntOrgWideChannelsSidebar bool + EnterIsSpecialInTbt bool + EnterpriseMdmCustomMsg string + EnterpriseMigrationSeen bool + ExpandInlineImages bool + ExpandInternalInlineImages bool + ExpandNonMediaAttachments bool + ExpandSnippets bool + FKeySearch bool + FailoverProxyCheckCompleted int + FlannelServerPool string + FoldersEnabled bool + FrecencyEntJumper string + FrecencyEntJumperBackup string + FullerTimestamps bool + GraphicEmoticons bool + GrowlsEnabled bool + GrowthMsgLimitApproachingCtaCount int + GrowthMsgLimitApproachingCtaTs int + GrowthMsgLimitLongReachedCtaCount int + GrowthMsgLimitLongReachedCtaLastTs int + GrowthMsgLimitReachedCtaCount int + GrowthMsgLimitReachedCtaLastTs int + GrowthMsgLimitSixtyDayBannerCtaCount int + GrowthMsgLimitSixtyDayBannerCtaLastTs int + HasCreatedChannel bool + HasInvited bool + HasReceivedThreadedMessage bool + HasRecentlySharedaChannel bool + HasSearched bool + HasUploaded bool + HasUsedQuickswitcherShortcut bool + HideHexSwatch bool + HideUserGroupInfoPane bool + HighlightWords string + IaPlatformActionsLab int + IaTopNavTheme string + Iap1Lab int + InInteractiveMasMigrationFlow bool + InProdSurveysEnabled bool + Jumbomoji bool + KKeyOmnibox bool + KKeyOmniboxAutoHideCount int + LastDismissedScrollSearchTooltipTimestamp int + LastSeenAtChannelWarning int + LastSnippetType string + LastTosAcknowledged string + LessonsEnabled bool + LoadLato2 bool + Locale string + LoudChannels string + LoudChannelsSet string + LsDisabled bool + MacSsbBounce string + MacSsbBullet bool + MarkMsgsReadImmediately bool + MentionsExcludeAtChannels bool + MentionsExcludeAtUserGroups bool + MentionsExcludeReactions bool + MessageNavigationToastWasSeen bool + MessagesTheme string + MsgInputSendBtn bool + MsgInputSendBtnAutoSet bool + MsgInputStickyComposer bool + MuteSounds bool + MutedChannels string + NeedsInitialPasswordSet bool + NeverChannels string + NewMsgSnd string + NewxpSeenLastMessage int + NewxpSuggestedChannels string + NoCreatedOverlays bool + NoInvitesWidgetInSidebar bool + NoJoinedOverlays bool + NoMacelectronBanner bool + NoMacssb1Banner bool + NoMacssb2Banner bool + NoOmniboxInChannels bool + NoTextInNotifications bool + NoWinssb1Banner bool + ObeyInlineImgLimit bool + OnboardingCancelled bool + OnboardingComplete bool + OnboardingSlackbotConversationStep int + OpenedSlackbotDm bool + OverloadedMessageEnabled bool + PagekeysHandled bool + PlainTextMode bool + PostsFormattingGuide bool + PreferredSkinTone string + PrivacyPolicySeen bool + PromptedForEmailDisabling bool + Purchaser bool + PushAtChannelSuppressedChannels string + PushDmAlert bool + PushEverything bool + PushIdleWait int + PushLoudChannels string + PushLoudChannelsSet string + PushMentionAlert bool + PushMentionChannels string + PushShowPreview bool + PushSound string + RequireAt bool + SearchChannelSort string + SearchExcludeBots bool + SearchExcludeChannels string + SearchFileSort string + SearchHideDeactivatedUsers bool + SearchHideMyChannels bool + SearchOnlyCurrentTeam bool + SearchOnlyMyChannels bool + SearchOnlyShowOnline bool + SearchPeopleSort string + SearchSort string + SeenAdministrationMenu bool + SeenAppSpaceCoachmark bool + SeenAppSpaceTutorial bool + SeenCallsInteractiveCoachmark bool + SeenChannelBrowserAdminCoachmark bool + SeenChannelSearch bool + SeenContextualMessageShortcutsModal bool + SeenCorporateExportAlert bool + SeenCustomStatusBadge bool + SeenCustomStatusCallout bool + SeenCustomStatusExpirationBadge bool + SeenDomainInviteReminder bool + SeenDraftsSectionCoachmark bool + SeenEmojiUpdateOverlayCoachmark bool + SeenGdriveCoachmark bool + SeenGuestAdminSlackbotAnnouncement bool + SeenHighlightsArrowsCoachmark bool + SeenHighlightsCoachmark bool + SeenHighlightsWarmWelcome bool + SeenIaEducation bool + SeenIntlChannelNamesCoachmark bool + SeenJapaneseLocaleChangeMessage bool + SeenKeyboardShortcutsCoachmark bool + SeenLocaleChangeMessage int + SeenMarkdownPasteShortcut int + SeenMarkdownPasteToast int + SeenMemberInviteReminder bool + SeenMessageNavigationEducationalToast bool + SeenNameTaggingCoachmark bool + SeenNewSearchUi bool + SeenOnboardingBanner bool + SeenOnboardingChannels bool + SeenOnboardingDirectMessages bool + SeenOnboardingInvites bool + SeenOnboardingPrivateGroups bool + SeenOnboardingRecentMentions bool + SeenOnboardingSearch bool + SeenOnboardingSlackbotConversation bool + SeenOnboardingStarredItems bool + SeenOnboardingStart bool + SeenP2LocaleChangeMessage int + SeenPeopleSearch bool + SeenPeopleSearchCount int + SeenQuickswitcherShortcutTipCount int + SeenSSBPrompt bool + SeenSharedChannelsCoachmark bool + SeenSharedChannelsOptInChangeMessage bool + SeenShdepSlackbotMessage bool + SeenSingleEmojiMsg bool + SeenSonicDeluxeToast int + SeenThreadsNotificationBanner bool + SeenUnreadViewCoachmark bool + SeenWelcome2 bool + SeenWorkflowBuilderDeluxeToast bool + SeenWysiwygDeluxeToast bool + SendYourFirstMessageBannerEnabled bool + SeparatePrivateChannels bool + SeparateSharedChannels bool + SetTzAutomatically bool + ShdepPromoCodeSubmitted bool + ShowAllSkinTones bool + ShowAutocompleteHelp int + ShowEntOnboarding bool + ShowJumperScores bool + ShowMemoryInstrument bool + ShowSharedChannelsEducationBanner bool + ShowSidebarQuickswitcherButton bool + ShowTyping bool + SidebarBehavior string + SidebarTheme string + SidebarThemeCustomValues string + SnippetEditorWrapLongLines bool + SpacesNewXpBannerDismissed bool + SsEmojis bool + SsbSpaceWindow string + StartScrollAtOldest bool + SunsetInteractiveMessageViews int + SuppressLinkWarning bool + TZ string + TabUIReturnSelects bool + ThreadsEverything bool + Time24 bool + TractorEnabled bool + TractorExperimentGroup string + TwoFactorAuthEnabled bool + UpToBrowseKbShortcut bool + UsedCustomStatusKbShortcut bool + UserColors string + WebappSpellcheck bool + WelcomeMessageHidden bool + WelcomePlaceState string + WhatsNewRead int + WhocanseethisDmMpdmBadge bool + WorkflowBuilderIntroModalClickedThrough bool + type UserPrefsCarrier struct + UserPrefs *UserPrefs + type UserPresence struct + AutoAway bool + ConnectionCount int + LastActivity JSONTime + ManualAway bool + Online bool + Presence string + type UserProfile struct + ApiAppID string + BotID string + DisplayName string + DisplayNameNormalized string + Email string + Fields UserProfileCustomFields + FirstName string + Image192 string + Image24 string + Image32 string + Image48 string + Image512 string + Image72 string + ImageOriginal string + LastName string + Phone string + RealName string + RealNameNormalized string + Skype string + StatusEmoji string + StatusEmojiDisplayInfo []UserProfileStatusEmojiDisplayInfo + StatusExpiration int + StatusText string + Team string + Title string + func (profile *UserProfile) FieldsMap() map[string]UserProfileCustomField + func (profile *UserProfile) SetFieldsMap(m map[string]UserProfileCustomField) + type UserProfileCustomField struct + Alt string + Label string + Value string + type UserProfileCustomFields struct + func (fields *UserProfileCustomFields) Len() int + func (fields *UserProfileCustomFields) SetMap(m map[string]UserProfileCustomField) + func (fields *UserProfileCustomFields) ToMap() map[string]UserProfileCustomField + func (fields *UserProfileCustomFields) UnmarshalJSON(b []byte) error + func (fields UserProfileCustomFields) MarshalJSON() ([]byte, error) + type UserProfileStatusEmojiDisplayInfo struct + DisplayAlias string + DisplayURL string + EmojiName string + Unicode string + type UserSetPhotoParams struct + CropW int + CropX int + CropY int + func NewUserSetPhotoParams() UserSetPhotoParams + type UserTypingEvent struct + Channel string + Type string + User string + type View struct + AppID string + AppInstalledTeamID string + Blocks Blocks + BotID string + CallbackID string + ClearOnClose bool + Close *TextBlockObject + ExternalID string + Hash string + ID string + NotifyOnClose bool + PreviousViewID string + PrivateMetadata string + RootViewID string + State *ViewState + Submit *TextBlockObject + TeamID string + Title *TextBlockObject + Type ViewType + type ViewClosedCallback struct + IsCleared bool + type ViewResponse struct + type ViewResponseAction string + const RAClear + const RAErrors + const RAPush + const RAUpdate + type ViewState struct + Values map[string]map[string]BlockAction + type ViewSubmissionCallback struct + Hash string + ResponseURLs []ViewSubmissionCallbackResponseURL + type ViewSubmissionCallbackResponseURL struct + ActionID string + BlockID string + ChannelID string + ResponseURL string + type ViewSubmissionResponse struct + Errors map[string]string + ResponseAction ViewResponseAction + View *ModalViewRequest + func NewClearViewSubmissionResponse() *ViewSubmissionResponse + func NewErrorsViewSubmissionResponse(errors map[string]string) *ViewSubmissionResponse + func NewPushViewSubmissionResponse(view *ModalViewRequest) *ViewSubmissionResponse + func NewUpdateViewSubmissionResponse(view *ModalViewRequest) *ViewSubmissionResponse + type ViewType string + const VTHomeTab + const VTModal + const VTWorkflowStep + type WebhookMessage struct + Attachments []Attachment + Blocks *Blocks + Channel string + DeleteOriginal bool + IconEmoji string + IconURL string + Parse string + ReplaceOriginal bool + ReplyBroadcast bool + ResponseType string + Text string + ThreadTimestamp string + Username string + type WorkflowStepCompleteResponse struct + Inputs *WorkflowStepInputs + Outputs *[]WorkflowStepOutput + WorkflowStepEditID string + type WorkflowStepCompletedRequest struct + Outputs map[string]string + WorkflowStepExecuteID string + type WorkflowStepCompletedRequestOption func(opt *WorkflowStepCompletedRequest) error + func WorkflowStepCompletedRequestOptionOutput(outputs map[string]string) WorkflowStepCompletedRequestOption + type WorkflowStepFailedRequest struct + Error struct{ ... } + WorkflowStepExecuteID string + type WorkflowStepInputElement struct + SkipVariableReplacement bool + Value string + type WorkflowStepInputs map[string]WorkflowStepInputElement + type WorkflowStepOutput struct + Label string + Name string + Type string