PhpGram
PhpGram is a PHP library for interacting with the Telegram Bot API, providing easy-to-use methods for sending messages, media, managing chats, stickers, inline queries, payments, and more.
{% github https://github.com/SH20RAJ/phpgram %}
Table of Contents
- Installation
- Usage
- Initialization
- Basic Usage
- Sending Messages and Media
- Managing Chats and Members
- Handling Stickers
- Inline Mode
- Payments
- Games
- Handling Updates
- Contributing
- License
Installation
Install PhpGram via Composer:
Alternatively, you can clone the repository:
Usage
Initialization
First, include the library in your PHP file and initialize PhpGram
with your bot token:
Basic Usage
Sending Messages and Media
Sending Text Messages
Sending Photos
Sending Audio
Sending Documents
Sending Videos
Sending Animations
Sending Voice Messages
Sending Video Notes
Sending Media Groups
Sending Locations
Sending Venues
Sending Contacts
Sending Polls
Sending Dice
Managing Chats and Members
Handling Stickers
Inline Mode
Payments
Games
Handling Updates
Contributing
Contributions are welcome! Fork the repository, make your changes, and submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
████████████████████████████████████████████████████████████ ██╗ ██╗███████╗██╗ ██╗ ██████╗
████████████████████████████████████████████████████████████ ██║ ██║██╔════╝██║ ██║ ██╔═══██╗
███████████████████████████████████`. ╙██████████████ ███████║█████╗ ██║ ██║ ██║ ██║
████████████████████████████████▀ ¿▓▓▓▓▓▓▓▓▄/ "████████████ ██╔══██║██╔══╝ ██║ ██║ ██║ ██║
██████████████████████████████▀. ▓▓▓▓▓▓▓▓▓▓▓▓ ▐██████████ ██║ ██║███████╗███████╗███████╗╚██████╔╝▄█╗
██████████████████████████████ ` ▓▓▓▓▓▓▓▓▓▓▓▓ ` ██████████ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝ ╚═╝
██████████████████████████████ ` ▓▓▓▓▓▓▓▓▓▓▓▓ ▄██████████
▀██████████████████████████████▌ ▀▀▓▓▓▓▓▓▓▌╓╖. ████████████ ███╗ ██╗██╗ ██████╗███████╗ ████████╗ ██████╗
█▄▀██████████████████████████████▄ ╩╦╙▀▀▀▀▀ ╣`,█████████████ ████╗ ██║██║██╔════╝██╔════╝ ╚══██╔══╝██╔═══██╗
▄▀█▄╙█████████████████████▀▀▀▀█████▄▄ .... ,▄███████▀███████ ██╔██╗ ██║██║██║ █████╗ ██║ ██║ ██║
██▄▀█▄╙█████████████████▀ ╪╢%╦══~╓,└ ╚▒▒▒ ╙▀|,╓╓═╤H ▀████ ██║╚██╗██║██║██║ ██╔══╝ ██║ ██║ ██║
█▀▀▀-▀█▌▄▀█████████████ ║▒▒▒▒▒▒▒▒▒▒╢╦ ╘ -╣▒▒▒▒▒▒▒▒▒╢╕ ▀█ ██║ ╚████║██║╚██████╗███████╗ ██║ ╚██████╔╝
██▄▀██└║▄▄▄████████████▄ ═╕╕╕╕╕═╕═══════ ▄▄▄▄ ╚═╝ ╚═══╝╚═╝ ╚═════╝╚══════╝ ╚═╝ ╚═════╝
████▄▀█▌║███ ████████▌ ╕ ╩▒▒▒▒▒▒▒▒▒Ñ ███
██████▌Ö▓▌ ▀██████████`╔▒▒╣ █ ▒▒m ╚▒╢▒▒▒╩ -╣▒ ▌ ▒▒▒ ████ ███╗ ███╗███████╗███████╗████████╗ ██╗ ██╗ ██████╗ ██╗ ██╗
████ -"" ∞╙,▀.╙▀███████╜ ▒▒▒ ▄█ Ñ - S. ═▒▒▒▒ █ ║▒▒╕└███ ████╗ ████║██╔════╝██╔════╝╚══██╔══╝ ╚██╗ ██╔╝██╔═══██╗██║ ██║
████████▄ -« ∞▄.▀",╓═ ╒██ ═╣▒▒ `Ñ╛ █▌ ▒▒▒ ███ ██╔████╔██║█████╗ █████╗ ██║ ╚████╔╝ ██║ ██║██║ ██║
█████████▌ º ╤╣▒╣╩^",▄▄███▀ ▒▒╣" ''''''' ▀▀ `██ ██║╚██╔╝██║██╔══╝ ██╔══╝ ██║ ╚██╔╝ ██║ ██║██║ ██║
█████████ ▌ ▄▄████████─ --------- L'▒▒▒ ██ ██║ ╚═╝ ██║███████╗███████╗ ██║ ██║ ╚██████╔╝╚██████╔╝
▀▀▀▀▀▀▀▀▀▀▀▀▀- ▀▀▀▀▀▀▀▀▀▀ '╧╧╧╧╧╧╧╧╧` ╚ ╧╧╧- ▀ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝
PHP is language that do wonders in website development.
ReplyDeleteThis comment has been removed by the author.
ReplyDelete