0.0.0 • Published 6 years ago

ts-telegram-api v0.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Typescript Telegram Bot Api

Build Status Coverage Status Dependency Status Known Vulnerabilities MIT license

Install

npm install --save ts-telegram-api

or

yarn add ts-telegram-api

Usage

import TelegramApi from 'ts-telegram-api';

const bot = new TelegramApi('your bot token');
bot.getMe().then((user) => {
  console.dir(user)
})

Document

Telegram Bot API. A bot token is required and can be obtained by talking to @botfather.

Todo

  1. Writing tests