InviteCreateData
data class InviteCreateData(val channelId: Snowflake, val code: String, val createdAt: Instant, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val inviterId: OptionalSnowflake = OptionalSnowflake.Missing, val maxAge: DurationInSeconds, val maxUses: Int, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, val targetApplication: Optional<PartialApplicationData> = 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, inviterId: OptionalSnowflake = OptionalSnowflake.Missing, maxAge: DurationInSeconds, maxUses: Int, targetType: Optional<InviteTargetType> = Optional.Missing(), targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, targetApplication: Optional<PartialApplicationData> = Optional.Missing(), temporary: Boolean, uses: Int)