mtcute/packages/file-id
2024-08-18 07:18:13 +03:00
..
src chore: migrate to antfu eslint config (+ reformat) 2024-08-18 07:18:13 +03:00
package.json chore: migrate to antfu eslint config (+ reformat) 2024-08-18 07:18:13 +03:00
README.md docs: updated readmes 2024-03-07 05:35:37 +03:00
tsconfig.json chore: migrate to antfu eslint config (+ reformat) 2024-08-18 07:18:13 +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