I am trying to implement call to play feature in my multiplayer game where players can call their friends using push notification system to play. But I know there are some notorious people like me :) who will try to use this feature to disturb others by sending continuous messages. So how do i stop this. I want them to send push notification to their friend 3 times in 2 hours or so. Also number of notifications should be 3/2hrs per friend. After 2hrs this counter should reset. Please note i am using cloud script for sending Notifications.