commonMain.json.request.TemplateRequests.kt Maven / Gradle / Ivy
package dev.kord.rest.json.request
import dev.kord.common.entity.optional.Optional
import kotlinx.serialization.Serializable
@Serializable
public data class GuildFromTemplateCreateRequest(
val name: String,
val image: Optional = Optional.Missing()
)
@Serializable
public data class GuildTemplateModifyRequest(
val name: Optional = Optional.Missing(),
val description: Optional = Optional.Missing()
)
@Serializable
public data class GuildTemplateCreateRequest(
val name: String,
val description: Optional = Optional.Missing()
)