Skip to content
Flow, TypeScript, Rust types for Telegram Bots API
Rust JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin build: Fix build after mergin PRs Dec 27, 2017
flow-typed/npm fix(builders/rust): add stub for rust-keywords Jan 7, 2018
javascript Adding new values to a added member to a group event. (#26) May 16, 2019
.eslintignore fix(@rust): ignore rust from eslint Jan 26, 2018
.flowconfig chore: add commitlint Jan 26, 2018
.travis.yml Added badges to (#25) Mar 20, 2019
tt.code-workspace chore: Add vscode workspace Jan 7, 2018

Telegram Bot API typings for Flow, TypeScript and Rust

Travis (.org) npm NPM npm

This repository contains Telegram Bot API typings for Flow, TypeScript and Rust.

The types are automatically generated for all supported languages from the Telegram Bot API website.

Flow and TypeScript typings

See javascript/ folder.

Rust typings

See rust folder.


Source code for the type generation lives under lib/ folder.

Setting up local development environment

To contribute to this project, you will need to have the following tools installed:

  • Rust
  • Node v8.x or higher
  • npm v5.7.1 or higher

Once these tools are installed, you can install the required dependencies:

npm install
cargo install rustfmt --version 0.9.0

Generating new typings

To generate new types, run the following:

npm run build

If the Telegram Bot API documentation has not changed, and you haven't done any changes to code, you should not get any diff.

You can’t perform that action at this time.