nemůže řídit QuickReply v Pimax / FB-messenger-php

hlasů
1

Se snaží řídit quickreply s Pimax / FB-messenger-php v PHP, a to nefunguje. Můj kód je následující:

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

mohl byste mi pomoct s tím?

Položena 30/01/2017 v 14:48
zdroj uživatelem
V jiných jazycích...                            


1 odpovědí

nemůže řídit QuickReply v Pimax / FB-messenger-php

hlasů
1

Se snaží řídit quickreply s Pimax / FB-messenger-php v PHP, a to nefunguje. Můj kód je následující:

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

mohl byste mi pomoct s tím?

Odpovězeno 30/01/2017 v 14:48
zdroj uživatelem

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