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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uses: Int