We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a36eef commit 73ec22cCopy full SHA for 73ec22c
src/TelegramClient.php
@@ -11,12 +11,15 @@
11
final class TelegramClient
12
{
13
public const BASE_API_URL = 'https://api.telegram.org';
14
+
15
public const BASE_BOT_URL = self::BASE_API_URL.'/bot';
16
17
private string $fileUrl = '{BASE_FILE_URL}/file/bot{TOKEN}/{FILE_PATH}';
18
19
private HttpClientInterface $httpClientHandler;
20
21
private string $baseBotUrl;
22
23
private string $baseFileUrl;
24
25
public function __construct(?HttpClientInterface $httpClientHandler = null, ?string $baseBotUrl = null)
0 commit comments