Send «Hello, World!»
Send «Hello, World!» with inline webview button
Share «Hello, World!»
Share «Hello, World!» with inline button
Send current time to bot (x10)
Expand Webview
Show Back Button
Show Settings Button
Hide Main Button
Hide Secondary Button
Show Progress
Disable Vertical Swypes
Request Fullscreen
Lock Orientation
Header:
bg_color
secondary_bg_color
custom...
Background:
bg_color
secondary_bg_color
custom...
Bottom Bar:
bg_color
secondary_bg_color
bottom_bar_bg_color
custom...
Test links:
Regular link #2
(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)
Share picture to story
Share picture to story
(with caption)
Share picture to story
(with link widget)
Share video to story
(with caption and link widget)
Download picture
Download video
Download PDF
Stickerpack
Stickerpack
(nocache)
Check Home Screen Status
Add to Home Screen
Set emoji status
Set emoji status
for 5 min
Set emoji status
(invalid id)
Test permissions:
Request Location
Request Video
Request Audio
Request Audio+Video
Read from clipboard
Request write access
Request phone number
Request emoji status access
Request server time
(invokes custom method)
Sensors:
Start Accelerometer
Start DeviceOrientation(need_absolute=false)
Start DeviceOrientation(need_absolute=true)
Start Gyroscope
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
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
Location:
isInited:
false
available:
false
access_requested:
false
(
Request location
)
access_granted:
false
(
Open settings
)
Data passed to webview.
Checking hash...
,
checking signature...
Theme params
Version:
, platform: