не может управлять QuickReply в Pimax / FB-мессенджера-PHP

голоса
1

Попытка управлять quickreply с Pimax / FB-мессенджера-PHP в PHP, и он не работает. Мой код следующий:

`                       $one= array();
                        $one['content_type'] = 'text';
                        $one['title'] = 'one';
                        $one['payload'] = 'one';

                        $two= array();
                        $two['content_type'] = 'text';
                        $two['title'] = 'two';
                        $two['payload'] = 'two';

                        $res =  array($one, $two);
                       $bot->send(new QuickReply($message['sender']['id'], Hi there!,$res)); `

не могли бы вы помочь мне с этим?

Задан 30/01/2017 в 14:48
источник пользователем
На других языках...                            


1 ответов

не может управлять QuickReply в Pimax / FB-мессенджера-PHP

голоса
1

Попытка управлять quickreply с Pimax / FB-мессенджера-PHP в PHP, и он не работает. Мой код следующий:

`                       $one= array();
                        $one['content_type'] = 'text';
                        $one['title'] = 'one';
                        $one['payload'] = 'one';

                        $two= array();
                        $two['content_type'] = 'text';
                        $two['title'] = 'two';
                        $two['payload'] = 'two';

                        $res =  array($one, $two);
                       $bot->send(new QuickReply($message['sender']['id'], "Hi there!",$res)); `

не могли бы вы помочь мне с этим?

Ответил 30/01/2017 в 14:48
источник пользователем

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more