🔒 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):
« 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:
🔐 Step 3/3 | Enter your Phone (+1234567890):
✅ 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
📱 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

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
✅ Connected as @username! | Session saved. Private channels will be activated.

Method B: OTP Login

Click "OTP Login"

Bot sends verification code to 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:
✅ Connected as @username! | Session saved.

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

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: https://web.telegram.org/k/#-1002174372523

Click "Add Channel"

From main menu

Select "Private"

Choose private channel option

Enter Channel ID

e.g., -1002174372523

Select Wallet & Configure

Buy amount, slippage, take profit %

@ghowr_bot
✅ Channel Added! (🔒 Private) | 📋 -1002174372523 | 💼 W1 | 💰 0.01 SOL | 📊 10% | 🎯 TP: 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 | 0.01 SOL (W1) | 💰 Fee: 0.1%
🟢 BUY EXECUTED! Token: LUCY | 12,096.07 | TX: 4TEoNH...

Session Management

💾
Session Persistence
Session saved encrypted. Reconnects automatically on restart.
🔄
Reconnect
If session expires, click "Connect Session" again.
🚪
Logout
Remove API credentials or contact admin to disconnect.

Troubleshooting

"Code expired" error

OTP codes expire quickly. Click "Connect Session" again for a fresh code.

"2FA Required" after QR scan

Enter your 2FA password when prompted. Or temporarily disable 2FA first.

Private channel not receiving messages

Ensure you're a member. Verify ID format: -100XXXXXXXXXXXXX

"Cannot resolve channel" error

ID may be incorrect or you're not a member. Use @userinfobot to verify.

Session expired after 2FA re-enable

Rare. Click "Connect Session" again and re-authenticate.

Security Notes
  • GHOSTwire never stores your password or 2FA code
  • Only encrypted session string is saved
  • Bot cannot send messages as you — only reads channels
  • 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
  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
  5. Click "QR Login" or "OTP Login" → Authenticate
  6. Re-enable 2FA
  7. Add Channel → Private → Enter -100XXXXXXXXXXXXX
  8. Done!