@@ -801,7 +801,7 @@ |
||
801 | 801 | /** |
802 | 802 | * Delete any assigned webhook |
803 | 803 | * |
804 | - * @return mixed |
|
804 | + * @return ServerResponse |
|
805 | 805 | * @throws \Longman\TelegramBot\Exception\TelegramException |
806 | 806 | */ |
807 | 807 | public function deleteWebhook() |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | * @param bool $has_resource |
372 | 372 | * @param array $multipart |
373 | 373 | * |
374 | - * @return mixed |
|
374 | + * @return string |
|
375 | 375 | */ |
376 | 376 | private static function mediaInputHelper($item, &$has_resource, array &$multipart) |
377 | 377 | { |
@@ -446,7 +446,7 @@ discard block |
||
446 | 446 | * |
447 | 447 | * @param \Longman\TelegramBot\Entities\File $file |
448 | 448 | * |
449 | - * @return boolean |
|
449 | + * @return boolean|string |
|
450 | 450 | * @throws \Longman\TelegramBot\Exception\TelegramException |
451 | 451 | */ |
452 | 452 | public static function downloadFile(File $file) |