copyWith method

CallbackQueryAnswer copyWith({
  1. String? text,
  2. bool? showAlert,
  3. String? url,
  4. dynamic extra,
  5. int? clientId,
})

Implementation

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