https://github.com/tbxark/telegram-bot-api-types
Telegram Bot API SDK compiled size is 0KB that only includes type definition files and jsdoc files
https://github.com/tbxark/telegram-bot-api-types
Last synced: 5 months ago
JSON representation
Telegram Bot API SDK compiled size is 0KB that only includes type definition files and jsdoc files
- Host: GitHub
- URL: https://github.com/tbxark/telegram-bot-api-types
- Owner: TBXark
- License: mit
- Created: 2024-08-24T06:01:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-12T10:25:58.000Z (11 months ago)
- Last Synced: 2024-11-16T23:45:42.917Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 772 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-bot-api-types
Automatically generate type definition files for the Telegram Bot API in multiple programming languages.

### Supported Languages
- [x] [TypeScript](./dist/dts)
- [x] [JavaScript](./dist/jsdoc)
- [x] [Json](./dist/spec)
- [x] [Swift](./dist/swift)### Installation
```sh
go install github.com/TBXark/telegram-bot-api-types@latest
```### Usage
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")
```## Reference
- Refactored the scraper inspired by [telegram-bot-api-spec](https://github.com/PaulSonOfLars/telegram-bot-api-spec).
## License
**telegram-bot-api-types** is released under the MIT license. [See LICENSE](LICENSE) for details.