Serializers::Post
Inherits Struct < Value < Object
A post view-object.
Constructors
Returns a Post view-object.
Facts about the post are as seen by owner_iri.
new(iri : String, type : String, name : String | Nil, summary : String | Nil, content : String | Nil, to : Array(String), cc : Array(String), audience : Array(String), attachments : Array(Attachment), published : Time | Nil, in_reply_to : String | Nil, thread : String | Nil, quote : String | Nil, language : String | Nil, sensitive : Bool, hashtags : Array(Tag), mentions : Array(Tag), labels : Array(String), author : String | Nil, deleted : Bool, blocked : Bool, timeline : String | Nil, poll : Poll | Nil)
SourceInstance methods
attachments
Sourceaudience
Sourceauthor
Sourceblocked
Sourcecc
Sourcecontent
Sourcedeleted
Sourcehashtags
Sourcein_reply_to
Sourceiri
Sourcelabels
Sourcelanguage
Sourcementions
Sourcename
Sourcepoll
Sourcepublished
Sourcequote
Sourcesensitive
Sourcesummary
Sourcethread
Sourcetimeline
How the post reached the feed's owner's timeline: "create",
"announce", or nil if it is not in their timeline.
to
Sourcetype
Source