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
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)
Test permissions:
Request Location
Request Video
Request Audio
Request Audio+Video
Read from clipboard
Test alerts:
alert
confirm
prompt
showAlert
showConfirm
showPopup
showScanQrPopup
Haptics:
Impact:
heavy
,
light
,
medium
,
rigid
,
soft
Notification:
error
,
success
,
warning
Selection:
changed
Data passed to webview.
Checking hash...
Theme params
Version:
, platform: