Apex Reference Guide
Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ConnectApi.CommentPage
| Name | Type | Description | Available Version |
|---|---|---|---|
| comments | List<ConnectApi.Comment> | Collection of comments. 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 | 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 |