Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($command == 'menu2' || $command == "Menu2" || $command == "/menu2") {
- $balas = array(
- 'replyToken' => $replyToken,
- 'messages' => array(
- array(
- 'type' => 'text',
- 'text' => 'Halo '.$profil->displayName.' Silahkan Pilih Menu v2 dibawah ya, hehe :)'
- ),
- array (
- 'type' => 'template',
- 'altText' => 'Anda di sebut',
- 'template' =>
- array (
- 'type' => 'carousel',
- 'columns' =>
- array (
- 0 =>
- array (
- 'thumbnailImageUrl' => 'https://sguru.org/wp-content/uploads/2018/01/instagram-colourful-icon.png',
- 'imageBackgroundColor' => '#00FFFF',
- 'title' => 'Instagram',
- 'text' => 'Stalk or Hmm',
- 'actions' =>
- array (
- 0 =>
- array (
- 'type' => 'message',
- 'label' => 'Show Menu',
- 'text' => "/instamenu",
- ),
- ),
- ),
- ),
- 'imageAspectRatio' => 'rectangle',
- 'imageSize' => 'cover',
- ),
- )
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement