class Claude::Anthropic::Message

Included Modules

Defined in:

claude/anthropic/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(role : String, content : String | Array(ContentBlock | String)) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def content : String | Array(ContentBlock | String) #

[View source]
def content=(content : String | Array(ContentBlock | String)) #

[View source]
def role : String #

[View source]
def role=(role : String) #

[View source]