Interface InputPollOption

Describes one answer option of a poll to be created.

interface InputPollOption {
    @type: "inputPollOption";
    media: InputPollMedia;
    text: FormattedText;
}

Properties

Properties

@type: "inputPollOption"

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

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