struct

PlaceOS::Driver::Interface::ChatBot::Attachment

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(name : String, payload : String)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

name
Source
name=(name : String)
Source
payload

Base64 encoded binary contents

Source
payload=(payload : String)

Base64 encoded binary contents

Source