Sending QuickReplies though /api/v1/chat.sendMessage

Description

Hello,

We’ve created a custom connector between a proprietary AI and Rocketchat.
The connector is using both RockectChat REST and WebSocket APIs and its purpose is to allow our AI to interact with customers through LiveChat.

We’ve already implemented sending and receiving messages and attachments.
However, we’re struggling to include Quick Replies.

We know this is possible because we got this to work with DialogFlow, but we can’t get it to work with /api/v1/chat.sendMessage.

Has anyone used this feature with RocketChat API?
Is this possible?

Thank you

Best regards
Miguel Pereira

Server Setup Information

  • Version of Rocket.Chat Server: 6.3.1
  • Operating System: Ubunto
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.21.2
  • MongoDB Version: 5.0.15
  • Proxy:
  • Firewalls involved: