for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\TelegramBot\Commands\SystemCommands;
use Longman\TelegramBot\Commands\SystemCommand;
* Pinned message command
class PinnedmessageCommand extends SystemCommand
{
* @var string
protected $name = 'Pinnedmessage';
protected $description = 'Message was pinned';
protected $version = '1.0.0';
* Execute command
* @return mixed
* @throws \Longman\TelegramBot\Exception\TelegramException
public function execute()
//$message = $this->getMessage();
//$pinned_message = $message->getPinnedMessage();
return parent::execute();
}