@@ -73,6 +73,9 @@ |
||
| 73 | 73 | return new static(is_array($json) ? $json : json_decode($json, true)); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $key |
|
| 78 | + */ |
|
| 76 | 79 | public function get($key) |
| 77 | 80 | { |
| 78 | 81 | return $this->attributes->get($key); |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | use GuzzleHttp\Client; |
| 13 | 13 | use Psr\Http\Message\ResponseInterface; |
| 14 | -use Telegram\Config\BaseConfig; |
|
| 15 | 14 | use Telegram\Entry\MessageEntry; |
| 16 | 15 | use Telegram\Exceptions\TelegramCoreException; |
| 17 | 16 | use Telegram\Types\User; |