Skip to content

20prince12/random-chat

Repository files navigation

Stranger chat(Telegram BOT using python(flask))

▶️ Commands

🔹 /search : To start searching for some random user for chat.
🔹 /leave : To leave the current chat.

▶️ Installation Guide

1️⃣ Installing modules : cmd >pip freeze -r requirements.txt

2️⃣ Generating telegram bot API tokens : go to https://telegram.me/botfather to create your bot. save the token which you get while creating it.

3️⃣ Setting credentials in config.py : Token : enter the token which you got while creating bot. URL : enter your server url(If you are running on local machine , use ngrok and it must be https)

4️⃣ Starting Server : cmd >set FLASK_app=app.py Flask run

About

Telegram bot to chat with strangers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published