BotCommand

@Serializable
data class BotCommand(val command: String, val description: String, val isEphemeral: Boolean = false)(source)

Constructors

Link copied to clipboard
constructor(command: String, description: String, isEphemeral: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "command")
val command: String
Link copied to clipboard
@SerialName(value = "description")
val description: String
Link copied to clipboard
@SerialName(value = "is_ephemeral")
val isEphemeral: Boolean