Env config .env TOKEN=<TOKEN> To get the Telegram access token, go to BotFather. Text /newbot then . Once done, BotFather will return the token.