I did this repair again today. The new part was not the same, the rivet did not project through far enough to drill a 1/16th hole and use a cotter pin to capture it.
I opened the plastic slide, removed the rivet and replaced it with a 1/4 inch carriage bolt, cut to length. I drilled the 1/16th hole as before for the pin. I also drilled out the hole for the rivet in the window arm, as it was metric and slightly smaller.