Open hammad-air opened 1 year ago
Resolved by myself :) :
const payload = { richContent: [ [{ type: "chips", options: [{ text: "Yes ✅", }, { text: "No❌", } ], },], ], }; agent.add( new Payload(agent.UNSPECIFIED, payload, { rawPayload: true, sendAsMessage: true, }) );
Recently, I am facing issue when I add agent.add(new Suggestion('Yes')).
It is not working when I check it on DialogFlow Messenger (Website chatbot integration one)