@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Performs the actual telegram request to telegram's servers |
| 56 | 56 | * |
| 57 | - * @param $method |
|
| 57 | + * @param Telegram\Methods\SendMessage $method |
|
| 58 | 58 | * @return mixed |
| 59 | 59 | */ |
| 60 | 60 | public function performApiRequest($method) |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * @see unreal4u\Telegram\Methods\GetFile |
| 74 | 74 | * |
| 75 | 75 | * @param File $file |
| 76 | - * @return string |
|
| 76 | + * @return TelegramDocument |
|
| 77 | 77 | */ |
| 78 | 78 | public function downloadFile(File $file): TelegramDocument |
| 79 | 79 | { |