15 unstable releases (5 breaking)

0.6.0 Mar 9, 2024
0.4.4 Nov 20, 2022
0.4.3 May 15, 2022
0.4.1 Mar 15, 2022
0.2.2 Nov 30, 2020

#1322 in Parser implementations

Download history 2/week @ 2024-07-17 107/week @ 2024-07-24 1/week @ 2024-09-18 4/week @ 2024-09-25 14/week @ 2024-10-02

417 downloads per month

MIT/Apache and GPL-3.0+

54KB
1.5K SLoC

tg-bot-api

Actions Status License crates.io Documentation

Telegram Bot API parser in Rust

Generated schemas can be found at ark0f.github.io/tg-bot-api:

OpenAPI:

Custom schema thar more convenient to work with:

Documentation can be found at CUSTOM_SCHEMA.md.

.min.json suffix can be used to fetch minimized JSON. For example: openapi.min.json, custom_v2.min.json, etc.

Automatic deploy

Schemas are deployed automatically every midnight at UTC+0 and when there is a new commit in tdlib/telegram-bot-api.

Custom custom schema v1

This is a note for old users.

Schema still remains and updates at old URLs as earlier:

See v2 changes for more details.

Dependencies

~9–16MB
~175K SLoC