Skip to content

SudoR2spr/Pyrogram-Session-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

📦 Telegram Session String Generator 🔑

Generate Telegram session strings easily using this Google Colab notebook. Perfect for developers building Telegram bots or tools with Pyrogram!

📋 Prerequisites

  • Google Account (to use Colab)
  • Verified Telegram account
  • Basic Python knowledge

🚀 Quick Start

1. Open the Colab Notebook

Colab Link

  1. Enter API Credentials
    Get your API_ID and API_HASH from: my.telegram.orgAPI development tools

  2. Run Session Generator
    Follow the prompts:

    [?] Enter API ID: 1234567
    [?] Enter API HASH: a1b2c3d4e5f6g7h8i9j0
    [?] Phone Number (+1XXX): +1234567890

3. Verify Login

  • You'll receive a verification code via Telegram
  • Enter the code in Colab when prompted
  • If 2FA is enabled, provide your password

4. Get Session String

The session string will be:

  1. Printed in Colab outputs
  2. Sent to your Telegram Saved Messages:
    ⚠️ **✔️ Your Session String:**
    💻 Developer: 𝐖𝐎𝐎𝐃𝐜𝐫𝐚𝐟𝐭
    ⚠️ Warning: Never share this with anyone! 🤫
    
    `1AbcDEfghIJKlmnOPqrStuVWXYz0123456789abcDEFghiJKLmnoPQRStuvWXYZ=`
    

⚠️ Security Tips

  • 🔒 Never share your session string
  • 🗑️ Delete old/unused sessions
  • 🤖 Only use with trusted bots
  • 📛 Revoke suspicious sessions via Telegram Settings

🆘 Support

For help: