• Nullsto Rules must be read before making a post, otherwise you will get permanent warning points or a permanent ban.

    Nullsto Forum provides CLEAN and SAFE resources. You can use them for development and testing if you are on Windows and have an antivirus that alerts you about a possible infection: It is a false positive since every script is double checked by our experts. While downloading a resource, we recommend that you add Nullsto to your trusted sites/sources or temporarily disable your antivirus. "Enjoy your presence on Nullsto"

Tricks How To Create Your Own Chat Gpt Telegram Bot

Kundra

Be a part of Nullsto's Growth ;)
Staff member
Moderator
Nullsto Lover
GiveAway Master
Trusted Uploader
Joined
Sep 16, 2022
Messages
4,219
Reaction score
6,568
Points
193
Chat Gpt is very popular Ai Bot. There are many types of post on telegram some background remover some file uploader some file to link some fake mail generator.
And now chat gpt is also very popular on Telegram, but some bot owners demand a paid membership to access them.

Today we will make our own Chat GPT bot.
You will need some important things
1. Hosting For bot
2. Telegram Bot Api
3. Open Chat Gpt Api

1. Hosting :- To Run your bot you need a hosting service you can use any free service like render , railway, koyeb , replit etc.
you can also host this bot on your computer and phone. To host this bot in computer you will need terminal and to host in mobile you will need termax app.

2. Telegram Bot Api :- To get your bot api
1. Open the Telegram app on your device.
2. Search for the BotFather user. Or open
3. Type /newbot in the chat window and hit enter.
4. Enter a name for your bot.
5. Enter a username for your bot.
6. Copy the access token provided by the BotFather.
7. Use the access token to access the HTTP API.

3. Open Chat GPT Api :- open
Login your account , then click on create api id.
Save it anywhere.

Let's begin the Hosting process
I am going to host this bot on replit.com , you can host it anywhere

Open replit.com and create account and then click on pluse + Icons. Click on import from GitHub. Now paste this git url
github.com

GitHub - harshitethic/chatgpt-bot-telegram​

Contribute to harshitethic/chatgpt-bot-telegram development by creating an account on GitHub.
github.com

Choose language node.js
Click on import wait some seconds,
write run command node index.js
Click on commands >>secrets>>edit api id and tg api , out your values and save
Now click on console and click on round play button.
Wait some seconds then start your telegram bot whose api id was given.

How To Use
Your telegram chat gpt bit is ready
Send command /ask "your question"

Replit stops working after every 5 minutes as long as you keep its pages open.

You can host this bot on railway.app or Where you have the facility to keep the boat running at all times.

View hidden content is available for registered users!


Then :- node index.js

I hope you like this blog 🎉. I will try to make tutorial videos on this blog with more details until then bye, check our over other blogs.
 
Last edited:
Back
Top