Send Message as an Agent

Description

Hi this is not issue, but i found no api to send message as an agent in the livechat room. Is anyone know which API should i used, and appreciate if you can give me the json request too. Thank you.

Server Setup Information

  • Version of Rocket.Chat Server: 4.8.6
  • Operating System: Linux
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 1
  • NodeJS Version: v14.18.3
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information