MCProtocol::GetPromptResult
Inherits JSON::Serializable < Reference < Object
The server's response to a prompts/get request from the client.
Constructors
new(messages : Array(PromptMessage), _meta : JSON::Any | Nil = Nil, description : String | Nil = Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
_meta
This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
messages
Source