ChatMessageFile
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 ChatMessage#getData.
Method Summary
Public Methods | ||
public |
Returns the name of the file. |
|
public |
this method was deprecated. You must directly send a HEAD request to the URL instead of relying on this method
e.g.: fetch(chatFile.getUrl(), {method: 'HEAD'})
Returns the mime-type of the file. |
|
public |
Returns the URL of the file. |