WIP: Symfony 6 project remake #2
|
@ -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