Serializers::Post::Attachment
Inherits JSON::Serializable < Struct < Value < Object
An attachment.
Constructors
new(url : String, media_type : String, caption : String | Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
caption
clone
Sourcecopy_with(url _url = @url, media_type _media_type = @media_type, caption _caption = @caption)
Sourcemedia_type
url