Created
October 4, 2018 16:06
-
-
Save flexgrip/1b544def8c6a23af4f93abc1441f6477 to your computer and use it in GitHub Desktop.
Revisions
-
flexgrip created this gist
Oct 4, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ <?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());