Package-level declarations
Types
Link copied to clipboard
data class ActivityData(val name: String, val type: ActivityType, val url: Optional<String?> = Optional.Missing(), val createdAt: InstantInEpochMilliseconds, val timestamps: Optional<DiscordActivityTimestamps> = Optional.Missing(), val applicationId: OptionalSnowflake = OptionalSnowflake.Missing, val details: Optional<String?> = Optional.Missing(), val state: Optional<String?> = Optional.Missing(), val emoji: Optional<DiscordActivityEmoji?> = Optional.Missing(), val party: Optional<DiscordActivityParty> = Optional.Missing(), val assets: Optional<DiscordActivityAssets> = Optional.Missing(), val secrets: Optional<DiscordActivitySecrets> = Optional.Missing(), val instance: OptionalBoolean = OptionalBoolean.Missing, val flags: Optional<ActivityFlags> = Optional.Missing(), val buttons: Optional<List<String>> = Optional.Missing())
Link copied to clipboard
data class ApplicationCommandData(val id: Snowflake, val type: Optional<ApplicationCommandType> = Optional.Missing(), val applicationId: Snowflake, val name: String, val nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val description: String?, val descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val options: Optional<List<ApplicationCommandOptionData>> = Optional.Missing(), val defaultMemberPermissions: Permissions?, val dmPermission: OptionalBoolean = OptionalBoolean.Missing, val defaultPermission: OptionalBoolean? = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, val version: Snowflake)
Link copied to clipboard
class ApplicationCommandGroupData(val name: String, val description: String, val subCommands: List<ApplicationCommandSubcommandData>)
Link copied to clipboard
Link copied to clipboard
data class ApplicationCommandOptionData(val type: ApplicationCommandOptionType, val name: String, val description: String, val default: OptionalBoolean = OptionalBoolean.Missing, val required: OptionalBoolean = OptionalBoolean.Missing, val choices: Optional<List<ApplicationCommandOptionChoiceData>> = Optional.Missing(), val options: Optional<List<ApplicationCommandOptionData>> = Optional.Missing(), val channelTypes: Optional<List<ChannelType>> = Optional.Missing(), val minValue: Optional<JsonPrimitive> = Optional.Missing(), val maxValue: Optional<JsonPrimitive> = Optional.Missing(), val minLength: OptionalInt = OptionalInt.Missing, val maxLength: OptionalInt = OptionalInt.Missing)
Link copied to clipboard
data class ApplicationCommandParameterData(val name: String, val description: String, val required: OptionalBoolean = OptionalBoolean.Missing, val choices: Optional<List<ApplicationCommandOptionChoiceData>> = Optional.Missing(), val channelTypes: Optional<List<ChannelType>> = Optional.Missing())
Link copied to clipboard
data class ApplicationCommandSubcommandData(val name: String, val description: String, val isDefault: OptionalBoolean = OptionalBoolean.Missing, val parameters: Optional<List<ApplicationCommandParameterData>> = Optional.Missing())
Link copied to clipboard
data class ApplicationData(val id: Snowflake, val name: String, val icon: String?, val description: String, val rpcOrigins: Optional<List<String>> = Optional.Missing(), val botPublic: Boolean, val botRequireCodeGrant: Boolean, val termsOfServiceUrl: Optional<String> = Optional.Missing(), val privacyPolicyUrl: Optional<String> = Optional.Missing(), val ownerId: OptionalSnowflake = OptionalSnowflake.Missing, val verifyKey: String, val team: TeamData?, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val primarySkuId: OptionalSnowflake = OptionalSnowflake.Missing, val slug: Optional<String> = Optional.Missing(), val coverImage: Optional<String> = Optional.Missing(), val flags: Optional<ApplicationFlags> = Optional.Missing(), val tags: Optional<List<String>> = Optional.Missing(), val installParams: Optional<InstallParams> = Optional.Missing(), val customInstallUrl: Optional<String> = Optional.Missing(), val roleConnectionsVerificationUrl: Optional<String?> = Optional.Missing()) : BaseApplicationData
Link copied to clipboard
data class ApplicationInteractionData(val id: OptionalSnowflake = OptionalSnowflake.Missing, val type: Optional<ApplicationCommandType> = Optional.Missing(), val targetId: OptionalSnowflake = OptionalSnowflake.Missing, val name: Optional<String> = Optional.Missing(), val options: Optional<List<OptionData>> = Optional.Missing(), val resolvedObjectsData: Optional<ResolvedObjectsData> = Optional.Missing(), val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val customId: Optional<String> = Optional.Missing(), val componentType: Optional<ComponentType> = Optional.Missing(), val values: Optional<List<String>> = Optional.Missing(), val components: Optional<List<ComponentData>> = Optional.Missing())
Link copied to clipboard
data class AttachmentData(val id: Snowflake, val filename: String, val description: Optional<String> = Optional.Missing(), val contentType: Optional<String> = Optional.Missing(), val size: Int, val url: String, val proxyUrl: String, val height: OptionalInt? = OptionalInt.Missing, val width: OptionalInt? = OptionalInt.Missing, val ephemeral: OptionalBoolean = OptionalBoolean.Missing, val durationSecs: Optional<DurationInDoubleSeconds> = Optional.Missing(), val waveform: Optional<String> = Optional.Missing(), val flags: Optional<AttachmentFlags> = Optional.Missing())
Link copied to clipboard
data class AutoModerationActionData(val type: AutoModerationActionType, val metadata: Optional<AutoModerationActionMetadataData> = Optional.Missing())
Link copied to clipboard
data class AutoModerationActionMetadataData(val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val durationSeconds: Optional<DurationInSeconds> = Optional.Missing(), val customMessage: Optional<String> = Optional.Missing())
Link copied to clipboard
data class AutoModerationRuleData(val id: Snowflake, val guildId: Snowflake, val name: String, val creatorId: Snowflake, val eventType: AutoModerationRuleEventType, val triggerType: AutoModerationRuleTriggerType, val triggerMetadata: AutoModerationRuleTriggerMetadataData, val actions: List<AutoModerationActionData>, val enabled: Boolean, val exemptRoles: List<Snowflake>, val exemptChannels: List<Snowflake>)
Link copied to clipboard
data class AutoModerationRuleTriggerMetadataData(val keywordFilter: Optional<List<String>> = Optional.Missing(), val regexPatterns: Optional<List<String>> = Optional.Missing(), val presets: Optional<List<AutoModerationRuleKeywordPresetType>> = Optional.Missing(), val allowList: Optional<List<String>> = Optional.Missing(), val mentionTotalLimit: OptionalInt = OptionalInt.Missing, val mentionRaidProtectionEnabled: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ChannelData(val id: Snowflake, val type: ChannelType, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val position: OptionalInt = OptionalInt.Missing, val permissionOverwrites: Optional<List<Overwrite>> = Optional.Missing(), val name: Optional<String?> = Optional.Missing(), val topic: Optional<String?> = Optional.Missing(), val nsfw: OptionalBoolean = OptionalBoolean.Missing, val lastMessageId: OptionalSnowflake? = OptionalSnowflake.Missing, val bitrate: OptionalInt = OptionalInt.Missing, val userLimit: OptionalInt = OptionalInt.Missing, val rateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val recipients: Optional<List<Snowflake>> = Optional.Missing(), val icon: Optional<String?> = Optional.Missing(), val ownerId: OptionalSnowflake = OptionalSnowflake.Missing, val applicationId: OptionalSnowflake = OptionalSnowflake.Missing, val parentId: OptionalSnowflake? = OptionalSnowflake.Missing, val lastPinTimestamp: Optional<Instant?> = Optional.Missing(), val rtcRegion: Optional<String?> = Optional.Missing(), val videoQualityMode: Optional<VideoQualityMode> = Optional.Missing(), val permissions: Optional<Permissions> = Optional.Missing(), val threadMetadata: Optional<ThreadMetadataData> = Optional.Missing(), val messageCount: OptionalInt = OptionalInt.Missing, val memberCount: OptionalInt = OptionalInt.Missing, val defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val member: Optional<ThreadMemberData> = Optional.Missing(), val flags: Optional<ChannelFlags> = Optional.Missing(), val defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), val totalMessageSent: OptionalInt = OptionalInt.Missing, val defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing(), val availableTags: Optional<List<ForumTag>> = Optional.Missing(), val appliedTags: Optional<List<Snowflake>> = Optional.Missing(), val defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), val defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val message: Optional<MessageData> = Optional.Missing())
Link copied to clipboard
data class ChatComponentData(val type: ComponentType, val style: Optional<ButtonStyle> = Optional.Missing(), val label: Optional<String> = Optional.Missing(), val emoji: Optional<DiscordPartialEmoji> = Optional.Missing(), val customId: Optional<String> = Optional.Missing(), val url: Optional<String> = Optional.Missing(), val disabled: OptionalBoolean = OptionalBoolean.Missing, val components: Optional<List<ComponentData>> = Optional.Missing(), val defaultValues: Optional<List<DiscordSelectDefaultValue>> = Optional.Missing(), val placeholder: Optional<String> = Optional.Missing(), val minValues: OptionalInt = OptionalInt.Missing, val maxValues: OptionalInt = OptionalInt.Missing, val options: Optional<List<SelectOptionData>> = Optional.Missing(), val minLength: OptionalInt = OptionalInt.Missing, val maxLength: OptionalInt = OptionalInt.Missing, val required: OptionalBoolean = OptionalBoolean.Missing, val value: Optional<String> = Optional.Missing(), val channelTypes: Optional<List<ChannelType>> = Optional.Missing(), val skuId: OptionalSnowflake = OptionalSnowflake.Missing) : ComponentData
Link copied to clipboard
data class ClientStatusData(val desktop: Optional<PresenceStatus> = Optional.Missing(), val mobile: Optional<PresenceStatus> = Optional.Missing(), val web: Optional<PresenceStatus> = Optional.Missing())
Link copied to clipboard
Link copied to clipboard
data class EmbedData(val title: Optional<String> = Optional.Missing(), val type: Optional<EmbedType> = Optional.Missing(), val description: Optional<String> = Optional.Missing(), val url: Optional<String> = Optional.Missing(), val timestamp: Optional<Instant> = Optional.Missing(), val color: OptionalInt = OptionalInt.Missing, val footer: Optional<EmbedFooterData> = Optional.Missing(), val image: Optional<EmbedImageData> = Optional.Missing(), val thumbnail: Optional<EmbedThumbnailData> = Optional.Missing(), val video: Optional<EmbedVideoData> = Optional.Missing(), val provider: Optional<EmbedProviderData> = Optional.Missing(), val author: Optional<EmbedAuthorData> = Optional.Missing(), val fields: Optional<List<EmbedFieldData>> = Optional.Missing())
Link copied to clipboard
data class EmbedFieldData(val name: String, val value: String, val inline: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class EmbedImageData(val url: Optional<String> = Optional.Missing(), val proxyUrl: Optional<String> = Optional.Missing(), val height: OptionalInt = OptionalInt.Missing, val width: OptionalInt = OptionalInt.Missing)
Link copied to clipboard
data class EmbedProviderData(val name: Optional<String> = Optional.Missing(), val url: Optional<String?> = Optional.Missing())
Link copied to clipboard
data class EmbedThumbnailData(val url: Optional<String> = Optional.Missing(), val proxyUrl: Optional<String> = Optional.Missing(), val height: OptionalInt = OptionalInt.Missing, val width: OptionalInt = OptionalInt.Missing)
Link copied to clipboard
data class EmbedVideoData(val url: Optional<String> = Optional.Missing(), val height: OptionalInt = OptionalInt.Missing, val width: OptionalInt = OptionalInt.Missing)
Link copied to clipboard
data class EmojiData(val id: Snowflake, val guildId: Snowflake, val name: String? = null, val userId: OptionalSnowflake = OptionalSnowflake.Missing, val roles: Optional<List<Snowflake>> = Optional.Missing(), val requireColons: OptionalBoolean = OptionalBoolean.Missing, val managed: OptionalBoolean = OptionalBoolean.Missing, val animated: OptionalBoolean = OptionalBoolean.Missing, val available: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class EntitlementData(val id: Snowflake, val skuId: Snowflake, val applicationId: Snowflake, val userId: OptionalSnowflake = OptionalSnowflake.Missing, val type: EntitlementType, val deleted: Boolean, val startsAt: Optional<Instant> = Optional.Missing(), val endsAt: Optional<Instant?> = Optional.Missing(), val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val consumed: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class GuildApplicationCommandPermissionData(val id: Snowflake, val type: ApplicationCommandPermissionType, val permission: Boolean)
Link copied to clipboard
data class GuildApplicationCommandPermissionsData(val id: Snowflake, val applicationId: Snowflake, val guildId: Snowflake, val permissions: List<GuildApplicationCommandPermissionData>)
Link copied to clipboard
data class GuildData(val id: Snowflake, val name: String, val icon: String? = null, val iconHash: Optional<String?> = Optional.Missing(), val splash: Optional<String?> = Optional.Missing(), val discoverySplash: Optional<String?> = Optional.Missing(), val ownerId: Snowflake, val permissions: Optional<Permissions> = Optional.Missing(), val region: String, val afkChannelId: Snowflake? = null, val afkTimeout: DurationInSeconds, val widgetEnabled: OptionalBoolean = OptionalBoolean.Missing, val widgetChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val verificationLevel: VerificationLevel, val defaultMessageNotifications: DefaultMessageNotificationLevel, val explicitContentFilter: ExplicitContentFilter, val roles: List<Snowflake>, val emojis: List<Snowflake>, val features: List<GuildFeature>, val mfaLevel: MFALevel, val applicationId: Snowflake? = null, val systemChannelId: Snowflake? = null, val systemChannelFlags: SystemChannelFlags, val rulesChannelId: Snowflake? = null, val joinedAt: Optional<Instant> = Optional.Missing(), val large: OptionalBoolean = OptionalBoolean.Missing, val memberCount: OptionalInt = OptionalInt.Missing, val channels: Optional<List<Snowflake>> = Optional.Missing(), val maxPresences: OptionalInt? = OptionalInt.Missing, val maxMembers: OptionalInt = OptionalInt.Missing, val vanityUrlCode: String? = null, val description: String? = null, val banner: String? = null, val premiumTier: PremiumTier, val premiumSubscriptionCount: OptionalInt = OptionalInt.Missing, val preferredLocale: String, val publicUpdatesChannelId: Snowflake? = null, val maxVideoChannelUsers: OptionalInt = OptionalInt.Missing, val maxStageVideoChannelUsers: OptionalInt = OptionalInt.Missing, val approximateMemberCount: OptionalInt = OptionalInt.Missing, val approximatePresenceCount: OptionalInt = OptionalInt.Missing, val welcomeScreen: Optional<WelcomeScreenData> = Optional.Missing(), val nsfwLevel: NsfwLevel, val threads: Optional<List<ChannelData>> = Optional.Missing(), val stageInstances: Optional<List<StageInstanceData>> = Optional.Missing(), val stickers: Optional<List<StickerData>> = Optional.Missing(), val guildScheduledEvents: Optional<List<GuildScheduledEventData>> = Optional.Missing(), val premiumProgressBarEnabled: Boolean, val safetyAlertsChannelId: Snowflake?)
Link copied to clipboard
class GuildPreviewData(val id: Snowflake, val name: String, val icon: String? = null, val splash: String? = null, val discoverySplash: String? = null, val emojis: List<EmojiData>, val features: List<GuildFeature>, val approximateMemberCount: Int, val approximatePresenceCount: Int, val description: String? = null, val stickers: List<StickerData>)
Link copied to clipboard
data class GuildScheduledEventData(val id: Snowflake, val guildId: Snowflake, val channelId: Snowflake?, val creatorId: OptionalSnowflake? = OptionalSnowflake.Missing, val name: String, val description: Optional<String?> = Optional.Missing(), val scheduledStartTime: Instant, val scheduledEndTime: Instant?, val privacyLevel: GuildScheduledEventPrivacyLevel, val status: GuildScheduledEventStatus, val entityId: Snowflake?, val entityType: ScheduledEntityType, val entityMetadata: GuildScheduledEventEntityMetadata?, val creator: Optional<UserData> = Optional.Missing(), val userCount: OptionalInt = OptionalInt.Missing, val image: Optional<String?> = Optional.Missing())
Link copied to clipboard
Link copied to clipboard
data class IntegrationData(val id: Snowflake, val guildId: Snowflake, val name: String, val type: String, val enabled: Boolean, val syncing: OptionalBoolean = OptionalBoolean.Missing, val roleId: OptionalSnowflake = OptionalSnowflake.Missing, val enableEmoticons: OptionalBoolean = OptionalBoolean.Missing, val expireBehavior: Optional<IntegrationExpireBehavior> = Optional.Missing(), val expireGracePeriod: Optional<DurationInDays> = Optional.Missing(), val user: Optional<DiscordUser> = Optional.Missing(), val account: IntegrationsAccountData, val syncedAt: Optional<Instant> = Optional.Missing(), val subscriberCount: OptionalInt = OptionalInt.Missing, val revoked: OptionalBoolean = OptionalBoolean.Missing, val application: Optional<IntegrationApplication> = Optional.Missing())
Link copied to clipboard
Link copied to clipboard
data class InteractionData(val id: Snowflake, val applicationId: Snowflake, val type: InteractionType, val data: ApplicationInteractionData, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val channel: Optional<ChannelData> = Optional.Missing(), val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val member: Optional<MemberData> = Optional.Missing(), val user: Optional<UserData> = Optional.Missing(), val token: String, val permissions: Optional<Permissions> = Optional.Missing(), val version: Int, val message: Optional<MessageData> = Optional.Missing(), val appPermissions: Optional<Permissions> = Optional.Missing(), val locale: Optional<Locale> = Optional.Missing(), val guildLocale: Optional<Locale> = Optional.Missing(), val entitlements: Optional<List<EntitlementData>> = Optional.Missing())
Link copied to clipboard
data class InviteCreateData(val channelId: Snowflake, val code: String, val createdAt: Instant, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val inviterId: OptionalSnowflake = OptionalSnowflake.Missing, val maxAge: DurationInSeconds, val maxUses: Int, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, val targetApplication: Optional<PartialApplicationData> = Optional.Missing(), val temporary: Boolean, val uses: Int)
Link copied to clipboard
data class InviteData(val code: String, val guild: Optional<PartialGuildData> = Optional.Missing(), val channelId: Snowflake?, val inviterId: OptionalSnowflake = OptionalSnowflake.Missing, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, val targetApplication: Optional<PartialApplicationData> = Optional.Missing(), val approximatePresenceCount: OptionalInt = OptionalInt.Missing, val approximateMemberCount: OptionalInt = OptionalInt.Missing, val expiresAt: Optional<Instant?> = Optional.Missing(), val guildScheduledEvent: Optional<GuildScheduledEventData> = Optional.Missing()) : BaseInviteData
Link copied to clipboard
data class InviteDeleteData(val channelId: Snowflake, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val code: String)
Link copied to clipboard
data class InviteWithMetadataData(val code: String, val guild: Optional<PartialGuildData> = Optional.Missing(), val channelId: Snowflake?, val inviterId: OptionalSnowflake = OptionalSnowflake.Missing, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, val targetApplication: Optional<PartialApplicationData> = Optional.Missing(), val approximatePresenceCount: OptionalInt = OptionalInt.Missing, val approximateMemberCount: OptionalInt = OptionalInt.Missing, val expiresAt: Optional<Instant?> = Optional.Missing(), val guildScheduledEvent: Optional<GuildScheduledEventData> = Optional.Missing(), val uses: Int, val maxUses: Int, val maxAge: DurationInSeconds, val temporary: Boolean, val createdAt: Instant) : BaseInviteData
Link copied to clipboard
data class MemberData(val userId: Snowflake, val guildId: Snowflake, val nick: Optional<String?> = Optional.Missing(), val roles: List<Snowflake>, val joinedAt: Instant?, val premiumSince: Optional<Instant?> = Optional.Missing(), val flags: GuildMemberFlags, val permissions: Optional<Permissions> = Optional.Missing(), val pending: OptionalBoolean = OptionalBoolean.Missing, val avatar: Optional<String?> = Optional.Missing(), val communicationDisabledUntil: Optional<Instant?> = Optional.Missing())
Link copied to clipboard
data class MembersChunkData(val guildId: Snowflake, val members: Set<MemberData>, val users: Set<UserData>, val chunkIndex: Int, val chunkCount: Int, val notFound: Optional<Set<Snowflake>> = Optional.Missing(), val presences: Optional<List<PresenceData>> = Optional.Missing(), val nonce: Optional<String> = Optional.Missing())
Link copied to clipboard
data class MessageData(val id: Snowflake, val channelId: Snowflake, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val author: UserData, val content: String, val timestamp: Instant, val editedTimestamp: Instant? = null, val tts: Boolean, val mentionEveryone: Boolean, val mentions: List<Snowflake>, val mentionRoles: List<Snowflake>, val mentionedChannels: Optional<List<Snowflake>> = Optional.Missing(), val attachments: List<AttachmentData>, val embeds: List<EmbedData>, val reactions: Optional<List<ReactionData>> = Optional.Missing(), val nonce: Optional<String> = Optional.Missing(), val pinned: Boolean, val webhookId: OptionalSnowflake = OptionalSnowflake.Missing, val type: MessageType, val activity: Optional<MessageActivity> = Optional.Missing(), val application: Optional<MessageApplication> = Optional.Missing(), val applicationId: OptionalSnowflake = OptionalSnowflake.Missing, val messageReference: Optional<MessageReferenceData> = Optional.Missing(), val flags: Optional<MessageFlags> = Optional.Missing(), val stickers: Optional<List<StickerItemData>> = Optional.Missing(), val referencedMessage: Optional<MessageData?> = Optional.Missing(), val interaction: Optional<MessageInteractionData> = Optional.Missing(), val components: Optional<List<ComponentData>> = Optional.Missing(), val roleSubscriptionData: Optional<RoleSubscription> = Optional.Missing(), val position: OptionalInt = OptionalInt.Missing)
Link copied to clipboard
data class MessageInteractionData(val id: Snowflake, val type: InteractionType, val name: String, val user: Snowflake)
Link copied to clipboard
data class MessageReferenceData(val id: OptionalSnowflake = OptionalSnowflake.Missing, val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val guildId: OptionalSnowflake = OptionalSnowflake.Missing)
Link copied to clipboard
A serializer whose sole purpose is to provide a No-Op serializer for Any. The serializer is used when the generic type is neither known nor relevant to the serialization process
Link copied to clipboard
data class OptionData(val name: String, val value: Optional<CommandArgument<@Serializable(with = NotSerializable::class) Any?>> = Optional.Missing(), val values: Optional<List<CommandArgument<@Serializable(with = NotSerializable::class) Any?>>> = Optional.Missing(), val subCommands: Optional<List<SubCommand>> = Optional.Missing(), val focused: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class PartialApplicationData(val id: Snowflake, val name: String, val icon: String?, val description: String, val rpcOrigins: Optional<List<String>> = Optional.Missing(), val termsOfServiceUrl: Optional<String> = Optional.Missing(), val privacyPolicyUrl: Optional<String> = Optional.Missing(), val ownerId: OptionalSnowflake = OptionalSnowflake.Missing, val verifyKey: String, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val primarySkuId: OptionalSnowflake = OptionalSnowflake.Missing, val slug: Optional<String> = Optional.Missing(), val coverImage: Optional<String> = Optional.Missing(), val flags: Optional<ApplicationFlags> = Optional.Missing(), val tags: Optional<List<String>> = Optional.Missing(), val installParams: Optional<InstallParams> = Optional.Missing(), val customInstallUrl: Optional<String> = Optional.Missing(), val roleConnectionsVerificationUrl: Optional<String?> = Optional.Missing()) : BaseApplicationData
Link copied to clipboard
class PartialGuildData(val id: Snowflake, val name: String, val icon: String? = null, val owner: OptionalBoolean = OptionalBoolean.Missing, val permissions: Optional<Permissions> = Optional.Missing(), val features: List<GuildFeature>, val welcomeScreen: Optional<WelcomeScreenData> = Optional.Missing(), val vanityUrlCode: Optional<String?> = Optional.Missing(), val description: Optional<String?> = Optional.Missing(), val banner: Optional<String?> = Optional.Missing(), val splash: Optional<String?> = Optional.Missing(), val nsfwLevel: Optional<NsfwLevel> = Optional.Missing(), val verificationLevel: Optional<VerificationLevel> = Optional.Missing(), val stageInstances: Optional<List<StageInstanceData>> = Optional.Missing(), val stickers: Optional<List<StickerData>> = Optional.Missing(), val guildScheduledEvents: Optional<List<GuildScheduledEventData>> = Optional.Missing(), val approximateMemberCount: OptionalInt = OptionalInt.Missing, val approximatePresenceCount: OptionalInt = OptionalInt.Missing, val premiumProgressBarEnabled: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class PermissionOverwriteData(val id: Snowflake, val type: OverwriteType, val allowed: Permissions, val denied: Permissions)
Link copied to clipboard
data class PresenceData(val userId: Snowflake, val guildId: Snowflake, val status: PresenceStatus, val activities: List<ActivityData>, val clientStatus: ClientStatusData)
Link copied to clipboard
data class ReactionRemoveEmojiData(val channelId: Snowflake, val guildId: Snowflake, val messageId: Snowflake, val emoji: RemovedReactionData)
Link copied to clipboard
data class RegionData(val id: String, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val name: String, val optimal: Boolean, val deprecated: Boolean, val custom: Boolean)
Link copied to clipboard
Link copied to clipboard
data class ResolvedObjectsData(val members: Optional<Map<Snowflake, MemberData>> = Optional.Missing(), val users: Optional<Map<Snowflake, UserData>> = Optional.Missing(), val roles: Optional<Map<Snowflake, RoleData>> = Optional.Missing(), val channels: Optional<Map<Snowflake, ChannelData>> = Optional.Missing(), val messages: Optional<Map<Snowflake, MessageData>> = Optional.Missing(), val attachments: Optional<Map<Snowflake, AttachmentData>> = Optional.Missing())
Link copied to clipboard
data class RoleData(val id: Snowflake, val guildId: Snowflake, val name: String, val color: Int, val hoisted: Boolean, val icon: Optional<String?> = Optional.Missing(), val unicodeEmoji: Optional<String?> = Optional.Missing(), val position: Int, val permissions: Permissions, val managed: Boolean, val mentionable: Boolean, val tags: Optional<RoleTagsData> = Optional.Missing(), val flags: RoleFlags)
Link copied to clipboard
data class RoleTagsData(val botId: OptionalSnowflake = OptionalSnowflake.Missing, val integrationId: OptionalSnowflake = OptionalSnowflake.Missing, val premiumSubscriber: Boolean, val subscriptionListingId: OptionalSnowflake = OptionalSnowflake.Missing, val availableForPurchase: Boolean, val guildConnections: Boolean)
Link copied to clipboard
data class SelectOptionData(val label: String, val value: String, val description: Optional<String> = Optional.Missing(), val emoji: Optional<DiscordPartialEmoji> = Optional.Missing(), val default: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class StageInstanceData(val id: Snowflake, val guildId: Snowflake, val channelId: Snowflake, val topic: String, val privacyLevel: StageInstancePrivacyLevel, val guildScheduledEventId: Snowflake?)
Link copied to clipboard
data class StickerData(val id: Snowflake, val packId: OptionalSnowflake = OptionalSnowflake.Missing, val name: String, val description: String?, val tags: Optional<String> = Optional.Missing(), val formatType: MessageStickerType, val available: OptionalBoolean = OptionalBoolean.Missing, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val user: Optional<UserData> = Optional.Missing(), val sortValue: OptionalInt = OptionalInt.Missing)
Link copied to clipboard
Link copied to clipboard
data class StickerPackData(val id: Snowflake, val stickers: List<StickerData>, val name: String, val skuId: Snowflake, val coverStickerId: OptionalSnowflake = OptionalSnowflake.Missing, val description: String, val bannerAssetId: Snowflake)
Link copied to clipboard
data class SubscriptionData(val id: Snowflake, val userId: Snowflake, val skuIds: List<Snowflake>, val entitlementIds: List<Snowflake>, val currentPeriodStart: Instant, val currentPeriodEnd: Instant, val status: SubscriptionStatus, val canceledAt: Instant?, val country: Optional<String> = Optional.Missing())
Link copied to clipboard
data class TeamMemberData(val membershipState: TeamMembershipState, val teamId: Snowflake, val userId: Snowflake, val role: TeamMemberRole)
A serializable data representation of a Discord developer team member.
Link copied to clipboard
data class TemplateData(val code: String, val name: String, val description: String?, val usageCount: Int, val creatorId: Snowflake, val creator: UserData, val createdAt: Instant, val updatedAt: Instant, val sourceGuildId: Snowflake, val serializedSourceGuild: PartialGuildData, val isDirty: Boolean?)
Link copied to clipboard
data class TextInputComponentData(val type: ComponentType, val style: Optional<TextInputStyle> = Optional.Missing(), val label: Optional<String> = Optional.Missing(), val emoji: Optional<DiscordPartialEmoji> = Optional.Missing(), val customId: Optional<String> = Optional.Missing(), val url: Optional<String> = Optional.Missing(), val disabled: OptionalBoolean = OptionalBoolean.Missing, val components: Optional<List<ComponentData>> = Optional.Missing(), val defaultValues: Optional<List<DiscordSelectDefaultValue>> = Optional.Missing(), val placeholder: Optional<String> = Optional.Missing(), val minValues: OptionalInt = OptionalInt.Missing, val maxValues: OptionalInt = OptionalInt.Missing, val options: Optional<List<SelectOptionData>> = Optional.Missing(), val minLength: OptionalInt = OptionalInt.Missing, val maxLength: OptionalInt = OptionalInt.Missing, val required: OptionalBoolean = OptionalBoolean.Missing, val value: Optional<String> = Optional.Missing(), val channelTypes: Optional<List<ChannelType>> = Optional.Missing()) : ComponentData
Link copied to clipboard
class ThreadListSyncData(val guildId: Snowflake, val channelIds: Optional<List<Snowflake>> = Optional.Missing(), val threads: List<ChannelData>, val members: List<ThreadMemberData>)
Link copied to clipboard
data class ThreadMemberData(val id: Snowflake, val userId: OptionalSnowflake = OptionalSnowflake.Missing, val joinTimestamp: Instant, val flags: Int)
Link copied to clipboard
class ThreadMembersUpdateEventData(val id: Snowflake, val guildId: Snowflake, val memberCount: Int, val addedMembers: Optional<List<ThreadMemberData>> = Optional.Missing(), val removedMemberIds: Optional<List<Snowflake>> = Optional.Missing())
Link copied to clipboard
data class ThreadMetadataData(val archived: Boolean, val archiveTimestamp: Instant, val autoArchiveDuration: ArchiveDuration, val locked: OptionalBoolean = OptionalBoolean.Missing, val invitable: OptionalBoolean = OptionalBoolean.Missing, val createTimestamp: Optional<Instant?> = Optional.Missing())
Link copied to clipboard
data class UserData(val id: Snowflake, val username: String, val discriminator: Optional<String> = Optional.Missing(), val globalName: Optional<String?> = Optional.Missing(), val avatar: String? = null, val bot: OptionalBoolean = OptionalBoolean.Missing, val publicFlags: Optional<UserFlags> = Optional.Missing(), val banner: String? = null, val accentColor: Int? = null, val avatarDecoration: Optional<String?> = Optional.Missing())
Link copied to clipboard
data class VoiceStateData(val guildId: Snowflake, val channelId: Snowflake?, val userId: Snowflake, val memberId: OptionalSnowflake = OptionalSnowflake.Missing, val sessionId: String, val deaf: Boolean, val mute: Boolean, val selfDeaf: Boolean, val selfMute: Boolean, val suppress: Boolean, val selfVideo: Boolean, val selfStream: OptionalBoolean = OptionalBoolean.Missing, val requestToSpeakTimestamp: Instant?)
Link copied to clipboard
data class WebhookData(val id: Snowflake, val type: WebhookType, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val channelId: Snowflake, val userId: OptionalSnowflake = OptionalSnowflake.Missing, val name: String? = null, val avatar: String? = null, val token: Optional<String> = Optional.Missing(), val applicationId: Snowflake?)
Link copied to clipboard
data class WelcomeScreenChannelData(val channelId: Snowflake, val description: String, val emojiId: Snowflake?, val emojiName: String?)
Link copied to clipboard
data class WelcomeScreenData(val description: String?, val welcomeChannels: List<WelcomeScreenChannelData>)