Skip to main content

LMFeedReplyContext

Introduction

The LMFeedReplyContext stores details to a single Comment/Reply on a post. Each of the Comment/Reply is wrapped in its own LMFeedReplyContext. You can use this to create a custom UI for a Comment or a Reply.

PropertyTypeOptional
replyReply | nullNo
userUser | nullNo
deleteReply(id: string) => voidYes
likeReply(id: string) => voidYes
updateReply(comment: Reply, usersMap: Record<string, User>) => voidYes

Example

For example implementation, checkout here