InviteData

data class InviteData(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()) : 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())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val channelId: Snowflake?
Link copied to clipboard
open override val code: String
Link copied to clipboard
open override val expiresAt: Optional<Instant?>
Link copied to clipboard
open override val guild: Optional<PartialGuildData>
Link copied to clipboard
Link copied to clipboard
open override val inviterId: OptionalSnowflake
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val targetUserId: OptionalSnowflake