DiscordCreatedInvite
data class DiscordCreatedInvite(val channelId: Snowflake, val code: String, val createdAt: Instant, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val inviter: Optional<DiscordUser> = Optional.Missing(), val maxAge: DurationInSeconds, val maxUses: Int, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUser: Optional<DiscordUser> = Optional.Missing(), val targetApplication: Optional<DiscordPartialApplication> = Optional.Missing(), val temporary: Boolean, val uses: Int)(source)
Constructors
Link copied to clipboard
constructor(channelId: Snowflake, code: String, createdAt: Instant, guildId: OptionalSnowflake = OptionalSnowflake.Missing, inviter: Optional<DiscordUser> = Optional.Missing(), maxAge: DurationInSeconds, maxUses: Int, targetType: Optional<InviteTargetType> = Optional.Missing(), targetUser: Optional<DiscordUser> = Optional.Missing(), targetApplication: Optional<DiscordPartialApplication> = Optional.Missing(), temporary: Boolean, uses: Int)