whatsappcloudapi_wrapper
whatsappcloudapi_wrapper copied to clipboard
Radio Buttons action text is hard coded.
For the Radio Buttons action text is hard coded in index.js at line no 435.
button: 'Select a product',
let samples = {
messaging_product: 'whatsapp',
recipient_type: 'individual',
to: recipientPhone,
type: 'interactive',
interactive: {
type: 'list',
header: {
type: 'text',
text: headerText,
},
body: {
text: bodyText,
},
footer: {
text: footerText,
},
action: {
button: 'Select a product',
sections: validSections,
},
},
};
But this can be anything. Can you please provide an option to use custom text instead fixed text.