Poll

struct

A poll attached to a message.

Property Type Description
allow_multiselect Boolean Whether a user can select multiple answers
answers Each of the answers available in the poll
expiry String The time when the poll ends
layout_type Integer The layout type of the poll
question Poll_Media The question of the poll (only text is supported)
results Poll_Results The results of the poll
part of the Apioo-Project