TeleGeminiByAdityaBot
- install these packages :
npm init -y
npm i node-telegram-bot-api
npm i dotenv
-
go to telegram and search 'botFather' and create new bot
- /newbot
- set name of bot 'TeleGeminiBot' this is my name
- set username
- get token
-
Save token in env for file
-
use polling method to get updates
-
use bot.on and bot.onText to handle request
-
add Ai api and make it more useful