Download the PHP package prowebcraft/telebot without Composer
On this page you can find all versions of the php package prowebcraft/telebot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download prowebcraft/telebot
More information about prowebcraft/telebot
Files in prowebcraft/telebot
Package telebot
Short Description Telegram bot with dialogs and session management
License MIT
Informations about the package telebot
Telegram Bot Framework
Telegram bot with dialogs support and session management
PHP Telegram Bot Api
Based on php wrapper for Telegram Bot API, telebot provides flexible diablogs system (inlines and buttons mode), ability to track responses. Telebot can work in daemon or webhook mode.
Bots: An introduction for developers
Bots are special Telegram accounts designed to handle messages automatically. Users can interact with bots by sending them command messages in private or group chats.
You control your bots using HTTPS requests to bot API.
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to create and set up a bot, please consult Introduction to Bots and Bot FAQ.
Install
Via Composer
Usage
See example Telegram Id Bot. This bot in Telegram - @identybot
Create your bot YourBot.php class extended of \Prowebcraft\Telebot\Telebot
Create some public methods with Command suffix
Run your bot in daemon mode.
Create daemon.php
And run it in console
At first run data.json will be created with some template options:
Set your bot token to config.api
Set yourself as global admin (you can get your id from @identybot)
Send /hi to your bot
Credits
- Andrey Mistulov
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of telebot with dependencies
telegram-bot/api Version ~2.3.13
symfony/console Version ^5.0
monolog/monolog Version ~2.1
symfony/translation Version ^5.0
ext-curl Version *
ext-json Version *