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)

Properties

Link copied to clipboard
@SerialName(value = "allowed_mentions")
val allowedMentions: Optional<AllowedMentions>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "enforce_nonce")
val enforceNonce: OptionalBoolean
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "message_reference")
val messageReference: Optional<DiscordMessageReference>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "sticker_ids")
val stickerIds: Optional<List<Snowflake>>
Link copied to clipboard