daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(!conv.surface.capabilities.has('actions.capability.MEDIA_RESPONSE_AUDIO')) {
  2.           conv.ask('Sorry, this device does not support audio playback.');
  3.         }
  4.         else{
  5.           var mo_list = [
  6.             new MediaObject({
  7.                 name: 'Radio one',
  8.                 url: 'my_mp3_url_1.mp3',
  9.                 description: 'A funky Jazz tune'
  10.             }),
  11.             new MediaObject({
  12.                 name: 'Radio two',
  13.                 url: 'my_mp3_url_2.mp3',
  14.                 description: 'A funky Jazz tune'
  15.             })
  16.           ];
  17.           conv.ask( mo_list );
  18.           conv.ask(new Suggestions(['Radio two']));
  19.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top