class Cryap::API::Entities::Status

Overview

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

Included Modules

Defined in:

modules/api/entities/status.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(post : Cryap::Database::Models::Post, account : Cryap::Database::Models::Account | Nil = nil) #

def self.new(boost : Cryap::Database::Models::Boost, account : Cryap::Database::Models::Account | Nil = nil) #

Instance Method Detail


def bookmarked? : Bool | Nil #

def content : String #

def created_at : String #

def cryap : CryapSpecific | Nil #

def edited_at : String | Nil #

def emojis : Array(Nil) #

def favourited? : Bool | Nil #

def favourites_count : Int32 #

def filtered : Array(Nil) | Nil #

def id : String #

def in_reply_to_account_id : String | Nil #

def in_reply_to_id : String | Nil #

def language : String | Nil #

def media_attachments : Array(MediaAttachment) #

def mentions : Array(Mention) #

def muted? : Bool | Nil #

def pinned? : Bool | Nil #

def reblog : Cryap::API::Entities::Status | Nil #

def reblogged? : Bool | Nil #

def reblogs_count : Int32 #

def replies_count : Int32 #

def sensitive? : Bool #

def spoiler_text : String #

def uri : String #

def url : String | Nil #

def visibility : String #