class
MCProtocol::TextResourceContents
- MCProtocol::TextResourceContents
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/text_resource_contents.crConstructors
Instance Method Summary
-
#mimeType : String | Nil
The MIME type of this resource, if known.
-
#text : String
The text of the item.
-
#uri : URI
The URI of this resource.
Constructor Detail
Instance Method Detail
def text : String
#
The text of the item. This must only be set if the item can actually be represented as text (not binary data).