pub enum InputFile {
Generated(InputFileGenerated),
Id(InputFileId),
Local(InputFileLocal),
Remote(InputFileRemote),
// some variants omitted
}
Expand description
Points to a file
Variants
Generated(InputFileGenerated)
A file generated by the application
Id(InputFileId)
A file defined by its unique ID
Local(InputFileLocal)
A file defined by a local path
Remote(InputFileRemote)
A file defined by its remote ID. The remote ID 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
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputFile
impl UnwindSafe for InputFile
Blanket Implementations
Mutably borrows from an owned value. Read more