Nostradamus Predicting Maelstroms

    telegram-typings
    TypeScript icon, indicating that this package has built-in type declarations

    5.0.0 • Public • Published

    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'

    Install

    npm i telegram-typings

    DownloadsWeekly Downloads

    6,181

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    415 kB

    Total Files

    5

    Last publish

    Collaborators

    • lestad
    • piterden
    • sergeysova