ConnectApi.​Comment​Page Class

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

Important

As of version 32.0, use the items property.

28.0-31.0
currentPageToken String Token identifying the current page. 28.0
currentPageUrl String Chatter 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 Chatter REST API URL identifying the next page or null if there isn’t a next page. Check whether this value is null before getting another page. If a page doesn’t exist, a ConnectApi.NotFoundException error is returned.

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
total Integer Total number of comments for the parent feed element 28.0
Previous
Next