AgoraRtmFileMessage Class Reference
Inherits from | AgoraRtmMessage : NSObject |
---|---|
Declared in | AgoraRtmKit.h |
Overview
The interface for setting and retrieving attributes of a file message. Inherited from AgoraRtmMessage.
size
The size of the uploaded file in bytes.
@property (nonatomic, assign, readonly) long long size
Declared In
AgoraRtmKit.h
mediaId
The media ID of the uploaded file.
@property (nonatomic, nonnull, readonly) NSString *mediaId
Discussion
- 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.
Declared In
AgoraRtmKit.h