mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-01 20:51:03 +01:00
Update content of files
This commit is contained in:
parent
662d46ffa2
commit
d77c80034d
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue