Hi Fernando,
Yes, it's possible! (:
You only need to follow these steps below:
1 - Install
this module in your cloud code. Regarding to the module installation,
this link can help you about it.
2 - Then, you'll only need to edit your cloud code, like this example:
var emoji = require('node-emoji');
Parse.Cloud.define("pushsample", function (request, response) {
var message = emoji.emojify('I :pizza: you!'); //edit your push notification here
Parse.Push.send({
channels: ["PushEmoji"], //add your channel name here
data: {
alert: message,
}
}, {
success: function () {
// Push was successful
response.success("push sent");
},
error: function (error) {
// Push was unsucessful
response.error("error with push: " + error);
},
useMasterKey: true
});
});
Regards,
Charles Ramos