update bot from notify

This commit is contained in:
mercury
2024-11-16 00:45:30 +04:00
parent f34427c13c
commit 3813f43b92
+6 -2
View File
@@ -1293,9 +1293,13 @@ class Bot
$this->send($v, implode("\n", $diff), 0, [
[
[
'text' => 'changelog',
'text' => 'changelog',
'web_app' => ['url' => "https://raw.githubusercontent.com/mercurykd/vpnbot/$b/version"],
]
],
[
'text' => $this->i18n('update bot'),
'callback_data' => "/applyupdatebot",
],
]
]);
}