https://github.com/cyruskao/tele-sender
A simple Telegram message sender written in Typescript with zero dependencies.
https://github.com/cyruskao/tele-sender
sender telegram telegram-bot typescript
Last synced: about 1 year ago
JSON representation
A simple Telegram message sender written in Typescript with zero dependencies.
- Host: GitHub
- URL: https://github.com/cyruskao/tele-sender
- Owner: CyrusKao
- Created: 2022-01-28T09:38:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-28T09:38:45.000Z (over 4 years ago)
- Last Synced: 2025-03-23T04:01:50.599Z (over 1 year ago)
- Topics: sender, telegram, telegram-bot, typescript
- Language: TypeScript
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Tele Sender
A simple Telegram message sender written in Typescript with zero dependencies.
> See how it's implemented at [my blog post](https://nocache.org/p/build-a-telegram-bot-to-send-notifications-in-node-js-with-typescript).
## Installation
```sh
npm i tele-sender
```
## Usage
```ts
import Telegram, { Telegram_ParseModes } from 'tele-sender';
const telegram = new Telegram('api_key');
telegram.send('chat_id', '*Hello World\\!*', Telegram_ParseModes.MarkdownV2);
```