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 NameTypeDescriptionAvailable Version
bestAnswerConnectApi.​CommentComment selected as the best answer for the question.32.0
bestAnswer​SelectedByConnectApi.​UserSummaryUser who selected the best answer for the question.32.0
canCurrentUser​SelectOrRemove​BestAnswerBooleanIndicates whether the context user can select or remove a best answer (true) or not (false).32.0
candidateAnswersConnectApi.CandidateAnswersStatusStatus of candidate answers for the question.41.0
escalatedCaseConnectApi.​ReferenceIf a question post is escalated, this is the case to which it was escalated.33.0
questionTitleStringTitle for the question.32.0

See Also