struct Anthropic::Text

Defined in:

message_content.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct Anthropic::TextOrImageContent

new(pull : JSON::PullParser) new

Instance methods inherited from struct Anthropic::MessageContent

type : String type

Constructor methods inherited from struct Anthropic::MessageContent

new(pull : JSON::PullParser) new

Constructor Detail

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

def self.new(text : String) #

Instance Method Detail

def text : String #

def to_s(io) : Nil #

def type : String #