DataManager
A utility class for managing data.
DataManager.resolveFile(file) ⇒ Promise.<(Buffer|null)>
Section titled “DataManager.resolveFile(file) ⇒ Promise.<(Buffer|null)>”Resolves a file to be used in a function or operation.
Kind: static method of DataManager
Returns: Promise.<(Buffer|null)> - - A promise that resolves to the resolved file as a Buffer, or null if the file cannot be resolved.
| Param | Type | Description |
|---|---|---|
| file | Buffer | MessageAttachment | Object | The file to resolve. |