KeyboardButtonTypeRequestPoll constructor

const KeyboardButtonTypeRequestPoll({
  1. required bool forceRegular,
  2. required bool forceQuiz,
})

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

Implementation

const KeyboardButtonTypeRequestPoll({
  required this.forceRegular,
  required this.forceQuiz,
});