app.js
/*
 * Send a Gif using the Send API.
 *
 */
Send a Gif using the Send API.
Send a Gif using the Send API .
function sendGifMessage(recipientId) {
	var messageData = {
		recipient: {
			id: recipientId
		},
		message: {
			attachment: {
				type: "image",
				payload: {
					url: config.SERVER_URL + "/assets/instagram_logo.gif"
				}
			}
		}
	};
	callSendAPI(messageData);
}
function sendGifMessage ( recipientId ) { var messageData = { recipient : { id : recipientId } , message : { attachment : { type : "image" , payload : { url : config . SERVER_URL + "/assets/instagram_logo.gif" } } } } ; callSendAPI ( messageData ) ; }
Send a Gif using the Send API.
Send a Gif using the Send API .