@@ -139,6 +139,9 @@ discard block |
||
139 | 139 | return $data['result']; |
140 | 140 | } |
141 | 141 | |
142 | + /** |
|
143 | + * @param string $url |
|
144 | + */ |
|
142 | 145 | private function send($method, $url, $payload) { |
143 | 146 | |
144 | 147 | if ($method === TBAPrivateConst::POST) { |
@@ -1669,7 +1672,7 @@ discard block |
||
1669 | 1672 | * @api |
1670 | 1673 | * @link https://core.telegram.org/bots/api#getstickerset |
1671 | 1674 | * @param array $parameters |
1672 | - * @return string |
|
1675 | + * @return StickerSet |
|
1673 | 1676 | * |
1674 | 1677 | * @throws TelegramBotAPIException |
1675 | 1678 | * @throws TelegramBotAPIRuntimeException |
@@ -1695,7 +1698,7 @@ discard block |
||
1695 | 1698 | * @pai |
1696 | 1699 | * @link https://core.telegram.org/bots/api#promotechatmember |
1697 | 1700 | * @param array $parameters |
1698 | - * @return string |
|
1701 | + * @return File |
|
1699 | 1702 | * |
1700 | 1703 | * @throws TelegramBotAPIException |
1701 | 1704 | * @throws TelegramBotAPIRuntimeException |