Update content of files

This commit is contained in:
GitHub Action 2023-03-01 15:12:10 +00:00
parent be323249f2
commit ad90250476

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