Skip to content
This repository was archived by the owner on Jan 13, 2019. It is now read-only.

php-censor/php-censor-telegram-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f664d3c · Jan 13, 2019

History

11 Commits
Dec 7, 2017
Feb 16, 2017
Jan 13, 2019
Feb 4, 2018

Repository files navigation

This package is abandoned and no longer maintained. The author suggests using the build-in PHP Censor plugin instead.

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