Interface KeyboardButtonTypeRequestPoll

A button that allows the user to create and send a poll when pressed; available only in private chats. Subtype of KeyboardButtonType.

interface KeyboardButtonTypeRequestPoll {
    @type: "keyboardButtonTypeRequestPoll";
    force_quiz?: boolean;
    force_regular?: boolean;
}

Properties

@type: "keyboardButtonTypeRequestPoll"
force_quiz?: boolean

If true, only polls in quiz mode must be allowed to create.

force_regular?: boolean

If true, only regular polls must be allowed to create.