InviteWithMetadataData
data class InviteWithMetadataData(val code: String, val guild: Optional<PartialGuildData> = Optional.Missing(), val channelId: Snowflake?, val inviterId: OptionalSnowflake = OptionalSnowflake.Missing, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, val targetApplication: Optional<PartialApplicationData> = Optional.Missing(), val approximatePresenceCount: OptionalInt = OptionalInt.Missing, val approximateMemberCount: OptionalInt = OptionalInt.Missing, val expiresAt: Optional<Instant?> = Optional.Missing(), val guildScheduledEvent: Optional<GuildScheduledEventData> = Optional.Missing(), val uses: Int, val maxUses: Int, val maxAge: DurationInSeconds, val temporary: Boolean, val createdAt: Instant) : BaseInviteData(source)
Constructors
Link copied to clipboard
constructor(code: String, guild: Optional<PartialGuildData> = Optional.Missing(), channelId: Snowflake?, inviterId: OptionalSnowflake = OptionalSnowflake.Missing, targetType: Optional<InviteTargetType> = Optional.Missing(), targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, targetApplication: Optional<PartialApplicationData> = Optional.Missing(), approximatePresenceCount: OptionalInt = OptionalInt.Missing, approximateMemberCount: OptionalInt = OptionalInt.Missing, expiresAt: Optional<Instant?> = Optional.Missing(), guildScheduledEvent: Optional<GuildScheduledEventData> = Optional.Missing(), uses: Int, maxUses: Int, maxAge: DurationInSeconds, temporary: Boolean, createdAt: Instant)