Poll (Object)
Description
No description
Fields
| Name | Description |
|---|---|
| closesAt - DateTime | |
| createdAt - String! | |
| createdById - String! | |
| deletedAt - String | |
| id - ID! | |
| isDraft - Boolean! | |
| maxSelections - Int! | The maximum number of options a participant can select. Defaults to 1. |
| networkId - String! | |
| opensAt - DateTime! | |
| options - [PollOption!]! | |
| parentEntityId - String | |
| parentEntityType - PollEntityType! | |
| status - PollStatus! | |
| title - String! | |
| totalParticipants - Int | The number of people who have participated in the poll. |
| totalVoteCasts - Int | The number of votes cast for this poll. In case of multi-choice polls, it can be more than total participants. |
| updatedAt - String! | |
| usersVote - Vote | Vote cast by the current user |
| voteToken - String | JWT token that allows voting on this poll. Valid for 1 hour from generation. |
type Poll {
closesAt: DateTime
createdAt: String!
createdById: String!
deletedAt: String
id: ID!
isDraft: Boolean!
maxSelections: Int!
networkId: String!
opensAt: DateTime!
options: [PollOption!]!
parentEntityId: String
parentEntityType: PollEntityType!
status: PollStatus!
title: String!
totalParticipants: Int
totalVoteCasts: Int
updatedAt: String!
usersVote: Vote
voteToken: String
}