FeedElementModel

Description: The FeedElementModel represents a feed post.

Fields:

  • FeedElementInfo info - Info about the feed post. Contains the following fields:
    • string time - When this feed post was made.
    • string type - Type of the feed post, which is either "image" or "text".
    • string app - The app which created this feed post, which is null if this post was created from the website.
    • FeedElementPostPayload payload - The contents of the feed post. Contains the following fields:
      • int height - Height of the feed image.
      • int width - Width of the feed image.
      • Uri url - URL of the feed image.
      • Uri thumbnailUri - URI of the feed thumbnail image.
      • string title - Title of the feed post.
      • string message - Message for the feed post.

Methods:

  • Promise<UserModel> GetUser() - Get the user that made this post.