# telegram-typings

> Telegram typings for TypeScript and Flowtype to create bots

Latest version **5.0.0** (published 2021-01-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install telegram-typings
pnpm add telegram-typings
yarn add telegram-typings
bun add telegram-typings
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2021-01-14 |
| First published | 2017-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 405 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 39 |
| Author | Sergey Sova |
| Maintainers | lestad, piterden, sergeysova |
| Keywords | telegram, bots, typings, types, flow, type, typescript, script, build, generate |

## Links

- npm: https://www.npmjs.com/package/telegram-typings
- Repository: https://github.com/sergeysova/telegram-typings
- Homepage: https://github.com/sergeysova/telegram-typings#readme
- Issues: https://github.com/sergeysova/telegram-typings/issues
- npm.io page: https://npm.io/package/telegram-typings

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 5.0.0 (latest) — 2021-01-14
- 4.0.0-beta — 2018-08-02
- 3.6.1 — 2018-05-04
- 3.6.0 — 2018-04-18
- 0.3.5-3 — 2018-01-07
- 0.3.5-2 — 2017-12-30
- 0.3.5-1 — 2017-12-27
- 0.3.5-0 — 2017-12-25
- 0.0.0-reserved — 2017-12-16

## README

# telegram-typings

Full types parsed from core.telegram.org/bots/api for TypeScript and Flowtype

## Installation

Just install it as your dependency and use

```bash
npm install --save telegram-typings
```

```ts
// typescript
import { User, Chat, Voice } from 'telegram-typings'
```

### Flow

```bash
# Search in flow-typed
flow-typed search telegram-typings

# if not found, copy content of ./javascript/index.js.flow to your flow-typed
wget https://raw.githubusercontent.com/sergeysova/telegram-typings/master/javascript/index.js.flow -O ./flow-typed/npm/telegram-typings_vx.x.x.js
# next use as normal module
```

```js
// flow
import type { User, Chat, Voice } from 'telegram-typings'
```

---
_Source: https://npm.io/package/telegram-typings · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
