Renaming TelegramSendMessageCommand and TelegramWebhookCommand aliases.

This commit is contained in:
Alexey Skobkin 2023-03-26 15:11:35 +03:00
parent 7b465f46e3
commit b669057ce2
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
#[AsCommand(name: 'telegram:send-message', description: 'Send message via Telegram')]
#[AsCommand(name: 'app:telegram:message', description: 'Send message via Telegram')]
class TelegramSendMessageCommand extends Command
{
public function __construct(

View file

@ -13,7 +13,7 @@ use unreal4u\Telegram\Methods\SetWebhook;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use unreal4u\TgLog;
#[AsCommand(name: 'telegram:webhook', description: 'Set webhook')]
#[AsCommand(name: 'app:telegram:webhook', description: 'Set webhook')]
class TelegramWebhookCommand extends Command
{
private const MODE_SET = 'set';