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

#721 in Parser implementations

Download history 205/week @ 2024-02-26 196/week @ 2024-03-04 22/week @ 2024-03-11 4/week @ 2024-03-18

427 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–17MB
~185K SLoC