This commit is contained in:
2025-10-26 04:01:49 +00:00
parent dc1541c48d
commit e1a58a966f

View File

@@ -53,7 +53,7 @@ class GenericmessageCommand extends SystemCommand
]; ];
$buttons = []; $buttons = [];
if ($message->getFrom() !== null) { if ($message->getFrom() !== null) {
$buttons []= new InlineKeyboardButton([ $buttons[] = new InlineKeyboardButton([
'text' => '❌ Delete', 'text' => '❌ Delete',
'callback_data' => json_encode([ 'callback_data' => json_encode([
'action' => 'DELETE', // Since 2023-05-03 'action' => 'DELETE', // Since 2023-05-03
@@ -61,11 +61,11 @@ class GenericmessageCommand extends SystemCommand
]), ]),
]); ]);
} }
$buttons []= new InlineKeyboardButton([ $buttons[] = new InlineKeyboardButton([
'text' => 'FX ↔ VX', 'text' => 'FX ↔ VX',
'callback_data' => json_encode(['action' => 'FXVX']), 'callback_data' => json_encode(['action' => 'FXVX']),
]); ]);
$buttons []= new InlineKeyboardButton([ $buttons[] = new InlineKeyboardButton([
'text' => '🔄 Refresh', 'text' => '🔄 Refresh',
'callback_data' => json_encode(['action' => 'REFRESH']), 'callback_data' => json_encode(['action' => 'REFRESH']),
]); ]);