interface KeyboardButton.RequestPollButton
extends CommonButton

Properties

If specified, the user will be asked to create a poll and send it to the bot when the button is pressed. Available in private chats only.

Usage

import { KeyboardButton } from "types";