Dot (.) symbol automatically added when pressing the space key 2 or more times
That is not only on WhatsApp. It is everywhere when you double click space bar, a dot will occur. You need to configure it with your keyboard settings on Android, or simply reset your keyboard settings.