JSPM

tele-sender

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q20011F
  • License MIT

A simple Telegram message sender written in Typescript with zero dependencies.

Package Exports

  • tele-sender
  • tele-sender/build/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tele-sender) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Tele Sender

A simple Telegram message sender written in Typescript with zero dependencies.

See how it's implemented at my blog post.

Installation

npm i tele-sender

Usage

import Telegram, { Telegram_ParseModes } from 'tele-sender';

const telegram = new Telegram('api_key');

telegram.send('chat_id', '*Hello World\\!*', Telegram_ParseModes.MarkdownV2);