WebhookExecuteRequest

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())(source)

Constructors

Link copied to clipboard
constructor(content: Optional<String> = Optional.Missing(), username: Optional<String> = Optional.Missing(), avatar: Optional<String> = Optional.Missing(), tts: OptionalBoolean = OptionalBoolean.Missing, embeds: Optional<List<EmbedRequest>> = Optional.Missing(), allowedMentions: Optional<AllowedMentions> = Optional.Missing(), components: Optional<List<DiscordComponent>> = Optional.Missing(), attachments: Optional<List<AttachmentRequest>> = Optional.Missing(), flags: Optional<MessageFlags> = Optional.Missing(), threadName: Optional<String> = Optional.Missing(), appliedTags: Optional<List<Snowflake>> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "allowed_mentions")
val allowedMentions: Optional<AllowedMentions>
Link copied to clipboard
@SerialName(value = "applied_tags")
val appliedTags: Optional<List<Snowflake>>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "avatar_url")
val avatar: Optional<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "thread_name")
val threadName: Optional<String>
Link copied to clipboard
Link copied to clipboard