DiscordInteraction
data class DiscordInteraction(val id: Snowflake, val applicationId: Snowflake, val type: InteractionType, val data: InteractionCallbackData, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val channel: Optional<DiscordChannel> = Optional.Missing(), val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val member: Optional<DiscordInteractionGuildMember> = Optional.Missing(), val user: Optional<DiscordUser> = Optional.Missing(), val token: String, val version: Int, val message: Optional<DiscordMessage> = Optional.Missing(), val appPermissions: Optional<Permissions> = Optional.Missing(), val locale: Optional<Locale> = Optional.Missing(), val guildLocale: Optional<Locale> = Optional.Missing(), val entitlements: Optional<List<DiscordEntitlement>> = Optional.Missing())(source)
Constructors
Link copied to clipboard
constructor(id: Snowflake, applicationId: Snowflake, type: InteractionType, data: InteractionCallbackData, guildId: OptionalSnowflake = OptionalSnowflake.Missing, channel: Optional<DiscordChannel> = Optional.Missing(), channelId: OptionalSnowflake = OptionalSnowflake.Missing, member: Optional<DiscordInteractionGuildMember> = Optional.Missing(), user: Optional<DiscordUser> = Optional.Missing(), token: String, version: Int, message: Optional<DiscordMessage> = Optional.Missing(), appPermissions: Optional<Permissions> = Optional.Missing(), locale: Optional<Locale> = Optional.Missing(), guildLocale: Optional<Locale> = Optional.Missing(), entitlements: Optional<List<DiscordEntitlement>> = Optional.Missing())