Skip to content

Commit e68b85a

Browse files
committed
init
1 parent b86734b commit e68b85a

File tree

7 files changed

+33
-33
lines changed

7 files changed

+33
-33
lines changed

src/Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22
/*
3-
* This file is part of the TelegramApi package.
3+
* This file is part of the TelegramBot package.
44
*
55
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Longman\TelegramApi;
10+
namespace Longman\TelegramBot;
1111

12-
use Longman\TelegramApi\Entities\Update;
12+
use Longman\TelegramBot\Entities\Update;
1313

1414
abstract class Command
1515
{

src/Commands/DateCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22
/*
3-
* This file is part of the TelegramApi package.
3+
* This file is part of the TelegramBot package.
44
*
55
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Longman\TelegramApi\Commands;
10+
namespace Longman\TelegramBot\Commands;
1111

12-
use Longman\TelegramApi\Request;
13-
use Longman\TelegramApi\Command;
14-
use Longman\TelegramApi\Entities\Update;
12+
use Longman\TelegramBot\Request;
13+
use Longman\TelegramBot\Command;
14+
use Longman\TelegramBot\Entities\Update;
1515

1616
class DateCommand extends Command
1717
{

src/Commands/EchoCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22
/*
3-
* This file is part of the TelegramApi package.
3+
* This file is part of the TelegramBot package.
44
*
55
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Longman\TelegramApi\Commands;
10+
namespace Longman\TelegramBot\Commands;
1111

12-
use Longman\TelegramApi\Request;
13-
use Longman\TelegramApi\Command;
14-
use Longman\TelegramApi\Entities\Update;
12+
use Longman\TelegramBot\Request;
13+
use Longman\TelegramBot\Command;
14+
use Longman\TelegramBot\Entities\Update;
1515

1616
class EchoCommand extends Command
1717
{

src/Commands/HelpCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22
/*
3-
* This file is part of the TelegramApi package.
3+
* This file is part of the TelegramBot package.
44
*
55
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Longman\TelegramApi\Commands;
10+
namespace Longman\TelegramBot\Commands;
1111

12-
use Longman\TelegramApi\Request;
13-
use Longman\TelegramApi\Command;
14-
use Longman\TelegramApi\Entities\Update;
12+
use Longman\TelegramBot\Request;
13+
use Longman\TelegramBot\Command;
14+
use Longman\TelegramBot\Entities\Update;
1515

1616
class HelpCommand extends Command
1717
{

src/Commands/WeatherCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22
/*
3-
* This file is part of the TelegramApi package.
3+
* This file is part of the TelegramBot package.
44
*
55
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Longman\TelegramApi\Commands;
10+
namespace Longman\TelegramBot\Commands;
1111

12-
use Longman\TelegramApi\Request;
13-
use Longman\TelegramApi\Command;
14-
use Longman\TelegramApi\Entities\Update;
12+
use Longman\TelegramBot\Request;
13+
use Longman\TelegramBot\Command;
14+
use Longman\TelegramBot\Entities\Update;
1515

1616
class WeatherCommand extends Command
1717
{

src/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22
/*
3-
* This file is part of the TelegramApi package.
3+
* This file is part of the TelegramBot package.
44
*
55
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Longman\TelegramApi;
10+
namespace Longman\TelegramBot;
1111

1212

1313
class Request

src/Telegram.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22
/*
3-
* This file is part of the TelegramApi package.
3+
* This file is part of the TelegramBot package.
44
*
55
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
namespace Longman\TelegramApi;
10+
namespace Longman\TelegramBot;
1111

1212

1313
ini_set('max_execution_time', 0);
@@ -19,7 +19,7 @@
1919
define('VERSION', '0.0.1');
2020

2121

22-
use Longman\TelegramApi\Entities\Update;
22+
use Longman\TelegramBot\Entities\Update;
2323

2424
/**
2525
* @package Telegram
@@ -54,7 +54,7 @@ class Telegram
5454
/**
5555
* Update object
5656
*
57-
* @var \Longman\TelegramApi\Entities\Update
57+
* @var \Longman\TelegramBot\Entities\Update
5858
*/
5959
protected $update;
6060

@@ -89,7 +89,7 @@ public function __construct($api_key) {
8989
*
9090
* @param string $update
9191
*
92-
* @return \Longman\TelegramApi\Telegram
92+
* @return \Longman\TelegramBot\Telegram
9393
*/
9494
public function setCustomUpdate($update) {
9595
$this->update = $update;
@@ -110,7 +110,7 @@ public function getCustomUpdate() {
110110
*
111111
* @param bool $log_requests
112112
*
113-
* @return \Longman\TelegramApi\Telegram
113+
* @return \Longman\TelegramBot\Telegram
114114
*/
115115
public function setLogRequests($log_requests) {
116116
$this->log_requests = $log_requests;
@@ -133,7 +133,7 @@ public function getLogRequests() {
133133
*
134134
* @param string $log_path
135135
*
136-
* @return \Longman\TelegramApi\Telegram
136+
* @return \Longman\TelegramBot\Telegram
137137
*/
138138
public function setLogPath($log_path) {
139139
$this->log_path = $log_path;
@@ -154,7 +154,7 @@ public function getLogPath() {
154154
/**
155155
* Handle bot request
156156
*
157-
* @return \Longman\TelegramApi\Telegram
157+
* @return \Longman\TelegramBot\Telegram
158158
*/
159159
public function handle() {
160160

0 commit comments

Comments
 (0)