foreach ($photos as $photo) {
$media[] = [
'type' => 'photo',
'media' => InputFile::create("https://domen.ru/{$photo}"),
];
}
Telegram::sendMediaGroup([
'chat_id' => $chat_id,
'media' => $media
]);
A path to local file, a URL, or a file resource should be uploaded using `Telegram\Bot\FileUpload\InputFile::create($pathOrUrlOrResource, $filename)` for `media` property. Please view docs for example.