Genesys Cloud Conversations API: Sending canned responses in Chat interactions

Could someone explain the correct JSON payload structure for sending a canned response during an active chat interaction using the Genesys Cloud Conversations API? I am building a Microsoft Teams bot that syncs presence with Genesys Cloud and needs to automatically reply to customers using pre-approved templates. The bot operates in the eu-west-1 region and uses the @genesyscloud/purecloud-platform-client-v2 SDK (v1.12.0) for authentication and API calls. I have successfully retrieved the conversation ID and participant ID, but I am struggling with the exact endpoint and payload required to send a message as the bot agent. My current attempt involves a POST request to /api/v2/conversations/messages with the following JSON body:

{
 "conversationId": "conv-123",
 "participantId": "agent-456",
 "text": "Thank you for contacting support."
}

However, this returns a 400 Bad Request error with the message “Invalid message format.” I need to know if there is a specific message type or additional fields required for canned responses in chat conversations. I want to ensure the message is sent as a system-generated canned response rather than a standard user message, and I need to understand the correct API call to achieve this. Any code examples or documentation references would be appreciated.