Automatically generate type definition files for the Telegram Bot API in multiple programming languages.
go install github.com/TBXark/telegram-bot-api-types@latest
You can directly use the precompiled version we provide, or generate your own language version.
telegram-bot-api-types --help
-dist string
The output directory (default "./dist")
-help
Show help
-lang string
The output language (default "typescript,jsdoc,spec,swift")
- Refactored the scraper inspired by telegram-bot-api-spec.
telegram-bot-api-types is released under the MIT license. See LICENSE for details.