copyWith method

CallbackQueryAnswer copyWith({
  1. String? text,
  2. bool? showAlert,
  3. String? url,
})

Implementation

CallbackQueryAnswer copyWith({String? text, bool? showAlert, String? url}) =>
    CallbackQueryAnswer(
      text: text ?? this.text,
      showAlert: showAlert ?? this.showAlert,
      url: url ?? this.url,
    );