Work with Shared Channel

The following are Apex classes for the Slack shared API methods.

Sends a request to accept an invitation in a Slack Connect channel.

See Slack's conversations.acceptSharedInvite method.

The following are methods for SharedChannelInviteAcceptedEvent.

Signature

Return Value

Type: Slack.ConnectUser

Signature

Return Value

Type: Slack.ConnectChannel

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.ConnectInviteDetail

Signature

Return Value

Type: String

Signature

Return Value

Type: List<Slack.ConnectTeam>

Signature

Return Value

Type: String

Signature

Return Value

Type: Boolean

Signature

Parameters

acceptingUser

Type: Slack.ConnectUser

Return Value

Type: void

Signature

Parameters

approvalRequired

Type: Boolean

Return Value

Type: void

Signature

Parameters

channel

Type: Slack.ConnectChannel

Return Value

Type: void

Signature

Parameters

eventTs

Type: String

Return Value

Type: void

Signature

Parameters

invite

Type: Slack.ConnectInviteDetail

Return Value

Type: void

Signature

Parameters

teamsInChannel

Type: List<Slack.ConnectTeam>

Return Value

Type: void

Approves an accepted invitation to a Slack Connect channel.

See Slack's approveSharedInvite method.

These methods are for SharedChannelInviteApprovedEvent.

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.ConnectUser

Signature

Return Value

Type: Slack.ConnectChannel

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.ConnectInviteDetail

Signature

Return Value

Type: String

Signature

Return Value

Type: List<Slack.ConnectTeam>

Signature

Return Value

Type: String

Signature

Parameters

approvingTeamId

Type: String

Return Value

Type: void

Signature

Parameters

approvingUser

Type: Slack.ConnectUser

Return Value

Type: void

Signature

Parameters

channel

Type: Slack.ConnectChannel

Return Value

Type: void

Signature

Parameters

eventTs

Type: String

Return Value

Type: void

Signature

Parameters

invite

Type: Slack.ConnectInviteDetail

Return Value

Type: void

Signature

Parameters

teamsInChannel

Type: List<Slack.ConnectTeam>

Return Value

Type: void

Sends a request to decline a Slack Connect channel invite.

See Slack’s delineSharedInvite method.

These methods are for SharedChannelInviteDeclinedEvent.

Signature

Return Value

Type: Slack.ConnectChannel

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.ConnectUser

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.ConnectInviteDetail

Signature

Return Value

Type: String

Signature

Return Value

Type: List<Slack.ConnectTeam>

Signature

Return Value

Type: String

Signature

Parameters

channel

Type: Slack.ConnectChannel

Return Value

Type: void

Signature

Parameters

decliningTeamId

Type: String

Return Value

Type: void

Signature

Parameters

decliningUser

Type: Slack.ConnectUser

Return Value

Type: void

Signature

Parameters

eventTs

Type: String

Return Value

Type: void

Signature

Parameters

invite

Type: Slack.ConnectInviteDetail

Return Value

Type: void

Signature

Parameters

teamsInChannel

Type: List<Slack.ConnectTeam>

Return Value

Type: void

These methods are for SharedChannelInviteReceivedEvent.

Signature

Return Value

Type: Slack.ConnectChannel

Signature

Return Value

Type: String

Signature

Return Value

Type: Slack.ConnectInviteDetail

Signature

Return Value

Type: String

Signature

Return Value

Type: String