app.js
/*
 * Send a message with Quick Reply buttons.
 *
 */
Send a message with Quick Reply buttons.
Send a message with Quick Reply buttons .
function sendQuickReply(recipientId, text, replies, metadata) {
	var messageData = {
		recipient: {
			id: recipientId
		},
		message: {
			text: text,
			metadata: isDefined(metadata)?metadata:'',
			quick_replies: replies
		}
	};
	callSendAPI(messageData);
}
function sendQuickReply ( recipientId , text , replies , metadata ) { var messageData = { recipient : { id : recipientId } , message : { text : text , metadata : isDefined ( metadata ) ? metadata : '' , quick_replies : replies } } ; callSendAPI ( messageData ) ; }
Send a message with Quick Reply buttons.
Send a message with Quick Reply buttons .