diff --git a/.github/workflows/deployment-ci.yml b/.github/workflows/deployment-ci.yml index 44567004d1d..821194a760e 100644 --- a/.github/workflows/deployment-ci.yml +++ b/.github/workflows/deployment-ci.yml @@ -4,6 +4,8 @@ name: Kotlin CI on: push: + branches: + - '**' # We want to run this on all branch pushes tags-ignore: - '**' # We don't want this to run on tags pushes pull_request: diff --git a/CHANGELOG.md b/CHANGELOG.md index 651945c08e1..bdd3b3afb30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,44 @@ +# 0.7.0 + +## Additions + +* Implement voice stage channel (#239) +* Add "Competing" activity type (#272) +* Add unsafe application commands behavior (#281) +* Add buttons to Activity (#287) +* Add Message.applicationId (#289) +* Implement Stage instances (#291) +* Add Message interaction (#283) +* Add Ephemeral embed support (#296 #321) + +## Changes + +* Update deprecated message (#280) +* Sealed message types (#282) +* Improve slash command API and add support for components (#310 #294 #312 #324) +* Live entities can define a parent job (#304) + +## Fixes + +* Close InputStreams used for attachments (#309 #296) +* Make Updatestatus activities not-null (#274) +* Fix GuildUpdate core handling (#284) + +## Performance + +* Fix memory issues related to Permission combining (#277) + +## Dependencies + +* kotlin 1.4.32 -> 1.5.10 +* kotlinxSerialization 1.1.0 -> 1.2.1 +* ktor 1.5.2 -> 1.6.0 +* kotlinxCoroutines = 1.4.2 -> 1.5.0 +* kotlinLogging 2.0.4 -> 2.0.6 +* atomicFu 0.15.1 -> 0.16.1 +* binaryCompatibilityValidator 0.4.0 -> 0.5.0 +* datetime 0.2.1 + # 0.7.0-RC3 ## Fixes diff --git a/README.md b/README.md index a5d2e33d807..24cf6bd0b59 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # Kord [![Discord](https://img.shields.io/discord/556525343595298817.svg?color=&label=Kord&logo=discord&style=for-the-badge)](https://discord.gg/6jcx5ev) -[![Download](https://img.shields.io/nexus/r/dev.kord/kord-core?color=fb5502&label=Kord&logoColor=05c1fd&server=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2F&style=for-the-badge) ](https://search.maven.org/search?q=g:dev.kord) -[![Snapshot](https://img.shields.io/nexus/s/dev.kord/kord-core?label=SNAPSHOT&server=https%3A%2F%2Foss.sonatype.org%2F&style=for-the-badge)](https://oss.sonatype.org/#nexus-search;quick~dev.kord) +[![Download](https://img.shields.io/maven-central/v/dev.kord/kord-core.svg?label=Maven%20Central&style=for-the-badge)](https://search.maven.org/search?q=g:%22dev.kord%22%20AND%20a:%22kord-core%22) [![Github CI status (branch)](https://img.shields.io/github/workflow/status/kordlib/kord/CI/master?label=CI&style=for-the-badge)]() __Kord is still in an experimental stage, as such we can't guarantee API stability between releases. While we'd love for @@ -50,8 +49,7 @@ For Snapshots replace `{version}` with `{branch}-SNAPSHOT` e.g: `0.7.x-SNAPSHOT` -[![Download](https://img.shields.io/nexus/r/dev.kord/kord-core?color=fb5502&label=Kord&logoColor=05c1fd&server=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2F&style=for-the-badge) ](https://search.maven.org/search?q=g:dev.kord) -[![Snapshot](https://img.shields.io/nexus/s/dev.kord/kord-core?label=SNAPSHOT&server=https%3A%2F%2Foss.sonatype.org%2F&style=for-the-badge)](https://oss.sonatype.org/#nexus-search;quick~dev.kord) +[![Download](https://img.shields.io/maven-central/v/dev.kord/kord-core.svg?label=Maven%20Central&style=for-the-badge)](https://search.maven.org/search?q=g:%22dev.kord%22%20AND%20a:%22kord-core%22) ### Gradle (groovy) diff --git a/build.gradle.kts b/build.gradle.kts index 95179e1b92d..5acbc04134c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,6 +5,7 @@ import org.apache.commons.codec.binary.Base64 buildscript { repositories { jcenter() + mavenCentral() maven(url = "https://plugins.gradle.org/m2/") } dependencies { @@ -20,7 +21,7 @@ buildscript { plugins { id("org.jetbrains.kotlin.jvm") version Versions.kotlin - id("org.jetbrains.dokka") version "1.4.0" + id("org.jetbrains.dokka") version "1.4.30" id("org.ajoberstar.git-publish") version "2.1.3" signing @@ -32,7 +33,6 @@ apply(plugin = "binary-compatibility-validator") repositories { mavenCentral() - jcenter() mavenLocal() } @@ -218,7 +218,6 @@ tasks { dokkaHtmlMultiModule.configure { dependsOn(clean) outputDirectory.set(file(dokkaOutputDir)) - documentationFileName.set("DokkaDescription.md") } diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 03e1bb944d0..35ff91e53c9 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -11,7 +11,7 @@ repositories { } dependencies { - implementation(kotlin("gradle-plugin-api", version = "1.4.0")) + implementation(kotlin("gradle-plugin-api", version = "1.5.0")) implementation(gradleApi()) implementation(localGroovy()) -} \ No newline at end of file +} diff --git a/buildSrc/src/main/kotlin/Compiler.kt b/buildSrc/src/main/kotlin/Compiler.kt index 102a1449365..237192819a2 100644 --- a/buildSrc/src/main/kotlin/Compiler.kt +++ b/buildSrc/src/main/kotlin/Compiler.kt @@ -1,5 +1,4 @@ object CompilerArguments { - const val inlineClasses = "-XXLanguage:+InlineClasses" const val coroutines = "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi" const val time = "-Xopt-in=kotlin.time.ExperimentalTime" const val stdLib = "-Xopt-in=kotlin.ExperimentalStdlibApi" diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index fb9475f42d2..f3cf34fcf38 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -1,11 +1,12 @@ object Versions { - const val kotlin = "1.4.32" - const val kotlinxSerialization = "1.1.0" - const val ktor = "1.5.2" - const val kotlinxCoroutines = "1.4.2" - const val kotlinLogging = "2.0.4" - const val atomicFu = "0.15.1" - const val binaryCompatibilityValidator = "0.4.0" + const val kotlin = "1.5.10" + const val kotlinxSerialization = "1.2.1" + const val ktor = "1.6.0" + const val kotlinxCoroutines = "1.5.0" + const val kotlinLogging = "2.0.6" + const val dateTime = "0.2.1" + const val atomicFu = "0.16.1" + const val binaryCompatibilityValidator = "0.5.0" //test deps const val kotlinTest = kotlin @@ -28,6 +29,7 @@ object Dependencies { "org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.kotlinxSerialization}" const val `kotlinx-coroutines` = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinxCoroutines}" const val `kotlinx-atomicfu` = "org.jetbrains.kotlinx:atomicfu-jvm:${Versions.atomicFu}" + const val `kotlinx-datetime` = "org.jetbrains.kotlinx:kotlinx-datetime:${Versions.dateTime}" const val `kotlin-logging` = "io.github.microutils:kotlin-logging:${Versions.kotlinLogging}" diff --git a/common/api/common.api b/common/api/common.api index b0500fd8993..7fba328e126 100644 --- a/common/api/common.api +++ b/common/api/common.api @@ -99,6 +99,7 @@ public final class dev/kord/common/entity/ActivityFlags$Companion { public final class dev/kord/common/entity/ActivityType : java/lang/Enum { public static final field ActivityTypeSerializer Ldev/kord/common/entity/ActivityType$ActivityTypeSerializer; + public static final field Competing Ldev/kord/common/entity/ActivityType; public static final field Custom Ldev/kord/common/entity/ActivityType; public static final field Game Ldev/kord/common/entity/ActivityType; public static final field Listening Ldev/kord/common/entity/ActivityType; @@ -134,11 +135,11 @@ public final class dev/kord/common/entity/AllRemovedMessageReactions { public final fun getMessageId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/AllRemovedMessageReactions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/AllRemovedMessageReactions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/AllRemovedMessageReactions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/AllRemovedMessageReactions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -196,11 +197,11 @@ public final class dev/kord/common/entity/AllowedMentions { public final fun getUsers ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/AllowedMentions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/AllowedMentions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/AllowedMentions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/AllowedMentions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -226,11 +227,11 @@ public final class dev/kord/common/entity/ApplicationCommandOption { public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; public final fun getRequired ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; - public static final fun write$Self (Ldev/kord/common/entity/ApplicationCommandOption;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/ApplicationCommandOption$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOption$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ApplicationCommandOption; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -266,6 +267,10 @@ public final class dev/kord/common/entity/ApplicationCommandOptionType$Integer : public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOptionType$Integer; } +public final class dev/kord/common/entity/ApplicationCommandOptionType$Mentionable : dev/kord/common/entity/ApplicationCommandOptionType { + public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOptionType$Mentionable; +} + public final class dev/kord/common/entity/ApplicationCommandOptionType$Role : dev/kord/common/entity/ApplicationCommandOptionType { public static final field INSTANCE Ldev/kord/common/entity/ApplicationCommandOptionType$Role; } @@ -541,11 +546,11 @@ public final class dev/kord/common/entity/AuditLogEntryOptionalInfo { public final fun getType ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/AuditLogEntryOptionalInfo;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/AuditLogEntryOptionalInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/AuditLogEntryOptionalInfo$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/AuditLogEntryOptionalInfo; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -729,11 +734,11 @@ public final class dev/kord/common/entity/BulkDeleteData { public final fun getIds ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/BulkDeleteData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/BulkDeleteData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/BulkDeleteData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/BulkDeleteData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -747,6 +752,45 @@ public final class dev/kord/common/entity/BulkDeleteData$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public abstract class dev/kord/common/entity/ButtonStyle { + public static final field Serializer Ldev/kord/common/entity/ButtonStyle$Serializer; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getValue ()I +} + +public final class dev/kord/common/entity/ButtonStyle$Danger : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Danger; +} + +public final class dev/kord/common/entity/ButtonStyle$Link : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Link; +} + +public final class dev/kord/common/entity/ButtonStyle$Primary : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Primary; +} + +public final class dev/kord/common/entity/ButtonStyle$Secondary : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Secondary; +} + +public final class dev/kord/common/entity/ButtonStyle$Serializer : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ButtonStyle; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/ButtonStyle;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/ButtonStyle$Success : dev/kord/common/entity/ButtonStyle { + public static final field INSTANCE Ldev/kord/common/entity/ButtonStyle$Success; +} + +public final class dev/kord/common/entity/ButtonStyle$Unknown : dev/kord/common/entity/ButtonStyle { + public fun (I)V +} + public abstract class dev/kord/common/entity/ChannelType { public static final field Companion Ldev/kord/common/entity/ChannelType$Companion; public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -773,6 +817,10 @@ public final class dev/kord/common/entity/ChannelType$GuildNews : dev/kord/commo public static final field INSTANCE Ldev/kord/common/entity/ChannelType$GuildNews; } +public final class dev/kord/common/entity/ChannelType$GuildStageVoice : dev/kord/common/entity/ChannelType { + public static final field INSTANCE Ldev/kord/common/entity/ChannelType$GuildStageVoice; +} + public final class dev/kord/common/entity/ChannelType$GuildStore : dev/kord/common/entity/ChannelType { public static final field INSTANCE Ldev/kord/common/entity/ChannelType$GuildStore; } @@ -813,40 +861,79 @@ public final class dev/kord/common/entity/Choice$StringChoice : dev/kord/common/ public fun getValue ()Ljava/lang/String; } -public final class dev/kord/common/entity/CommandArgument : dev/kord/common/entity/Option { +public abstract class dev/kord/common/entity/CommandArgument : dev/kord/common/entity/Option { public static final field Companion Ldev/kord/common/entity/CommandArgument$Companion; - public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ljava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;)V - public final fun component1 ()Ljava/lang/String; - public final fun component2 ()Ldev/kord/common/entity/DiscordOptionValue; - public final fun copy (Ljava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;)Ldev/kord/common/entity/CommandArgument; - public static synthetic fun copy$default (Ldev/kord/common/entity/CommandArgument;Ljava/lang/String;Ldev/kord/common/entity/DiscordOptionValue;ILjava/lang/Object;)Ldev/kord/common/entity/CommandArgument; - public fun equals (Ljava/lang/Object;)Z + public abstract fun getValue ()Ljava/lang/Object; +} + +public final class dev/kord/common/entity/CommandArgument$BooleanArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Z)V public fun getName ()Ljava/lang/String; - public final fun getValue ()Ldev/kord/common/entity/DiscordOptionValue; - public fun hashCode ()I + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ljava/lang/Boolean; + public synthetic fun getValue ()Ljava/lang/Object; public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/CommandArgument;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } -public final class dev/kord/common/entity/CommandArgument$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/kord/common/entity/CommandArgument$$serializer; - public fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/CommandArgument; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/CommandArgument;)V - public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V - public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +public final class dev/kord/common/entity/CommandArgument$ChannelArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; } public final class dev/kord/common/entity/CommandArgument$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; + public final fun serializer (Lkotlinx/serialization/KSerializer;)Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/CommandArgument$IntegerArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;I)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ljava/lang/Integer; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$MentionableArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$RoleArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$StringArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ljava/lang/String;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public synthetic fun getValue ()Ljava/lang/Object; + public fun getValue ()Ljava/lang/String; + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/CommandArgument$UserArgument : dev/kord/common/entity/CommandArgument { + public fun (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;)V + public fun getName ()Ljava/lang/String; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun getValue ()Ldev/kord/common/entity/Snowflake; + public synthetic fun getValue ()Ljava/lang/Object; + public fun toString ()Ljava/lang/String; } public final class dev/kord/common/entity/CommandGroup : dev/kord/common/entity/Option { - public static final field Companion Ldev/kord/common/entity/CommandGroup$Companion; - public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V public fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;)V public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; @@ -856,24 +943,36 @@ public final class dev/kord/common/entity/CommandGroup : dev/kord/common/entity/ public fun equals (Ljava/lang/Object;)Z public fun getName ()Ljava/lang/String; public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/CommandGroup;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } -public final class dev/kord/common/entity/CommandGroup$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/kord/common/entity/CommandGroup$$serializer; - public fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/CommandGroup; +public abstract class dev/kord/common/entity/ComponentType { + public static final field Serializer Ldev/kord/common/entity/ComponentType$Serializer; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getValue ()I +} + +public final class dev/kord/common/entity/ComponentType$ActionRow : dev/kord/common/entity/ComponentType { + public static final field INSTANCE Ldev/kord/common/entity/ComponentType$ActionRow; +} + +public final class dev/kord/common/entity/ComponentType$Button : dev/kord/common/entity/ComponentType { + public static final field INSTANCE Ldev/kord/common/entity/ComponentType$Button; +} + +public final class dev/kord/common/entity/ComponentType$Serializer : kotlinx/serialization/KSerializer { + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ComponentType; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/CommandGroup;)V + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/ComponentType;)V public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V - public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; + public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/kord/common/entity/CommandGroup$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; +public final class dev/kord/common/entity/ComponentType$Unknown : dev/kord/common/entity/ComponentType { + public fun (I)V } public abstract class dev/kord/common/entity/DefaultMessageNotificationLevel { @@ -914,11 +1013,11 @@ public final class dev/kord/common/entity/DeletedMessage { public final fun getId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DeletedMessage;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DeletedMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DeletedMessage$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DeletedMessage; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -934,15 +1033,16 @@ public final class dev/kord/common/entity/DeletedMessage$Companion { public final class dev/kord/common/entity/DiscordActivity { public static final field Companion Ldev/kord/common/entity/DiscordActivity$Companion; - public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ljava/lang/String; public final fun component10 ()Ldev/kord/common/entity/optional/Optional; public final fun component11 ()Ldev/kord/common/entity/optional/Optional; public final fun component12 ()Ldev/kord/common/entity/optional/Optional; public final fun component13 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component14 ()Ldev/kord/common/entity/optional/Optional; + public final fun component15 ()Ldev/kord/common/entity/optional/Optional; public final fun component2 ()Ldev/kord/common/entity/ActivityType; public final fun component3 ()Ldev/kord/common/entity/optional/Optional; public final fun component4 ()J @@ -951,11 +1051,12 @@ public final class dev/kord/common/entity/DiscordActivity { public final fun component7 ()Ldev/kord/common/entity/optional/Optional; public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordActivity; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordActivity;Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordActivity; + public final fun copy (Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordActivity; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordActivity;Ljava/lang/String;Ldev/kord/common/entity/ActivityType;Ldev/kord/common/entity/optional/Optional;JLdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordActivity; public fun equals (Ljava/lang/Object;)Z public final fun getApplicationId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getAssets ()Ldev/kord/common/entity/optional/Optional; + public final fun getButtons ()Ldev/kord/common/entity/optional/Optional; public final fun getCreatedAt ()J public final fun getDetails ()Ldev/kord/common/entity/optional/Optional; public final fun getEmoji ()Ldev/kord/common/entity/optional/Optional; @@ -970,11 +1071,11 @@ public final class dev/kord/common/entity/DiscordActivity { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivity;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivity$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivity; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1007,11 +1108,11 @@ public final class dev/kord/common/entity/DiscordActivityAssets { public final fun getSmallText ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityAssets;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityAssets$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityAssets$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityAssets; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1041,11 +1142,11 @@ public final class dev/kord/common/entity/DiscordActivityEmoji { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityEmoji;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityEmoji$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityEmoji; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1074,11 +1175,11 @@ public final class dev/kord/common/entity/DiscordActivityParty { public final fun getSize ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityParty;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityParty$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityParty$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityParty; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1127,11 +1228,11 @@ public final class dev/kord/common/entity/DiscordActivitySecrets { public final fun getSpectate ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivitySecrets;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivitySecrets$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivitySecrets$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivitySecrets; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1160,11 +1261,11 @@ public final class dev/kord/common/entity/DiscordActivityTimeStamps { public final fun getStart ()Ldev/kord/common/entity/optional/OptionalLong; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordActivityTimeStamps;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordActivityTimeStamps$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordActivityTimeStamps$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordActivityTimeStamps; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1206,11 +1307,11 @@ public final class dev/kord/common/entity/DiscordAddedGuildMember { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAddedGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAddedGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAddedGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAddedGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1248,11 +1349,11 @@ public final class dev/kord/common/entity/DiscordApplicationCommand { public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordApplicationCommand;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordApplicationCommand$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordApplicationCommand$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordApplicationCommand; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1266,42 +1367,6 @@ public final class dev/kord/common/entity/DiscordApplicationCommand$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/kord/common/entity/DiscordApplicationCommandInteractionData { - public static final field Companion Ldev/kord/common/entity/DiscordApplicationCommandInteractionData$Companion; - public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Ldev/kord/common/entity/Snowflake; - public final fun component2 ()Ljava/lang/String; - public final fun component3 ()Ldev/kord/common/entity/optional/Optional; - public final fun component4 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; - public fun equals (Ljava/lang/Object;)Z - public final fun getId ()Ldev/kord/common/entity/Snowflake; - public final fun getName ()Ljava/lang/String; - public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; - public final fun getResolved ()Ldev/kord/common/entity/optional/Optional; - public fun hashCode ()I - public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V -} - -public final class dev/kord/common/entity/DiscordApplicationCommandInteractionData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { - public static final field INSTANCE Ldev/kord/common/entity/DiscordApplicationCommandInteractionData$$serializer; - public fun childSerializers ()[Lkotlinx/serialization/KSerializer; - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;)V - public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V - public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; -} - -public final class dev/kord/common/entity/DiscordApplicationCommandInteractionData$Companion { - public final fun serializer ()Lkotlinx/serialization/KSerializer; -} - public final class dev/kord/common/entity/DiscordAttachment { public static final field Companion Ldev/kord/common/entity/DiscordAttachment$Companion; public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -1326,11 +1391,11 @@ public final class dev/kord/common/entity/DiscordAttachment { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAttachment;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAttachment$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAttachment$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAttachment; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1361,11 +1426,11 @@ public final class dev/kord/common/entity/DiscordAuditLog { public final fun getWebhooks ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAuditLog;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAuditLog$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAuditLog$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAuditLog; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1404,11 +1469,11 @@ public final class dev/kord/common/entity/DiscordAuditLogEntry { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAuditLogEntry;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAuditLogEntry$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAuditLogEntry$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAuditLogEntry; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1448,11 +1513,11 @@ public final class dev/kord/common/entity/DiscordAuditLogRoleChange { public final fun getPosition ()Ljava/lang/Integer; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordAuditLogRoleChange;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordAuditLogRoleChange$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordAuditLogRoleChange$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordAuditLogRoleChange; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1482,11 +1547,11 @@ public final class dev/kord/common/entity/DiscordBotActivity { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordBotActivity;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordBotActivity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordBotActivity$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordBotActivity; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1548,11 +1613,11 @@ public final class dev/kord/common/entity/DiscordChannel { public final fun getUserLimit ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordChannel;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordChannel$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordChannel; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1583,11 +1648,11 @@ public final class dev/kord/common/entity/DiscordClientStatus { public final fun getWeb ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordClientStatus;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordClientStatus$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordClientStatus$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordClientStatus; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1601,6 +1666,50 @@ public final class dev/kord/common/entity/DiscordClientStatus$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordComponent { + public static final field Companion Ldev/kord/common/entity/DiscordComponent$Companion; + public synthetic fun (ILdev/kord/common/entity/ComponentType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/ComponentType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/ComponentType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/kord/common/entity/ComponentType; + public final fun component2 ()Ldev/kord/common/entity/optional/Optional; + public final fun component3 ()Ldev/kord/common/entity/optional/Optional; + public final fun component4 ()Ldev/kord/common/entity/optional/Optional; + public final fun component5 ()Ldev/kord/common/entity/optional/Optional; + public final fun component6 ()Ldev/kord/common/entity/optional/Optional; + public final fun component7 ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun component8 ()Ldev/kord/common/entity/optional/Optional; + public final fun copy (Ldev/kord/common/entity/ComponentType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordComponent; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordComponent;Ldev/kord/common/entity/ComponentType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordComponent; + public fun equals (Ljava/lang/Object;)Z + public final fun getComponents ()Ldev/kord/common/entity/optional/Optional; + public final fun getCustomId ()Ldev/kord/common/entity/optional/Optional; + public final fun getDisabled ()Ldev/kord/common/entity/optional/OptionalBoolean; + public final fun getEmoji ()Ldev/kord/common/entity/optional/Optional; + public final fun getLabel ()Ldev/kord/common/entity/optional/Optional; + public final fun getStyle ()Ldev/kord/common/entity/optional/Optional; + public final fun getType ()Ldev/kord/common/entity/ComponentType; + public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/DiscordComponent$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordComponent$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordComponent; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordComponent;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/DiscordComponent$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordConnection { public static final field Companion Ldev/kord/common/entity/DiscordConnection$Companion; public synthetic fun (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;ZZZLdev/kord/common/entity/DiscordConnectionVisibility;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -1629,11 +1738,11 @@ public final class dev/kord/common/entity/DiscordConnection { public final fun getVisibility ()Ldev/kord/common/entity/DiscordConnectionVisibility; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordConnection;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordConnection$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordConnection$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordConnection; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1682,11 +1791,11 @@ public final class dev/kord/common/entity/DiscordDeletedGuildRole { public final fun getId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordDeletedGuildRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordDeletedGuildRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordDeletedGuildRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordDeletedGuildRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1737,11 +1846,11 @@ public final class dev/kord/common/entity/DiscordEmbed { public final fun getVideo ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1770,11 +1879,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Author { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Author;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Author$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Author$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Author; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1808,11 +1917,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Field { public final fun getValue ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Field;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Field$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Field$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Field; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1842,11 +1951,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Footer { public final fun getText ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Footer;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Footer$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Footer$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Footer; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1879,11 +1988,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Image { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Image;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Image$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Image$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Image; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1912,11 +2021,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Provider { public final fun getUrl ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Provider;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Provider$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Provider$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Provider; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1949,11 +2058,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Thumbnail { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Thumbnail;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Thumbnail$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Thumbnail$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Thumbnail; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -1984,11 +2093,11 @@ public final class dev/kord/common/entity/DiscordEmbed$Video { public final fun getWidth ()Ldev/kord/common/entity/optional/OptionalInt; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmbed$Video;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmbed$Video$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmbed$Video$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmbed$Video; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2028,11 +2137,11 @@ public final class dev/kord/common/entity/DiscordEmoji { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordEmoji;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordEmoji$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordEmoji; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2048,9 +2157,9 @@ public final class dev/kord/common/entity/DiscordEmoji$Companion { public final class dev/kord/common/entity/DiscordGuild { public static final field Companion Ldev/kord/common/entity/DiscordGuild$Companion; - public synthetic fun (IILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;IILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (IILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;IILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ljava/lang/String; public final fun component11 ()Ldev/kord/common/entity/Snowflake; @@ -2091,13 +2200,15 @@ public final class dev/kord/common/entity/DiscordGuild { public final fun component43 ()Ldev/kord/common/entity/optional/OptionalInt; public final fun component44 ()Ldev/kord/common/entity/optional/OptionalInt; public final fun component45 ()Ldev/kord/common/entity/optional/OptionalInt; + public final fun component46 ()Ldev/kord/common/entity/optional/Optional; + public final fun component47 ()Ldev/kord/common/entity/NsfwLevel; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; public final fun component6 ()Ldev/kord/common/entity/optional/Optional; public final fun component7 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component8 ()Ldev/kord/common/entity/Snowflake; public final fun component9 ()Ldev/kord/common/entity/optional/Optional; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;)Ldev/kord/common/entity/DiscordGuild; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordGuild;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;IILjava/lang/Object;)Ldev/kord/common/entity/DiscordGuild; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;)Ldev/kord/common/entity/DiscordGuild; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordGuild;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;ILdev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/VerificationLevel;Ldev/kord/common/entity/DefaultMessageNotificationLevel;Ldev/kord/common/entity/ExplicitContentFilter;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/MFALevel;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/SystemChannelFlags;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/PremiumTier;Ldev/kord/common/entity/optional/OptionalInt;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/OptionalInt;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/NsfwLevel;IILjava/lang/Object;)Ldev/kord/common/entity/DiscordGuild; public fun equals (Ljava/lang/Object;)Z public final fun getAfkChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getAfkTimeout ()I @@ -2124,6 +2235,7 @@ public final class dev/kord/common/entity/DiscordGuild { public final fun getMembers ()Ldev/kord/common/entity/optional/Optional; public final fun getMfaLevel ()Ldev/kord/common/entity/MFALevel; public final fun getName ()Ljava/lang/String; + public final fun getNsfwLevel ()Ldev/kord/common/entity/NsfwLevel; public final fun getOwner ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getOwnerId ()Ldev/kord/common/entity/Snowflake; public final fun getPermissions ()Ldev/kord/common/entity/optional/Optional; @@ -2142,15 +2254,16 @@ public final class dev/kord/common/entity/DiscordGuild { public final fun getVanityUrlCode ()Ljava/lang/String; public final fun getVerificationLevel ()Ldev/kord/common/entity/VerificationLevel; public final fun getVoiceStates ()Ldev/kord/common/entity/optional/Optional; + public final fun getWelcomeScreen ()Ldev/kord/common/entity/optional/Optional; public final fun getWidgetChannelId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getWidgetEnabled ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuild;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuild$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuild$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuild; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2179,11 +2292,11 @@ public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermissi public final fun getType ()Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission$Type; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermission$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildApplicationCommandPermission; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2245,11 +2358,11 @@ public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermissi public final fun getPermissions ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildApplicationCommandPermissions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildApplicationCommandPermissions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildApplicationCommandPermissions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildApplicationCommandPermissions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2276,11 +2389,11 @@ public final class dev/kord/common/entity/DiscordGuildBan { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildBan;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildBan$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildBan$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildBan; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2305,11 +2418,11 @@ public final class dev/kord/common/entity/DiscordGuildIntegrations { public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildIntegrations;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildIntegrations$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildIntegrations$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildIntegrations; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2349,11 +2462,11 @@ public final class dev/kord/common/entity/DiscordGuildMember { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2396,11 +2509,11 @@ public final class dev/kord/common/entity/DiscordGuildPreview { public final fun getSplash ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildPreview;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildPreview$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildPreview$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildPreview; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2427,11 +2540,11 @@ public final class dev/kord/common/entity/DiscordGuildRole { public final fun getRole ()Ldev/kord/common/entity/DiscordRole; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2458,11 +2571,11 @@ public final class dev/kord/common/entity/DiscordGuildWidget { public final fun getEnabled ()Z public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordGuildWidget;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordGuildWidget$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordGuildWidget$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordGuildWidget; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2516,11 +2629,11 @@ public final class dev/kord/common/entity/DiscordIntegration { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordIntegration;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordIntegration$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordIntegration$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordIntegration; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2547,11 +2660,11 @@ public final class dev/kord/common/entity/DiscordIntegrationAccount { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordIntegrationAccount;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordIntegrationAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordIntegrationAccount$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordIntegrationAccount; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2578,11 +2691,11 @@ public final class dev/kord/common/entity/DiscordIntegrationsAccount { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordIntegrationsAccount;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordIntegrationsAccount$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordIntegrationsAccount$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordIntegrationsAccount; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2598,39 +2711,25 @@ public final class dev/kord/common/entity/DiscordIntegrationsAccount$Companion { public final class dev/kord/common/entity/DiscordInteraction { public static final field Companion Ldev/kord/common/entity/DiscordInteraction$Companion; - public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;I)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;IILkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun component1 ()Ldev/kord/common/entity/Snowflake; - public final fun component10 ()I - public final fun component2 ()Ldev/kord/common/entity/Snowflake; - public final fun component3 ()Ldev/kord/common/entity/InteractionType; - public final fun component4 ()Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; - public final fun component5 ()Ldev/kord/common/entity/optional/OptionalSnowflake; - public final fun component6 ()Ldev/kord/common/entity/Snowflake; - public final fun component7 ()Ldev/kord/common/entity/optional/Optional; - public final fun component8 ()Ldev/kord/common/entity/optional/Optional; - public final fun component9 ()Ljava/lang/String; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;I)Ldev/kord/common/entity/DiscordInteraction; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordInteraction;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ldev/kord/common/entity/DiscordApplicationCommandInteractionData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;IILjava/lang/Object;)Ldev/kord/common/entity/DiscordInteraction; - public fun equals (Ljava/lang/Object;)Z + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/InteractionType;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/InteractionType;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ILdev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/InteractionType;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getApplicationId ()Ldev/kord/common/entity/Snowflake; public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; - public final fun getData ()Ldev/kord/common/entity/DiscordApplicationCommandInteractionData; + public final fun getData ()Ldev/kord/common/entity/InteractionCallbackData; public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; + public final fun getMessage ()Ldev/kord/common/entity/optional/Optional; public final fun getToken ()Ljava/lang/String; public final fun getType ()Ldev/kord/common/entity/InteractionType; public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public final fun getVersion ()I - public fun hashCode ()I - public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInteraction;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInteraction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInteraction$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInteraction; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2668,11 +2767,11 @@ public final class dev/kord/common/entity/DiscordInteractionGuildMember { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInteractionGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInteractionGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInteractionGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInteractionGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2712,11 +2811,11 @@ public final class dev/kord/common/entity/DiscordInvite { public final fun getTargetUserType ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInvite;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInvite$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInvite$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInvite; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2749,11 +2848,11 @@ public final class dev/kord/common/entity/DiscordInviteMetadata { public final fun getUses ()I public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordInviteMetadata;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordInviteMetadata$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordInviteMetadata$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordInviteMetadata; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2784,11 +2883,11 @@ public final class dev/kord/common/entity/DiscordMentionedChannel { public final fun getType ()Ldev/kord/common/entity/ChannelType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMentionedChannel;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMentionedChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMentionedChannel$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMentionedChannel; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2804,9 +2903,9 @@ public final class dev/kord/common/entity/DiscordMentionedChannel$Companion { public final class dev/kord/common/entity/DiscordMessage { public static final field Companion Ldev/kord/common/entity/DiscordMessage$Companion; - public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Z public final fun component11 ()Ljava/util/List; @@ -2822,10 +2921,13 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun component20 ()Ldev/kord/common/entity/MessageType; public final fun component21 ()Ldev/kord/common/entity/optional/Optional; public final fun component22 ()Ldev/kord/common/entity/optional/Optional; - public final fun component23 ()Ldev/kord/common/entity/optional/Optional; + public final fun component23 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component24 ()Ldev/kord/common/entity/optional/Optional; public final fun component25 ()Ldev/kord/common/entity/optional/Optional; public final fun component26 ()Ldev/kord/common/entity/optional/Optional; + public final fun component27 ()Ldev/kord/common/entity/optional/Optional; + public final fun component28 ()Ldev/kord/common/entity/optional/Optional; + public final fun component29 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component4 ()Ldev/kord/common/entity/DiscordUser; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; @@ -2833,20 +2935,23 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun component7 ()Ljava/lang/String; public final fun component8 ()Ljava/lang/String; public final fun component9 ()Z - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordMessage; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordMessage; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordMessage; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/DiscordUser;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLjava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ljava/util/List;Ljava/util/List;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ZLdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/MessageType;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordMessage; public fun equals (Ljava/lang/Object;)Z public final fun getActivity ()Ldev/kord/common/entity/optional/Optional; public final fun getApplication ()Ldev/kord/common/entity/optional/Optional; + public final fun getApplicationId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getAttachments ()Ljava/util/List; public final fun getAuthor ()Ldev/kord/common/entity/DiscordUser; public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; + public final fun getComponents ()Ldev/kord/common/entity/optional/Optional; public final fun getContent ()Ljava/lang/String; public final fun getEditedTimestamp ()Ljava/lang/String; public final fun getEmbeds ()Ljava/util/List; public final fun getFlags ()Ldev/kord/common/entity/optional/Optional; public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getInteraction ()Ldev/kord/common/entity/optional/Optional; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; public final fun getMentionEveryone ()Z public final fun getMentionRoles ()Ljava/util/List; @@ -2864,11 +2969,11 @@ public final class dev/kord/common/entity/DiscordMessage { public final fun getWebhookId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMessage;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMessage$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessage; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2882,6 +2987,41 @@ public final class dev/kord/common/entity/DiscordMessage$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordMessageInteraction { + public static final field Companion Ldev/kord/common/entity/DiscordMessageInteraction$Companion; + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;)V + public final fun component1 ()Ldev/kord/common/entity/Snowflake; + public final fun component2 ()Ldev/kord/common/entity/InteractionType; + public final fun component3 ()Ljava/lang/String; + public final fun component4 ()Ldev/kord/common/entity/DiscordUser; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;)Ldev/kord/common/entity/DiscordMessageInteraction; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordMessageInteraction;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/InteractionType;Ljava/lang/String;Ldev/kord/common/entity/DiscordUser;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordMessageInteraction; + public fun equals (Ljava/lang/Object;)Z + public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getName ()Ljava/lang/String; + public final fun getType ()Ldev/kord/common/entity/InteractionType; + public final fun getUser ()Ldev/kord/common/entity/DiscordUser; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/DiscordMessageInteraction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordMessageInteraction$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessageInteraction; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordMessageInteraction;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/DiscordMessageInteraction$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordMessageKt { public static final fun MessageFlags (Ljava/lang/Iterable;)Ldev/kord/common/entity/MessageFlags; public static final fun MessageFlags (Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/MessageFlags; @@ -2909,11 +3049,11 @@ public final class dev/kord/common/entity/DiscordMessageReference { public final fun getId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMessageReference;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMessageReference$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMessageReference$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessageReference; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2953,11 +3093,11 @@ public final class dev/kord/common/entity/DiscordMessageSticker { public final fun getTags ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordMessageSticker;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordMessageSticker$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordMessageSticker$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordMessageSticker; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -2979,29 +3119,6 @@ public final class dev/kord/common/entity/DiscordNull$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public abstract class dev/kord/common/entity/DiscordOptionValue { - public static final field Companion Ldev/kord/common/entity/DiscordOptionValue$Companion; - public synthetic fun (Ljava/lang/Object;Lkotlin/jvm/internal/DefaultConstructorMarker;)V - public final fun getValue ()Ljava/lang/Object; - public fun toString ()Ljava/lang/String; -} - -public final class dev/kord/common/entity/DiscordOptionValue$BooleanValue : dev/kord/common/entity/DiscordOptionValue { - public fun (Z)V -} - -public final class dev/kord/common/entity/DiscordOptionValue$Companion { - public final fun serializer (Lkotlinx/serialization/KSerializer;)Lkotlinx/serialization/KSerializer; -} - -public final class dev/kord/common/entity/DiscordOptionValue$IntValue : dev/kord/common/entity/DiscordOptionValue { - public fun (I)V -} - -public final class dev/kord/common/entity/DiscordOptionValue$StringValue : dev/kord/common/entity/DiscordOptionValue { - public fun (Ljava/lang/String;)V -} - public final class dev/kord/common/entity/DiscordOptionallyMemberUser { public static final field Companion Ldev/kord/common/entity/DiscordOptionallyMemberUser$Companion; public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -3040,11 +3157,11 @@ public final class dev/kord/common/entity/DiscordOptionallyMemberUser { public final fun getVerified ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordOptionallyMemberUser;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordOptionallyMemberUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordOptionallyMemberUser$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordOptionallyMemberUser; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3060,6 +3177,7 @@ public final class dev/kord/common/entity/DiscordOptionallyMemberUser$Companion public final class dev/kord/common/entity/DiscordPartialEmoji { public static final field Companion Ldev/kord/common/entity/DiscordPartialEmoji$Companion; + public fun ()V public synthetic fun (ILdev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;)V public synthetic fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/optional/OptionalBoolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -3074,11 +3192,11 @@ public final class dev/kord/common/entity/DiscordPartialEmoji { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialEmoji;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialEmoji$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialEmoji$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialEmoji; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3104,11 +3222,11 @@ public final class dev/kord/common/entity/DiscordPartialGuild { public final fun getOwner ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getPermissions ()Ldev/kord/common/entity/optional/Optional; public final fun getWelcomeScreen ()Ldev/kord/common/entity/optional/Optional; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialGuild;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialGuild$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialGuild$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialGuild; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3139,11 +3257,11 @@ public final class dev/kord/common/entity/DiscordPartialIntegration { public final fun getType ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialIntegration;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialIntegration$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialIntegration$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialIntegration; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3170,11 +3288,11 @@ public final class dev/kord/common/entity/DiscordPartialInvite { public final fun getUses ()I public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialInvite;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialInvite$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialInvite$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialInvite; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3190,9 +3308,9 @@ public final class dev/kord/common/entity/DiscordPartialInvite$Companion { public final class dev/kord/common/entity/DiscordPartialMessage { public static final field Companion Ldev/kord/common/entity/DiscordPartialMessage$Companion; - public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V - public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/Snowflake; public final fun component10 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component11 ()Ldev/kord/common/entity/optional/Optional; @@ -3212,6 +3330,7 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun component24 ()Ldev/kord/common/entity/optional/Optional; public final fun component25 ()Ldev/kord/common/entity/optional/Optional; public final fun component26 ()Ldev/kord/common/entity/optional/Optional; + public final fun component27 ()Ldev/kord/common/entity/optional/Optional; public final fun component3 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component4 ()Ldev/kord/common/entity/optional/Optional; public final fun component5 ()Ldev/kord/common/entity/optional/Optional; @@ -3219,8 +3338,8 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun component7 ()Ldev/kord/common/entity/optional/Optional; public final fun component8 ()Ldev/kord/common/entity/optional/Optional; public final fun component9 ()Ldev/kord/common/entity/optional/OptionalBoolean; - public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordPartialMessage; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordPartialMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordPartialMessage; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/DiscordPartialMessage; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordPartialMessage;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/OptionalBoolean;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordPartialMessage; public fun equals (Ljava/lang/Object;)Z public final fun getActivity ()Ldev/kord/common/entity/optional/Optional; public final fun getApplication ()Ldev/kord/common/entity/optional/Optional; @@ -3233,6 +3352,7 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun getFlags ()Ldev/kord/common/entity/optional/Optional; public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getInteraction ()Ldev/kord/common/entity/optional/Optional; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; public final fun getMentionEveryone ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun getMentionRoles ()Ldev/kord/common/entity/optional/Optional; @@ -3250,11 +3370,11 @@ public final class dev/kord/common/entity/DiscordPartialMessage { public final fun getWebhookId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialMessage;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialMessage$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialMessage$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialMessage; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3296,11 +3416,11 @@ public final class dev/kord/common/entity/DiscordPartialRole { public final fun getTags ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPartialRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPartialRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPartialRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPartialRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3330,11 +3450,11 @@ public final class dev/kord/common/entity/DiscordPinsUpdateData { public final fun getLastPinTimestamp ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPinsUpdateData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPinsUpdateData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPinsUpdateData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPinsUpdateData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3368,11 +3488,11 @@ public final class dev/kord/common/entity/DiscordPresenceUpdate { public final fun getUser ()Ldev/kord/common/entity/DiscordPresenceUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordPresenceUpdate;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordPresenceUpdate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordPresenceUpdate$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordPresenceUpdate; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3417,11 +3537,11 @@ public final class dev/kord/common/entity/DiscordRemovedGuildMember { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordRemovedGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordRemovedGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordRemovedGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordRemovedGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3463,11 +3583,11 @@ public final class dev/kord/common/entity/DiscordRole { public final fun getTags ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordRole;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordRole$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordRole$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordRole; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3498,11 +3618,11 @@ public final class dev/kord/common/entity/DiscordRoleTags { public final fun getPremiumSubscriber ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordRoleTags;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordRoleTags$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordRoleTags$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordRoleTags; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3539,6 +3659,41 @@ public final class dev/kord/common/entity/DiscordShard$Companion : kotlinx/seria public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/DiscordStageInstance { + public static final field Companion Ldev/kord/common/entity/DiscordStageInstance$Companion; + public synthetic fun (ILdev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;)V + public final fun component1 ()Ldev/kord/common/entity/Snowflake; + public final fun component2 ()Ldev/kord/common/entity/Snowflake; + public final fun component3 ()Ldev/kord/common/entity/Snowflake; + public final fun component4 ()Ljava/lang/String; + public final fun copy (Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;)Ldev/kord/common/entity/DiscordStageInstance; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordStageInstance;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordStageInstance; + public fun equals (Ljava/lang/Object;)Z + public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; + public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; + public final fun getId ()Ldev/kord/common/entity/Snowflake; + public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/DiscordStageInstance$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/DiscordStageInstance$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordStageInstance; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/DiscordStageInstance;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/DiscordStageInstance$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class dev/kord/common/entity/DiscordTeam { public static final field Companion Ldev/kord/common/entity/DiscordTeam$Companion; public synthetic fun (ILjava/lang/String;Ldev/kord/common/entity/Snowflake;Ljava/util/List;Ldev/kord/common/entity/Snowflake;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V @@ -3556,11 +3711,11 @@ public final class dev/kord/common/entity/DiscordTeam { public final fun getOwnerUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTeam;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTeam$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTeam$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTeam; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3582,11 +3737,11 @@ public final class dev/kord/common/entity/DiscordTeamMember { public final fun getPermissions ()Ljava/util/List; public final fun getTeamId ()Ldev/kord/common/entity/Snowflake; public final fun getUser ()Ldev/kord/common/entity/DiscordUser; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTeamMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTeamMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTeamMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTeamMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3631,11 +3786,11 @@ public final class dev/kord/common/entity/DiscordTemplate { public fun hashCode ()I public final fun isDirty ()Ljava/lang/Boolean; public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTemplate;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTemplate$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTemplate$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTemplate; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3669,11 +3824,11 @@ public final class dev/kord/common/entity/DiscordTyping { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordTyping;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordTyping$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordTyping$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordTyping; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3701,11 +3856,11 @@ public final class dev/kord/common/entity/DiscordUnavailableGuild { public final fun getUnavailable ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUnavailableGuild;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUnavailableGuild$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUnavailableGuild$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUnavailableGuild; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3732,11 +3887,11 @@ public final class dev/kord/common/entity/DiscordUpdatedEmojis { public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUpdatedEmojis;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUpdatedEmojis$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUpdatedEmojis$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUpdatedEmojis; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3774,11 +3929,11 @@ public final class dev/kord/common/entity/DiscordUpdatedGuildMember { public final fun getUser ()Ldev/kord/common/entity/DiscordUser; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUpdatedGuildMember;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUpdatedGuildMember$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUpdatedGuildMember$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUpdatedGuildMember; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3828,11 +3983,11 @@ public final class dev/kord/common/entity/DiscordUser { public final fun getVerified ()Ldev/kord/common/entity/optional/OptionalBoolean; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordUser;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordUser$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordUser$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordUser; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3871,11 +4026,11 @@ public final class dev/kord/common/entity/DiscordVoiceRegion { public final fun getVip ()Z public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordVoiceRegion;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordVoiceRegion$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordVoiceRegion$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordVoiceRegion; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3904,11 +4059,11 @@ public final class dev/kord/common/entity/DiscordVoiceServerUpdateData { public final fun getToken ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordVoiceServerUpdateData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordVoiceServerUpdateData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordVoiceServerUpdateData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordVoiceServerUpdateData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -3924,13 +4079,14 @@ public final class dev/kord/common/entity/DiscordVoiceServerUpdateData$Companion public final class dev/kord/common/entity/DiscordVoiceState { public static final field Companion Ldev/kord/common/entity/DiscordVoiceState$Companion; - public synthetic fun (ILdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLkotlinx/serialization/internal/SerializationConstructorMarker;)V - public fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;Z)V - public synthetic fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (ILdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;)V + public synthetic fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun component1 ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun component10 ()Z public final fun component11 ()Ldev/kord/common/entity/optional/OptionalBoolean; public final fun component12 ()Z + public final fun component13 ()Ljava/lang/String; public final fun component2 ()Ldev/kord/common/entity/Snowflake; public final fun component3 ()Ldev/kord/common/entity/Snowflake; public final fun component4 ()Ldev/kord/common/entity/optional/Optional; @@ -3939,14 +4095,15 @@ public final class dev/kord/common/entity/DiscordVoiceState { public final fun component7 ()Z public final fun component8 ()Z public final fun component9 ()Z - public final fun copy (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;Z)Ldev/kord/common/entity/DiscordVoiceState; - public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordVoiceState;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZILjava/lang/Object;)Ldev/kord/common/entity/DiscordVoiceState; + public final fun copy (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;)Ldev/kord/common/entity/DiscordVoiceState; + public static synthetic fun copy$default (Ldev/kord/common/entity/DiscordVoiceState;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/Snowflake;Ldev/kord/common/entity/optional/Optional;Ljava/lang/String;ZZZZZLdev/kord/common/entity/optional/OptionalBoolean;ZLjava/lang/String;ILjava/lang/Object;)Ldev/kord/common/entity/DiscordVoiceState; public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getDeaf ()Z public final fun getGuildId ()Ldev/kord/common/entity/optional/OptionalSnowflake; public final fun getMember ()Ldev/kord/common/entity/optional/Optional; public final fun getMute ()Z + public final fun getRequestToSpeakTimestamp ()Ljava/lang/String; public final fun getSelfDeaf ()Z public final fun getSelfMute ()Z public final fun getSelfStream ()Ldev/kord/common/entity/optional/OptionalBoolean; @@ -3956,11 +4113,11 @@ public final class dev/kord/common/entity/DiscordVoiceState { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordVoiceState;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordVoiceState$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordVoiceState$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordVoiceState; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4002,11 +4159,11 @@ public final class dev/kord/common/entity/DiscordWebhook { public final fun getUser ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWebhook;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWebhook$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWebhook$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWebhook; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4033,11 +4190,11 @@ public final class dev/kord/common/entity/DiscordWebhooksUpdateData { public final fun getGuildId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWebhooksUpdateData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWebhooksUpdateData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWebhooksUpdateData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWebhooksUpdateData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4064,11 +4221,11 @@ public final class dev/kord/common/entity/DiscordWelcomeScreen { public final fun getWelcomeChannels ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWelcomeScreen;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWelcomeScreen$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWelcomeScreen$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWelcomeScreen; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4099,11 +4256,11 @@ public final class dev/kord/common/entity/DiscordWelcomeScreenChannel { public final fun getEmojiName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/DiscordWelcomeScreenChannel;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/DiscordWelcomeScreenChannel$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/DiscordWelcomeScreenChannel$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/DiscordWelcomeScreenChannel; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4269,11 +4426,11 @@ public final class dev/kord/common/entity/IntegrationApplication { public final fun getSummary ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/IntegrationApplication;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/IntegrationApplication$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/IntegrationApplication$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/IntegrationApplication; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4314,6 +4471,47 @@ public final class dev/kord/common/entity/IntegrationExpireBehavior$Unknown : de public fun (I)V } +public final class dev/kord/common/entity/InteractionCallbackData { + public static final field Companion Ldev/kord/common/entity/InteractionCallbackData$Companion; + public fun ()V + public synthetic fun (ILdev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V + public fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)V + public synthetic fun (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun component1 ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun component2 ()Ldev/kord/common/entity/optional/Optional; + public final fun component3 ()Ldev/kord/common/entity/optional/Optional; + public final fun component4 ()Ldev/kord/common/entity/optional/Optional; + public final fun component5 ()Ldev/kord/common/entity/optional/Optional; + public final fun component6 ()Ldev/kord/common/entity/optional/Optional; + public final fun copy (Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;)Ldev/kord/common/entity/InteractionCallbackData; + public static synthetic fun copy$default (Ldev/kord/common/entity/InteractionCallbackData;Ldev/kord/common/entity/optional/OptionalSnowflake;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)Ldev/kord/common/entity/InteractionCallbackData; + public fun equals (Ljava/lang/Object;)Z + public final fun getComponentType ()Ldev/kord/common/entity/optional/Optional; + public final fun getCustomId ()Ldev/kord/common/entity/optional/Optional; + public final fun getId ()Ldev/kord/common/entity/optional/OptionalSnowflake; + public final fun getName ()Ldev/kord/common/entity/optional/Optional; + public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; + public final fun getResolved ()Ldev/kord/common/entity/optional/Optional; + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public final class dev/kord/common/entity/InteractionCallbackData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Ldev/kord/common/entity/InteractionCallbackData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/InteractionCallbackData; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/InteractionCallbackData;)V + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/InteractionCallbackData$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public abstract class dev/kord/common/entity/InteractionResponseType { public static final field Companion Ldev/kord/common/entity/InteractionResponseType$Companion; public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -4332,6 +4530,10 @@ public final class dev/kord/common/entity/InteractionResponseType$DeferredChanne public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$DeferredChannelMessageWithSource; } +public final class dev/kord/common/entity/InteractionResponseType$DeferredUpdateMessage : dev/kord/common/entity/InteractionResponseType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$DeferredUpdateMessage; +} + public final class dev/kord/common/entity/InteractionResponseType$Pong : dev/kord/common/entity/InteractionResponseType { public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$Pong; } @@ -4340,6 +4542,10 @@ public final class dev/kord/common/entity/InteractionResponseType$Unknown : dev/ public fun (I)V } +public final class dev/kord/common/entity/InteractionResponseType$UpdateMessage : dev/kord/common/entity/InteractionResponseType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionResponseType$UpdateMessage; +} + public abstract class dev/kord/common/entity/InteractionType { public static final field Companion Ldev/kord/common/entity/InteractionType$Companion; public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -4355,6 +4561,10 @@ public final class dev/kord/common/entity/InteractionType$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } +public final class dev/kord/common/entity/InteractionType$Component : dev/kord/common/entity/InteractionType { + public static final field INSTANCE Ldev/kord/common/entity/InteractionType$Component; +} + public final class dev/kord/common/entity/InteractionType$Ping : dev/kord/common/entity/InteractionType { public static final field INSTANCE Ldev/kord/common/entity/InteractionType$Ping; } @@ -4364,12 +4574,11 @@ public final class dev/kord/common/entity/InteractionType$Unknown : dev/kord/com } public final class dev/kord/common/entity/InteractionsKt { - public static final fun DiscordOptionValue (Lkotlinx/serialization/json/JsonPrimitive;)Ldev/kord/common/entity/DiscordOptionValue; - public static final fun boolean (Ldev/kord/common/entity/DiscordOptionValue;)Z + public static final fun boolean (Ldev/kord/common/entity/CommandArgument;)Z public static final fun getKordLogger ()Lmu/KLogger; - public static final fun int (Ldev/kord/common/entity/DiscordOptionValue;)I - public static final fun snowflake (Ldev/kord/common/entity/DiscordOptionValue;)Ldev/kord/common/entity/Snowflake; - public static final fun string (Ldev/kord/common/entity/DiscordOptionValue;)Ljava/lang/String; + public static final fun int (Ldev/kord/common/entity/CommandArgument;)I + public static final fun snowflake (Ldev/kord/common/entity/CommandArgument;)Ldev/kord/common/entity/Snowflake; + public static final fun string (Ldev/kord/common/entity/CommandArgument;)Ljava/lang/String; } public abstract class dev/kord/common/entity/MFALevel { @@ -4408,11 +4617,11 @@ public final class dev/kord/common/entity/MessageActivity { public final fun getType ()Ldev/kord/common/entity/MessageActivityType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageActivity;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageActivity$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageActivity$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageActivity; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4476,11 +4685,11 @@ public final class dev/kord/common/entity/MessageApplication { public final fun getName ()Ljava/lang/String; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageApplication;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageApplication$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageApplication$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageApplication; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4557,11 +4766,11 @@ public final class dev/kord/common/entity/MessageReactionAddData { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageReactionAddData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageReactionAddData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageReactionAddData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageReactionAddData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4595,11 +4804,11 @@ public final class dev/kord/common/entity/MessageReactionRemoveData { public final fun getUserId ()Ldev/kord/common/entity/Snowflake; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/MessageReactionRemoveData;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/MessageReactionRemoveData$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/MessageReactionRemoveData$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageReactionRemoveData; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4640,36 +4849,107 @@ public final class dev/kord/common/entity/MessageStickerType$Unknown : dev/kord/ public fun (I)V } -public final class dev/kord/common/entity/MessageType : java/lang/Enum { - public static final field Call Ldev/kord/common/entity/MessageType; - public static final field ChannelFollowAdd Ldev/kord/common/entity/MessageType; - public static final field ChannelIconChange Ldev/kord/common/entity/MessageType; - public static final field ChannelNameChange Ldev/kord/common/entity/MessageType; - public static final field ChannelPinnedMessage Ldev/kord/common/entity/MessageType; - public static final field Default Ldev/kord/common/entity/MessageType; - public static final field GuildDiscoveryDisqualified Ldev/kord/common/entity/MessageType; - public static final field GuildDiscoveryRequalified Ldev/kord/common/entity/MessageType; - public static final field GuildMemberJoin Ldev/kord/common/entity/MessageType; - public static final field MessageTypeSerializer Ldev/kord/common/entity/MessageType$MessageTypeSerializer; - public static final field RecipientAdd Ldev/kord/common/entity/MessageType; - public static final field RecipientRemove Ldev/kord/common/entity/MessageType; - public static final field Reply Ldev/kord/common/entity/MessageType; - public static final field Unknown Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscription Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscriptionThree Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscriptionTierOne Ldev/kord/common/entity/MessageType; - public static final field UserPremiumGuildSubscriptionTwo Ldev/kord/common/entity/MessageType; +public abstract class dev/kord/common/entity/MessageType { + public static final field Companion Ldev/kord/common/entity/MessageType$Companion; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getCode ()I - public static fun valueOf (Ljava/lang/String;)Ldev/kord/common/entity/MessageType; - public static fun values ()[Ldev/kord/common/entity/MessageType; } -public final class dev/kord/common/entity/MessageType$MessageTypeSerializer : kotlinx/serialization/KSerializer { - public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/MessageType; - public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; - public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; - public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/kord/common/entity/MessageType;)V - public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V +public final class dev/kord/common/entity/MessageType$ApplicationCommand : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ApplicationCommand; +} + +public final class dev/kord/common/entity/MessageType$Call : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$Call; +} + +public final class dev/kord/common/entity/MessageType$ChannelFollowAdd : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelFollowAdd; +} + +public final class dev/kord/common/entity/MessageType$ChannelIconChange : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelIconChange; +} + +public final class dev/kord/common/entity/MessageType$ChannelNameChange : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelNameChange; +} + +public final class dev/kord/common/entity/MessageType$ChannelPinnedMessage : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ChannelPinnedMessage; +} + +public final class dev/kord/common/entity/MessageType$Companion { + public final fun getValues ()Ljava/util/Set; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/MessageType$Default : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$Default; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryDisqualified : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryDisqualified; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodFinalWarning : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodFinalWarning; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodInitialWarning : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryGracePeriodInitialWarning; +} + +public final class dev/kord/common/entity/MessageType$GuildDiscoveryRequalified : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildDiscoveryRequalified; +} + +public final class dev/kord/common/entity/MessageType$GuildInviteReminder : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildInviteReminder; +} + +public final class dev/kord/common/entity/MessageType$GuildMemberJoin : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$GuildMemberJoin; +} + +public final class dev/kord/common/entity/MessageType$RecipientAdd : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$RecipientAdd; +} + +public final class dev/kord/common/entity/MessageType$RecipientRemove : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$RecipientRemove; +} + +public final class dev/kord/common/entity/MessageType$Reply : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$Reply; +} + +public final class dev/kord/common/entity/MessageType$ThreadCreated : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ThreadCreated; +} + +public final class dev/kord/common/entity/MessageType$ThreadStarterMessage : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$ThreadStarterMessage; +} + +public final class dev/kord/common/entity/MessageType$Unknown : dev/kord/common/entity/MessageType { + public fun (I)V +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscription : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscription; +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionThree : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionThree; +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTierOne : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTierOne; +} + +public final class dev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTwo : dev/kord/common/entity/MessageType { + public static final field INSTANCE Ldev/kord/common/entity/MessageType$UserPremiumGuildSubscriptionTwo; } public final class dev/kord/common/entity/NotSerializable : kotlinx/serialization/KSerializer { @@ -4681,9 +4961,40 @@ public final class dev/kord/common/entity/NotSerializable : kotlinx/serializatio public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V } +public abstract class dev/kord/common/entity/NsfwLevel { + public static final field Companion Ldev/kord/common/entity/NsfwLevel$Companion; + public synthetic fun (ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public final fun getValue ()I +} + +public final class dev/kord/common/entity/NsfwLevel$AgeRestricted : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$AgeRestricted; +} + +public final class dev/kord/common/entity/NsfwLevel$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class dev/kord/common/entity/NsfwLevel$Default : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$Default; +} + +public final class dev/kord/common/entity/NsfwLevel$Explicit : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$Explicit; +} + +public final class dev/kord/common/entity/NsfwLevel$Safe : dev/kord/common/entity/NsfwLevel { + public static final field INSTANCE Ldev/kord/common/entity/NsfwLevel$Safe; +} + +public final class dev/kord/common/entity/NsfwLevel$Unknown : dev/kord/common/entity/NsfwLevel { + public fun (I)V +} + public abstract class dev/kord/common/entity/Option { public static final field Companion Ldev/kord/common/entity/Option$Companion; public abstract fun getName ()Ljava/lang/String; + public abstract fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; } public final class dev/kord/common/entity/Option$Companion { @@ -4707,11 +5018,11 @@ public final class dev/kord/common/entity/Overwrite { public final fun getType ()Ldev/kord/common/entity/OverwriteType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/Overwrite;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/Overwrite$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/Overwrite$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/Overwrite; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4760,11 +5071,11 @@ public final class dev/kord/common/entity/PartialDiscordGuildApplicationCommandP public final fun getPermissions ()Ljava/util/List; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/PartialDiscordGuildApplicationCommandPermissions; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -4780,6 +5091,7 @@ public final class dev/kord/common/entity/PartialDiscordGuildApplicationCommandP public abstract class dev/kord/common/entity/Permission { public static final field Companion Ldev/kord/common/entity/Permission$Companion; + public synthetic fun (Ldev/kord/common/DiscordBitSet;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun ([JLkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getCode ()Ldev/kord/common/DiscordBitSet; } @@ -4880,6 +5192,10 @@ public final class dev/kord/common/entity/Permission$ReadMessageHistory : dev/ko public static final field INSTANCE Ldev/kord/common/entity/Permission$ReadMessageHistory; } +public final class dev/kord/common/entity/Permission$RequestToSpeak : dev/kord/common/entity/Permission { + public static final field INSTANCE Ldev/kord/common/entity/Permission$RequestToSpeak; +} + public final class dev/kord/common/entity/Permission$SendMessages : dev/kord/common/entity/Permission { public static final field INSTANCE Ldev/kord/common/entity/Permission$SendMessages; } @@ -4892,6 +5208,10 @@ public final class dev/kord/common/entity/Permission$Speak : dev/kord/common/ent public static final field INSTANCE Ldev/kord/common/entity/Permission$Speak; } +public final class dev/kord/common/entity/Permission$Stream : dev/kord/common/entity/Permission { + public static final field INSTANCE Ldev/kord/common/entity/Permission$Stream; +} + public final class dev/kord/common/entity/Permission$UseExternalEmojis : dev/kord/common/entity/Permission { public static final field INSTANCE Ldev/kord/common/entity/Permission$UseExternalEmojis; } @@ -5043,11 +5363,11 @@ public final class dev/kord/common/entity/Reaction { public final fun getMe ()Z public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/Reaction;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/Reaction$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/Reaction$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/Reaction; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5080,11 +5400,11 @@ public final class dev/kord/common/entity/ResolvedObjects { public final fun getUsers ()Ldev/kord/common/entity/optional/Optional; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/ResolvedObjects;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/ResolvedObjects$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/ResolvedObjects$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/ResolvedObjects; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5102,20 +5422,20 @@ public final class dev/kord/common/entity/Snowflake : java/lang/Comparable { public static final field Companion Ldev/kord/common/entity/Snowflake$Companion; public fun (J)V public fun (Ljava/lang/String;)V - public fun (Ljava/time/Instant;)V + public fun (Lkotlinx/datetime/Instant;)V public fun compareTo (Ldev/kord/common/entity/Snowflake;)I public synthetic fun compareTo (Ljava/lang/Object;)I public fun equals (Ljava/lang/Object;)Z public final fun getAsString ()Ljava/lang/String; public final fun getTimeMark ()Lkotlin/time/TimeMark; - public final fun getTimeStamp ()Ljava/time/Instant; + public final fun getTimeStamp ()Lkotlinx/datetime/Instant; public final fun getValue ()J public fun hashCode ()I public fun toString ()Ljava/lang/String; } public final class dev/kord/common/entity/Snowflake$Companion { - public final fun getDiscordEpochStart ()Ljava/time/Instant; + public final fun getDiscordEpochStart ()Lkotlinx/datetime/Instant; public final fun getMax ()Ldev/kord/common/entity/Snowflake; public final fun getMin ()Ldev/kord/common/entity/Snowflake; public final fun serializer ()Lkotlinx/serialization/KSerializer; @@ -5133,13 +5453,14 @@ public final class dev/kord/common/entity/SubCommand : dev/kord/common/entity/Op public fun equals (Ljava/lang/Object;)Z public fun getName ()Ljava/lang/String; public final fun getOptions ()Ldev/kord/common/entity/optional/Optional; + public fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; public fun hashCode ()I public fun toString ()Ljava/lang/String; - public static final fun write$Self (Ldev/kord/common/entity/SubCommand;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V } public final class dev/kord/common/entity/SubCommand$$serializer : kotlinx/serialization/internal/GeneratedSerializer { public static final field INSTANCE Ldev/kord/common/entity/SubCommand$$serializer; + public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor; public fun childSerializers ()[Lkotlinx/serialization/KSerializer; public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/kord/common/entity/SubCommand; public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; @@ -5479,6 +5800,7 @@ public final class dev/kord/common/entity/optional/OptionalKt { public static final fun filterList (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun first (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; public static final fun firstOrNull (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; + public static final fun flatMap (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun map (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun mapList (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; public static final fun mapNotNull (Ldev/kord/common/entity/optional/Optional;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/optional/Optional; @@ -5594,8 +5916,8 @@ public abstract class dev/kord/common/exception/RequestException : java/lang/Exc } public final class dev/kord/common/ratelimit/BucketRateLimiter : dev/kord/common/ratelimit/RateLimiter { - public synthetic fun (IDLjava/time/Clock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V - public synthetic fun (IDLjava/time/Clock;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (IJLkotlinx/datetime/Clock;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (IJLkotlinx/datetime/Clock;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun consume (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 93413505262..88f16fa192b 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -13,11 +13,14 @@ configurations { } } +dependencies { + api(Dependencies.`kotlinx-datetime`) +} + tasks.withType { kotlinOptions { jvmTarget = Jvm.target freeCompilerArgs = listOf( - CompilerArguments.inlineClasses, CompilerArguments.coroutines, CompilerArguments.time, CompilerArguments.optIn diff --git a/common/src/main/kotlin/DiscordBitSet.kt b/common/src/main/kotlin/DiscordBitSet.kt index 64b9ae9f885..1cdcf1028af 100644 --- a/common/src/main/kotlin/DiscordBitSet.kt +++ b/common/src/main/kotlin/DiscordBitSet.kt @@ -70,7 +70,7 @@ class DiscordBitSet(internal var data: LongArray) { } operator fun plus(another: DiscordBitSet): DiscordBitSet { - val dist = LongArray(size) + val dist = LongArray(data.size) data.copyInto(dist) val copy = DiscordBitSet(dist) copy.add(another) @@ -78,7 +78,7 @@ class DiscordBitSet(internal var data: LongArray) { } operator fun minus(another: DiscordBitSet): DiscordBitSet { - val dist = LongArray(size) + val dist = LongArray(data.size) data.copyInto(dist) val copy = DiscordBitSet(dist) copy.remove(another) diff --git a/common/src/main/kotlin/entity/DiscordActivity.kt b/common/src/main/kotlin/entity/DiscordActivity.kt index ea3fdecd3c6..20de507c4fd 100644 --- a/common/src/main/kotlin/entity/DiscordActivity.kt +++ b/common/src/main/kotlin/entity/DiscordActivity.kt @@ -35,7 +35,8 @@ data class DiscordActivity( val assets: Optional = Optional.Missing(), val secrets: Optional = Optional.Missing(), val instance: OptionalBoolean = OptionalBoolean.Missing, - val flags: Optional = Optional.Missing() + val flags: Optional = Optional.Missing(), + val buttons: Optional> = Optional.Missing() ) enum class ActivityFlag(val value: Int) { @@ -136,7 +137,8 @@ enum class ActivityType(val code: Int) { Streaming(1), Listening(2), Watching(3), - Custom(4); + Custom(4), + Competing(5); companion object ActivityTypeSerializer : KSerializer { override val descriptor: SerialDescriptor diff --git a/common/src/main/kotlin/entity/DiscordChannel.kt b/common/src/main/kotlin/entity/DiscordChannel.kt index 3d96a0c5e8c..5fb9f3f522d 100644 --- a/common/src/main/kotlin/entity/DiscordChannel.kt +++ b/common/src/main/kotlin/entity/DiscordChannel.kt @@ -94,6 +94,8 @@ sealed class ChannelType(val value: Int) { /** A channel in which game developers can sell their game on Discord. */ object GuildStore : ChannelType(6) + object GuildStageVoice : ChannelType(13) + companion object; internal object Serializer : KSerializer { @@ -108,6 +110,7 @@ sealed class ChannelType(val value: Int) { 4 -> GuildCategory 5 -> GuildNews 6 -> GuildStore + 13 -> GuildStageVoice else -> Unknown(code) } diff --git a/common/src/main/kotlin/entity/DiscordComponent.kt b/common/src/main/kotlin/entity/DiscordComponent.kt new file mode 100644 index 00000000000..85f452d274c --- /dev/null +++ b/common/src/main/kotlin/entity/DiscordComponent.kt @@ -0,0 +1,140 @@ +package dev.kord.common.entity + +import dev.kord.common.annotation.KordPreview +import dev.kord.common.entity.optional.Optional +import dev.kord.common.entity.optional.OptionalBoolean +import kotlinx.serialization.KSerializer +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable +import kotlinx.serialization.descriptors.PrimitiveKind +import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor +import kotlinx.serialization.descriptors.SerialDescriptor +import kotlinx.serialization.encoding.Decoder +import kotlinx.serialization.encoding.Encoder + +/** + * Represent a [intractable component within a message sent in Discord](https://discord.com/developers/docs/interactions/message-components#what-are-components). + * + * @property type the [ComponentType] of the component + * @property style the [ButtonStyle] of the component (if it is a button) + * @property style the text that appears on the button (if the component is a button) + * @property emoji an [DiscordPartialEmoji] that appears on the button (if the component is a button) + * @property customId a developer-defined identifier for the button, max 100 characters + * @property url a url for link-style buttons + * @property disabled whether the button is disabled, default `false` + * @property components a list of child components (for action rows) + */ +@KordPreview +@Serializable +data class DiscordComponent( + val type: ComponentType, + val style: Optional = Optional.Missing(), + val label: Optional = Optional.Missing(), + val emoji: Optional = Optional.Missing(), + @SerialName("custom_id") + val customId: Optional = Optional.Missing(), + val url: Optional = Optional.Missing(), + val disabled: OptionalBoolean = OptionalBoolean.Missing, + val components: Optional> = Optional.Missing() +) + +/** + * Representation of different [DiscordComponent] types. + * + * @property value the raw type value used by the Discord API + */ +@KordPreview +@Serializable(with = ComponentType.Serializer::class) +sealed class ComponentType(val value: Int) { + + /** + * Fallback type used for types that haven't been added to Kord yet. + */ + class Unknown(value: Int) : ComponentType(value) + + /** + * A container for other components. + */ + object ActionRow : ComponentType(1) + + /** + * A clickable button. + */ + object Button : ComponentType(2) + + companion object Serializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("ComponentType", PrimitiveKind.INT) + + override fun deserialize(decoder: Decoder): ComponentType = + when (val value = decoder.decodeInt()) { + 1 -> ActionRow + 2 -> Button + else -> Unknown(value) + } + + override fun serialize(encoder: Encoder, value: ComponentType) = encoder.encodeInt(value.value) + } +} + +/** + * Representation of different ButtonStyles. + * + * A cheat sheet on how the styles look like can be found [here](https://discord.com/assets/7bb017ce52cfd6575e21c058feb3883b.png) + * + * @see ComponentType.Button + */ +@KordPreview +@Serializable(with = ButtonStyle.Serializer::class) +sealed class ButtonStyle(val value: Int) { + + /** + * A fallback style used for styles that haven't been added to Kord yet. + */ + class Unknown(value: Int) : ButtonStyle(value) + + /** + * Blurple. + * Requires: [DiscordComponent.customId] + */ + object Primary : ButtonStyle(1) + + /** + * Grey. + * Requires: [DiscordComponent.customId] + */ + object Secondary : ButtonStyle(2) + + /** + * Green + * Requires: [DiscordComponent.customId] + */ + object Success : ButtonStyle(3) + + /** + * Red. + * Requires: [DiscordComponent.customId] + */ + object Danger : ButtonStyle(4) + + /** + * Grey, navigates to an URL. + * Requires: [DiscordComponent.url] + */ + object Link : ButtonStyle(5) + + companion object Serializer : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("ButtonStyle", PrimitiveKind.INT) + + override fun deserialize(decoder: Decoder): ButtonStyle = + when (val value = decoder.decodeInt()) { + 1 -> Primary + 2 -> Secondary + 3 -> Success + 4 -> Danger + 5 -> Link + else -> Unknown(value) + } + + override fun serialize(encoder: Encoder, value: ButtonStyle) = encoder.encodeInt(value.value) + } +} diff --git a/common/src/main/kotlin/entity/DiscordEmoji.kt b/common/src/main/kotlin/entity/DiscordEmoji.kt index d096c5b966f..d008388215a 100644 --- a/common/src/main/kotlin/entity/DiscordEmoji.kt +++ b/common/src/main/kotlin/entity/DiscordEmoji.kt @@ -47,7 +47,7 @@ data class DiscordUpdatedEmojis( */ @Serializable data class DiscordPartialEmoji( - val id: Snowflake?, - val name: String?, + val id: Snowflake? = null, + val name: String? = null, val animated: OptionalBoolean = OptionalBoolean.Missing, ) \ No newline at end of file diff --git a/common/src/main/kotlin/entity/DiscordGuild.kt b/common/src/main/kotlin/entity/DiscordGuild.kt index 7893fdfba28..2b77282e92d 100644 --- a/common/src/main/kotlin/entity/DiscordGuild.kt +++ b/common/src/main/kotlin/entity/DiscordGuild.kt @@ -74,6 +74,7 @@ data class DiscordUnavailableGuild( * @param approximateMemberCount The approximate number of members in this guild, returned from the `GET /guild/` endpoint when `with_counts` is `true`. * @param approximatePresenceCount The approximate number of non-offline members in this guild, returned from the `GET /guild/` endpoint when `with_counts` is `true`. * @param welcomeScreen The welcome screen of a Community guild, shown to new members. + * @param nsfwLevel Guild NSFW level. */ @Serializable data class DiscordGuild( @@ -150,7 +151,10 @@ data class DiscordGuild( val approximateMemberCount: OptionalInt = OptionalInt.Missing, @SerialName("approximate_presence_count") val approximatePresenceCount: OptionalInt = OptionalInt.Missing, - + @SerialName("welcome_screen") + val welcomeScreen: Optional = Optional.Missing(), + @SerialName("nsfw_level") + val nsfwLevel: NsfwLevel ) /** @@ -372,6 +376,8 @@ data class DiscordVoiceState( @SerialName("self_stream") val selfStream: OptionalBoolean = OptionalBoolean.Missing, val suppress: Boolean, + @SerialName("request_to_speak_timestamp") + val requestToSpeakTimestamp: String? ) /** @@ -496,6 +502,40 @@ sealed class MFALevel(val value: Int) { } } } +/** + * A representation of a [Discord Guild NSFW Level](https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level). + */ +@Serializable(with = NsfwLevel.Serializer::class) +sealed class NsfwLevel(val value: Int) { + class Unknown(value: Int) : NsfwLevel(value) + + object Default : NsfwLevel(0) + + object Explicit : NsfwLevel(1) + + object Safe : NsfwLevel(2) + + object AgeRestricted : NsfwLevel(3) + + internal object Serializer : KSerializer { + + override val descriptor: SerialDescriptor + get() = PrimitiveSerialDescriptor("Kord.GuildNsfwLevel", PrimitiveKind.INT) + + override fun deserialize(decoder: Decoder): NsfwLevel = when (val value = decoder.decodeInt()) { + 0 -> Default + 1 -> Explicit + 2 -> Safe + 3 -> AgeRestricted + else -> Unknown(value) + } + + override fun serialize(encoder: Encoder, value: NsfwLevel) { + encoder.encodeInt(value.value) + } + + } +} /** @@ -557,4 +597,4 @@ data class DiscordWelcomeScreen( val description: String?, @SerialName("welcome_channels") val welcomeChannels: List -) \ No newline at end of file +) diff --git a/common/src/main/kotlin/entity/DiscordMessage.kt b/common/src/main/kotlin/entity/DiscordMessage.kt index a802889e7c8..dfaca152950 100644 --- a/common/src/main/kotlin/entity/DiscordMessage.kt +++ b/common/src/main/kotlin/entity/DiscordMessage.kt @@ -1,5 +1,6 @@ package dev.kord.common.entity +import dev.kord.common.annotation.KordPreview import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalBoolean import dev.kord.common.entity.optional.OptionalInt @@ -61,6 +62,8 @@ import kotlin.contracts.contract * @param flags Message flags. * @param stickers The stickers sent with the message (bots currently can only receive messages with stickers, not send). * @param referencedMessage the message associated with [messageReference]. + * @param applicationId if the message is a response to an [Interaction][DiscordInteraction], this is the id of the interaction's application + * @param components a list of [components][DiscordComponent] which have been added to this message */ @Serializable data class DiscordMessage( @@ -93,12 +96,20 @@ data class DiscordMessage( val type: MessageType, val activity: Optional = Optional.Missing(), val application: Optional = Optional.Missing(), + @SerialName("application_id") + val applicationId: OptionalSnowflake = OptionalSnowflake.Missing, @SerialName("message_reference") val messageReference: Optional = Optional.Missing(), val flags: Optional = Optional.Missing(), val stickers: Optional> = Optional.Missing(), @SerialName("referenced_message") val referencedMessage: Optional = Optional.Missing(), + /* + * don't trust the docs: + * This is a list even though the docs say it's a component + */ + val components: Optional> = Optional.Missing(), + val interaction: Optional = Optional.Missing() ) /** @@ -239,6 +250,7 @@ data class DiscordPartialMessage( val stickers: Optional> = Optional.Missing(), @SerialName("referenced_message") val referencedMessage: Optional = Optional.Missing(), + val interaction: Optional = Optional.Missing(), ) @Serializable @@ -719,42 +731,77 @@ data class AllRemovedMessageReactions( ) @Serializable(with = MessageType.MessageTypeSerializer::class) -enum class MessageType(val code: Int) { +sealed class MessageType(val code: Int) { /** The default code for unknown values. */ - Unknown(Int.MIN_VALUE), - Default(0), - RecipientAdd(1), - RecipientRemove(2), - Call(3), - ChannelNameChange(4), - ChannelIconChange(5), - ChannelPinnedMessage(6), - GuildMemberJoin(7), - UserPremiumGuildSubscription(8), - UserPremiumGuildSubscriptionTierOne(9), - UserPremiumGuildSubscriptionTwo(10), - UserPremiumGuildSubscriptionThree(11), - ChannelFollowAdd(12), - GuildDiscoveryDisqualified(14), + class Unknown(code: Int) : MessageType(code) + object Default : MessageType(0) + object RecipientAdd : MessageType(1) + object RecipientRemove : MessageType(2) + object Call : MessageType(3) + object ChannelNameChange : MessageType(4) + object ChannelIconChange : MessageType(5) + object ChannelPinnedMessage : MessageType(6) + object GuildMemberJoin : MessageType(7) + object UserPremiumGuildSubscription : MessageType(8) + object UserPremiumGuildSubscriptionTierOne : MessageType(9) + object UserPremiumGuildSubscriptionTwo : MessageType(10) + object UserPremiumGuildSubscriptionThree : MessageType(11) + object ChannelFollowAdd : MessageType(12) + object GuildDiscoveryDisqualified : MessageType(14) @Suppress("SpellCheckingInspection") - GuildDiscoveryRequalified(15), - Reply(19); + object GuildDiscoveryRequalified : MessageType(15) + object GuildDiscoveryGracePeriodInitialWarning : MessageType(16) + object GuildDiscoveryGracePeriodFinalWarning : MessageType(17) + object ThreadCreated : MessageType(18) + object Reply : MessageType(19) + object ApplicationCommand : MessageType(20) + object ThreadStarterMessage : MessageType(21) + object GuildInviteReminder : MessageType(22) - companion object MessageTypeSerializer : KSerializer { + internal object MessageTypeSerializer : KSerializer { override val descriptor: SerialDescriptor get() = PrimitiveSerialDescriptor("type", PrimitiveKind.INT) override fun deserialize(decoder: Decoder): MessageType { val code = decoder.decodeInt() - return values().firstOrNull { it.code == code } ?: Unknown + return values.firstOrNull { it.code == code } ?: Unknown(code) } override fun serialize(encoder: Encoder, value: MessageType) { encoder.encodeInt(value.code) } } + + companion object { + val values: Set + get() = setOf( + Default, + RecipientAdd, + RecipientRemove, + Call, + ChannelNameChange, + ChannelIconChange, + ChannelPinnedMessage, + GuildMemberJoin, + UserPremiumGuildSubscription, + UserPremiumGuildSubscriptionTierOne, + UserPremiumGuildSubscriptionTwo, + UserPremiumGuildSubscriptionThree, + ChannelFollowAdd, + GuildDiscoveryDisqualified, + GuildDiscoveryRequalified, + Reply, + GuildDiscoveryGracePeriodInitialWarning, + GuildDiscoveryGracePeriodFinalWarning, + ThreadCreated, + ApplicationCommand, + ThreadStarterMessage, + GuildInviteReminder, + + ) + } } @Serializable(with = AllowedMentionType.Serializer::class) @@ -789,3 +836,12 @@ data class AllowedMentions( @SerialName("replied_user") val repliedUser: OptionalBoolean = OptionalBoolean.Missing ) + +@KordPreview +@Serializable +data class DiscordMessageInteraction( + val id: Snowflake, + val type: InteractionType, + val name: String, + val user: DiscordUser +) diff --git a/common/src/main/kotlin/entity/DiscordStageInstance.kt b/common/src/main/kotlin/entity/DiscordStageInstance.kt new file mode 100644 index 00000000000..826eb9a4f79 --- /dev/null +++ b/common/src/main/kotlin/entity/DiscordStageInstance.kt @@ -0,0 +1,23 @@ +package dev.kord.common.entity + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + + +/** + * A _Stage Instance_ holds information about a live stage. + * + * @property id The id of this Stage instance + * @property guildId The guild id of the associated Stage channel + * @property channelId The id of the associated Stage channel + * @property topic The topic of the Stage instance (1-120 characters) + */ +@Serializable +data class DiscordStageInstance( + val id: Snowflake, + @SerialName("guild_id") + val guildId: Snowflake, + @SerialName("channel_id") + val channelId: Snowflake, + val topic: String +) diff --git a/common/src/main/kotlin/entity/Interactions.kt b/common/src/main/kotlin/entity/Interactions.kt index 80f4130d371..571e4c11e09 100644 --- a/common/src/main/kotlin/entity/Interactions.kt +++ b/common/src/main/kotlin/entity/Interactions.kt @@ -5,10 +5,8 @@ import dev.kord.common.annotation.KordPreview import dev.kord.common.entity.optional.Optional import dev.kord.common.entity.optional.OptionalBoolean import dev.kord.common.entity.optional.OptionalSnowflake -import kotlinx.serialization.KSerializer -import kotlinx.serialization.SerialName -import kotlinx.serialization.Serializable -import kotlinx.serialization.SerializationException +import kotlinx.serialization.* +import kotlinx.serialization.builtins.ListSerializer import kotlinx.serialization.builtins.serializer import kotlinx.serialization.descriptors.* import kotlinx.serialization.encoding.* @@ -73,6 +71,7 @@ sealed class ApplicationCommandOptionType(val type: Int) { object User : ApplicationCommandOptionType(6) object Channel : ApplicationCommandOptionType(7) object Role : ApplicationCommandOptionType(8) + object Mentionable : ApplicationCommandOptionType(9) class Unknown(type: Int) : ApplicationCommandOptionType(type) companion object; @@ -157,12 +156,11 @@ data class ResolvedObjects( @Serializable @KordPreview -data class DiscordInteraction( +class DiscordInteraction( val id: Snowflake, @SerialName("application_id") val applicationId: Snowflake, - val type: InteractionType, - val data: DiscordApplicationCommandInteractionData, + val data: InteractionCallbackData, @SerialName("guild_id") val guildId: OptionalSnowflake = OptionalSnowflake.Missing, @SerialName("channel_id") @@ -171,18 +169,59 @@ data class DiscordInteraction( val user: Optional = Optional.Missing(), val token: String, val version: Int, -) + @Serializable(with = MaybeMessageSerializer::class) + val message: Optional = Optional.Missing(), + val type: InteractionType +) { + + /** + * Serializer that handles incomplete messages in [DiscordInteraction.message]. Discards + * any incomplete messages as missing optionals. + */ + private object MaybeMessageSerializer : + KSerializer> by Optional.serializer(DiscordMessage.serializer()) { + + override fun deserialize(decoder: Decoder): Optional { + decoder as JsonDecoder + + val element = decoder.decodeJsonElement().jsonObject + + //check if required fields are present, if not, discard the data + return if ( + element["channel_id"] == null || + element["author"] == null + ) { + Optional.Missing() + } else { + decoder.json.decodeFromJsonElement( + Optional.serializer(DiscordMessage.serializer()), element + ) + } + } + + + } +} + @Serializable(InteractionType.Serializer::class) @KordPreview sealed class InteractionType(val type: Int) { object Ping : InteractionType(1) object ApplicationCommand : InteractionType(2) + + /* + * don't trust the docs: + * + * this type exists and is needed for components even though it's not documented + */ + object Component : InteractionType(3) class Unknown(type: Int) : InteractionType(type) override fun toString(): String = when (this) { Ping -> "InteractionType.Ping($type)" ApplicationCommand -> "InteractionType.ApplicationCommand($type)" + Component -> "InteractionType.ComponentInvoke($type)" is Unknown -> "InteractionType.Unknown($type)" } @@ -196,6 +235,7 @@ sealed class InteractionType(val type: Int) { return when (val type = decoder.decodeInt()) { 1 -> Ping 2 -> ApplicationCommand + 3 -> Component else -> Unknown(type) } } @@ -208,18 +248,22 @@ sealed class InteractionType(val type: Int) { } @Serializable -@KordPreview -data class DiscordApplicationCommandInteractionData( - val id: Snowflake, - val name: String, +data class InteractionCallbackData( + val id: OptionalSnowflake = OptionalSnowflake.Missing, + val name: Optional = Optional.Missing(), val resolved: Optional = Optional.Missing(), - val options: Optional> = Optional.Missing() + val options: Optional> = Optional.Missing(), + @SerialName("custom_id") + val customId: Optional = Optional.Missing(), + @SerialName("component_type") + val componentType: Optional = Optional.Missing() ) @Serializable(with = Option.Serializer::class) @KordPreview sealed class Option { abstract val name: String + abstract val type: ApplicationCommandOptionType internal object Serializer : KSerializer