Skip to content

Commit d375ff0

Browse files
author
Reza Nadimi
committed
first
1 parent c08be20 commit d375ff0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Telegram.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ class Telegram
99

1010
public function __construct($your_api_key = null)
1111
{
12-
if (empty($your_api_key))
13-
$this->API_KEY = '821374592:AAEfIdcGaN_GclPyOD-v56ORx2u95Qk3me8';
14-
else
15-
$this->API_KEY = $your_api_key;
12+
$this->API_KEY = $your_api_key;
1613
$this->telegramUrl = 'https://api.telegram.org/bot' . $this->API_KEY . '/';
1714
}
1815

0 commit comments

Comments
 (0)