Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626815
SystemCommand.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
828 B
Referenced Files
None
Subscribers
None
SystemCommand.php
View Options
<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace
Longman
\
TelegramBot
\
Commands
;
use
Longman
\
TelegramBot
\
Request
;
abstract
class
SystemCommand
extends
Command
{
/**
* A system command just executes
*
* Although system commands should just work and return a successful ServerResponse,
* each system command can override this method to add custom functionality.
*
* @return \Longman\TelegramBot\Entities\ServerResponse
*/
public
function
execute
(
)
{
//System command, return empty ServerResponse by default
return
Request
::
emptyResponse
(
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 15, 1:13 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
119986
Default Alt Text
SystemCommand.php (828 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline