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

#1186 in Parser implementations

Download history 19/week @ 2024-06-29 6/week @ 2024-07-20 103/week @ 2024-07-27 4/week @ 2024-09-21 119/week @ 2024-09-28

123 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