ConnectApi.CommentPage

A page of comments.
Name Type Description Available Version
comments List<ConnectApi.​Comment> Collection of comments.

As of version 32.0, use the items property.

Important

28.0–31.0
currentPageToken String Token identifying the current page. 28.0
currentPageUrl String Connect REST API URL identifying the current page. 28.0
items List<ConnectApi.​Comment> Collection of comments for this feed element. 32.0
nextPageToken String Token identifying the next page, or null if there isn’t a next page.

If you want to read more of the comments in search results, all the comments in the thread are refreshed, not just the ones that match the search term. Avoid using nextPageToken until the comments are refreshed.

28.0
nextPageUrl String Connect REST API URL identifying the next page, or null if there isn’t a next page.

If you want to read more of the comments in search results, all the comments in the thread are refreshed, not just the ones that match the search term. Avoid using nextPageUrl until the comments are refreshed.

28.0
previousPageToken String Token identifying the previous page, or null if there isn’t a previous page. 44.0
previousPageUrl String Connect REST API URL identifying the previous page, or null if there isn’t a previous page. 44.0
total Integer Total number of published comments for the parent feed element. 28.0