CreatePollInput (Input)
Description
No description
Fields
| Name | Description |
|---|---|
| closesAt - DateTime | The time when the poll closes for voting. Set to null to remove close date. |
| maxSelections - Int | The number of votes each participant can cast. Default is 1. |
| opensAt - DateTime | The time when the poll opens for voting. |
| options - [PollOptionInput!]! | |
| parentEntityId - String | The parent entity ID for the poll. Can only be null if the parent entity type is Post to create a draft poll. Draft polls will be lazily attached to the corresponding entity when the poll is first loaded as a property of the parent post. |
| parentEntityType - PollEntityType! | The parent entity type for the poll |
| parentHint - PollParentHintInput | Required if parentEntityId is not provided. |
| title - String! |
input CreatePollInput {
closesAt: DateTime
maxSelections: Int
opensAt: DateTime
options: [PollOptionInput!]!
parentEntityId: String
parentEntityType: PollEntityType!
parentHint: PollParentHintInput
title: String!
}