@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | * |
382 | 382 | * @param \Longman\TelegramBot\Entities\File $file |
383 | 383 | * |
384 | - * @return boolean |
|
384 | + * @return boolean|string |
|
385 | 385 | * @throws \Longman\TelegramBot\Exception\TelegramException |
386 | 386 | */ |
387 | 387 | public static function downloadFile(File $file) |
@@ -722,6 +722,9 @@ discard block |
||
722 | 722 | |
723 | 723 | |
724 | 724 | |
725 | + /** |
|
726 | + * @param string $action |
|
727 | + */ |
|
725 | 728 | private static function sendChatActionIfNecessary($action, $data) |
726 | 729 | { |
727 | 730 |