0.0.0 • Published 6 years ago
ts-telegram-api v0.0.0
Typescript Telegram Bot Api
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
- Writing tests
0.0.0
6 years ago