slackline/api/conversations/accept_shared_invite
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
conversations.acceptSharedInvite.
Each setter takes the call that conversations.accept_shared_invite
returns and sets one argument:
conversations.accept_shared_invite(channel_name: "puppies-r-us")
|> accept_shared_invite.is_private(True)
Values
pub fn channel_id(
call: slackline.Call(conversations.AcceptSharedInvite, r),
channel_id: String,
) -> slackline.Call(conversations.AcceptSharedInvite, r)
ID of the channel that you’d like to accept. Must provide either invite_id
or channel_id.
pub fn free_trial_accepted(
call: slackline.Call(conversations.AcceptSharedInvite, r),
free_trial_accepted: Bool,
) -> slackline.Call(conversations.AcceptSharedInvite, r)
Whether you’d like to use your workspace’s free trial to begin using Slack Connect.
pub fn invite_id(
call: slackline.Call(conversations.AcceptSharedInvite, r),
invite_id: String,
) -> slackline.Call(conversations.AcceptSharedInvite, r)
ID of the invite that you’d like to accept. Must provide either invite_id
or channel_id. See the
shared_channel_invite_received
event payload for more details on how to retrieve the ID of the invitation.
pub fn is_private(
call: slackline.Call(conversations.AcceptSharedInvite, r),
is_private: Bool,
) -> slackline.Call(conversations.AcceptSharedInvite, r)
Whether the channel should be private.
pub fn team_id(
call: slackline.Call(conversations.AcceptSharedInvite, r),
team_id: String,
) -> slackline.Call(conversations.AcceptSharedInvite, r)
The ID of the workspace to accept the channel in. If an org-level token is
used to call this method, the team_id argument is required.