Skip to content

This code snippet takes the token of your bot and returns the value of his Chat ID.

Notifications You must be signed in to change notification settings

EpicTia93/telegram-chatid-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

telegram-chatid-grabber

This code snippet takes the token of your bot and returns the value of his Chat ID.

Installation

requests module is needed and not pre-installed so make sure you download it using the latest pip version with:

    pip install requests

Usage

After downloading the "requests" module replace BOT_TOKEN in line 4 with your bot token then navigate from cmd in the script directory and run the script to grab the Chat ID with:

    python chatid_grabber.py

About

This code snippet takes the token of your bot and returns the value of his Chat ID.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages