/php-telegram-checker-bot

A Php Checker Bot For Telegram.

Primary LanguagePHP

PHP CHECKER BOT FOR TELEGRAM.

A Card Checker Bot For Telegram Based On Telegram.

Deployment

→ XAMPP

  • Download XAMPP Windows.exe, Linux.run, Mac.dmg
  • Setup XAMPP
  • open XAMPP as administrator
  • start Apache, Mysql
  • Click On Mysql-Admin (phpmyadmin will open in your browser.)
  • now make a database with name test

Paste

CREATE TABLE persons (
 userid int(11) NOT NULL,
 role varchar(50) COLLATE utf8_unicode_ci NOT NULL,
 username varchar(50) COLLATE utf8_unicode_ci NOT NULL,
 credits int(11) DEFAULT NULL,
 time int(11) DEFAULT NULL,
 UNIQUE KEY userid (userid),
 UNIQUE KEY username (username)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

  • After success go to your xampp installed location

For Windows C:\xampp

  • Download This Project files
  • Go to @Botfather and make a new bot and copy bot token (Looks Like 123456789:abcdefghijklmnopqrstuvwxyz)
  • Download This Project files As Zip and Unzip in on htdocs of your xampp folder.
  • open index.php and edit <Bottoken> as your bot token (Example 123456789:abcdefghijklmnopqrstuvwxyz)
  • now save it
  • Make Sure This Projects Files in your XAMPP/htdocs folder*
  • open XAMPP as administrator
  • start Apache, Mysql
  • Download ngrok.com Add your authtoken
  • open ngrok and type ngrok http https://localhost
  • Copy https url (looks like https://anything.ngrok.io)

Webhook Url: `https://www.example.com//setwebhook?url=<ngrok_url>&drop_pending_updates=True

  • replace bottoken and ngrok_url with your bottoken and ngrok_url
  • NOW START YOUR BOT

VIDEO TUTORIAL

  • SOON

Authors

Support Me

Buy Me A Coffee

UPI: roldex.fam@idfcbank
Paypal: Click
BTC: 35t9HaAV35HbkjZXtbZ66fdo3LLMp79CyD
ETH: 0x70550046d712c677d70cB6eEb247F72A5b8fD844

Where You Can Find Me

Made With

LICENSE

MIT License

License

MIT