wooden-beard-40210
06/25/2024, 7:05 PMwooden-beard-40210
06/25/2024, 8:16 PMconst messageDetails = {
payload: {
text: 'text'
},
userId: event.userId,
conversationId: event.conversationId,
type: 'text',
tags: {}
}
// Send the message using the Botpress API client
client
.createMessage(messageDetails)
.then((response) => {
console.log('Message sent successfully:', response)
})
.catch((error) => {
console.error('Error sending message:', error)
})
i get an errorwooden-beard-40210
06/25/2024, 8:16 PMwooden-beard-40210
06/25/2024, 8:17 PMnumerous-secretary-37683
07/01/2024, 10:21 PMnumerous-secretary-37683
07/01/2024, 10:22 PMwooden-beard-40210
07/02/2024, 7:43 AMwooden-beard-40210
07/02/2024, 7:43 AMwooden-beard-40210
07/02/2024, 7:44 AMnumerous-secretary-37683
07/02/2024, 8:01 AMnumerous-secretary-37683
07/02/2024, 8:03 AMwooden-beard-40210
07/02/2024, 8:30 AM