Versions in this module Expand all Collapse all v0 v0.12.0 Jun 12, 2026 v0.11.1 May 9, 2026 Changes in this version type UploadFileParams + AltTxt string + SnippetType string v0.11.0 May 8, 2026 Changes in this version + const BaseURL + const CodeAccountInactive + const CodeCantDeleteMessage + const CodeCantUpdateMessage + const CodeChannelNotFound + const CodeInvalidAuth + const CodeIsArchived + const CodeMessageNotFound + const CodeMissingScope + const CodeNotAuthed + const CodeNotInChannel + const CodeRatelimited + const CodeTokenRevoked + const CodeUserNotFound + var ErrAccountInactive = &APIError + var ErrChannelNotFound = &APIError + var ErrInvalidAuth = &APIError + var ErrIsArchived = &APIError + var ErrMessageNotFound = &APIError + var ErrMissingScope = &APIError + var ErrNotAuthed = &APIError + var ErrNotInChannel = &APIError + var ErrRatelimited = &APIError + var ErrTokenRevoked = &APIError + var ErrUserNotFound = &APIError + var MethodScopes = map[string][]string + func AllScopes() []string + func BlocksJSON(blocks []Block) string + func Do(ctx context.Context, c *Client, method string, form url.Values, out Envelope) ([]byte, error) + func ScopesForMethods(methods []string) []string + type APIError struct + Code string + Method string + NeededScopes []string + ProvidedScopes []string + Warning string + func (e *APIError) Error() string + func (e *APIError) Is(target error) bool + type APITestParams struct + Error string + Foo string + type APITestResponse struct + Raw json.RawMessage + func APITest(ctx context.Context, c *Client, params *APITestParams) (*APITestResponse, error) + type AdminAppsApproveParams struct + AppID string + RequestID string + TeamID string + type AdminAppsApproveResponse struct + Raw json.RawMessage + func AdminAppsApprove(ctx context.Context, c *Client, params *AdminAppsApproveParams) (*AdminAppsApproveResponse, error) + type AdminAppsApprovedListParams struct + Cursor string + EnterpriseID string + Limit int + TeamID string + type AdminAppsApprovedListResponse struct + Raw json.RawMessage + func AdminAppsApprovedList(ctx context.Context, c *Client, params *AdminAppsApprovedListParams) (*AdminAppsApprovedListResponse, error) + type AdminAppsRequestsListParams struct + Cursor string + Limit int + TeamID string + type AdminAppsRequestsListResponse struct + Raw json.RawMessage + func AdminAppsRequestsList(ctx context.Context, c *Client, params *AdminAppsRequestsListParams) (*AdminAppsRequestsListResponse, error) + type AdminAppsRestrictParams struct + AppID string + RequestID string + TeamID string + type AdminAppsRestrictResponse struct + Raw json.RawMessage + func AdminAppsRestrict(ctx context.Context, c *Client, params *AdminAppsRestrictParams) (*AdminAppsRestrictResponse, error) + type AdminAppsRestrictedListParams struct + Cursor string + EnterpriseID string + Limit int + TeamID string + type AdminAppsRestrictedListResponse struct + Raw json.RawMessage + func AdminAppsRestrictedList(ctx context.Context, c *Client, params *AdminAppsRestrictedListParams) (*AdminAppsRestrictedListResponse, error) + type AdminConversationsArchiveParams struct + ChannelID string + type AdminConversationsArchiveResponse struct + Raw json.RawMessage + func AdminConversationsArchive(ctx context.Context, c *Client, params *AdminConversationsArchiveParams) (*AdminConversationsArchiveResponse, error) + type AdminConversationsConvertToPrivateParams struct + ChannelID string + type AdminConversationsConvertToPrivateResponse struct + Raw json.RawMessage + func AdminConversationsConvertToPrivate(ctx context.Context, c *Client, ...) (*AdminConversationsConvertToPrivateResponse, error) + type AdminConversationsCreateParams struct + Description string + IsPrivate bool + Name string + OrgWide bool + TeamID string + type AdminConversationsCreateResponse struct + ChannelID string + Raw json.RawMessage + func AdminConversationsCreate(ctx context.Context, c *Client, params *AdminConversationsCreateParams) (*AdminConversationsCreateResponse, error) + type AdminConversationsDeleteParams struct + ChannelID string + type AdminConversationsDeleteResponse struct + Raw json.RawMessage + func AdminConversationsDelete(ctx context.Context, c *Client, params *AdminConversationsDeleteParams) (*AdminConversationsDeleteResponse, error) + type AdminConversationsDisconnectSharedParams struct + ChannelID string + LeavingTeamIds string + type AdminConversationsDisconnectSharedResponse struct + Raw json.RawMessage + func AdminConversationsDisconnectShared(ctx context.Context, c *Client, ...) (*AdminConversationsDisconnectSharedResponse, error) + type AdminConversationsEkmListOriginalConnectedChannelInfoParams struct + ChannelIds string + Cursor string + Limit int + TeamIds string + type AdminConversationsEkmListOriginalConnectedChannelInfoResponse struct + Raw json.RawMessage + func AdminConversationsEkmListOriginalConnectedChannelInfo(ctx context.Context, c *Client, ...) (*AdminConversationsEkmListOriginalConnectedChannelInfoResponse, error) + type AdminConversationsGetConversationPrefsParams struct + ChannelID string + type AdminConversationsGetConversationPrefsResponse struct + Prefs map[string]any + Raw json.RawMessage + func AdminConversationsGetConversationPrefs(ctx context.Context, c *Client, ...) (*AdminConversationsGetConversationPrefsResponse, error) + type AdminConversationsGetTeamsParams struct + ChannelID string + Cursor string + Limit int + type AdminConversationsGetTeamsResponse struct + Raw json.RawMessage + TeamIds []string + func AdminConversationsGetTeams(ctx context.Context, c *Client, params *AdminConversationsGetTeamsParams) (*AdminConversationsGetTeamsResponse, error) + type AdminConversationsInviteParams struct + ChannelID string + UserIds string + type AdminConversationsInviteResponse struct + Raw json.RawMessage + func AdminConversationsInvite(ctx context.Context, c *Client, params *AdminConversationsInviteParams) (*AdminConversationsInviteResponse, error) + type AdminConversationsRenameParams struct + ChannelID string + Name string + type AdminConversationsRenameResponse struct + Raw json.RawMessage + func AdminConversationsRename(ctx context.Context, c *Client, params *AdminConversationsRenameParams) (*AdminConversationsRenameResponse, error) + type AdminConversationsRestrictAccessAddGroupParams struct + ChannelID string + GroupID string + TeamID string + type AdminConversationsRestrictAccessAddGroupResponse struct + Raw json.RawMessage + func AdminConversationsRestrictAccessAddGroup(ctx context.Context, c *Client, ...) (*AdminConversationsRestrictAccessAddGroupResponse, error) + type AdminConversationsRestrictAccessListGroupsParams struct + ChannelID string + TeamID string + type AdminConversationsRestrictAccessListGroupsResponse struct + Raw json.RawMessage + func AdminConversationsRestrictAccessListGroups(ctx context.Context, c *Client, ...) (*AdminConversationsRestrictAccessListGroupsResponse, error) + type AdminConversationsRestrictAccessRemoveGroupParams struct + ChannelID string + GroupID string + TeamID string + type AdminConversationsRestrictAccessRemoveGroupResponse struct + Raw json.RawMessage + func AdminConversationsRestrictAccessRemoveGroup(ctx context.Context, c *Client, ...) (*AdminConversationsRestrictAccessRemoveGroupResponse, error) + type AdminConversationsSearchParams struct + Cursor string + Limit int + Query string + SearchChannelTypes string + Sort string + SortDir string + TeamIds string + type AdminConversationsSearchResponse struct + Channels []*Channel + NextCursor string + Raw json.RawMessage + func AdminConversationsSearch(ctx context.Context, c *Client, params *AdminConversationsSearchParams) (*AdminConversationsSearchResponse, error) + type AdminConversationsSetConversationPrefsParams struct + ChannelID string + Prefs string + type AdminConversationsSetConversationPrefsResponse struct + Raw json.RawMessage + func AdminConversationsSetConversationPrefs(ctx context.Context, c *Client, ...) (*AdminConversationsSetConversationPrefsResponse, error) + type AdminConversationsSetTeamsParams struct + ChannelID string + OrgChannel bool + TargetTeamIds string + TeamID string + type AdminConversationsSetTeamsResponse struct + Raw json.RawMessage + func AdminConversationsSetTeams(ctx context.Context, c *Client, params *AdminConversationsSetTeamsParams) (*AdminConversationsSetTeamsResponse, error) + type AdminConversationsUnarchiveParams struct + ChannelID string + type AdminConversationsUnarchiveResponse struct + Raw json.RawMessage + func AdminConversationsUnarchive(ctx context.Context, c *Client, params *AdminConversationsUnarchiveParams) (*AdminConversationsUnarchiveResponse, error) + type AdminEmojiAddAliasParams struct + AliasFor string + Name string + type AdminEmojiAddAliasResponse struct + Raw json.RawMessage + func AdminEmojiAddAlias(ctx context.Context, c *Client, params *AdminEmojiAddAliasParams) (*AdminEmojiAddAliasResponse, error) + type AdminEmojiAddParams struct + Name string + URL string + type AdminEmojiAddResponse struct + Raw json.RawMessage + func AdminEmojiAdd(ctx context.Context, c *Client, params *AdminEmojiAddParams) (*AdminEmojiAddResponse, error) + type AdminEmojiListParams struct + Cursor string + Limit int + type AdminEmojiListResponse struct + Raw json.RawMessage + func AdminEmojiList(ctx context.Context, c *Client, params *AdminEmojiListParams) (*AdminEmojiListResponse, error) + type AdminEmojiRemoveParams struct + Name string + type AdminEmojiRemoveResponse struct + Raw json.RawMessage + func AdminEmojiRemove(ctx context.Context, c *Client, params *AdminEmojiRemoveParams) (*AdminEmojiRemoveResponse, error) + type AdminEmojiRenameParams struct + Name string + NewName string + type AdminEmojiRenameResponse struct + Raw json.RawMessage + func AdminEmojiRename(ctx context.Context, c *Client, params *AdminEmojiRenameParams) (*AdminEmojiRenameResponse, error) + type AdminInviteRequestsApproveParams struct + InviteRequestID string + TeamID string + type AdminInviteRequestsApproveResponse struct + Raw json.RawMessage + func AdminInviteRequestsApprove(ctx context.Context, c *Client, params *AdminInviteRequestsApproveParams) (*AdminInviteRequestsApproveResponse, error) + type AdminInviteRequestsApprovedListParams struct + Cursor string + Limit int + TeamID string + type AdminInviteRequestsApprovedListResponse struct + Raw json.RawMessage + func AdminInviteRequestsApprovedList(ctx context.Context, c *Client, params *AdminInviteRequestsApprovedListParams) (*AdminInviteRequestsApprovedListResponse, error) + type AdminInviteRequestsDeniedListParams struct + Cursor string + Limit int + TeamID string + type AdminInviteRequestsDeniedListResponse struct + Raw json.RawMessage + func AdminInviteRequestsDeniedList(ctx context.Context, c *Client, params *AdminInviteRequestsDeniedListParams) (*AdminInviteRequestsDeniedListResponse, error) + type AdminInviteRequestsDenyParams struct + InviteRequestID string + TeamID string + type AdminInviteRequestsDenyResponse struct + Raw json.RawMessage + func AdminInviteRequestsDeny(ctx context.Context, c *Client, params *AdminInviteRequestsDenyParams) (*AdminInviteRequestsDenyResponse, error) + type AdminInviteRequestsListParams struct + Cursor string + Limit int + TeamID string + type AdminInviteRequestsListResponse struct + Raw json.RawMessage + func AdminInviteRequestsList(ctx context.Context, c *Client, params *AdminInviteRequestsListParams) (*AdminInviteRequestsListResponse, error) + type AdminTeamsAdminsListParams struct + Cursor string + Limit int + TeamID string + type AdminTeamsAdminsListResponse struct + Raw json.RawMessage + func AdminTeamsAdminsList(ctx context.Context, c *Client, params *AdminTeamsAdminsListParams) (*AdminTeamsAdminsListResponse, error) + type AdminTeamsCreateParams struct + TeamDescription string + TeamDiscoverability string + TeamDomain string + TeamName string + type AdminTeamsCreateResponse struct + Raw json.RawMessage + func AdminTeamsCreate(ctx context.Context, c *Client, params *AdminTeamsCreateParams) (*AdminTeamsCreateResponse, error) + type AdminTeamsListParams struct + Cursor string + Limit int + type AdminTeamsListResponse struct + Raw json.RawMessage + func AdminTeamsList(ctx context.Context, c *Client, params *AdminTeamsListParams) (*AdminTeamsListResponse, error) + type AdminTeamsOwnersListParams struct + Cursor string + Limit int + TeamID string + type AdminTeamsOwnersListResponse struct + Raw json.RawMessage + func AdminTeamsOwnersList(ctx context.Context, c *Client, params *AdminTeamsOwnersListParams) (*AdminTeamsOwnersListResponse, error) + type AdminTeamsSettingsInfoParams struct + TeamID string + type AdminTeamsSettingsInfoResponse struct + Raw json.RawMessage + func AdminTeamsSettingsInfo(ctx context.Context, c *Client, params *AdminTeamsSettingsInfoParams) (*AdminTeamsSettingsInfoResponse, error) + type AdminTeamsSettingsSetDefaultChannelsParams struct + ChannelIds string + TeamID string + type AdminTeamsSettingsSetDefaultChannelsResponse struct + Raw json.RawMessage + func AdminTeamsSettingsSetDefaultChannels(ctx context.Context, c *Client, ...) (*AdminTeamsSettingsSetDefaultChannelsResponse, error) + type AdminTeamsSettingsSetDescriptionParams struct + Description string + TeamID string + type AdminTeamsSettingsSetDescriptionResponse struct + Raw json.RawMessage + func AdminTeamsSettingsSetDescription(ctx context.Context, c *Client, params *AdminTeamsSettingsSetDescriptionParams) (*AdminTeamsSettingsSetDescriptionResponse, error) + type AdminTeamsSettingsSetDiscoverabilityParams struct + Discoverability string + TeamID string + type AdminTeamsSettingsSetDiscoverabilityResponse struct + Raw json.RawMessage + func AdminTeamsSettingsSetDiscoverability(ctx context.Context, c *Client, ...) (*AdminTeamsSettingsSetDiscoverabilityResponse, error) + type AdminTeamsSettingsSetIconParams struct + ImageURL string + TeamID string + type AdminTeamsSettingsSetIconResponse struct + Raw json.RawMessage + func AdminTeamsSettingsSetIcon(ctx context.Context, c *Client, params *AdminTeamsSettingsSetIconParams) (*AdminTeamsSettingsSetIconResponse, error) + type AdminTeamsSettingsSetNameParams struct + Name string + TeamID string + type AdminTeamsSettingsSetNameResponse struct + Raw json.RawMessage + func AdminTeamsSettingsSetName(ctx context.Context, c *Client, params *AdminTeamsSettingsSetNameParams) (*AdminTeamsSettingsSetNameResponse, error) + type AdminUsergroupsAddChannelsParams struct + ChannelIds string + TeamID string + UsergroupID string + type AdminUsergroupsAddChannelsResponse struct + Raw json.RawMessage + func AdminUsergroupsAddChannels(ctx context.Context, c *Client, params *AdminUsergroupsAddChannelsParams) (*AdminUsergroupsAddChannelsResponse, error) + type AdminUsergroupsAddTeamsParams struct + AutoProvision bool + TeamIds string + UsergroupID string + type AdminUsergroupsAddTeamsResponse struct + Raw json.RawMessage + func AdminUsergroupsAddTeams(ctx context.Context, c *Client, params *AdminUsergroupsAddTeamsParams) (*AdminUsergroupsAddTeamsResponse, error) + type AdminUsergroupsListChannelsParams struct + IncludeNumMembers bool + TeamID string + UsergroupID string + type AdminUsergroupsListChannelsResponse struct + Raw json.RawMessage + func AdminUsergroupsListChannels(ctx context.Context, c *Client, params *AdminUsergroupsListChannelsParams) (*AdminUsergroupsListChannelsResponse, error) + type AdminUsergroupsRemoveChannelsParams struct + ChannelIds string + UsergroupID string + type AdminUsergroupsRemoveChannelsResponse struct + Raw json.RawMessage + func AdminUsergroupsRemoveChannels(ctx context.Context, c *Client, params *AdminUsergroupsRemoveChannelsParams) (*AdminUsergroupsRemoveChannelsResponse, error) + type AdminUsersAssignParams struct + ChannelIds string + IsRestricted bool + IsUltraRestricted bool + TeamID string + UserID string + type AdminUsersAssignResponse struct + Raw json.RawMessage + func AdminUsersAssign(ctx context.Context, c *Client, params *AdminUsersAssignParams) (*AdminUsersAssignResponse, error) + type AdminUsersInviteParams struct + ChannelIds string + CustomMessage string + Email string + GuestExpirationTS string + IsRestricted bool + IsUltraRestricted bool + RealName string + Resend bool + TeamID string + type AdminUsersInviteResponse struct + Raw json.RawMessage + func AdminUsersInvite(ctx context.Context, c *Client, params *AdminUsersInviteParams) (*AdminUsersInviteResponse, error) + type AdminUsersListParams struct + Cursor string + Limit int + TeamID string + type AdminUsersListResponse struct + Raw json.RawMessage + func AdminUsersList(ctx context.Context, c *Client, params *AdminUsersListParams) (*AdminUsersListResponse, error) + type AdminUsersRemoveParams struct + TeamID string + UserID string + type AdminUsersRemoveResponse struct + Raw json.RawMessage + func AdminUsersRemove(ctx context.Context, c *Client, params *AdminUsersRemoveParams) (*AdminUsersRemoveResponse, error) + type AdminUsersSessionInvalidateParams struct + SessionID int + TeamID string + type AdminUsersSessionInvalidateResponse struct + Raw json.RawMessage + func AdminUsersSessionInvalidate(ctx context.Context, c *Client, params *AdminUsersSessionInvalidateParams) (*AdminUsersSessionInvalidateResponse, error) + type AdminUsersSessionResetParams struct + MobileOnly bool + UserID string + WebOnly bool + type AdminUsersSessionResetResponse struct + Raw json.RawMessage + func AdminUsersSessionReset(ctx context.Context, c *Client, params *AdminUsersSessionResetParams) (*AdminUsersSessionResetResponse, error) + type AdminUsersSetAdminParams struct + TeamID string + UserID string + type AdminUsersSetAdminResponse struct + Raw json.RawMessage + func AdminUsersSetAdmin(ctx context.Context, c *Client, params *AdminUsersSetAdminParams) (*AdminUsersSetAdminResponse, error) + type AdminUsersSetExpirationParams struct + ExpirationTS int + TeamID string + UserID string + type AdminUsersSetExpirationResponse struct + Raw json.RawMessage + func AdminUsersSetExpiration(ctx context.Context, c *Client, params *AdminUsersSetExpirationParams) (*AdminUsersSetExpirationResponse, error) + type AdminUsersSetOwnerParams struct + TeamID string + UserID string + type AdminUsersSetOwnerResponse struct + Raw json.RawMessage + func AdminUsersSetOwner(ctx context.Context, c *Client, params *AdminUsersSetOwnerParams) (*AdminUsersSetOwnerResponse, error) + type AdminUsersSetRegularParams struct + TeamID string + UserID string + type AdminUsersSetRegularResponse struct + Raw json.RawMessage + func AdminUsersSetRegular(ctx context.Context, c *Client, params *AdminUsersSetRegularParams) (*AdminUsersSetRegularResponse, error) + type AppsEventAuthorizationsListParams struct + Cursor string + EventContext string + Limit int + type AppsEventAuthorizationsListResponse struct + Raw json.RawMessage + func AppsEventAuthorizationsList(ctx context.Context, c *Client, params *AppsEventAuthorizationsListParams) (*AppsEventAuthorizationsListResponse, error) + type AppsPermissionsInfoResponse struct + Info map[string]any + Raw json.RawMessage + func AppsPermissionsInfo(ctx context.Context, c *Client) (*AppsPermissionsInfoResponse, error) + type AppsPermissionsRequestParams struct + Scopes string + TriggerID string + type AppsPermissionsRequestResponse struct + Raw json.RawMessage + func AppsPermissionsRequest(ctx context.Context, c *Client, params *AppsPermissionsRequestParams) (*AppsPermissionsRequestResponse, error) + type AppsPermissionsResourcesListParams struct + Cursor string + Limit int + type AppsPermissionsResourcesListResponse struct + Raw json.RawMessage + Resources []map[string]any + func AppsPermissionsResourcesList(ctx context.Context, c *Client, params *AppsPermissionsResourcesListParams) (*AppsPermissionsResourcesListResponse, error) + type AppsPermissionsScopesListResponse struct + Raw json.RawMessage + Scopes map[string]any + func AppsPermissionsScopesList(ctx context.Context, c *Client) (*AppsPermissionsScopesListResponse, error) + type AppsPermissionsUsersListParams struct + Cursor string + Limit int + type AppsPermissionsUsersListResponse struct + Raw json.RawMessage + func AppsPermissionsUsersList(ctx context.Context, c *Client, params *AppsPermissionsUsersListParams) (*AppsPermissionsUsersListResponse, error) + type AppsPermissionsUsersRequestParams struct + Scopes string + TriggerID string + User string + type AppsPermissionsUsersRequestResponse struct + Raw json.RawMessage + func AppsPermissionsUsersRequest(ctx context.Context, c *Client, params *AppsPermissionsUsersRequestParams) (*AppsPermissionsUsersRequestResponse, error) + type AppsUninstallParams struct + ClientID string + ClientSecret string + type AppsUninstallResponse struct + Raw json.RawMessage + func AppsUninstall(ctx context.Context, c *Client, params *AppsUninstallParams) (*AppsUninstallResponse, error) + type AuthRevokeParams struct + Test bool + type AuthRevokeResponse struct + Raw json.RawMessage + Revoked bool + func AuthRevoke(ctx context.Context, c *Client, params *AuthRevokeParams) (*AuthRevokeResponse, error) + type AuthTestResponse struct + BotID string + IsEnterpriseInstall bool + Raw json.RawMessage + Team string + TeamID string + URL string + User string + UserID string + func AuthTest(ctx context.Context, c *Client) (*AuthTestResponse, error) + type BaseResponse struct + Error string + Ok bool + ResponseMetadata struct{ ... } + Warning string + func (b *BaseResponse) AsError(method string) error + type Block interface + type BotProfile struct + AppID string + Deleted bool + ID string + Icons map[string]any + Name string + TeamID string + Updated int + type BotsInfoParams struct + Bot string + type BotsInfoResponse struct + Bot map[string]any + Raw json.RawMessage + func BotsInfo(ctx context.Context, c *Client, params *BotsInfoParams) (*BotsInfoResponse, error) + type CallsAddParams struct + CreatedBy string + DateStart int + DesktopAppJoinURL string + ExternalDisplayID string + ExternalUniqueID string + JoinURL string + Title string + Users string + type CallsAddResponse struct + Raw json.RawMessage + func CallsAdd(ctx context.Context, c *Client, params *CallsAddParams) (*CallsAddResponse, error) + type CallsEndParams struct + Duration int + ID string + type CallsEndResponse struct + Raw json.RawMessage + func CallsEnd(ctx context.Context, c *Client, params *CallsEndParams) (*CallsEndResponse, error) + type CallsInfoParams struct + ID string + type CallsInfoResponse struct + Raw json.RawMessage + func CallsInfo(ctx context.Context, c *Client, params *CallsInfoParams) (*CallsInfoResponse, error) + type CallsParticipantsAddParams struct + ID string + Users string + type CallsParticipantsAddResponse struct + Raw json.RawMessage + func CallsParticipantsAdd(ctx context.Context, c *Client, params *CallsParticipantsAddParams) (*CallsParticipantsAddResponse, error) + type CallsParticipantsRemoveParams struct + ID string + Users string + type CallsParticipantsRemoveResponse struct + Raw json.RawMessage + func CallsParticipantsRemove(ctx context.Context, c *Client, params *CallsParticipantsRemoveParams) (*CallsParticipantsRemoveResponse, error) + type CallsUpdateParams struct + DesktopAppJoinURL string + ID string + JoinURL string + Title string + type CallsUpdateResponse struct + Raw json.RawMessage + func CallsUpdate(ctx context.Context, c *Client, params *CallsUpdateParams) (*CallsUpdateResponse, error) + type Channel struct + AcceptedUser string + Created int + Creator string + ID string + IsArchived bool + IsChannel bool + IsFrozen bool + IsGeneral bool + IsMPIM bool + IsMember bool + IsMoved int + IsNonThreadable bool + IsOrgShared bool + IsPendingExtShared bool + IsPrivate bool + IsReadOnly bool + IsShared bool + IsThreadOnly bool + LastRead string + Latest *Message + Members []string + Name string + NameNormalized string + NumMembers int + PendingShared []string + PreviousNames []string + Priority float64 + Purpose *TopicPurpose + Topic *TopicPurpose + Unlinked int + UnreadCount int + UnreadCountDisplay int + type ChatDeleteParams struct + AsUser bool + Channel string + TS string + type ChatDeleteResponse struct + Channel string + Raw json.RawMessage + TS string + func ChatDelete(ctx context.Context, c *Client, params *ChatDeleteParams) (*ChatDeleteResponse, error) + type ChatDeleteScheduledMessageParams struct + AsUser bool + Channel string + ScheduledMessageID string + type ChatDeleteScheduledMessageResponse struct + Raw json.RawMessage + func ChatDeleteScheduledMessage(ctx context.Context, c *Client, params *ChatDeleteScheduledMessageParams) (*ChatDeleteScheduledMessageResponse, error) + type ChatGetPermalinkParams struct + Channel string + MessageTS string + type ChatGetPermalinkResponse struct + Channel string + Permalink string + Raw json.RawMessage + func ChatGetPermalink(ctx context.Context, c *Client, params *ChatGetPermalinkParams) (*ChatGetPermalinkResponse, error) + type ChatMeMessageParams struct + Channel string + Text string + type ChatMeMessageResponse struct + Channel string + Raw json.RawMessage + TS string + func ChatMeMessage(ctx context.Context, c *Client, params *ChatMeMessageParams) (*ChatMeMessageResponse, error) + type ChatPostEphemeralParams struct + AsUser bool + Attachments string + Blocks string + Channel string + IconEmoji string + IconURL string + LinkNames bool + Parse string + Text string + ThreadTS string + User string + Username string + type ChatPostEphemeralResponse struct + MessageTS string + Raw json.RawMessage + func ChatPostEphemeral(ctx context.Context, c *Client, params *ChatPostEphemeralParams) (*ChatPostEphemeralResponse, error) + type ChatPostMessageParams struct + AsUser string + Attachments string + Blocks string + Channel string + IconEmoji string + IconURL string + LinkNames bool + Mrkdwn bool + Parse string + ReplyBroadcast bool + Text string + ThreadTS string + UnfurlLinks bool + UnfurlMedia bool + Username string + type ChatPostMessageResponse struct + Channel string + Message *Message + Raw json.RawMessage + TS string + func ChatPostMessage(ctx context.Context, c *Client, params *ChatPostMessageParams) (*ChatPostMessageResponse, error) + type ChatScheduleMessageParams struct + AsUser bool + Attachments string + Blocks string + Channel string + LinkNames bool + Parse string + PostAt string + ReplyBroadcast bool + Text string + ThreadTS string + UnfurlLinks bool + UnfurlMedia bool + type ChatScheduleMessageResponse struct + Channel string + Message map[string]any + PostAt int + Raw json.RawMessage + ScheduledMessageID string + func ChatScheduleMessage(ctx context.Context, c *Client, params *ChatScheduleMessageParams) (*ChatScheduleMessageResponse, error) + type ChatScheduledMessagesListParams struct + Channel string + Cursor string + Latest string + Limit int + Oldest string + type ChatScheduledMessagesListResponse struct + Raw json.RawMessage + ScheduledMessages []map[string]any + func ChatScheduledMessagesList(ctx context.Context, c *Client, params *ChatScheduledMessagesListParams) (*ChatScheduledMessagesListResponse, error) + type ChatUnfurlParams struct + Channel string + TS string + Unfurls string + UserAuthMessage string + UserAuthRequired bool + UserAuthURL string + type ChatUnfurlResponse struct + Raw json.RawMessage + func ChatUnfurl(ctx context.Context, c *Client, params *ChatUnfurlParams) (*ChatUnfurlResponse, error) + type ChatUpdateParams struct + AsUser string + Attachments string + Blocks string + Channel string + LinkNames string + Parse string + TS string + Text string + type ChatUpdateResponse struct + Channel string + Message map[string]any + Raw json.RawMessage + TS string + Text string + func ChatUpdate(ctx context.Context, c *Client, params *ChatUpdateParams) (*ChatUpdateResponse, error) + type Client struct + BaseURL string + HTTP *http.Client + Token string + func New(token string) *Client + func NewWithHTTP(token string, hc *http.Client) *Client + type Comment struct + Comment string + Created int + ID string + IsIntro bool + IsStarred bool + NumStars int + PinnedInfo json.RawMessage + PinnedTo []string + Reactions []*Reaction + Timestamp int + User string + type ContextBlock struct + BlockID string + Elements []interface{} + Type string + func NewContextBlock(elements ...interface{}) *ContextBlock + type ConversationsArchiveParams struct + Channel string + type ConversationsArchiveResponse struct + Raw json.RawMessage + func ConversationsArchive(ctx context.Context, c *Client, params *ConversationsArchiveParams) (*ConversationsArchiveResponse, error) + type ConversationsCloseParams struct + Channel string + type ConversationsCloseResponse struct + AlreadyClosed bool + NoOp bool + Raw json.RawMessage + func ConversationsClose(ctx context.Context, c *Client, params *ConversationsCloseParams) (*ConversationsCloseResponse, error) + type ConversationsCreateParams struct + IsPrivate bool + Name string + type ConversationsCreateResponse struct + Channel json.RawMessage + Raw json.RawMessage + func ConversationsCreate(ctx context.Context, c *Client, params *ConversationsCreateParams) (*ConversationsCreateResponse, error) + type ConversationsHistoryParams struct + Channel string + Cursor string + Inclusive bool + Latest string + Limit int + Oldest string + type ConversationsHistoryResponse struct + ChannelActionsCount int + ChannelActionsTS int + HasMore bool + Messages []*Message + PinCount int + Raw json.RawMessage + func ConversationsHistory(ctx context.Context, c *Client, params *ConversationsHistoryParams) (*ConversationsHistoryResponse, error) + type ConversationsInfoParams struct + Channel string + IncludeLocale bool + IncludeNumMembers bool + type ConversationsInfoResponse struct + Channel *Channel + Raw json.RawMessage + func ConversationsInfo(ctx context.Context, c *Client, params *ConversationsInfoParams) (*ConversationsInfoResponse, error) + type ConversationsInviteParams struct + Channel string + Users string + type ConversationsInviteResponse struct + Channel json.RawMessage + Raw json.RawMessage + func ConversationsInvite(ctx context.Context, c *Client, params *ConversationsInviteParams) (*ConversationsInviteResponse, error) + type ConversationsJoinParams struct + Channel string + type ConversationsJoinResponse struct + Channel json.RawMessage + Raw json.RawMessage + func ConversationsJoin(ctx context.Context, c *Client, params *ConversationsJoinParams) (*ConversationsJoinResponse, error) + type ConversationsKickParams struct + Channel string + User string + type ConversationsKickResponse struct + Raw json.RawMessage + func ConversationsKick(ctx context.Context, c *Client, params *ConversationsKickParams) (*ConversationsKickResponse, error) + type ConversationsLeaveParams struct + Channel string + type ConversationsLeaveResponse struct + NotInChannel bool + Raw json.RawMessage + func ConversationsLeave(ctx context.Context, c *Client, params *ConversationsLeaveParams) (*ConversationsLeaveResponse, error) + type ConversationsListParams struct + Cursor string + ExcludeArchived bool + Limit int + Types string + type ConversationsListResponse struct + Channels []*Channel + Raw json.RawMessage + func ConversationsList(ctx context.Context, c *Client, params *ConversationsListParams) (*ConversationsListResponse, error) + type ConversationsMarkParams struct + Channel string + TS string + type ConversationsMarkResponse struct + Raw json.RawMessage + func ConversationsMark(ctx context.Context, c *Client, params *ConversationsMarkParams) (*ConversationsMarkResponse, error) + type ConversationsMembersParams struct + Channel string + Cursor string + Limit int + type ConversationsMembersResponse struct + Members []string + Raw json.RawMessage + func ConversationsMembers(ctx context.Context, c *Client, params *ConversationsMembersParams) (*ConversationsMembersResponse, error) + type ConversationsOpenParams struct + Channel string + ReturnIm bool + Users string + type ConversationsOpenResponse struct + AlreadyOpen bool + Channel *Channel + NoOp bool + Raw json.RawMessage + func ConversationsOpen(ctx context.Context, c *Client, params *ConversationsOpenParams) (*ConversationsOpenResponse, error) + type ConversationsRenameParams struct + Channel string + Name string + type ConversationsRenameResponse struct + Channel json.RawMessage + Raw json.RawMessage + func ConversationsRename(ctx context.Context, c *Client, params *ConversationsRenameParams) (*ConversationsRenameResponse, error) + type ConversationsRepliesParams struct + Channel string + Cursor string + Inclusive bool + Latest string + Limit int + Oldest string + TS string + type ConversationsRepliesResponse struct + HasMore bool + Messages []*Message + Raw json.RawMessage + func ConversationsReplies(ctx context.Context, c *Client, params *ConversationsRepliesParams) (*ConversationsRepliesResponse, error) + type ConversationsSetPurposeParams struct + Channel string + Purpose string + type ConversationsSetPurposeResponse struct + Channel json.RawMessage + Raw json.RawMessage + func ConversationsSetPurpose(ctx context.Context, c *Client, params *ConversationsSetPurposeParams) (*ConversationsSetPurposeResponse, error) + type ConversationsSetTopicParams struct + Channel string + Topic string + type ConversationsSetTopicResponse struct + Channel json.RawMessage + Raw json.RawMessage + func ConversationsSetTopic(ctx context.Context, c *Client, params *ConversationsSetTopicParams) (*ConversationsSetTopicResponse, error) + type ConversationsUnarchiveParams struct + Channel string + type ConversationsUnarchiveResponse struct + Raw json.RawMessage + func ConversationsUnarchive(ctx context.Context, c *Client, params *ConversationsUnarchiveParams) (*ConversationsUnarchiveResponse, error) + type DialogOpenParams struct + Dialog string + TriggerID string + type DialogOpenResponse struct + Raw json.RawMessage + func DialogOpen(ctx context.Context, c *Client, params *DialogOpenParams) (*DialogOpenResponse, error) + type DividerBlock struct + BlockID string + Type string + func NewDividerBlock() *DividerBlock + type DndEndDndResponse struct + Raw json.RawMessage + func DndEndDnd(ctx context.Context, c *Client) (*DndEndDndResponse, error) + type DndEndSnoozeResponse struct + DndEnabled bool + NextDndEndTS int + NextDndStartTS int + Raw json.RawMessage + SnoozeEnabled bool + func DndEndSnooze(ctx context.Context, c *Client) (*DndEndSnoozeResponse, error) + type DndInfoParams struct + User string + type DndInfoResponse struct + DndEnabled bool + NextDndEndTS int + NextDndStartTS int + Raw json.RawMessage + SnoozeEnabled bool + SnoozeEndtime int + SnoozeRemaining int + func DndInfo(ctx context.Context, c *Client, params *DndInfoParams) (*DndInfoResponse, error) + type DndSetSnoozeParams struct + NumMinutes string + type DndSetSnoozeResponse struct + Raw json.RawMessage + SnoozeEnabled bool + SnoozeEndtime int + SnoozeRemaining int + func DndSetSnooze(ctx context.Context, c *Client, params *DndSetSnoozeParams) (*DndSetSnoozeResponse, error) + type DndTeamInfoParams struct + Users string + type DndTeamInfoResponse struct + Raw json.RawMessage + func DndTeamInfo(ctx context.Context, c *Client, params *DndTeamInfoParams) (*DndTeamInfoResponse, error) + type EmojiListResponse struct + Raw json.RawMessage + func EmojiList(ctx context.Context, c *Client) (*EmojiListResponse, error) + type EnterpriseUser struct + EnterpriseID string + EnterpriseName string + ID string + IsAdmin bool + IsOwner bool + Teams []string + type Envelope interface + type ExternalOrgMigrations struct + Current []map[string]any + DateUpdated int + type File struct + Channels []string + CommentsCount int + Created int + DateDelete int + DisplayAsBot bool + Editable bool + Editor string + ExternalID string + ExternalType string + ExternalURL string + Filetype string + Groups []string + HasRichPreview bool + ID string + ImageExifRotation int + Ims []string + IsExternal bool + IsPublic bool + IsStarred bool + IsTombstoned bool + LastEditor string + Mimetype string + Mode string + Name string + NonOwnerEditable bool + NumStars int + OriginalH int + OriginalW int + Permalink string + PermalinkPublic string + PinnedInfo json.RawMessage + PinnedTo []string + PrettyType string + Preview string + PublicURLShared bool + Reactions []*Reaction + Shares map[string]any + Size int + SourceTeam string + State string + Thumb1024 string + Thumb1024H int + Thumb1024W int + Thumb160 string + Thumb360 string + Thumb360H int + Thumb360W int + Thumb480 string + Thumb480H int + Thumb480W int + Thumb64 string + Thumb720 string + Thumb720H int + Thumb720W int + Thumb80 string + Thumb800 string + Thumb800H int + Thumb800W int + Thumb960 string + Thumb960H int + Thumb960W int + ThumbTiny string + Timestamp int + Title string + URLPrivate string + URLPrivateDownload string + Updated int + User string + UserTeam string + Username string + type FilesCommentsDeleteParams struct + File string + ID string + type FilesCommentsDeleteResponse struct + Raw json.RawMessage + func FilesCommentsDelete(ctx context.Context, c *Client, params *FilesCommentsDeleteParams) (*FilesCommentsDeleteResponse, error) + type FilesDeleteParams struct + File string + type FilesDeleteResponse struct + Raw json.RawMessage + func FilesDelete(ctx context.Context, c *Client, params *FilesDeleteParams) (*FilesDeleteResponse, error) + type FilesInfoParams struct + Count string + Cursor string + File string + Limit int + Page string + type FilesInfoResponse struct + Comments []json.RawMessage + ContentHtml json.RawMessage + Editor string + File *File + Paging *Paging + Raw json.RawMessage + func FilesInfo(ctx context.Context, c *Client, params *FilesInfoParams) (*FilesInfoResponse, error) + type FilesListParams struct + Channel string + Count string + Page string + ShowFilesHiddenByLimit bool + TSFrom float64 + TSTo float64 + Types string + User string + type FilesListResponse struct + Files []*File + Paging *Paging + Raw json.RawMessage + func FilesList(ctx context.Context, c *Client, params *FilesListParams) (*FilesListResponse, error) + type FilesRemoteAddParams struct + ExternalID string + ExternalURL string + Filetype string + IndexableFileContents string + PreviewImage string + Title string + type FilesRemoteAddResponse struct + Raw json.RawMessage + func FilesRemoteAdd(ctx context.Context, c *Client, params *FilesRemoteAddParams) (*FilesRemoteAddResponse, error) + type FilesRemoteInfoParams struct + ExternalID string + File string + type FilesRemoteInfoResponse struct + Raw json.RawMessage + func FilesRemoteInfo(ctx context.Context, c *Client, params *FilesRemoteInfoParams) (*FilesRemoteInfoResponse, error) + type FilesRemoteListParams struct + Channel string + Cursor string + Limit int + TSFrom float64 + TSTo float64 + type FilesRemoteListResponse struct + Raw json.RawMessage + func FilesRemoteList(ctx context.Context, c *Client, params *FilesRemoteListParams) (*FilesRemoteListResponse, error) + type FilesRemoteRemoveParams struct + ExternalID string + File string + type FilesRemoteRemoveResponse struct + Raw json.RawMessage + func FilesRemoteRemove(ctx context.Context, c *Client, params *FilesRemoteRemoveParams) (*FilesRemoteRemoveResponse, error) + type FilesRemoteShareParams struct + Channels string + ExternalID string + File string + type FilesRemoteShareResponse struct + Raw json.RawMessage + func FilesRemoteShare(ctx context.Context, c *Client, params *FilesRemoteShareParams) (*FilesRemoteShareResponse, error) + type FilesRemoteUpdateParams struct + ExternalID string + ExternalURL string + File string + Filetype string + IndexableFileContents string + PreviewImage string + Title string + type FilesRemoteUpdateResponse struct + Raw json.RawMessage + func FilesRemoteUpdate(ctx context.Context, c *Client, params *FilesRemoteUpdateParams) (*FilesRemoteUpdateResponse, error) + type FilesRevokePublicURLParams struct + File string + type FilesRevokePublicURLResponse struct + File *File + Raw json.RawMessage + func FilesRevokePublicURL(ctx context.Context, c *Client, params *FilesRevokePublicURLParams) (*FilesRevokePublicURLResponse, error) + type FilesSharedPublicURLParams struct + File string + type FilesSharedPublicURLResponse struct + File *File + Raw json.RawMessage + func FilesSharedPublicURL(ctx context.Context, c *Client, params *FilesSharedPublicURLParams) (*FilesSharedPublicURLResponse, error) + type FilesUploadParams struct + Channels string + Content string + File string + Filename string + Filetype string + InitialComment string + ThreadTS string + Title string + type FilesUploadResponse struct + File *File + Raw json.RawMessage + func FilesUpload(ctx context.Context, c *Client, params *FilesUploadParams) (*FilesUploadResponse, error) + type HeaderBlock struct + BlockID string + Text *TextObject + Type string + func NewHeaderBlock(text *TextObject) *HeaderBlock + type HistoryPayload struct + HasMore bool + Messages []*Message + type Icon struct + Image102 string + Image132 string + Image230 string + Image34 string + Image44 string + Image68 string + Image88 string + ImageDefault bool + type ItemRef struct + Channel string + Timestamp string + func NewRefToMessage(channel, timestamp string) ItemRef + type Message struct + Attachments []map[string]any + Blocks []json.RawMessage + BotID string + BotProfile *BotProfile + ClientMsgID string + Comment *Comment + DisplayAsBot bool + File *File + Files []*File + Icons map[string]any + Inviter string + IsDelayedMessage bool + IsIntro bool + IsStarred bool + LastRead string + LatestReply string + Name string + OldName string + ParentUserID string + Permalink string + PinnedTo []string + Purpose string + Reactions []*Reaction + ReplyCount int + ReplyUsers []string + ReplyUsersCount int + SourceTeam string + Subscribed bool + Subtype string + TS string + Team string + Text string + ThreadTS string + Topic string + Type string + UnreadCount int + Upload bool + User string + UserProfile *UserProfileShort + UserTeam string + Username string + type MigrationExchangeParams struct + TeamID string + ToOld bool + Users string + type MigrationExchangeResponse struct + EnterpriseID string + InvalidUserIds []string + Raw json.RawMessage + TeamID string + UserIDMap map[string]any + func MigrationExchange(ctx context.Context, c *Client, params *MigrationExchangeParams) (*MigrationExchangeResponse, error) + type OAUTHAccessParams struct + ClientID string + ClientSecret string + Code string + RedirectUri string + SingleChannel bool + type OAUTHAccessResponse struct + Raw json.RawMessage + func OAUTHAccess(ctx context.Context, c *Client, params *OAUTHAccessParams) (*OAUTHAccessResponse, error) + type OAUTHTokenParams struct + ClientID string + ClientSecret string + Code string + RedirectUri string + SingleChannel bool + type OAUTHTokenResponse struct + Raw json.RawMessage + func OAUTHToken(ctx context.Context, c *Client, params *OAUTHTokenParams) (*OAUTHTokenResponse, error) + type OAUTHV2AccessParams struct + ClientID string + ClientSecret string + Code string + RedirectUri string + type OAUTHV2AccessResponse struct + Raw json.RawMessage + func OAUTHV2Access(ctx context.Context, c *Client, params *OAUTHV2AccessParams) (*OAUTHV2AccessResponse, error) + type Paging struct + Count int + Page int + Pages int + PerPage int + Spill int + Total int + type PinsAddParams struct + Channel string + Timestamp string + type PinsAddResponse struct + Raw json.RawMessage + func PinsAdd(ctx context.Context, c *Client, params *PinsAddParams) (*PinsAddResponse, error) + type PinsListParams struct + Channel string + type PinsListResponse struct + Raw json.RawMessage + func PinsList(ctx context.Context, c *Client, params *PinsListParams) (*PinsListResponse, error) + type PinsRemoveParams struct + Channel string + Timestamp string + type PinsRemoveResponse struct + Raw json.RawMessage + func PinsRemove(ctx context.Context, c *Client, params *PinsRemoveParams) (*PinsRemoveResponse, error) + type PrimaryOwner struct + Email string + ID string + type Reaction struct + Count int + Name string + Users []string + type ReactionsAddParams struct + Channel string + Name string + Timestamp string + type ReactionsAddResponse struct + Raw json.RawMessage + func ReactionsAdd(ctx context.Context, c *Client, params *ReactionsAddParams) (*ReactionsAddResponse, error) + type ReactionsGetParams struct + Channel string + File string + FileComment string + Full bool + Timestamp string + type ReactionsGetResponse struct + Raw json.RawMessage + func ReactionsGet(ctx context.Context, c *Client, params *ReactionsGetParams) (*ReactionsGetResponse, error) + type ReactionsListParams struct + Count int + Cursor string + Full bool + Limit int + Page int + User string + type ReactionsListResponse struct + Items []map[string]any + Paging *Paging + Raw json.RawMessage + func ReactionsList(ctx context.Context, c *Client, params *ReactionsListParams) (*ReactionsListResponse, error) + type ReactionsRemoveParams struct + Channel string + File string + FileComment string + Name string + Timestamp string + type ReactionsRemoveResponse struct + Raw json.RawMessage + func ReactionsRemove(ctx context.Context, c *Client, params *ReactionsRemoveParams) (*ReactionsRemoveResponse, error) + type Reminder struct + CompleteTS int + Creator string + ID string + Recurring bool + Text string + Time int + User string + type RemindersAddParams struct + Text string + Time string + User string + type RemindersAddResponse struct + Raw json.RawMessage + Reminder *Reminder + func RemindersAdd(ctx context.Context, c *Client, params *RemindersAddParams) (*RemindersAddResponse, error) + type RemindersCompleteParams struct + Reminder string + type RemindersCompleteResponse struct + Raw json.RawMessage + func RemindersComplete(ctx context.Context, c *Client, params *RemindersCompleteParams) (*RemindersCompleteResponse, error) + type RemindersDeleteParams struct + Reminder string + type RemindersDeleteResponse struct + Raw json.RawMessage + func RemindersDelete(ctx context.Context, c *Client, params *RemindersDeleteParams) (*RemindersDeleteResponse, error) + type RemindersInfoParams struct + Reminder string + type RemindersInfoResponse struct + Raw json.RawMessage + Reminder *Reminder + func RemindersInfo(ctx context.Context, c *Client, params *RemindersInfoParams) (*RemindersInfoResponse, error) + type RemindersListResponse struct + Raw json.RawMessage + Reminders []*Reminder + func RemindersList(ctx context.Context, c *Client) (*RemindersListResponse, error) + type Resources struct + ExcludedIds []string + Ids []string + Wildcard bool + type RtmConnectParams struct + BatchPresenceAware bool + PresenceSub bool + type RtmConnectResponse struct + Raw json.RawMessage + Self map[string]any + Team map[string]any + URL string + func RtmConnect(ctx context.Context, c *Client, params *RtmConnectParams) (*RtmConnectResponse, error) + type SearchFilesParams struct + Count int + Highlight bool + Page int + Query string + Sort string + SortDir string + type SearchFilesResponse struct + Raw json.RawMessage + func SearchFiles(ctx context.Context, c *Client, params *SearchFilesParams) (*SearchFilesResponse, error) + type SearchMessagesParams struct + Count int + Highlight bool + Page int + Query string + Sort string + SortDir string + type SearchMessagesResponse struct + Raw json.RawMessage + func SearchMessages(ctx context.Context, c *Client, params *SearchMessagesParams) (*SearchMessagesResponse, error) + type SectionBlock struct + Accessory map[string]interface{} + BlockID string + Fields []*TextObject + Text *TextObject + Type string + func NewSectionBlock(text *TextObject, fields []*TextObject, accessory map[string]interface{}) *SectionBlock + type StarsAddParams struct + Channel string + File string + FileComment string + Timestamp string + type StarsAddResponse struct + Raw json.RawMessage + func StarsAdd(ctx context.Context, c *Client, params *StarsAddParams) (*StarsAddResponse, error) + type StarsListParams struct + Count string + Cursor string + Limit int + Page string + type StarsListResponse struct + Items []map[string]any + Paging *Paging + Raw json.RawMessage + func StarsList(ctx context.Context, c *Client, params *StarsListParams) (*StarsListResponse, error) + type StarsRemoveParams struct + Channel string + File string + FileComment string + Timestamp string + type StarsRemoveResponse struct + Raw json.RawMessage + func StarsRemove(ctx context.Context, c *Client, params *StarsRemoveParams) (*StarsRemoveResponse, error) + type Subteam struct + AutoProvision bool + AutoType string + ChannelCount int + CreatedBy string + DateCreate int + DateDelete int + DateUpdate int + DeletedBy string + Description string + EnterpriseSubteamID string + Handle string + ID string + IsExternal bool + IsSubteam bool + IsUsergroup bool + Name string + Prefs map[string]any + TeamID string + UpdatedBy string + UserCount int + Users []string + type Team struct + Archived bool + AvatarBaseURL string + Created int + DateCreate int + Deleted bool + Description string + Discoverable string + Domain string + EmailDomain string + EnterpriseID string + EnterpriseName string + ExternalOrgMigrations *ExternalOrgMigrations + HasComplianceExport bool + ID string + Icon *Icon + IsAssigned bool + IsEnterprise int + IsOverStorageLimit bool + LimitTS int + Locale string + MessagesCount int + MsgEditWindowMins int + Name string + OverIntegrationsLimit bool + OverStorageLimit bool + PayProdCur string + Plan string + PrimaryOwner *PrimaryOwner + SsoProvider map[string]any + type TeamAccessLogsParams struct + Before string + Count string + Page string + type TeamAccessLogsResponse struct + Logins []map[string]any + Paging *Paging + Raw json.RawMessage + func TeamAccessLogs(ctx context.Context, c *Client, params *TeamAccessLogsParams) (*TeamAccessLogsResponse, error) + type TeamBillableInfoParams struct + User string + type TeamBillableInfoResponse struct + Raw json.RawMessage + func TeamBillableInfo(ctx context.Context, c *Client, params *TeamBillableInfoParams) (*TeamBillableInfoResponse, error) + type TeamInfoParams struct + Team string + type TeamInfoResponse struct + Raw json.RawMessage + Team *Team + func TeamInfo(ctx context.Context, c *Client, params *TeamInfoParams) (*TeamInfoResponse, error) + type TeamIntegrationLogsParams struct + AppID string + ChangeType string + Count string + Page string + ServiceID string + User string + type TeamIntegrationLogsResponse struct + Logs []map[string]any + Paging *Paging + Raw json.RawMessage + func TeamIntegrationLogs(ctx context.Context, c *Client, params *TeamIntegrationLogsParams) (*TeamIntegrationLogsResponse, error) + type TeamProfileField struct + FieldName string + Hint string + ID string + IsHidden bool + Label string + Options *TeamProfileFieldOption + Ordering float64 + PossibleValues []string + Type string + type TeamProfileFieldOption struct + IsCustom bool + IsMultipleEntry bool + IsProtected bool + IsScim bool + type TeamProfileGetParams struct + Visibility string + type TeamProfileGetResponse struct + Profile map[string]any + Raw json.RawMessage + func TeamProfileGet(ctx context.Context, c *Client, params *TeamProfileGetParams) (*TeamProfileGetResponse, error) + type TextObject struct + Emoji bool + Text string + Type string + Verbatim bool + func NewMrkdwnText(text string) *TextObject + func NewPlainText(text string) *TextObject + func NewTextObject(typeStr, text string, emoji, verbatim bool) *TextObject + type TopicPurpose struct + Creator string + LastSet int + Value string + type UploadFileParams struct + Channels string + FilePath string + Filename string + Filetype string + InitialComment string + ThreadTS string + Title string + type UploadFileResponse struct + File struct{ ... } + Raw json.RawMessage + func UploadFile(ctx context.Context, c *Client, params *UploadFileParams) (*UploadFileResponse, error) + type User struct + Deleted bool + ID string + IsAdmin bool + IsBot bool + IsOwner bool + Name string + Profile *UserProfile + RealName string + TZ string + TZLabel string + TZOffset int + TeamID string + Updated int + type UserProfile struct + APIAppID string + AlwaysActive bool + AvatarHash string + BotID string + DisplayName string + DisplayNameNormalized string + Email string + Fields map[string]any + FirstName string + GuestExpirationTS int + GuestInvitedBy string + Image1024 string + Image192 string + Image24 string + Image32 string + Image48 string + Image512 string + Image72 string + ImageOriginal string + IsAppUser bool + IsCustomImage bool + IsRestricted bool + IsUltraRestricted bool + LastAvatarImageHash string + LastName string + MembershipsCount int + Name string + Phone string + Pronouns string + RealName string + RealNameNormalized string + Skype string + StatusDefaultEmoji string + StatusDefaultText string + StatusDefaultTextCanonical string + StatusEmoji string + StatusExpiration int + StatusText string + StatusTextCanonical string + Team string + Title string + Updated int + UserID string + Username string + type UserProfileShort struct + AvatarHash string + DisplayName string + DisplayNameNormalized string + FirstName string + Image72 string + IsRestricted bool + IsUltraRestricted bool + Name string + RealName string + RealNameNormalized string + Team string + type UsergroupsCreateParams struct + Channels string + Description string + Handle string + IncludeCount bool + Name string + type UsergroupsCreateResponse struct + Raw json.RawMessage + Usergroup *Subteam + func UsergroupsCreate(ctx context.Context, c *Client, params *UsergroupsCreateParams) (*UsergroupsCreateResponse, error) + type UsergroupsDisableParams struct + IncludeCount bool + Usergroup string + type UsergroupsDisableResponse struct + Raw json.RawMessage + Usergroup *Subteam + func UsergroupsDisable(ctx context.Context, c *Client, params *UsergroupsDisableParams) (*UsergroupsDisableResponse, error) + type UsergroupsEnableParams struct + IncludeCount bool + Usergroup string + type UsergroupsEnableResponse struct + Raw json.RawMessage + Usergroup *Subteam + func UsergroupsEnable(ctx context.Context, c *Client, params *UsergroupsEnableParams) (*UsergroupsEnableResponse, error) + type UsergroupsListParams struct + IncludeCount bool + IncludeDisabled bool + IncludeUsers bool + type UsergroupsListResponse struct + Raw json.RawMessage + Usergroups []*Subteam + func UsergroupsList(ctx context.Context, c *Client, params *UsergroupsListParams) (*UsergroupsListResponse, error) + type UsergroupsUpdateParams struct + Channels string + Description string + Handle string + IncludeCount bool + Name string + Usergroup string + type UsergroupsUpdateResponse struct + Raw json.RawMessage + Usergroup *Subteam + func UsergroupsUpdate(ctx context.Context, c *Client, params *UsergroupsUpdateParams) (*UsergroupsUpdateResponse, error) + type UsergroupsUsersListParams struct + IncludeDisabled bool + Usergroup string + type UsergroupsUsersListResponse struct + Raw json.RawMessage + Users []string + func UsergroupsUsersList(ctx context.Context, c *Client, params *UsergroupsUsersListParams) (*UsergroupsUsersListResponse, error) + type UsergroupsUsersUpdateParams struct + IncludeCount bool + Usergroup string + Users string + type UsergroupsUsersUpdateResponse struct + Raw json.RawMessage + Usergroup *Subteam + func UsergroupsUsersUpdate(ctx context.Context, c *Client, params *UsergroupsUsersUpdateParams) (*UsergroupsUsersUpdateResponse, error) + type UsersConversationsParams struct + Cursor string + ExcludeArchived bool + Limit int + Types string + User string + type UsersConversationsResponse struct + Channels []json.RawMessage + Raw json.RawMessage + func UsersConversations(ctx context.Context, c *Client, params *UsersConversationsParams) (*UsersConversationsResponse, error) + type UsersDeletePhotoResponse struct + Raw json.RawMessage + func UsersDeletePhoto(ctx context.Context, c *Client) (*UsersDeletePhotoResponse, error) + type UsersGetPresenceParams struct + User string + type UsersGetPresenceResponse struct + AutoAway bool + ConnectionCount int + LastActivity int + ManualAway bool + Online bool + Presence string + Raw json.RawMessage + func UsersGetPresence(ctx context.Context, c *Client, params *UsersGetPresenceParams) (*UsersGetPresenceResponse, error) + type UsersIdentityResponse struct + Raw json.RawMessage + func UsersIdentity(ctx context.Context, c *Client) (*UsersIdentityResponse, error) + type UsersInfoParams struct + IncludeLocale bool + User string + type UsersInfoResponse struct + Raw json.RawMessage + User *User + func UsersInfo(ctx context.Context, c *Client, params *UsersInfoParams) (*UsersInfoResponse, error) + type UsersListParams struct + Cursor string + IncludeLocale bool + Limit int + type UsersListResponse struct + CacheTS int + Members []*User + Raw json.RawMessage + func UsersList(ctx context.Context, c *Client, params *UsersListParams) (*UsersListResponse, error) + type UsersLookupByEmailParams struct + Email string + type UsersLookupByEmailResponse struct + Raw json.RawMessage + User *User + func UsersLookupByEmail(ctx context.Context, c *Client, params *UsersLookupByEmailParams) (*UsersLookupByEmailResponse, error) + type UsersProfileGetParams struct + IncludeLabels bool + User string + type UsersProfileGetResponse struct + Profile *UserProfile + Raw json.RawMessage + func UsersProfileGet(ctx context.Context, c *Client, params *UsersProfileGetParams) (*UsersProfileGetResponse, error) + type UsersProfileSetParams struct + Name string + Profile string + User string + Value string + type UsersProfileSetResponse struct + EmailPending string + Profile *UserProfile + Raw json.RawMessage + Username string + func UsersProfileSet(ctx context.Context, c *Client, params *UsersProfileSetParams) (*UsersProfileSetResponse, error) + type UsersSetActiveResponse struct + Raw json.RawMessage + func UsersSetActive(ctx context.Context, c *Client) (*UsersSetActiveResponse, error) + type UsersSetPhotoParams struct + CropW string + CropX string + CropY string + Image string + type UsersSetPhotoResponse struct + Profile map[string]any + Raw json.RawMessage + func UsersSetPhoto(ctx context.Context, c *Client, params *UsersSetPhotoParams) (*UsersSetPhotoResponse, error) + type UsersSetPresenceParams struct + Presence string + type UsersSetPresenceResponse struct + Raw json.RawMessage + func UsersSetPresence(ctx context.Context, c *Client, params *UsersSetPresenceParams) (*UsersSetPresenceResponse, error) + type ViewsOpenParams struct + TriggerID string + View string + type ViewsOpenResponse struct + Raw json.RawMessage + func ViewsOpen(ctx context.Context, c *Client, params *ViewsOpenParams) (*ViewsOpenResponse, error) + type ViewsPublishParams struct + Hash string + UserID string + View string + type ViewsPublishResponse struct + Raw json.RawMessage + func ViewsPublish(ctx context.Context, c *Client, params *ViewsPublishParams) (*ViewsPublishResponse, error) + type ViewsPushParams struct + TriggerID string + View string + type ViewsPushResponse struct + Raw json.RawMessage + func ViewsPush(ctx context.Context, c *Client, params *ViewsPushParams) (*ViewsPushResponse, error) + type ViewsUpdateParams struct + ExternalID string + Hash string + View string + ViewID string + type ViewsUpdateResponse struct + Raw json.RawMessage + func ViewsUpdate(ctx context.Context, c *Client, params *ViewsUpdateParams) (*ViewsUpdateResponse, error) + type WorkflowsStepCompletedParams struct + Outputs string + WorkflowStepExecuteID string + type WorkflowsStepCompletedResponse struct + Raw json.RawMessage + func WorkflowsStepCompleted(ctx context.Context, c *Client, params *WorkflowsStepCompletedParams) (*WorkflowsStepCompletedResponse, error) + type WorkflowsStepFailedParams struct + Error string + WorkflowStepExecuteID string + type WorkflowsStepFailedResponse struct + Raw json.RawMessage + func WorkflowsStepFailed(ctx context.Context, c *Client, params *WorkflowsStepFailedParams) (*WorkflowsStepFailedResponse, error) + type WorkflowsUpdateStepParams struct + Inputs string + Outputs string + StepImageURL string + StepName string + WorkflowStepEditID string + type WorkflowsUpdateStepResponse struct + Raw json.RawMessage + func WorkflowsUpdateStep(ctx context.Context, c *Client, params *WorkflowsUpdateStepParams) (*WorkflowsUpdateStepResponse, error)