Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data InputFile
- = InputFileId { }
- | InputFileRemote { }
- | InputFileLocal { }
- | InputFileGenerated { }
Documentation
Points to a file
InputFileId | A file defined by its unique identifier |
InputFileRemote | A file defined by its remote identifier. The remote identifier is guaranteed to be usable only if the corresponding file is still accessible to the user and known to TDLib. For example, if the file is from a message, then the message must be not deleted and accessible to the user. If the file database is disabled, then the corresponding object with the file must be preloaded by the application |
InputFileLocal | A file defined by a local path |
InputFileGenerated | A file generated by the application. The application must handle updates updateFileGenerationStart and updateFileGenerationStop to generate the file when asked by TDLib |
|