Subversion Repositories SmartDukaan

Rev

Rev 35236 | Rev 35840 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35236 Rev 35504
Line 228... Line 228...
228
        }
228
        }
229
        return isSend;
229
        return isSend;
230
    }
230
    }
231
 
231
 
232
    @Override
232
    @Override
-
 
233
    public void sendADLDWhatsappMessage(String mobile) throws Exception {
-
 
234
        LOGGER.info("Is Prod - {}", isProd);
-
 
235
        if (isProd) {
-
 
236
            String message = "क्या आपने SmartDukaan Protect Plus Plan लिया है?\n\n" +
-
 
237
                    "सिर्फ ₹199 से शुरू, पाएं अपने मोबाइल के लिए 1 साल की स्मार्ट सुरक्षा —\n" +
-
 
238
                    "Liquid Damage Protection\n" +
-
 
239
                    "Accidental Damage Protection\n" +
-
 
240
                    "अपने फोन को महंगे रिपेयर खर्च से बचाएं।\n" +
-
 
241
                    "अभी जानकारी लें और अपने फोन को सुरक्षित बनाएं!";
-
 
242
            String title = "SmartDukaan से खरीदारी करने के लिए धन्यवाद!";
-
 
243
 
-
 
244
            this.sendWhatsappMessage(WhatsappMessageType.TEXT, message, title, mobile, null, null);
-
 
245
        }
-
 
246
    }
-
 
247
 
-
 
248
    @Override
233
    public boolean sendWhatsappMediaMessage(String message, String mobile, String mediaUrl, String fileName, WhatsappMessageType whatsappMessageType) throws Exception {
249
    public boolean sendWhatsappMediaMessage(String message, String mobile, String mediaUrl, String fileName, WhatsappMessageType whatsappMessageType) throws Exception {
234
        boolean isSend=false;
250
        boolean isSend=false;
235
        if (isProd) {
251
        if (isProd) {
236
            isSend=this.sendWhatsappMessage(whatsappMessageType, message, null, mobile, mediaUrl, fileName);
252
            isSend=this.sendWhatsappMessage(whatsappMessageType, message, null, mobile, mediaUrl, fileName);
237
        }
253
        }