Download the PHP package locky42/telegram-logger without Composer
On this page you can find all versions of the php package locky42/telegram-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package telegram-logger
Telegram Logger
Simple and reliable service for logging messages to Telegram with PSR-4 autoloading support.
Installation
Usage
Basic Usage
Configuration
Getting Bot Token
- Message @BotFather in Telegram
- Use the
/newbotcommand - Give your bot a name
- Get the bot token
Getting Chat ID
- Add the bot to the chat
- Send any message to the chat
- Go to:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates - Find
chat.idin the response
Getting Thread ID
For group discussions with threads:
- Enable topics in your group (Group Settings > Topics)
- Create a new topic/thread in the group
- Send a message in that thread
- Go to:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates - Find
message_thread_idin the response
Testing
License
MIT License
All versions of telegram-logger with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-json Version *
ext-json Version *
The package locky42/telegram-logger contains the following files
Loading the files please wait ...