Package-level declarations

Types

Link copied to clipboard
data class ApplicationCommandCreateRequest(val name: String, val nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val type: ApplicationCommandType, val description: Optional<String> = Optional.Missing(), val descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), val defaultMemberPermissions: Optional<Permissions?> = Optional.Missing(), val dmPermission: OptionalBoolean? = OptionalBoolean.Missing, val defaultPermission: OptionalBoolean = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class ApplicationCommandModifyRequest(val name: Optional<String> = Optional.Missing(), val nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val description: Optional<String> = Optional.Missing(), val descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), val defaultMemberPermissions: Optional<Permissions?> = Optional.Missing(), val dmPermission: OptionalBoolean? = OptionalBoolean.Missing, val defaultPermission: OptionalBoolean = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class AttachmentRequest(val id: Snowflake, val filename: Optional<String> = Optional.Missing(), val description: Optional<String> = Optional.Missing())
Link copied to clipboard
data class AuditLogGetRequest(val userId: Snowflake? = null, val action: AuditLogEvent? = null, val before: Snowflake? = null, val after: Snowflake? = null, val limit: Int? = null)
Link copied to clipboard
data class AutoModerationRuleCreateRequest(val name: String, val eventType: AutoModerationRuleEventType, val triggerType: AutoModerationRuleTriggerType, val triggerMetadata: Optional<DiscordAutoModerationRuleTriggerMetadata> = Optional.Missing(), val actions: List<DiscordAutoModerationAction>, val enabled: OptionalBoolean = OptionalBoolean.Missing, val exemptRoles: Optional<List<Snowflake>> = Optional.Missing(), val exemptChannels: Optional<List<Snowflake>> = Optional.Missing())
Link copied to clipboard
data class AutoModerationRuleModifyRequest(val name: Optional<String> = Optional.Missing(), val eventType: Optional<AutoModerationRuleEventType> = Optional.Missing(), val triggerMetadata: Optional<DiscordAutoModerationRuleTriggerMetadata> = Optional.Missing(), val actions: Optional<List<DiscordAutoModerationAction>> = Optional.Missing(), val enabled: OptionalBoolean = OptionalBoolean.Missing, val exemptRoles: Optional<List<Snowflake>> = Optional.Missing(), val exemptChannels: Optional<List<Snowflake>> = Optional.Missing())
Link copied to clipboard
data class BulkDeleteRequest(val messages: List<Snowflake>)
Link copied to clipboard
data class ChannelFollowRequest(val webhookChannelId: Snowflake)
Link copied to clipboard
data class ChannelModifyPatchRequest(val name: Optional<String> = Optional.Missing(), val position: OptionalInt? = OptionalInt.Missing, val topic: Optional<String?> = Optional.Missing(), val nsfw: OptionalBoolean? = OptionalBoolean.Missing, val rateLimitPerUser: Optional<DurationInSeconds?> = Optional.Missing(), val bitrate: OptionalInt? = OptionalInt.Missing, val userLimit: OptionalInt? = OptionalInt.Missing, val permissionOverwrites: Optional<Set<Overwrite>?> = Optional.Missing(), val parentId: OptionalSnowflake? = OptionalSnowflake.Missing, val archived: OptionalBoolean = OptionalBoolean.Missing, val autoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val locked: OptionalBoolean = OptionalBoolean.Missing, val rtcRegion: Optional<String?> = Optional.Missing(), val invitable: OptionalBoolean = OptionalBoolean.Missing, val videoQualityMode: Optional<VideoQualityMode?> = Optional.Missing(), val defaultAutoArchiveDuration: Optional<ArchiveDuration?> = Optional.Missing(), val defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), val defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val flags: Optional<ChannelFlags> = Optional.Missing(), val availableTags: Optional<List<ForumTagRequest>> = Optional.Missing(), val appliedTags: Optional<List<Snowflake>> = Optional.Missing(), val defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), val defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing())
Link copied to clipboard
data class ChannelModifyPutRequest(val name: String, val position: Int, val topic: String? = null, val nsfw: Boolean? = null, val rateLimitPerUser: Int? = null, val bitrate: Int? = null, val userLimit: Int? = null, val permissionOverwrites: List<Overwrite>, val parentId: String? = null)
Link copied to clipboard
Link copied to clipboard
data class ChannelPositionSwapRequest(val id: Snowflake, val position: OptionalInt? = OptionalInt.Missing, val lockPermissions: OptionalBoolean? = OptionalBoolean.Missing, val parentId: OptionalSnowflake? = OptionalSnowflake.Missing)
Link copied to clipboard
data class CurrentUserModifyRequest(val username: Optional<String> = Optional.Missing(), val avatar: Optional<String?> = Optional.Missing())
Link copied to clipboard
data class CurrentUserNicknameModifyRequest(val nick: Optional<String?> = Optional.Missing())
Link copied to clipboard
data class CurrentVoiceStateModifyRequest(val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val suppress: OptionalBoolean = OptionalBoolean.Missing, val requestToSpeakTimestamp: Optional<Instant?> = Optional.Missing())
Link copied to clipboard
data class DMCreateRequest(val userId: Snowflake)
Link copied to clipboard
data class EmbedAuthorRequest(val name: Optional<String> = Optional.Missing(), val url: Optional<String> = Optional.Missing(), val iconUrl: Optional<String> = Optional.Missing())
Link copied to clipboard
data class EmbedFieldRequest(val name: String, val value: String, val inline: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class EmbedFooterRequest(val text: String, val iconUrl: String? = null)
Link copied to clipboard
Link copied to clipboard
data class EmbedRequest(val title: Optional<String> = Optional.Missing(), val type: Optional<String> = Optional.Missing(), val description: Optional<String> = Optional.Missing(), val url: Optional<String> = Optional.Missing(), val timestamp: Optional<Instant> = Optional.Missing(), val color: Optional<Color> = Optional.Missing(), val footer: Optional<EmbedFooterRequest> = Optional.Missing(), val image: Optional<EmbedImageRequest> = Optional.Missing(), val thumbnail: Optional<EmbedThumbnailRequest> = Optional.Missing(), val author: Optional<EmbedAuthorRequest> = Optional.Missing(), val fields: Optional<List<EmbedFieldRequest>> = Optional.Missing())
Link copied to clipboard
Link copied to clipboard
data class EmojiCreateRequest(val name: String, val image: String, val roles: Set<Snowflake>)
Link copied to clipboard
data class EmojiModifyRequest(val name: Optional<String> = Optional.Missing(), val roles: Optional<Set<Snowflake>?> = Optional.Missing())
Link copied to clipboard
data class EntitlementsListRequest(val userId: Snowflake? = null, val skuIds: List<Snowflake> = emptyList(), val position: Position.BeforeOrAfter? = null, val limit: Int? = null, val guildId: Snowflake? = null, val excludeEnded: Boolean? = null)
Link copied to clipboard
data class FollowupMessageCreateRequest(val content: Optional<String> = Optional.Missing(), val tts: OptionalBoolean = OptionalBoolean.Missing, val embeds: Optional<List<EmbedRequest>> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions> = Optional.Missing(), val components: Optional<List<DiscordComponent>> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>> = Optional.Missing(), val flags: Optional<MessageFlags> = Optional.Missing())
Link copied to clipboard
data class FollowupMessageModifyRequest(val content: Optional<String?> = Optional.Missing(), val embeds: Optional<List<EmbedRequest>?> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions?> = Optional.Missing(), val components: Optional<List<DiscordComponent>?> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>?> = Optional.Missing(), val flags: Optional<MessageFlags?> = Optional.Missing())
Link copied to clipboard
data class ForumTagRequest(val name: String, val moderated: OptionalBoolean = OptionalBoolean.Missing, val emojiId: Optional<Snowflake?> = Optional.Missing(), val emojiName: Optional<String?> = Optional.Missing())
Link copied to clipboard
data class ForumThreadMessageRequest(val content: Optional<String> = Optional.Missing(), val tts: OptionalBoolean = OptionalBoolean.Missing, val embeds: Optional<List<EmbedRequest>> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions> = Optional.Missing(), val components: Optional<List<DiscordComponent>> = Optional.Missing(), val stickerIds: Optional<List<Snowflake>> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>> = Optional.Missing(), val flags: Optional<MessageFlags> = Optional.Missing())
Link copied to clipboard
data class GroupDMCreateRequest(val tokens: List<String>, val nick: Map<String, String>)
Link copied to clipboard
data class GuildBanCreateRequest(val deleteMessageSeconds: Optional<DurationInSeconds> = Optional.Missing())
Link copied to clipboard
data class GuildChannelCreateRequest(val name: String, val type: ChannelType, val topic: Optional<String> = Optional.Missing(), val bitrate: OptionalInt = OptionalInt.Missing, val userLimit: OptionalInt = OptionalInt.Missing, val rateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val position: OptionalInt = OptionalInt.Missing, val permissionOverwrite: Optional<Set<Overwrite>> = Optional.Missing(), val parentId: OptionalSnowflake = OptionalSnowflake.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, val id: OptionalSnowflake = OptionalSnowflake.Missing, val defaultAutoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val defaultReactionEmoji: Optional<DefaultReaction?> = Optional.Missing(), val defaultThreadRateLimitPerUser: Optional<DurationInSeconds> = Optional.Missing(), val flags: Optional<ChannelFlags> = Optional.Missing(), val availableTags: Optional<List<ForumTagRequest>?> = Optional.Missing(), val defaultSortOrder: Optional<SortOrderType?> = Optional.Missing(), val defaultForumLayout: Optional<ForumLayoutType> = Optional.Missing())
Link copied to clipboard
data class GuildCreateRequest(val name: String, val region: Optional<String> = Optional.Missing(), val icon: Optional<String> = Optional.Missing(), val verificationLevel: Optional<VerificationLevel> = Optional.Missing(), val defaultNotificationLevel: Optional<DefaultMessageNotificationLevel> = Optional.Missing(), val explicitContentFilter: Optional<ExplicitContentFilter> = Optional.Missing(), val roles: Optional<List<GuildRoleCreateRequest>> = Optional.Missing(), val channels: Optional<List<GuildChannelCreateRequest>> = Optional.Missing(), val afkChannelId: OptionalSnowflake = OptionalSnowflake.Missing, val afkTimeout: Optional<DurationInSeconds> = Optional.Missing(), val systemChannelId: OptionalSnowflake = OptionalSnowflake.Missing)
Link copied to clipboard
data class GuildFromTemplateCreateRequest(val name: String, val image: Optional<String> = Optional.Missing())
Link copied to clipboard
data class GuildIntegrationCreateRequest(val type: Int, val id: String)
Link copied to clipboard
data class GuildIntegrationModifyRequest(val expireBehavior: Optional<IntegrationExpireBehavior> = Optional.Missing(), val expirePeriod: OptionalInt? = OptionalInt.Missing, val emoticons: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class GuildMemberAddRequest(val token: String, val nick: Optional<String> = Optional.Missing(), val roles: Optional<Set<Snowflake>> = Optional.Missing(), val mute: OptionalBoolean = OptionalBoolean.Missing, val deaf: OptionalBoolean = OptionalBoolean.Missing, val communicationDisabledUntil: Optional<Instant> = Optional.Missing())
Link copied to clipboard
data class GuildMemberModifyRequest(val nick: Optional<String?> = Optional.Missing(), val roles: Optional<Set<Snowflake>?> = Optional.Missing(), val mute: OptionalBoolean? = OptionalBoolean.Missing, val deaf: OptionalBoolean? = OptionalBoolean.Missing, val channelId: OptionalSnowflake? = OptionalSnowflake.Missing, val communicationDisabledUntil: Optional<Instant?> = Optional.Missing(), val flags: Optional<GuildMemberFlags?> = Optional.Missing())
Link copied to clipboard
Link copied to clipboard
data class GuildModifyRequest(val name: Optional<String> = Optional.Missing(), val region: Optional<String?> = Optional.Missing(), val verificationLevel: Optional<VerificationLevel?> = Optional.Missing(), val defaultMessageNotificationLevel: Optional<DefaultMessageNotificationLevel?> = Optional.Missing(), val contentFilter: Optional<ExplicitContentFilter?> = Optional.Missing(), val afkChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val afkTimeout: Optional<DurationInSeconds> = Optional.Missing(), val icon: Optional<String?> = Optional.Missing(), val ownerId: OptionalSnowflake = OptionalSnowflake.Missing, val splash: Optional<String?> = Optional.Missing(), val banner: Optional<String?> = Optional.Missing(), val systemChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val rulesChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val publicUpdatesChannelId: OptionalSnowflake? = OptionalSnowflake.Missing, val preferredLocale: Optional<String?> = Optional.Missing(), val features: Optional<Set<GuildFeature>> = Optional.Missing(), val safetyAlertsChannelId: OptionalSnowflake? = OptionalSnowflake.Missing)
Link copied to clipboard
data class GuildOnboardingModifyRequest(val prompts: Optional<List<OnboardingPromptRequest>> = Optional.Missing(), val defaultChannelIds: Optional<List<Snowflake>> = Optional.Missing(), val enabled: OptionalBoolean = OptionalBoolean.Missing, val mode: Optional<OnboardingMode> = Optional.Missing())
Link copied to clipboard
data class GuildRoleCreateRequest(val name: Optional<String> = Optional.Missing(), val permissions: Optional<Permissions> = Optional.Missing(), val color: Optional<Color> = Optional.Missing(), val hoist: OptionalBoolean = OptionalBoolean.Missing, val icon: Optional<String?> = Optional.Missing(), val unicodeEmoji: Optional<String?> = Optional.Missing(), val mentionable: OptionalBoolean = OptionalBoolean.Missing, val id: OptionalSnowflake = OptionalSnowflake.Missing)
Link copied to clipboard
data class GuildRoleModifyRequest(val name: Optional<String?> = Optional.Missing(), val permissions: Optional<Permissions?> = Optional.Missing(), val color: Optional<Color?> = Optional.Missing(), val hoist: OptionalBoolean? = OptionalBoolean.Missing, val icon: Optional<String?> = Optional.Missing(), val unicodeEmoji: Optional<String?> = Optional.Missing(), val mentionable: OptionalBoolean? = OptionalBoolean.Missing)
Link copied to clipboard
data class GuildScheduledEventCreateRequest(val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val entityMetadata: Optional<GuildScheduledEventEntityMetadata> = Optional.Missing(), val name: String, val privacyLevel: GuildScheduledEventPrivacyLevel, val scheduledStartTime: Instant, val scheduledEndTime: Optional<Instant> = Optional.Missing(), val description: Optional<String> = Optional.Missing(), val entityType: ScheduledEntityType, val image: Optional<String> = Optional.Missing())
Link copied to clipboard
data class GuildScheduledEventUsersResponse(val guildScheduledEventId: Snowflake, val user: DiscordUser, val member: Optional<DiscordGuildMember> = Optional.Missing())
Link copied to clipboard
data class GuildStickerCreateRequest(val name: String, val description: String, val tags: String)
Link copied to clipboard
data class GuildStickerModifyRequest(val name: Optional<String> = Optional.Missing(), val description: Optional<String> = Optional.Missing(), val tags: Optional<String> = Optional.Missing())
Link copied to clipboard
data class GuildTemplateCreateRequest(val name: String, val description: Optional<String?> = Optional.Missing())
Link copied to clipboard
data class GuildTemplateModifyRequest(val name: Optional<String> = Optional.Missing(), val description: Optional<String?> = Optional.Missing())
Link copied to clipboard
data class GuildWelcomeScreenModifyRequest(val enabled: OptionalBoolean = OptionalBoolean.Missing, val welcomeScreenChannels: Optional<List<DiscordWelcomeScreenChannel>> = Optional.Missing(), val description: Optional<String> = Optional.Missing())
Link copied to clipboard
data class GuildWidgetModifyRequest(val enabled: OptionalBoolean = OptionalBoolean.Missing, val channelId: OptionalSnowflake? = OptionalSnowflake.Missing)
data class InteractionApplicationCommandCallbackData(val tts: OptionalBoolean = OptionalBoolean.Missing, val content: Optional<String> = Optional.Missing(), val embeds: Optional<List<EmbedRequest>> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions> = Optional.Missing(), val flags: Optional<MessageFlags> = Optional.Missing(), val components: Optional<List<DiscordComponent>> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>> = Optional.Missing())
Link copied to clipboard
data class InteractionResponseModifyRequest(val content: Optional<String?> = Optional.Missing(), val embeds: Optional<List<EmbedRequest>?> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions?> = Optional.Missing(), val flags: Optional<MessageFlags?> = Optional.Missing(), val components: Optional<List<DiscordComponent>?> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>?> = Optional.Missing())
Link copied to clipboard
data class InviteCreateRequest(val maxAge: Optional<DurationInSeconds> = Optional.Missing(), val maxUses: OptionalInt = OptionalInt.Missing, val temporary: OptionalBoolean = OptionalBoolean.Missing, val unique: OptionalBoolean = OptionalBoolean.Missing, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, val targetApplicationId: OptionalSnowflake = OptionalSnowflake.Missing)
Link copied to clipboard
data class ListThreadsBySnowflakeRequest(val before: Snowflake? = null, val limit: Int? = null)
Link copied to clipboard
data class ListThreadsByTimestampRequest(val before: Instant? = null, val limit: Int? = null)
Link copied to clipboard
data class MessageCreateRequest(val content: Optional<String> = Optional.Missing(), val nonce: Optional<String> = Optional.Missing(), val tts: OptionalBoolean = OptionalBoolean.Missing, val embeds: Optional<List<EmbedRequest>> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions> = Optional.Missing(), val messageReference: Optional<DiscordMessageReference> = Optional.Missing(), val components: Optional<List<DiscordComponent>> = Optional.Missing(), val stickerIds: Optional<List<Snowflake>> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>> = Optional.Missing(), val flags: Optional<MessageFlags> = Optional.Missing(), val enforceNonce: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class MessageEditPatchRequest(val content: Optional<String?> = Optional.Missing(), val embeds: Optional<List<EmbedRequest>?> = Optional.Missing(), val flags: Optional<MessageFlags?> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions?> = Optional.Missing(), val components: Optional<List<DiscordComponent>?> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>?> = Optional.Missing())
Link copied to clipboard
data class MultipartFollowupMessageCreateRequest(val request: FollowupMessageCreateRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class MultipartFollowupMessageModifyRequest(val request: FollowupMessageModifyRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class MultipartForumThreadMessageCreateRequest(val request: ForumThreadMessageRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class MultipartMessageCreateRequest(val request: MessageCreateRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class MultipartMessagePatchRequest(val requests: MessageEditPatchRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class MultipartStartThreadRequest(val request: StartThreadRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class MultipartWebhookEditMessageRequest(val request: WebhookEditMessageRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class MultiPartWebhookExecuteRequest(val request: WebhookExecuteRequest, val files: List<NamedFile> = emptyList())
Link copied to clipboard
data class OnboardingPromptOptionRequest(val channelIds: List<Snowflake>, val roleIds: List<Snowflake>, val title: String, val description: String?)
Link copied to clipboard
data class OnboardingPromptRequest(val id: Snowflake, val type: OnboardingPromptType, val options: List<OnboardingPromptOptionRequest>, val title: String, val singleSelect: Boolean, val required: Boolean, val inOnboarding: Boolean)
Link copied to clipboard
data class ScheduledEventModifyRequest(val channelId: OptionalSnowflake? = OptionalSnowflake.Missing, val entityMetadata: Optional<GuildScheduledEventEntityMetadata?> = Optional.Missing(), val name: Optional<String> = Optional.Missing(), val privacyLevel: Optional<GuildScheduledEventPrivacyLevel> = Optional.Missing(), val scheduledStartTime: Optional<Instant> = Optional.Missing(), val scheduledEndTime: Optional<Instant> = Optional.Missing(), val description: Optional<String?> = Optional.Missing(), val entityType: Optional<ScheduledEntityType> = Optional.Missing(), val status: Optional<GuildScheduledEventStatus> = Optional.Missing(), val image: Optional<String> = Optional.Missing())
Link copied to clipboard
data class SkuSubscriptionsListRequest(val position: Position.BeforeOrAfter? = null, val limit: Int? = null, val userId: Snowflake? = null)
Link copied to clipboard
data class StageInstanceCreateRequest(val channelId: Snowflake, val topic: String, val privacyLevel: Optional<StageInstancePrivacyLevel> = Optional.Missing(), val sendStartNotification: OptionalBoolean = OptionalBoolean.Missing, val guildScheduledEventId: OptionalSnowflake = OptionalSnowflake.Missing)
Link copied to clipboard
data class StageInstanceModifyRequest(val topic: Optional<String> = Optional.Missing(), val privacyLevel: Optional<StageInstancePrivacyLevel> = Optional.Missing())
Link copied to clipboard
data class StartThreadRequest(val name: String, val autoArchiveDuration: Optional<ArchiveDuration> = Optional.Missing(), val type: Optional<ChannelType> = Optional.Missing(), val invitable: OptionalBoolean = OptionalBoolean.Missing, val rateLimitPerUser: Optional<DurationInSeconds?> = Optional.Missing(), val message: Optional<ForumThreadMessageRequest> = Optional.Missing(), val appliedTags: Optional<List<Snowflake>> = Optional.Missing())
Link copied to clipboard
data class TestEntitlementCreateRequest(val skuId: Snowflake, val ownerId: Snowflake, val ownerType: EntitlementOwnerType)
Link copied to clipboard
data class UserAddDMRequest(val token: String, val nick: String)
Link copied to clipboard
data class VoiceStateModifyRequest(val channelId: Snowflake, val suppress: OptionalBoolean = OptionalBoolean.Missing)
Link copied to clipboard
data class WebhookCreateRequest(val name: String, val avatar: Optional<String> = Optional.Missing())
Link copied to clipboard
data class WebhookEditMessageRequest(val content: Optional<String?> = Optional.Missing(), val embeds: Optional<List<EmbedRequest>?> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions?> = Optional.Missing(), val components: Optional<List<DiscordComponent>?> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>?> = Optional.Missing(), val flags: Optional<MessageFlags?> = Optional.Missing())
Link copied to clipboard
data class WebhookExecuteRequest(val content: Optional<String> = Optional.Missing(), val username: Optional<String> = Optional.Missing(), val avatar: Optional<String> = Optional.Missing(), val tts: OptionalBoolean = OptionalBoolean.Missing, val embeds: Optional<List<EmbedRequest>> = Optional.Missing(), val allowedMentions: Optional<AllowedMentions> = Optional.Missing(), val components: Optional<List<DiscordComponent>> = Optional.Missing(), val attachments: Optional<List<AttachmentRequest>> = Optional.Missing(), val flags: Optional<MessageFlags> = Optional.Missing(), val threadName: Optional<String> = Optional.Missing(), val appliedTags: Optional<List<Snowflake>> = Optional.Missing())
Link copied to clipboard
data class WebhookModifyRequest(val name: Optional<String> = Optional.Missing(), val avatar: Optional<String?> = Optional.Missing(), val channelId: OptionalSnowflake = OptionalSnowflake.Missing)