1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// SPDX-FileCopyrightText: 2025 RAprogramm <andrey.rozanov.vl@gmail.com>
// SPDX-License-Identifier: MIT
//! Bindings for the individual Telegram WebApp JavaScript APIs.
//!
//! Each submodule wraps one area of the `Telegram.WebApp` interface, from
//! sensor access and haptic feedback to storage, theming, and viewport
//! information.
/// Accelerometer sensor: three-axis acceleration readings.
/// Biometric manager: fingerprint/face authentication and access requests.
/// Cloud storage: per-user key-value storage synced across devices.
/// Device orientation sensor: orientation angles in degrees.
/// Device storage: local key-value storage on the current device.
/// WebApp event subscription helpers (`onEvent`/`offEvent`).
/// Gyroscope sensor: angular velocity readings.
/// Haptic feedback: impact, notification, and selection vibrations.
/// Location manager: initialization and geolocation access.
/// Secure storage: encrypted key-value storage that survives reinstalls.
/// Settings button: control over the WebApp settings button.
/// Theme parameters exposed by the Telegram client.
/// User data and contact/permission requests.
/// Viewport dimensions and expansion state.