Five input devices are:
1. Keyboards
2. Joysticks
3. Mouse
4. Webcam
5. Gamepad
If you have selected the option to store history, it will be stored else no. In Yahoo, you have an option to archive messages. I'm not sure about other messengers.