5.0.0 • Published 3 years ago
telegram-typings v5.0.0
telegram-typings
Full types parsed from core.telegram.org/bots/api for TypeScript and Flowtype
Installation
Just install it as your dependency and use
npm install --save telegram-typings
// typescript
import { User, Chat, Voice } from 'telegram-typings'
Flow
# 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
// flow
import type { User, Chat, Voice } from 'telegram-typings'
5.0.0
3 years ago
4.0.0-beta
6 years ago
3.6.1
6 years ago
3.6.0
6 years ago
0.3.5-3
6 years ago
0.3.5-2
6 years ago
0.3.5-1
6 years ago
0.3.5-0
6 years ago
0.3.5
6 years ago
0.0.0-reserved
6 years ago