mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-25 22:10:25 +01:00
Update content of files
This commit is contained in:
parent
7133844375
commit
59250afea9
2 changed files with 3 additions and 3 deletions
|
@ -441,7 +441,7 @@
|
|||
</div>
|
||||
<script src="https://tg.dev/js/jquery.min.js"></script>
|
||||
<script src="https://tg.dev/js/tgsticker.js?31"></script>
|
||||
<script src="/js/cafe.js?27"></script>
|
||||
<script src="/js/cafe.js?28"></script>
|
||||
<script>Cafe.init({"apiUrl":"\/cafe\/api","mode":null,"userId":0,"userHash":null});</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -284,9 +284,9 @@ var Cafe = {
|
|||
Cafe.toggleLoading(false);
|
||||
if (result.ok) {
|
||||
if (Cafe.mode == 'inline') {
|
||||
Telegram.WebApp.switchInlineQuery('my');
|
||||
Telegram.WebApp.switchInlineQuery('#' + result.order_id);
|
||||
} else if (Cafe.mode == 'link') {
|
||||
Telegram.WebApp.switchInlineQuery('my', ['users', 'groups']);
|
||||
Telegram.WebApp.switchInlineQuery('#' + result.order_id, ['users', 'groups']);
|
||||
} else if (invoiceSupported) {
|
||||
Telegram.WebApp.openInvoice(result.invoice_url, function(status) {
|
||||
if (status == 'paid') {
|
||||
|
|
Loading…
Reference in a new issue