InteractionData
data class InteractionData(val id: Snowflake, val applicationId: Snowflake, val type: InteractionType, val data: ApplicationInteractionData, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val channel: Optional<ChannelData> = Optional.Missing(), val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val member: Optional<MemberData> = Optional.Missing(), val user: Optional<UserData> = Optional.Missing(), val token: String, val permissions: Optional<Permissions> = Optional.Missing(), val version: Int, val message: Optional<MessageData> = Optional.Missing(), val appPermissions: Optional<Permissions> = Optional.Missing(), val locale: Optional<Locale> = Optional.Missing(), val guildLocale: Optional<Locale> = Optional.Missing(), val entitlements: Optional<List<EntitlementData>> = Optional.Missing())(source)
Constructors
Link copied to clipboard
constructor(id: Snowflake, applicationId: Snowflake, type: InteractionType, data: ApplicationInteractionData, guildId: OptionalSnowflake = OptionalSnowflake.Missing, channel: Optional<ChannelData> = Optional.Missing(), channelId: OptionalSnowflake = OptionalSnowflake.Missing, member: Optional<MemberData> = Optional.Missing(), user: Optional<UserData> = Optional.Missing(), token: String, permissions: Optional<Permissions> = Optional.Missing(), version: Int, message: Optional<MessageData> = Optional.Missing(), appPermissions: Optional<Permissions> = Optional.Missing(), locale: Optional<Locale> = Optional.Missing(), guildLocale: Optional<Locale> = Optional.Missing(), entitlements: Optional<List<EntitlementData>> = Optional.Missing())