copyWith method

UpdateManagedBot copyWith({
  1. int? userId,
  2. int? botUserId,
})

Implementation

UpdateManagedBot copyWith({
  int? userId,
  int? botUserId,
}) =>
    UpdateManagedBot(
      userId: userId ?? this.userId,
      botUserId: botUserId ?? this.botUserId,
    );