tall-carpenter-8732
05/20/2025, 9:24 AMprehistoric-airplane-85682
05/20/2025, 1:17 PMjavaScript
const textMessage = 'Here is your message!' // Message to send before the button
// Send a text message to the user
await client.createMessage({
conversationId: event.conversationId,
userId: event.botId,
tags: {},
type: 'text', // Set type to 'text' for text message
payload: {
text: textMessage // Set the text message content
}
})tall-carpenter-8732
05/21/2025, 3:31 AMtall-carpenter-8732
05/21/2025, 4:27 AMastonishing-lion-59147
06/06/2025, 2:49 PMprehistoric-airplane-85682
06/06/2025, 3:25 PMastonishing-lion-59147
06/06/2025, 3:39 PMastonishing-lion-59147
06/06/2025, 4:42 PMprehistoric-airplane-85682
06/06/2025, 5:02 PMastonishing-lion-59147
06/06/2025, 5:43 PMprehistoric-airplane-85682
06/09/2025, 3:41 PM