Table of Contents
What is the BPT Library?
A simple library created by php language to make and manage telegram bot easier
What is BPT?
This word stand for
Bot Php Tools , meaning tools for
bot in php
Do I need to pay for this?
No at all , this is a free and open source library
How do I use it?
There is several ways to use it , you will see them in the next
What we need to know before using your library?
Know basic knowledge about PHP language
Know basic knowledge about Telegram API
This library created by Miaad Sadeghloo and Alireza Ghafoorashid
- First of all , you will need a telegram bot token.
- Go to
@BotFatherand create a bot and copy it’s token
- Now you must download our Base
- In the base file , see line 2 , place your token in there
- For default , everythings are done now! Upload your source in webservers
- Open your source in browser so your webhook will be setted automatically
I found some bug in your library , how can i report it?
- You can create an issues in github page
- You can contact us by our contacts way
- We have a group in telegram , so you can say it to us there
I need more information about your library style , where can i found it?
You should check our documantation, Also you can check our examples in Example folder on github or here
Can we trust your library?
You can check our code! Then check if you can trust it or not :)
All of the APIs in the library are free and permanent?
All of our APIs in the library are free. Nothing in the world is permanent but we are tring to keep it online
Can we send our ideas and APIs to you for adding to library?
Yes, Of coure. Just contact us.
If your question isn’t here , feel free to ask
Whats the advantage
- Support for all Telegram methods (API version: 6.0)
- Many alices for telegram methods (simple syntax)
- Set many parameters by default for telegram methods (chat_id in sendMessage, etc.)
- You can call the telegram methods as you wish (sendMessage, send_message, sendMESSAGE, …)
- You can set ip checker with just one change in settings (Telegram and cloudflare support).
- Settings to increase the security of your robot
- Support for Webhook and GetUpdate to receive updates
- Use web hook even on sites without ssl
- A beautiful and simple handler for updating
- There is a special setting for multiple processing that uses 2 different methods depending on your service settings
- There are many methods to make things easier
- Lots of APIs to make things easier
- Default support for MySQL database and of course JSON
- Lots of settings for everything
- Our site : https://bptlib.ir
- Our github : https://github.com/BPTproto/BPT
- Our email : firstname.lastname@example.org
- Our telegram support : https://t.me/BPT_Support
- Email : email@example.com
- Gmail : firstname.lastname@example.org
- Telegram : @Im_Miaad
- Email :email@example.com
- Telegram : @A_LiReza_ME
Miaad contact ways :
Alireza contact ways :