class LSProtocol::ShowMessageRequestParams
- LSProtocol::ShowMessageRequestParams
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(message : String | Nil, type : MessageType | Nil, actions : Array(MessageActionItem) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#actions : Array(MessageActionItem) | Nil
The message action items to present.
-
#message : String
The actual message.
-
#type : MessageType
The message type.
Constructor Detail
def self.new(message : String | Nil, type : MessageType | Nil, actions : Array(MessageActionItem) | Nil = nil)
#