@slack/web-api / AdminUsersInviteArguments
Defined in: src/types/request/admin/users.ts:63
ChannelIDs.TeamID.IsRestricted.IsUltraRestricted.TokenOverridable
channel_ids: [string, ...string[]];Defined in: src/types/request/common.ts:81
An array of channel IDs (must include at least one ID).
ChannelIDs.channel_idsoptional custom_message: string;Defined in: src/types/request/admin/users.ts:72
An optional message to send to the user in the invite email.
email: string;Defined in: src/types/request/admin/users.ts:70
The email address of the person to invite.
optional email_password_policy_enabled: boolean;Defined in: src/types/request/admin/users.ts:77
Allow invited user to sign in via email and password. Only available for Enterprise Grid teams via admin invite.
optional guest_expiration_ts: string;Defined in: src/types/request/admin/users.ts:82
Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date.
optional is_restricted: boolean;Defined in: src/types/request/admin/users.ts:15
Set to true if user should be added to the workspace as a guest.
IsRestricted.is_restrictedoptional is_ultra_restricted: boolean;Defined in: src/types/request/admin/users.ts:20
Set to true if user should be added to the workspace as a guest.
IsUltraRestricted.is_ultra_restrictedoptional real_name: string;Defined in: src/types/request/admin/users.ts:84
Full name of the user.
optional resend: boolean;Defined in: src/types/request/admin/users.ts:89
Allow this invite to be resent in the future if a user has not signed up yet.
Resending can only be done via the UI and has no expiration. Defaults to false.
team_id: string;Defined in: src/types/request/common.ts:61
The encoded team ID.
TeamID.team_idoptional token: string;Defined in: src/types/request/common.ts:43
Overridable authentication token bearing required scopes.
TokenOverridable.token