copyWith method

Implementation

InlineKeyboardButton copyWith({
  String? text,
  InlineKeyboardButtonType? type,
}) => InlineKeyboardButton(
  text: text ?? this.text,
  type: type ?? this.type,
);