The file ID.
Whether this branch is active/valid.
Version for the file, one-indexed.
Creates a new version of this file with contents in a type that is compatible with MatrixClient.uploadContent().
The name of the file.
The encrypted contents.
The encrypted file information.
Optional
additionalContent: IContentOptional event content fields to include in the message.
Promise which resolves to the file event's sent response.
Gets the event the file points to.
Promise which resolves to the file's event.
Gets information about the file needed to download it.
Information about the file.
Gets the file's version history, starting at this file.
Promise which resolves to the file's version history, with the first element being the current version and the last element being the first version.
Represents a MSC3089 branch - a reference to a file (leaf) in the tree. Note that this is UNSTABLE and subject to breaking changes without notice.