LIVE PORTAL Telegram v11.8 API Synchronized Free Animated Stickers
shield_person ADMIN LOGGED IN + Write Guide
admin_panel_settings ADMIN CONTROLS Guide #10968 • tips
How Telegram Mini App Geolocation Works: Interactive Maps, Location-Based Games & Privacy Permissions
my_location VIDEO GUIDE Mini App 2.0 • Geolocation & Privacy

How Telegram Mini App Geolocation Works: Interactive Maps, Location-Based Games & Privacy Permissions

Discover how Telegram brings real-world coordinates into Mini Apps. Explore location-based games with regional point-of-interest checkpoints, interactive venue maps for events and festivals, and granular opt-in permissions that protect user privacy by default.

map
Location-Based Games

Build Pokémon GO-style geo-quests, territorial territory captures, and treasure hunts tied to physical landmarks.

local_shipping
Instant Delivery & Commutes

Share pinpoint delivery addresses or hail rides directly within Telegram without downloading separate third-party apps.

security
Strict Opt-In Privacy

Geolocation is strictly disabled by default. You must explicitly approve access per individual Mini App, revocable anytime.

shield_with_heart Privacy-First Architecture: How Telegram Protects Your Location

Unlike traditional mobile browsers that often prompt vague pop-ups or leak IP-based approximate location silently, Telegram enforces an uncompromising privacy sandbox. By default, Mini Apps have zero access to GPS telemetry or cellular triangulation data. When an app requests coordinates, Telegram displays a native authorization sheet detailing the exact bot identity and data scope. You can grant access for a single session, approve continuous tracking, or instantly revoke location privileges via bot settings.

tune Managing & Revoking Location Permissions Step-by-Step

1

Granting Permission on First Launch

When you open a geo-enabled Mini App (e.g. an event map or local delivery service), a clear Telegram system dialog will appear: “[App Name] is requesting your location to show nearby places”. Tap Allow While Using App to share your GPS coordinates.

2

Revoking Location Access Anytime

Want to turn off location for a specific bot? Tap the Three Dots (…) in the top-right corner of the Mini App, tap Settings (or open the Bot's Profile), and toggle off Location Access. The app's coordinate feed is severed immediately.

3

Automated Status Integration

For Telegram Premium users, Mini Apps can combine location permissions with dynamic emoji status updates—automatically switching your profile status from “At Work 💼” to “At Gym 🏋️” as you move throughout the day.

developer_mode Developer SDK: LocationManager API Pipeline

Developers interact with coordinates through the official LocationManager singleton in the Telegram WebApp SDK:
Telegram WebApp SDK • LocationManager Interface JavaScript SDK v7.10+
// Initialize Telegram Location Manager
const locManager = window.Telegram.WebApp.LocationManager;

locManager.init(function() {
  if (locManager.isInited) {
    // Request real-time coordinates
    locManager.getLocation(function(data) {
      if (data) {
        console.log(`Latitude: ${data.latitude}, Longitude: ${data.longitude}`);
        console.log(`Accuracy: ${data.horizontal_accuracy} meters`);
        
        // Render user location marker on Leaflet / Mapbox map
        renderUserPin(data.latitude, data.longitude);
      } else {
        console.warn('User declined location permission');
      }
    });
  }
});
pin_drop
Interactive Geo-Fence Radar Simulator

Simulate GPS coordinate acquisition inside a Telegram Mini App and test how point-of-interest triggers activate.

location_on
Status: Coordinates Locked (37.7749° N, 122.4194° W)

help Frequently Asked Questions

contact_support Can a Mini App track my location continuously in the background when closed?

No. Telegram only provides location updates while the Mini App is actively open on your screen. The moment you close the app or switch to another chat, all location polling is immediately terminated.

contact_support Can Mini Apps share my coordinates with external third-party advertisers?

Mini Apps communicate directly with the bot developer's server. To protect your data, only use reputable bots from verified organizations. Telegram's terms strictly prohibit selling or misusing sensitive user geolocation data.

admin_panel_settings ADMIN Guide #10968 Actions
Enlarged Preview
Click anywhere outside or press ESC to close viewer
smart_display Telegram Video Short
1080p HD
Official Source: @TelegramTips Post #44 Press ESC or click outside to close