Renaming TelegramSendMessageCommand and TelegramWebhookCommand aliases.
This commit is contained in:
parent
7b465f46e3
commit
b669057ce2
|
@ -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(
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue