Poll_Create

struct

Request object to create a poll.

Property Type Description
allow_multiselect Boolean Whether a user can select multiple answers, defaults to false
answers Each of the answers available in the poll, up to 10
duration Integer Number of hours the poll should be open for, up to 32 days, defaults to 24
layout_type Integer The layout type of the poll, defaults to 1
question Poll_Media The question of the poll (only text is supported)
part of the Apioo-Project