Update content of files

This commit is contained in:
GitHub Action 2023-03-01 12:04:46 +00:00
parent 662d46ffa2
commit d77c80034d

View file

@ -106,6 +106,9 @@ var DemoApp = {
Telegram.WebApp.sendData(new Date().toString()); Telegram.WebApp.sendData(new Date().toString());
} }
}, },
switchInlineQuery: function(query, choose_chat) {
Telegram.WebApp.switchInlineQuery(query, choose_chat ? ['users', 'bots', 'groups', 'channels'] : false);
},
requestLocation: function(el) { requestLocation: function(el) {
if (navigator.geolocation) { if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function (position) { navigator.geolocation.getCurrentPosition(function (position) {