Update content of files

This commit is contained in:
GitHub Action 2023-03-01 13:52:30 +00:00
parent 1e7ae12ab7
commit 78e7441ba7

View file

@ -106,6 +106,9 @@ var DemoApp = {
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) {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function (position) {