Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StreamPost

Represents a stream post.

Hierarchy

  • StreamPost

Index

Properties

author

author: User

The user that wrote the post.

children

children: StreamPost[] = []

The children of this post.

id

id: string

The unique id.

locked

locked: boolean

Whether the post is locked.

parent_chain

parent_chain: string[] = []

The chain of parent posts.

photo

The metadata of photos in the post.

reactions

reactions: ReactionsSummary

The reactions (like, etc.) to the post.

text

text: string

The text (contents) of the post.

timestamp

timestamp: Moment

The time the post was created.

Methods

toJSON

  • toJSON(): any

Static fromRest

Generated using TypeDoc