seatplus/telegram-channel

implements notifications for telegram

0.1.1 2021-08-17 19:02 UTC

This package is auto-updated.

Last update: 2024-03-18 00:46:52 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require seatplus/telegram-channel

You run the migrations with:

php artisan migrate

Configuration

  1. create a bot by contacting @BotFather (opens new window) (https://core.telegram.org/bots#6-botfather)
  2. set your website domain using /setdomain (f.e. http://yourdomain.tld)
  3. set .env variables
TELEGRAM_BOT_NAME=
TELEGRAM_TOKEN=
TELEGRAM_REDIRECT_URI=http://yourdomain.tld/auth/telegram/callback

make sure to replace yourdomain.tld with your actual domain.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.