AgoraRtmFileMessage Class Reference
|Inherits from||AgoraRtmMessage : NSObject|
The interface for setting and retrieving attributes of a file message. Inherited from AgoraRtmMessage.
The size of the uploaded file in bytes.
@property (nonatomic, assign, readonly) long long size
The media ID of the uploaded file.
@property (nonatomic, nonnull, readonly) NSString *mediaId
- The media ID is automatically populated once the file is uploaded to the file server.
- The media ID is valid for 7 days because the file server keeps all uploaded files for 7 days only.