KeyboardButton constructor

KeyboardButton({
  1. required String text,
  2. KeyboardButtonRequestUser? requestUser,
  3. bool? requestContact,
  4. bool? requestLocation,
  5. KeyboardButtonPollType? requestPoll,
  6. WebAppInfo? webApp,
})

Implementation

KeyboardButton({
  required this.text,
  this.requestUser,
  this.requestContact,
  this.requestLocation,
  this.requestPoll,
  this.webApp,
});