The first gen and the 3G both have lithium-ion batteries.
Yepp, Yepp, Yepp. Li-Ion batteries in iPhone and most other cell phones for that matter!