Skip to content

file_id is invalid after reconstructing td::Client #177

@GRiMe2D

Description

@GRiMe2D

Currently I'm building an iOS app using tdlib, the first problem was, when user minimizes the app sockets are closed down, so td::Client crashes. Now I destruct client object every time when app goes background and recreate when it goes foreground.

And now there's another problem, previously saved file_ids are no longer available for download. Every downloadFile request fails with "400 - Invalid file id".

How do one save file ids for later download?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions