struct ACP::Protocol::AvailableCommandInput

Overview

Input specification for a slash command. In the ACP spec this is a union type (currently only "unstructured").

Included Modules

Defined in:

acp/protocol/updates.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(hint : String, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def hint : String #

A hint to display when the input hasn't been provided yet.


[View source]
def hint=(hint : String) #

A hint to display when the input hasn't been provided yet.


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]