evgeralt/yii2-telegram-bot

There is no license information available for the latest version (0.1.3) of this package.

Yii2 telegram bot component on Longman Telegram Bot

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-components

0.1.3 2021-12-16 22:07 UTC

This package is auto-updated.

Last update: 2024-04-17 03:25:23 UTC


README

Install by composer

composer require evgeralt/yii2-telegram-bot

Or add this code into require section of your composer.json and then call composer update in console

"evgeralt/yii2-telegram-bot": "*"

Usage

In configuration file do

<?php
  'components'  =>  [
        'telegram' => [
            'class' => \evgeralt\yii2telegram\TelegramBot::class,
            'apiKey' => '',
            'botName' => '',
            'comandsPaths' => [],
        ],
  ],