Created
April 13, 2017 13:41
-
-
Save anoochit/85f55b8c69da06e66315cfabbf170637 to your computer and use it in GitHub Desktop.
linebot ImageMessageBuilder
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 | |
$img_url = "https://cdn.shopify.com/s/files/1/0379/7669/products/sampleset2_1024x1024.JPG?v=1458740363"; | |
$outputText = new LINE\LINEBot\MessageBuilder\ImageMessageBuilder($img_url, $img_url); | |
$response = $bot->replyMessage($event->getReplyToken(), $outputText); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment