Documentation - v0.27.1
    Preparing search index...

    Module @mtcute/file-id

    @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.

    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

    Namespaces

    tdFileId

    Type Aliases

    InputUniqueLocation

    Functions

    parseFileId
    toFileId
    toUniqueFileId