All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.json.request.EmojiRequests.kt Maven / Gradle / Ivy

package dev.kord.rest.json.request

import dev.kord.common.entity.Snowflake
import dev.kord.common.entity.optional.Optional
import kotlinx.serialization.Serializable

@Serializable
public data class EmojiCreateRequest(
    val name: String,
    val image: String,
    val roles: Set
)

@Serializable
public data class EmojiModifyRequest(
    val name: Optional = Optional.Missing(),
    val roles: Optional?> = Optional.Missing()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy