Interface HMSPollQuestionResponse

Represents a response for a poll question.

Hierarchy

  • HMSPollQuestionResponse

Properties

duration: number

Time taken to respond.

option: number

The index of the selected option (in case of single choice question).

options?: number[]

The list of indexes of selected options (in case of multiple choice question).

peer?: HMSPollResponsePeerInfo

The peer information associated with the response. Depends on the tracking type selected for poll.

questionID: number

The ID of the question associated with the response.

responseFinal?: boolean

A flag indicating whether the response is final in case multiple responses were sent for this question.

skipped: boolean

A flag indicating whether the question was skipped or not.

text: string

The text answer provided (in case of short/long answer question).

The type of the question associated with the response.

update: boolean

A flag indicating whether the response was updated from previous response.

Generated using TypeDoc