@samagra-x/uci-adapters-telegram-bot
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Nodejs Telegram Bot Provider

A telegram bot provider library for @samagra-x/uci-adapters-factory

Taken from: @novu/stateless

Usage

import { AdapterFactory } from '@samagra-x/uci-adapters-factory';

const adapter = AdapterFactory.getAdapter({
    type: 'TelegramBot',
    config: {
      botToken: 'TEST_BOT_TOKEN'
    }
});

await adapter.sendMessage({
  channel: '9999999',
  content: 'TEST_CONTENT',
});

Readme

Keywords

none

Package Sidebar

Install

npm i @samagra-x/uci-adapters-telegram-bot

Weekly Downloads

36

Version

1.0.6

License

MIT

Unpacked Size

14.1 kB

Total Files

16

Last publish

Collaborators

  • kdwevedi
  • packagewala
  • ankit_ml12
  • amruth-vamshi
  • chinmoy12c
  • prtkjakhar21
  • techsavvyash
  • chaks-samagra