|
|
---|
Installation
Node.js 8.0.0 or newer is required
Yarn
Recommended, auto assembly
yarn add @castery/caster-telegram
NPM
npm install @castery/caster-telegram --save
Usage
import { TelegramPlatform } from '@castery/caster-telegram';
/* ... */
const telegram = new TelegramPlatform({
adapter: {
token: '<token>'
}
});
caster.use(telegram);