struct

Anthropic::Message

Inherits JSON::Serializable / Anthropic::Resource / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
new(content : String, role : Role = :user)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

content
Source
role
Source

Nested types