Closed HaDi2hn closed 5 years ago
To send the media parameter, you must put the absolute address. $media = array ( array('type' => 'photo', 'media' => 'https://mysite.com/photo/file_5.jpg', 'caption' => 'pic 1'), array('type' => 'photo', 'media' => 'https://mysite.com/photo/file_7.jpg', 'caption' => 'pic 2'), array('type' => 'photo', 'media' => 'https://mysite.com/photo/file_6.jpg', 'caption' => 'pic 3') );
$content = array('chat_id' => $chat_id, 'media' => json_encode($media));
$telegram->sendMediaGroup($content);
Hello Can you send an instance of send parameter to SendMediaGroup ?!