ConnectApi.ChatterLikesCapability

If a feed element has this capability, the context user can like it. Exposes information about existing likes.

Subclass of ConnectApi.FeedElementCapability.

Property NameTypeDescriptionAvailable Version
isLikedBy​CurrentUserBooleanIndicates whether the feed element is liked by the context user (true) or not (false).32.0
pageConnectApi.​ChatterLikePageLikes information for this feed element.32.0
likesMessageConnectApi.​MessageBodyA message body that describes who likes the feed element.32.0
myLikeConnectApi.​ReferenceIf the context user has liked the feed element, this property is a reference to the specific like, null otherwise.32.0

See Also