Skip to content

Commit

Permalink
Allow setting interactive message values
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Jan 5, 2018
1 parent 78f7b18 commit ae073d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function matchesRequest()
public function getConversationAnswer(IncomingMessage $message)
{
return Answer::create($message->getText())
->setValue($this->event->get('value', $message->getText()))
->setMessage($message)
->setInteractiveReply($this->event->get('interactive', false));
}
Expand Down

0 comments on commit ae073d2

Please sign in to comment.