Send «Hello, World!»
Send «Hello, World!» with inline webview button
Send current time to bot (x10)
Expand Webview
Hide Main Button
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)
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
showPopup
showScanQrPopup
showScanQrPopup (links only)
Haptics:
Impact:
heavy
,
light
,
medium
,
rigid
,
soft
Notification:
error
,
success
,
warning
Selection:
changed
Cloud storage:
Key
Value
Save
Clear
Data passed to webview.
Checking hash...
Theme params
Version:
, platform: