Skip to main content

Post View Data Model

LMPostViewData

VARIABLETYPEDESCRIPTIONOPTIONAL
idstringUnique identifier for the post
attachmentsLMAttachmentViewData[]List of attachments related to the post✔️
commentsCountnumberCount of comments on the post
communityIdnumberIdentifier for the community
createdAtnumberTimestamp when the post was created
isEditedbooleanIndicates if the post has been edited
isLikedbooleanIndicates if the post is liked by the user
isPinnedbooleanIndicates if the post is pinned
isSavedbooleanIndicates if the post is saved
likesCountnumberCount of likes on the post
menuItemsLMMenuItemsViewData[]Menu items associated with the post
repliesLMCommentViewData[]List of replies to the post✔️
textstringContent of the post
updatedAtnumberTimestamp when the post was last updated
userIdstringIdentifier for the user who created the post
uuidstringUniversal unique identifier for the post
userLMUserViewDataUser details of the person who created the post
topicsstring[]List of topics associated with the post✔️
usersstring,LMUserViewDataMap of users interacting with the post