Private Channels Setup

GHOSTwire can monitor private Telegram channels and groups where you're a member. You'll need to authenticate your Telegram account once — the bot will then use YOUR session to read messages.

IMPORTANT: 2FA (Two-Factor Authentication)

If you have 2FA enabled on your Telegram account:

  1. Temporarily disable 2FA before connecting (my.telegram.org → Privacy & Security → Two-Step Verification → Disable)
  2. Complete the QR or OTP login process below
  3. Re-enable 2FA after successful connection

The bot will KEEP scraping the private channel even after you re-enable 2FA!

Step 1: Get API Credentials

First, you need to create an app on my.telegram.org to get API ID and API Hash.

Go to my.telegram.org

Log in with your Telegram phone number

Go to API Development Tools

Click on "API Development Tools"

Create App

Fill in: App title (e.g., "GHOSTwire"), Short name

Copy Credentials

Copy api_id and api_hash

@ghowr_bot
🔐 Step 1/3 Enter your API ID (from my.telegram.org): Type cancel to abort. « Back
« Back

Step 2: Enter Credentials in GHOSTwire

Go to TG Auth → Setup Credentials and enter your API ID, API Hash, and phone number.

Phone Number Format

Use international format: +1234567890

@ghowr_bot
🔐 Step 2/3 Enter your API Hash: « Back
🔐 Step 3/3 Enter your Phone (+1234567890): « Back
✅ Credentials Saved!

Now click Connect Session to authenticate.

Step 3: Choose Login Method

GHOSTwire offers two ways to authenticate:

📱
QR Code Login (Recommended)
Scan with Telegram mobile app. No OTP needed. Quickest method.
🔢
OTP Login
Receive 5-digit code via Telegram. Works on any device.
@ghowr_bot
🔐 Telegram Auth Status: ❌ Not configured 📋 Public channels work automatically 🔒 Private channels need your Telegram account Get API credentials at my.telegram.org 📱 QR Login (Easy) 🔢 OTP Login 🔄 Setup Credentials « Back
📱 QR Login (Easy)
🔢 OTP Login
🔄 Setup Credentials
« Back

Method A: QR Code Login (Recommended)

Click "QR Login"

Bot generates a QR code

Open Telegram on Phone

Go to Settings → Devices → Link Desktop Device

Scan QR Code

Point your phone at the screen

Wait for Connection

Bot confirms successful login

If you have 2FA enabled:

After scanning QR, you'll be prompted for your 2FA password. Enter it to complete login.

@ghowr_bot
⏳ Generating QR code...
[████████████████████]
[████ QR CODE HERE ████]
[████████████████████]
📱 Scan this QR code Open Telegram → Settings → Devices → Link Desktop Device ⚠️ Disable 2FA first if you have it enabled
✅ Connected as @username! Session saved. Private channels will be activated. Add a private channel to start monitoring.

Method B: OTP Login

Click "OTP Login"

Bot sends verification code to your Telegram

Enter 5-Digit Code

Type the code you received

Enter 2FA Password (if enabled)

If you have 2FA, enter password after code

Connection Complete

Bot confirms successful login

@ghowr_bot
⏳ Sending OTP...
📱 OTP Sent! Enter the 5-digit code from Telegram: ⚠️ Enter it quickly - codes expire soon! « Back
✅ Connected as @username! Session saved. Private channels will be activated. Add a private channel to start monitoring.

Step 4: Add a Private Channel

After successful authentication, you can add private channels.

What to enter as channel name:
For private channels, enter the numeric ID: -1002174372523
For private groups, enter the numeric ID: -1001548932765

⚠️ Do NOT add @ symbol for numeric IDs. Just the number with -100 prefix.
How to get Private Channel/Group ID? (Click to expand)

Private channels often don't have usernames. You need to use their numeric ID in the format -100XXXXXXXXXXXXX.

Method 1: Using @userinfobot (Easiest)

Message @userinfobot

Search for @userinfobot on Telegram and start it

Forward a Message

Forward ANY message from your private channel/group to @userinfobot

Copy the ID

The bot will reply with channel/group info including the ID

📱 Example response from @userinfobot:

Channel: My Private Channel
ID: -1002174372523
Type: Channel
Members: 1,234
📱 @userinfobot
You: [Forwarded message from Private Channel]
Channel: VIP Signals ID: -1002174372523 Type: Channel (Private) Members: 2,547 Created: 2024-01-15

Method 2: Using Telegram Web

Open Telegram Web

Go to web.telegram.org and log in

Open the Channel/Group

Click on your private channel/group

Check the URL

The URL will show the ID: https://web.telegram.org/k/#-1002174372523

🌐 URL format:
https://web.telegram.org/k/#-1002174372523
🌐 Telegram Web
🔗 URL: https://web.telegram.org/k/#-1002174372523 Channel: VIP Signals ID extracted: -1002174372523

Method 3: Other Telegram Bots

🤖
@getidsbot
Message @getidsbot → Forward a message from your private channel → Get channel ID
📊
@chatIDBot
Add @chatIDBot to your group/channel → It will send the ID
🔧
@missrose_bot
Send /id in the group/channel (if bot is added)
ID Format Examples:
✅ Valid private channel IDs:
-1002174372523
-1001876543210
-1001548932765

❌ Invalid IDs (missing -100 prefix):
2174372523 (won't work)
1876543210 (won't work)
Click "Add Channel"

From main menu

Select "Private"

Choose private channel option

Enter Channel ID or Username

e.g., -1002174372523 or @channelname

Select Wallet

Choose which wallet to use for this channel

Configure Settings

Buy amount, slippage, take profit %

@ghowr_bot
➕ Add Channel 🌐 Public — Anyone can view 🔒 Private — Requires TG Auth 🌐 Public 🔒 Private « Back
🔒 Add Private Channel Send the channel/group identifier: • Username: `@channelname` • Numeric ID: `-1002174372523` 📌 How to get numeric ID: Forward a message from the channel to `@userinfobot` Type cancel to abort. « Back
✅ Channel Added! (🔒 Private) 📋 -1002174372523 💼 Wallet: W1 💰 Buy: 0.01 SOL 📊 Slippage: 10.0% 🎯 Take Profit: 50% 🤖 Auto-Sell: ✅ ON 📡 Monitoring started!

How Private Channel Monitoring Works

Behind the Scenes

Once authenticated, GHOSTwire:

  • Saves your encrypted session string to database
  • Uses YOUR session to read private channels by ID
  • Monitors 24/7 even when you're offline
  • Works even after you re-enable 2FA
  • Session persists across bot restarts
🔒 Private Channel Activity
📨 [14:32:15] Monitoring -1002174372523 (🔒 Private) 📝 🚀 NEW SIGNAL! CA: GNL7MQSz...
🔥 Sniping token! GNL7MQSz...pump Amount: 0.01 SOL (W1) 💰 Fee: 0.5% ⏳ Executing buy...
🟢 BUY EXECUTED! Token: LUCY Amount: 12,096.07 TX: 4TEoNH4n9ae73gz6DFWB...

Session Management

💾
Session Persistence
Your session is saved encrypted in the database. The bot reconnects automatically on restart.
🔄
Reconnect
If session expires, click "Connect Session" again. Credentials remain saved.
🚪
Logout
To disconnect, remove your API credentials or contact admin.

Troubleshooting

"Code expired" error

OTP codes expire quickly. Click "Connect Session" again to get a fresh code and enter it immediately.

"2FA Required" after QR scan

You have 2FA enabled. Enter your 2FA password when prompted. For easier setup, temporarily disable 2FA first.

Private channel not receiving messages

Make sure you are a member of the private channel. Also verify you're using the correct ID format: -100XXXXXXXXXXXXX

"Cannot resolve channel" error

This usually means the channel ID is incorrect or you're not a member. Double-check the ID using @userinfobot (expand the "How to get ID" section above).

Session expired after 2FA re-enable

This is rare. If it happens, simply click "Connect Session" again and re-authenticate (2FA can stay enabled this time).

Security Notes
  • GHOSTwire never stores your password or 2FA code
  • Only the encrypted session string is saved
  • The bot cannot send messages as you — it only reads channels
  • You can revoke access anytime via Telegram Settings → Devices
  • Use a dedicated Telegram account for trading if concerned
Quick Reference: Adding Private Channels
  1. Get channel ID using @userinfobot (expand the section above)
  2. Go to my.telegram.org → Create app → Get API ID & Hash
  3. Temporarily disable 2FA (if enabled)
  4. In GHOSTwire: TG Auth → Setup Credentials → Enter API ID, Hash, Phone
  5. Click "QR Login" or "OTP Login" → Authenticate
  6. Re-enable 2FA on your Telegram account
  7. Go to Add Channel → Private → Enter -100XXXXXXXXXXXXX
  8. Done! Bot now monitors your private channel