OpenAI::Attachment
Inherits JSON::Serializable < Reference < Object
Attachment metadata included on thread items.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : AttachmentType = AttachmentType::Image, id : String = "", name : String = "", mime_type : String = "", preview_url : AttachmentPreviewUrl = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
preview_url
Sourcepreview_url=(preview_url : AttachmentPreviewUrl)
Source