Skip to content

InputPollOption

Type · TDLib 1.8.67 · d1085f9c

Describes one answer option of a poll to be created

InputPollOption(
  text: FormattedText,
  media: InputPollMedia
) → InputPollOption

text

FormattedText

Option text; 1-100 characters. Only custom emoji entities are allowed to be added and only by Premium users

media

InputPollMedia

Option media; pass null if none. Must be one of the following types: inputPollMediaAnimation, inputPollMediaLink, inputPollMediaLocation, inputPollMediaPhoto, inputPollMediaSticker, inputPollMediaVenue, or inputPollMediaVideo without caption