ts-telegram-api
v0.0.0
Published
ts-telegram
Downloads
2
Maintainers
Readme
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