@wagwan/tg-bot-api
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

tg-bot-api

Init

import { TelegramBotApi } from '@wagwan/tg-bot-api';

const api = new TelegramBotApi({
  token: 'secret',
  request: axios.create(),
  handleError: (error: unknown) => { throw new TelegramBotApiError({ error }) },
});

Supported methods (WIP)

Readme

Keywords

none

Package Sidebar

Install

npm i @wagwan/tg-bot-api

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

18.6 kB

Total Files

34

Last publish

Collaborators

  • nikita-nuykin