From 1869d4fe183c7d462c0365966ba6c61f18bc0f36 Mon Sep 17 00:00:00 2001 From: denis Date: Thu, 6 May 2021 22:50:50 +0200 Subject: [PATCH] Update SendPhoto.php is could be string, if you would like to post in channel --- src/SendPhoto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SendPhoto.php b/src/SendPhoto.php index dff4376..208e036 100644 --- a/src/SendPhoto.php +++ b/src/SendPhoto.php @@ -13,7 +13,7 @@ class SendPhoto private $objects = []; - public function __construct(int $chatId, string $photo) + public function __construct(string $chatId, string $photo) { set_value($this, 'chat_id', $chatId); set_value($this, 'photo', $photo);