copyWith method

  1. @override
ReplyMarkupShowKeyboard copyWith({
  1. List<List<KeyboardButton>>? rows,
  2. bool? resizeKeyboard,
  3. bool? oneTime,
  4. bool? isPersonal,
  5. String? inputFieldPlaceholder,
})
override

Implementation

@override
ReplyMarkupShowKeyboard copyWith({
  List<List<KeyboardButton>>? rows,
  bool? resizeKeyboard,
  bool? oneTime,
  bool? isPersonal,
  String? inputFieldPlaceholder,
}) => ReplyMarkupShowKeyboard(
  rows: rows ?? this.rows,
  resizeKeyboard: resizeKeyboard ?? this.resizeKeyboard,
  oneTime: oneTime ?? this.oneTime,
  isPersonal: isPersonal ?? this.isPersonal,
  inputFieldPlaceholder: inputFieldPlaceholder ?? this.inputFieldPlaceholder,
);