Skip to content

Latest commit

 

History

History
101 lines (71 loc) · 4.99 KB

README.md

File metadata and controls

101 lines (71 loc) · 4.99 KB

Telegram Bot SDK

Join PHP Chat Chat on Telegram Build Status Latest Version Total Downloads

Telegram Bot API - PHP SDK

Telegram Bot SDK lets you develop Telegram Bots in PHP easily! Supports Laravel framework and comes with addons to enhance your bot development experience.

Telegram Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.

To learn more about the Telegram Bot API, please consult the Introduction to Bots and Bot FAQ on Telegram's official site.

To get started writing your bots using Telegram Bot SDK, please refer the SDK Documentation.

NOTE: SDK has been migrated from the original repo irazasyed/telegram-bot-sdk since 4.x.

Usage

Documentation for the SDK can be found on the website.

Upgrade from version <4.x

Starting from version 4.x, the project has been renamed from irazasyed/telegram-bot-sdk to telegram-bot-sdk/telegram-bot-sdk.

In order to receive the new version and future updates, you need to rename it in your composer.json:

"require": {
-    "irazasyed/telegram-bot-sdk": "(version you use)",
+    "telegram-bot-sdk/telegram-bot-sdk": "(version you use)",
}

Laravel

Laravel service provider in addition to various other Laravel specific features have been moved to its own package.

"require": {
-    "irazasyed/telegram-bot-sdk": "(version you use)",
+    "telegram-bot-sdk/laravel": "^4.0",
}

and run composer update.

Are You Using Telegram Bot SDK?

If you're using this SDK to build your Telegram Bots or have a project that's relevant to this SDK, We'd love to know and share it with the world.

Head over to Awesome Telegram Bots to share, discover, and learn more.

Contributing

Thank you for considering contributing to the project. Please read the contributing guide before creating an issue or sending in a pull request.

Code of Conduct

Please read our Code of Conduct before contributing or engaging in discussions.

Security

If you discover a security vulnerability within this project, please email Syed at security at telegram-bot-sdk.com. All security vulnerabilities will be promptly addressed. You may view our full security policy here.

Credits

Disclaimer

The Telegram Bot SDK is a third-party library and is not associated with, endorsed by, or affiliated with Telegram or its products. For more details, please read the Disclaimer

License

This project is open-sourced software licensed under the BSD 3-Clause license.