class Cryap::API::Entities::MediaAttachment

Overview

TODO Fully implement https://docs.joinmastodon.org/entities/MediaAttachment

Included Modules

Defined in:

modules/api/entities/media_attachment.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(attachment : Cryap::Database::Models::Media) #

Instance Method Detail

def blurhash : String #

def created_at : Time #

def description : String #

def id : String #

def meta : Hash(String, Nil) #

def preview_url : String #

def remote_url : String #

def type : String #

def url : String #