Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.​QuestionAndAnswers​CapabilityInput

Create a question feed element or set the best answer of the existing question feed element.

This class is a subclass of ConnectApi.​FeedElement​CapabilityInput Class.

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. Required to post a feed element.

Not supported when updating a feed element.

32.0