@mtcute/file-id
v0.18.0-rc.5
Published
Support for TDLib and Bot API file ID for mtcute
Downloads
2,755
Readme
@mtcute/file-id
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:
- td/telegram/files/FileManager.cpp
- td/telegram/files/FileLocation.hpp
- td/telegram/PhotoSizeSource.h
- td/telegram/PhotoSizeSource.hpp
- td/telegram/Version.h
Additionally, some of the test cases were taken from a similar Python library, luckydonald/telegram_file_id