The related questions for a given smart snippet.

interface SmartSnippetRelatedQuestion {
    answer: string;
    documentId: QuestionAnswerDocumentIdentifier;
    expanded: boolean;
    question: string;
    questionAnswerId: string;
    source?: Result;
}

Properties

answer: string

The answer, or snippet, related to the question.

This can contain HTML markup, depending on the source of the answer.

The index identifier for the document that provided the answer.

expanded: boolean

Determines if the snippet is currently expanded.

question: string

The question related to the smart snippet.

questionAnswerId: string

The unique identifier for this question & answer.

source?: Result

Provides the source of the smart snippet.