-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Milestone
Description
We must support all features available to a Mini App, providing convenient API to access them.
Available Features
Core
- Reading launch parameters: init data, theme parameters, version, and platform.
- Communication bridge between mini app and client: emitting and listening to events.
General
- Sending "ready" status.
- Expanding mini app.
- Closing mini app.
UX/UI
- Accessing app theme colors and color scheme.
- Controlling viewport: height, stable height, safe area inset, content safe area inset,
- Tracking whether mini app is active or minimized.
- Tracking whether mini app is expanded or occupies only part of the screen.
- Controlling header, background, and bottom bar colors.
- Controlling closing confirmation.
- Controlling vertical swipes.
- Controlling fullscreen mode.
- Controlling orientation locking.
- Controlling back button.
- Controlling settings button.
- Controlling main button.
- Controlling secondary button.
- Controlling native popup.
- Controlling QR-scanner.
Device / OS
- Controlling haptic feedback.
- Controlling device biometrics.
- Controlling device location.
- Accessing device accelerometer.
- Accessing device orientation.
- Accessing device gyroscope.
- Controlling home screen shortcut.
- Downloading a file.
- Hiding virtual keyboard.
- Reading text from clipboard.
Telegram
- Sending data to the bot from keyboard button mini app.
- Switching to inline query.
- Opening Telegram links.
- Opening external links.
- Opening invoice.
- Sharing to story.
- Sharing a message.
- Prompting to set emoji status.
- Controlling emoji status programmatically.
- Requesting write access.
- Requesting contact.
Storage
- Controlling cloud storage.
- Controlling device storage.
- Controlling secure storage.
Metadata
Metadata
Assignees
Labels
No labels