mtcute/packages/file-id
2024-04-21 04:53:09 +03:00
..
src chore: avoid using namespaces in favor of esm 2024-03-07 18:11:02 +03:00
package.json build: initial support for jsr building 2024-04-21 04:53:09 +03:00
README.md docs: updated readmes 2024-03-07 05:35:37 +03:00
tsconfig.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
typedoc.cjs chore: moved most configs to .config 2023-11-13 13:28:11 +03:00

@mtcute/file-id

📖 API Reference

This package is used internally by @mtcute/core to parse, serialize and manipulate TDLib and Bot API compatible File IDs, but can also be used for any other purposes.

Acknowledgements

This is basically a port of a portion of TDLib APIs, but greatly simplified in usage and made to work seamlessly with the rest of the mtcute APIs.

This is a list of files from TDLib repository, from which most of the code was taken:

Additionally, some of the test cases were taken from a similar Python library, luckydonald/telegram_file_id