Skip to content

Account User‐Agent

Amin Mahmoudi edited this page Sep 22, 2024 · 4 revisions

🌐 Account User-Agent

You might be wondering, what exactly is a User-Agent? 🤔

The User-Agent request header is a unique string that allows servers and network peers to identify the application, operating system, vendor, and version of the requesting user agent.

In simple terms, websites, applications, and bots use the User-Agent to gather basic information about you, such as your browser, operating system, and version. 🖥️📱

For more detailed information, check out this Wikipedia article. 📚

🔍 How to Get a User-Agent

There are a couple of ways to obtain a User-Agent. You can either use commonly available public User Agents or retrieve the one from your own device.

Method 1 (Recommended) 🌟

  1. Start our UserAgent Bot on your phone. 📱
  2. Click on the "What is My User Agent?" button to open the web app.
  3. Copy your User-Agent.

This method ensures you’re getting the exact User-Agent that other Telegram bots and mini-apps see. ✅

📸 Images / Screenshots User-Agent Bot Screenshot User-Agent Details Screenshot

🔄 Method 2 (Not Recommended)

Get commonly used User-Agents from websites like useragents.me.

🛠️ Examples

Here are some common User-Agent examples:

Chrome Android:

Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Mobile Safari/537.3

Safari iOS:

Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.

Samsung Internet:

Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/25.0 Chrome/121.0.0.0 Mobile Safari/537.3

🔧 How to Set User-Agents

You can add a User-Agent in the account settings for Modules (Web App Query or Pyrogram Accounts). You can find this option under Account Settings.

image