copyWith method

KeyboardButtonTypeRequestManagedBot copyWith({
  1. int? id,
  2. String? suggestedName,
  3. String? suggestedUsername,
})

Implementation

KeyboardButtonTypeRequestManagedBot copyWith({
  int? id,
  String? suggestedName,
  String? suggestedUsername,
}) => KeyboardButtonTypeRequestManagedBot(
  id: id ?? this.id,
  suggestedName: suggestedName ?? this.suggestedName,
  suggestedUsername: suggestedUsername ?? this.suggestedUsername,
);