Created
October 4, 2018 16:06
-
-
Save flexgrip/1b544def8c6a23af4f93abc1441f6477 to your computer and use it in GitHub Desktop.
Botman Messenger Webview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$template = ButtonTemplate::create($message->attachment->payload->text); | |
Log::info('Inside the button template1'; | |
$template->addButton( | |
ElementButton::create($btn->title) | |
->url( | |
$webview_url.'/adAudit/'.$this->optin->id.'/'.$delivery->fresh()->uuid | |
) | |
->heightRatio(ElementButton::RATIO_FULL) | |
->enableExtensions()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment