Documentation - v0.32.0
    Preparing search index...

    Interface RequestPollButton

    A button requesting the user to create a poll (reply keyboards only)

    interface RequestPollButton {
        quiz?: boolean;
        style?: BotKeyboardButtonStyle;
        text: string;
        type: "request_poll";
    }

    Hierarchy

    • BotKeyboardButtonBase
      • RequestPollButton
    Index

    Properties

    Properties

    quiz?: boolean

    If set, only quiz polls can be sent

    Style of the button

    text: string

    Text of the button

    type: "request_poll"