dbunt1tled/yii2-telegram-notify

Send Notify Trigger All Contacts

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

Type:yii2-extension

pkg:composer/dbunt1tled/yii2-telegram-notify

0.04b 2018-01-14 11:56 UTC

This package is auto-updated.

Last update: 2025-10-07 11:03:32 UTC


README

Send Notify Trigger All Contacts

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist dbunt1tled/yii2-telegram-notify "*"

or add

"dbunt1tled/yii2-telegram-notify": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php
    $client = new yii\httpclient\Client();
    $botTelegram = new TelegramNotify($tokenYourBot,$client);
    $botTelegram->sendMessage('Всем привет'); 
?>