Update content of files

This commit is contained in:
GitHub Action 2023-03-01 08:46:15 +00:00
parent 995bb0892a
commit cae0aabbf7

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) {