Command

data class Command(@Json(name = "args") val args: String, @Json(name = "description") val description: String, @Json(name = "name") val name: String, @Json(name = "set") val set: String, @Json(name = "created_at") val createdAt: OffsetDateTime? = null, @Json(name = "updated_at") val updatedAt: OffsetDateTime? = null)

Represents custom chat command

Parameters

args

Arguments help text, shown in commands auto-completion

description

Description, shown in commands auto-completion

name

Unique command name

set

Set name used for grouping commands

createdAt

Date/time of creation

updatedAt

Date/time of the last update

Constructors

Link copied to clipboard
constructor(@Json(name = "args") args: String, @Json(name = "description") description: String, @Json(name = "name") name: String, @Json(name = "set") set: String, @Json(name = "created_at") createdAt: OffsetDateTime? = null, @Json(name = "updated_at") updatedAt: OffsetDateTime? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val set: String
Link copied to clipboard
val updatedAt: OffsetDateTime? = null