app.js
/*
 * Send a read receipt to indicate the message has been read
 *
 */
Send a read receipt to indicate the message has been read
Send a read receipt to indicate the message has been read
function sendReadReceipt(recipientId) {
	console.log("Sending a read receipt to mark message as seen");
	var messageData = {
		recipient: {
			id: recipientId
		},
		sender_action: "mark_seen"
	};
	callSendAPI(messageData);
}
function sendReadReceipt ( recipientId ) { console . log ( "Sending a read receipt to mark message as seen" ) ; var messageData = { recipient : { id : recipientId } , sender_action : "mark_seen" } ; callSendAPI ( messageData ) ; }
Send a read receipt to indicate the message has been read
Send a read receipt to indicate the message has been read