ConnectApi.QuestionAndAnswersCapabilityInput
Create or edit a question feed element or set the best answer of the existing question feed element.
This class is a subclass of ConnectApi.FeedElementCapabilityInput.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
bestAnswerId | String | A comment ID to use as a best answer for a question feed element. The best answer comment must already exist on the question feed element. | Required to update a feed element. Not supported when posting a feed element. | 32.0 |
questionTitle | String | Title for a question feed element. To edit the title of a question, use updateFeedElement(communityId, feedElementId, feedElement). Editing question titles is supported in version 34.0 and later. | Required to post a feed element. Not supported when updating a feed element. | 32.0 |
See Also