Skip to content

channel_invites_create

Create a new invite object for the channel. Only usable for guild channels. Requires the CREATE_INSTANT_INVITE permission. Returns an invite object

CountNameTypeRequired
1channel_idSnowflakeTrue
2max_ageIntegerFalse
3max_usesIntegerFalse
4temporaryBooleanFalse
5uniqueBooleanFalse
6target_typeIntegerTrue
7target_user_idSnowflakeTrue
8target_application_idSnowflakeTrue