How to Find a Telegram Chat ID (Group & Private)
Telegram assigns a unique Chat ID to every conversation, whether it is a private chat, group, or supergroup. Bot developers and admins frequently need this ID. Here is how to find it.
Method 1: Use @RawDataBot
- Add @RawDataBot to the group (or message it directly for private chat IDs).
- Send any message in the chat.
- The bot replies with a JSON dump that includes the
chat.idfield. - For groups and supergroups, the Chat ID starts with
-100(e.g., -1001234567890).
Method 2: Use the Telegram Bot API Directly
- Create a bot via @BotFather and get your bot token.
- Add the bot to the target group and send a message.
- Open this URL in your browser:
https://api.telegram.org/bot<TOKEN>/getUpdates - Find the
chat.idin the JSON response.
Method 3: Use Our Free Lookup Tool
Visit TelegramUserID.com and enter the public username of any group or channel. We will return the numeric Chat ID along with other details.
Understanding Chat ID Formats
- Private chats: Positive numbers (e.g., 123456789) matching the user's ID.
- Basic groups: Negative numbers (e.g., -987654321).
- Supergroups and channels: Negative numbers prefixed with -100 (e.g., -1001234567890).
Frequently Asked Questions
What is the difference between a Chat ID and a User ID?
A User ID identifies a person, while a Chat ID identifies a conversation. In a private chat, the Chat ID equals the other person's User ID. In groups and channels, the Chat ID is a separate negative number.
Can a Chat ID change?
For private chats and channels, no. However, when a basic group is converted to a supergroup (which happens automatically when you add certain features), the Chat ID changes from a simple negative number to one prefixed with -100.
Do I need the Chat ID for my Telegram bot?
Yes. To send messages programmatically via the Bot API, you need the Chat ID of the target conversation. Most bot frameworks require you to specify the chat_id parameter when sending messages, media, or updates.