commonMain.builder.RequestBuilder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kord-rest Show documentation
Show all versions of kord-rest Show documentation
Idiomatic Kotlin Wrapper for The Discord API
The newest version!
package dev.kord.rest.builder
import dev.kord.common.annotation.KordDsl
@KordDsl
public interface AuditBuilder {
/**
* The reason for this request, this will be displayed in the audit log.
*/
public var reason: String?
}
@KordDsl
public interface RequestBuilder {
public fun toRequest(): T
}
@KordDsl
public interface AuditRequestBuilder : AuditBuilder, RequestBuilder