StarmindClient.PostQuestionDraftAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a question draft
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Starmind.Models.Question> PostQuestionDraftAsync(Azure.Connectors.Sdk.Starmind.Models.PostQuestionDraftInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member PostQuestionDraftAsync : Azure.Connectors.Sdk.Starmind.Models.PostQuestionDraftInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Starmind.Models.Question>
override this.PostQuestionDraftAsync : Azure.Connectors.Sdk.Starmind.Models.PostQuestionDraftInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Starmind.Models.Question>
Public Overridable Function PostQuestionDraftAsync (input As PostQuestionDraftInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Question)
Parameters
- input
- PostQuestionDraftInput
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Create a question draft response.
Remarks
Creates a new question draft. The draft is not yet searchable or answerable by others. After creation, publish the draft (via the publish endpoint) to trigger expert search, make the question discoverable, and allow other users to answer it. Providing the optional description helps experts understand the question better and increases the chances of getting high-quality answers.