adonis-messaging-api-telegram

A provider to initialize the messaging-api-telegram package with your telegram token.

Usage no npm install needed!

<script type="module">
  import adonisMessagingApiTelegram from 'https://cdn.skypack.dev/adonis-messaging-api-telegram';
</script>

README

Registering the provider

Inside start/app.js

const providers = [
    'adonis-stripe/providers/TelegramProvider'
]

Usage

const Telegram = use('Telegram');

Env

Add your TELEGRAM_TOKEN to your .env file.