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.QuestionAndAnswersCapability

If a feed element has this capability, it has a question and comments on the feed element are answers to the question.

Subclass of ConnectApi.FeedElementCapability.

Property Name Type Description Available Version
bestAnswer ConnectApi.​Comment Comment selected as the best answer for the question. 32.0
bestAnswer​SelectedBy ConnectApi.​UserSummary User who selected the best answer for the question. 32.0
canCurrentUser​SelectOrRemove​BestAnswer Boolean Indicates whether the context user can select or remove a best answer (true) or not (false). 32.0
candidateAnswers ConnectApi.CandidateAnswersStatus Status of candidate answers for the question. 41.0
escalatedCase ConnectApi.​Reference If a question post is escalated, this is the case to which it was escalated. 33.0
questionTitle String Title for the question. 32.0