Format
This commit is contained in:
@@ -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']),
|
||||||
]);
|
]);
|
||||||
@@ -76,4 +76,4 @@ class GenericmessageCommand extends SystemCommand
|
|||||||
|
|
||||||
return $this->replyToChat("https://fxtwitter.com/$author/status/$tweetId$photoNoText", $data);
|
return $this->replyToChat("https://fxtwitter.com/$author/status/$tweetId$photoNoText", $data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user