Room temperature – around 20°C/70°F – is the best temperature to charge equipment at. However, since we don't all life in climate-controlled rooms, we can extend this range out to 5 to 45 °C/ 41 to 113 °F. Anything either side of this and things can get bad for the battery. This is especially true for charging the battery at temperatures below 0 °C/32 °F, which can permanent damage the battery.
Subjecting Li-Ion batteries to temperature extremes can also physically damage the battery, causing it to warp or crack. This, in turn, can damage the device containing the battery.