erp-mgroen/php-censor-telegram-plugin

PHP Censor plugin for Telegram

1.0.3 2017-12-07 15:52 UTC

This package is auto-updated.

Last update: 2024-04-06 09:04:55 UTC


README

SensioLabsInsight

Codacy Badge

PHP-Censor-Telegram-Plugin

Telegram plugin for PHP Censor

Installation

First of all - composer require lexasoft/php-censor-telegram-plugin

Add to project

In the PHP Censor Project config section add the Telegram trigger

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