Optional approximateThe approximate number of total members in the guild this invite leads to.
Optional approximateThe approximate number of online members in the guild this invite leads to.
The ID of the channel this invite leads to.
The code of this invite.
Optional createdWhen this invite was created.
Optional expiresThe date at which this invite expires.
This invite's flags.
The guild this invite leads to or null if this invite leads to a Group DM.
The ID of the guild this invite leads to or null if this invite leads to a Group DM.
Optional guildThe scheduled event associated with this invite.
Optional inviterThe user that created this invite.
Optional maxThe time after which this invite expires.
Optional maxThe maximum number of times this invite can be used,
Optional rolesThe roles assigned to the user upon accepting the invite .
Optional stageThe stage instance in the invite this channel is for.
Optional targetThe embedded application this invite will open.
Optional targetThe target type of this invite.
Optional targetThe user whose stream to display for this voice channel stream invite.
Optional temporaryIf this invite only grants temporary membership.
The type of this invite.
The number of times this invite has been used.
The channel this invite leads to. If the channel is not cached, this will be a partial with only id, name, and type.
et the target users job status for this invite. Requires being the inviter or having the MANAGE_GUILD or VIEW_AUDIT_LOG permission.
Whether this invite belongs to a cached channel. The only difference on using this method over a simple if statement is to easily update all the invite properties typing definitions based on the channel it belongs to.
Static withStatic withStatic withStatic with
Represents an invite.