non può gestire QuickReply in PImax / fb-messenger-php

voti
1

Cercando di gestire il QuickReply con PImax / fb-messenger-php in php, e non funziona. Il mio codice è prossimo:

`                       $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)); `

si potrebbe aiutarmi con esso?

È pubblicato 30/01/2017 alle 14:48
fonte dall'utente
In altre lingue...                            


1 risposte

non può gestire QuickReply in PImax / fb-messenger-php

voti
1

Cercando di gestire il QuickReply con PImax / fb-messenger-php in php, e non funziona. Il mio codice è prossimo:

`                       $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)); `

si potrebbe aiutarmi con esso?

Risposto il 30/01/2017 a 14:48
fonte dall'utente

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