Hi,

How we can createmessage using php API without sound, in Android, and IOS device.

And how we write the condition using php api.

Below is my code.

pwCall('createMessage', array(
    'application' => PW_APPLICATION,
    'auth' => PW_AUTH,
    'notifications' => array(
            array(
                'send_date' => 'now',
                'content' => $podcast_title,
               // 'data' => array('custom' => json_encode($cus_data)),
                'link' => 'https://bnc.lt/castbox',
                'ios_sound' =>'',
                'android_sound' =>'silent.wav',
                'platforms'=>array(3),                      
                'conditions'=>array(array("cbtag","EQ","CBCH-9")),
            )
        )
    )
);
asked 02 Apr '16, 11:52
thanigaivelan19's gravatar image

thanigaivelan19
111

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×111
×20
×3

question asked: 02 Apr '16, 11:52

question was seen: 597 times

last updated: 04 Apr '16, 05:04