copyWith method

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

Implementation

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