2017 © Pedro Peláez
 

yii2-extension yii2-telegram-notifications

Telegram Notifications

image

mirkhamidov/yii2-telegram-notifications

Telegram Notifications

  • Tuesday, July 3, 2018
  • by miroff
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 19 % Grown

The README.md

Notifications via Telegram-Bot

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

composer require m1roff/yii2-telegram-notifications "dev-master"

Configure

add this lines to your project config file, (*3)

'components' => [
    ...,
    'telegram' => [
        'class' => \m1roff\TelegramNotifications::class,
        'token' => ***', // Token of your bot
        'chat' => ***, // Notifications chat id
        'extraTitle' => "⚠️⚠️⚠️ Some extra title added to message⚠️⚠️⚠️\n", // optional
        'proxy' => 'socks5://LOGIN:PASS@PROXY_ADDRESS:PROXY_PORT', // optional, if needed to use proxy, like in Russia
    ],
],

HOW

How to find out my user`s Id ot chat id?

  • send message to the bot
  • Look at last updates at https://api.telegram.org/bot{BOT_TOKEN}/getUpdates
  • {BOT_TOKEN} - replace with your bot token

The Versions

03/07 2018

dev-master

9999999-dev

Telegram Notifications

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 telegram

03/07 2018

1.4.0

1.4.0.0

Telegram Notifications

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 telegram

12/04 2018

1.3.0

1.3.0.0

Telegram Notifications

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 telegram

17/02 2018

1.2.0

1.2.0.0

Telegram Notifications

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 telegram

16/02 2018

1.1.0

1.1.0.0

Telegram Notifications

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 telegram

11/02 2018

1.0.0

1.0.0.0

Telegram Notifications

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 telegram