Description:
Sending a chat message returns a 400 http status when including an alias. The issue was noticed following an update on January 17, 2020.
The api request was working before the update.
The request is successful without the 'alias' attribute.
Steps to reproduce:
- Using the api path '/api/v1/chat.sendMessage', send a request body with an alias
Expected behavior:
The message should be created successfully.
Actual behavior:

Server Setup Information:
- Version of Rocket.Chat Server: 2.4.2
- Operating System: Linux
- Deployment Method: snap
- Number of Running Instances: 1
- NodeJS Version: 8.17.0
- MongoDB Version: 3.6.14