Skip to content

Commit 73ca0db

Browse files
authored
Update Http.php (#1154)
1 parent 387505d commit 73ca0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ protected function uploadFile(string $endpoint, array $params, string $inputFile
262262
*
263263
* @throws TelegramSDKException
264264
*/
265-
protected function post(string $endpoint, array $params = [], bool $fileUpload = false): TelegramResponse
265+
public function post(string $endpoint, array $params = [], bool $fileUpload = false): TelegramResponse
266266
{
267267
$params = $this->normalizeParams($params, $fileUpload);
268268

0 commit comments

Comments
 (0)