struct Anthropic::Image::Source

Included Modules

Extended Modules

Defined in:

message_content.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Type, media_type : MediaType, data : String) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def clone #

def copy_with(type _type = @type, media_type _media_type = @media_type, data _data = @data) #

def data : String #

def media_type : MediaType #

def type : Type #