Copilot.Types.CommandDefinition (Copilot SDK v2.3.0)

Copy Markdown

Definition of a slash command registered with the session.

Summary

Types

t()

@type t() :: %Copilot.Types.CommandDefinition{
  description: String.t() | nil,
  handler: Copilot.Types.command_handler(),
  name: String.t()
}