class MCProtocol::PromptReference

Overview

Identifies a prompt.

Included Modules

Defined in:

mcprotocol/prompt_reference.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(name : String, type : String = "ref/prompt") #

[View source]

Instance Method Detail

def name : String #

The name of the prompt or prompt template


[View source]
def type : String #

[View source]