View Source Tw.V1_1.Poll (Tw v0.1.0)
Poll data structure and related functions. https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities
Link to this section Summary
Types
field description options
An array of options, each having a poll position, and the text for that position. Example: {[ { "position": 1, "text": "I read documentation once." } ] }
.end_datetime
Time stamp (UTC) of when poll ends. Example: "Thu May 25 22:20:27 +0000 2017"
.duration_minutes
Duration of poll in minutes. Example: 60
.
Link to this section Types
Specs
field description options
An array of options, each having a poll position, and the text for that position. Example: {[ { "position": 1, "text": "I read documentation once." } ] }
.end_datetime
Time stamp (UTC) of when poll ends. Example: "Thu May 25 22:20:27 +0000 2017"
.duration_minutes
Duration of poll in minutes. Example: 60
.
Link to this section Functions
Specs
Decode JSON-decoded map into t/0