Skip to main content

CreatePollInput (Input)

Description

No description



Fields

NameDescription
closesAt - DateTimeThe time when the poll closes for voting. Set to null to remove close date.
maxSelections - IntThe number of votes each participant can cast. Default is 1.
opensAt - DateTimeThe time when the poll opens for voting.
options - [PollOptionInput!]!
parentEntityId - StringThe 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 - PollParentHintInputRequired 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!
}