HomeiOS Developmentios - Sending a Scheduled message or picture to Whatsup group programatically

ios – Sending a Scheduled message or picture to Whatsup group programatically


I simply to know how to ship the Scheduled message or picture at particular time say 12 AM for sending Birthday Greetings to the Whatsup Group

We now have case to organize the message and fix whatsup quantity to ship a message from the iOS App utilizing beneath code

func messageViaWhatsApp (sender: AnyObject) {

       let messageBody = "Hi there"
       let whatsURL = "whatsapp://ship?textual content=(messageBody)"
       let whatsAppURL  = NSURL(string: whatsURL.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding)!)
       if UIApplication.sharedApplication().canOpenURL(whatsAppURL!)
       {
           UIApplication.sharedApplication().openURL(whatsAppURL!)
       }
       else
       {
           let alert = UIAlertView(title: "Sorry", message: "Your gadget doesn't have whatsApp put in ", delegate: nil, cancelButtonTitle: "OK")
       }
 }

However I have to Schedule a way that sends message or picture to Particular whatsup group as per specified time say 12 AM to ship Greetings or Reminders or Assembly Data.

Observe: I’ve looked for answer and located some related answer however it’s with Python language & Twilio

https://medium.com/analytics-vidhya/how-to-automate-whatsapp-messages-programmatically-from-your-computer-a042d0f4269f

Thanks In Advance.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments