DEV Community

phåńtøm šłîçk
phåńtøm šłîçk

Posted on

How to get your telegram token

Creating a token from botfather is very easy in few steps

  • download telegram if you haven’t
  • click on link [@botfather](t.me/botfather]

start chat

Image

Select
/newbot from the list of command options

You will/would be ask to name the bot
You could use any name of your choice

  • iamgreat
  • one for life
  • ccdezzzz

then you will be asked for a username you might experience some issues here cause a bot can make username that has been talking so u have to be creative e.g

  • iamgreatbot , i_am_great_bot, iamgreate_bot
  • one_for_life_bot, on_today

if successful you will receive a token

it’s best practice and recommend to keep your token super safe with .env never commit to git or share
for team consider using .config.example with example token not real token

Top comments (0)