From c164015186e7f1466392c454af020fc5eeef4de3 Mon Sep 17 00:00:00 2001 From: Vladimir <58508453+wladimirhaustow@users.noreply.github.com> Date: Thu, 8 Oct 2026 21:28:05 +0300 Subject: [PATCH] Update InputMediaPhoto.php --- src/Types/InputMedia/InputMediaPhoto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Types/InputMedia/InputMediaPhoto.php b/src/Types/InputMedia/InputMediaPhoto.php index 891e2327..4b38ab9e 100644 --- a/src/Types/InputMedia/InputMediaPhoto.php +++ b/src/Types/InputMedia/InputMediaPhoto.php @@ -39,7 +39,7 @@ class InputMediaPhoto extends InputMedia * * @var string */ - protected $type; + protected $type = 'photo'; /** * File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass “attach://” to upload a new one using multipart/form-data under name.