We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87789c2 commit 2d0c0e5Copy full SHA for 2d0c0e5
src/TelegramClient.php
@@ -4,16 +4,17 @@
4
5
use GuzzleHttp\Promise\PromiseInterface;
6
use Psr\Http\Message\ResponseInterface;
7
+use Telegram\Bot\Exceptions\TelegramSDKException;
8
use Telegram\Bot\HttpClients\GuzzleHttpClient;
9
use Telegram\Bot\HttpClients\HttpClientInterface;
-use Telegram\Bot\Exceptions\TelegramSDKException;
10
11
final class TelegramClient
12
{
13
/**
14
* @var string
15
*/
16
public const BASE_BOT_URL = 'https://api.telegram.org';
17
+
18
private string $fileUrl = '{BASE_API_URL}/file/bot{TOKEN}/{FILE_PATH}';
19
20
private HttpClientInterface $httpClientHandler;
0 commit comments