erp-mgroen / php-censor-telegram-plugin
PHP Censor 的 Telegram 插件
1.0.3
2017-12-07 15:52 UTC
Requires
- php: >=5.3.3
- guzzlehttp/guzzle: 6.2.*
This package is auto-updated.
Last update: 2024-09-06 09:54:52 UTC
README
PHP-Censor-Telegram-Plugin
Telegram 插件用于 PHP Censor
安装
首先 - composer require lexasoft/php-censor-telegram-plugin
添加到项目
在 PHP Censor 项目配置部分添加 Telegram 触发器
complete:
telegram:
api_key: "<YOUR_BOT_TOKEN_HERE>"
message: "[%ICON_BUILD%] [%PROJECT_TITLE%](%PROJECT_URI%) - [Build #%BUILD%](%BUILD_URI%) has finished for commit [%SHORT_COMMIT% (%COMMIT_EMAIL%)](%COMMIT_URI%) on branch [%BRANCH%](%BRANCH_URI%)"
recipients:
- <user id>
- "-<group id>"
- "@<channel id>"
send_log: true