Disclaimer: This option is only available to Android users.
By default, the Enter key on WhatsApp Messenger is programmed to add a new line between text. However, you can configure your "Enter" key to send messages in lieu of adding additional spaces.
Open WhatsApp and go to Settings > Chat Settings:
Image: © prykhodov - 123RF.com