Page MenuHomePhabricator (Chris)

ChoseninlineresultCommand.php
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

ChoseninlineresultCommand.php

<?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\SystemCommands;
use Longman\TelegramBot\Commands\SystemCommand;
/**
* Chosen inline result command
*
* @todo Remove due to deprecation!
*/
class ChoseninlineresultCommand extends SystemCommand
{
/**
* @var string
*/
protected $name = 'choseninlineresult';
/**
* @var string
*/
protected $description = 'Chosen result query';
/**
* @var string
*/
protected $version = '1.0.0';
/**
* Command execute method
*
* @return mixed
*/
public function execute()
{
//Information about chosen result is returned
//$update = $this->getUpdate();
//$inline_query = $update->getChosenInlineResult();
//$query = $inline_query->getQuery();
trigger_error(__CLASS__ . ' is deprecated and will be removed and handled by ' . GenericmessageCommand::class . ' by default in a future release.', E_USER_DEPRECATED);
return parent::execute();
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 4:26 PM (9 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
139540
Default Alt Text
ChoseninlineresultCommand.php (1 KB)

Event Timeline