Open EduardMalik opened 4 years ago
Thank! Yeah sure i look at it next week
@polyskalov let us know when you have fix for it, thanks for your efforts.
Guys, sorry for the delay. I'll try to fix it today or tomorrow
I fixed an error from this issue (not committed yet), but sending messages from the example doesn't work.
have you fixed it now?On 08-Jul-2020 3:33 PM, Andrey Polyskalov notifications@github.com wrote: Guys, sorry for the delay. I'll try to fix it today or tomorrow I fixed an error from this issue (not committed yet), but sending messages from the example doesn't work.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
Hello @polyskalov. Is there any news on this issue?
@EduardMalik No, it's something weird. The function inside the driver does not send an incoming message in the parameter, so I cannot get the sender ID to send the message back.
I don't know why, it's taken a long time. If someone can help me determine the reason, or test it, I'd really appreciate it.
Hello @polyskalov, @EduardMalik. This error triggered when you try to send question instance without actions. Example:
$question = Question::create("What animal pearson are you?")
->addButtons(
[
Button::create("I like cats.")->value("cat"),
Button::create("I like dogs.")->value("dog")
]
);
print_r - question argument method convertQuestion
Array
(
[0] => Array
(
[name] => I like cats.
[text] => I like cats.
[image_url] =>
[type] => button
[value] => cat
[additional] => Array
(
)
)
[1] => Array
(
[name] => I like dogs.
[text] => I like dogs.
[image_url] =>
[type] => button
[value] => dog
[additional] => Array
(
)
)
)
As you can see we haven't key url
, which we try to call in line 202
Hello @polyskalov
When i start conversation for example, i use ExampleConversation from botman studio default create:
ViberDriver not start conversation, and i see Excception:
Stack trace:
Can you look this? Many thanks!