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