FeedItem

FeedItem

Represents an item that can be shown in the feed

Constructor

new FeedItem()

Source:

Members

date :string

Source:
The date this post was created
Type:
  • string

id :number

Source:
The post ID
Type:
  • number

level :number

Source:
The level of the post author
Type:
  • number

message :string

Source:
Unknown value - always empty string?
Type:
  • string

(nullable) packageName :*

Source:
Unknown value - always null?
Type:
  • *

(nullable) referenceID :*

Source:
Unknown value - always null?
Type:
  • *

title :string

Source:
Text shown next to username (e.g. "reached Level 21")
Type:
  • string

type :PostType

Source:
The post type
Type:

user :User

Source:
The author of the post or the user in question
Type:

userID :number

Source:
The ID of the post author / user in question
Type:
  • number

(nullable) userLesson :*

Source:
Unknown value
Type:
  • *

(nullable) userPost :UserPost

Source:
The post the user wrote if applicable (type == PostType.USER_POST)
Type:
  • UserPost