apps

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL