Send «Hello, World!»
Send «Hello, World!» with inline webview button
Send current time to bot (x10)
Expand Webview
Show Back Button
Show Settings Button
Hide Main Button
Disable Vertical Swypes
Header:
bg_color
secondary_bg_color
custom...
Background:
bg_color
secondary_bg_color
custom...
Test links:
Regular link #1
(opens inside webview)
target="_blank" link
(opens outside webview)
window.open() link
(opens outside webview)
LikeBot t.me link
(opens inside Telegram app)
web_app_open_tg_link()
(opens inside Telegram app)
web_app_open_link()
(opens outside webview)
VoteBot tg:// link
(does not open)
web_app_open_link({try_instant_view:true})
(opens IV inside Telegram app)
web_app_open_tg_link(webapp_direct_link)
(opens with confirm for the first time, then without)
telegram.org
(opens in Chrome)
telegram.org
(opens in Firefox)
telegram.org
(opens in Safari)
telegram.org
(opens in Opera)
Return back
(Android only)
Test permissions:
Request Location
Request Video
Request Audio
Request Audio+Video
Read from clipboard
Request write access
Request phone number
Request server time
(invokes custom method)
Test alerts:
alert
confirm
prompt
showAlert
showConfirm
requestWriteAccess
requestContact
showPopup
showScanQrPopup
showScanQrPopup (links only)
Haptics:
Impact:
heavy
,
light
,
medium
,
rigid
,
soft
Notification:
error
,
success
,
warning
Selection:
changed
Cloud storage:
Key
Value
Save
Clear
Biometrics:
isInited:
false
available:
false
type:
access_requested:
false
(
Request access
)
access_granted:
false
(
Open settings
)
token_saved:
false
(
Set token
,
Remove token
)
device_id:
Request auth
Data passed to webview.
Checking hash...
Theme params
Version:
, platform: