MessageCreateRequest
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)(source)
Constructors
Link copied to clipboard
constructor(content: Optional<String> = Optional.Missing(), nonce: Optional<String> = Optional.Missing(), tts: OptionalBoolean = OptionalBoolean.Missing, embeds: Optional<List<EmbedRequest>> = Optional.Missing(), allowedMentions: Optional<AllowedMentions> = Optional.Missing(), messageReference: Optional<DiscordMessageReference> = Optional.Missing(), components: Optional<List<DiscordComponent>> = Optional.Missing(), stickerIds: Optional<List<Snowflake>> = Optional.Missing(), attachments: Optional<List<AttachmentRequest>> = Optional.Missing(), flags: Optional<MessageFlags> = Optional.Missing(), enforceNonce: OptionalBoolean = OptionalBoolean.Missing)