Documentation ¶
Overview ¶
Package apps is a lightweight wrapper over the "apps" methods in Slack's Web API: https://api.slack.com/methods?filter=apps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Secrets sdkservices.Secrets Scope string }
type ConnectionsOpenResponse ¶
type ConnectionsOpenResponse struct { api.SlackResponse URL string `json:"url,omitempty"` }
https://api.slack.com/methods/apps.connections.open#examples
func ConnectionsOpenWithToken ¶
func ConnectionsOpenWithToken(ctx context.Context, secrets sdkservices.Secrets, scope, appToken string) (*ConnectionsOpenResponse, error)
ConnectionsOpenWithToken is only used internally, to check the usability of an app-level token provided by the user.
Click to show internal directories.
Click to hide internal directories.