Class ConversationsDeclineSharedInviteRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsDeclineSharedInviteRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.declineSharedInvite
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanID of the Slack Connect invite to decline.The team or enterprise id of the other party involved in the invitation you are declininggetToken()Authentication token bearing required scopes.inthashCode()voidsetInviteId(String inviteId) ID of the Slack Connect invite to decline.voidsetTargetTeam(String targetTeam) The team or enterprise id of the other party involved in the invitation you are decliningvoidAuthentication token bearing required scopes.toString()
-
Method Details
-
builder
public static ConversationsDeclineSharedInviteRequest.ConversationsDeclineSharedInviteRequestBuilder builder() -
getToken
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getInviteId
ID of the Slack Connect invite to decline. Subscribe to the shared_channel_invite_accepted event to receive IDs of Slack Connect channel invites that have been accepted and are awaiting approval. -
getTargetTeam
The team or enterprise id of the other party involved in the invitation you are declining -
setToken
Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
setTokenin interfaceSlackApiRequest
-
setInviteId
ID of the Slack Connect invite to decline. Subscribe to the shared_channel_invite_accepted event to receive IDs of Slack Connect channel invites that have been accepted and are awaiting approval. -
setTargetTeam
The team or enterprise id of the other party involved in the invitation you are declining -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-