Private
Optional
cachedPrivate
namePrivate
urlReturns the mime-type of the file.
A promise fulfilled with the mime-type of the file
You must directly send a HEAD request to the URL instead of relying on this method e.g.: fetch(chatFile.getUrl(), {method: 'HEAD'})
Generated using TypeDoc
Instances of this class represents a file in a chat message. This class must not be directly instantiated. Instances of this class can be obtained using getData.