Description of the file message. The maximum total size of
thumbnail
, fileName
, and description
is
32 KB.
Name of the uploaded file. The maximum total size of
thumbnail
,fileName
, and description
is
32 KB.
Media ID of the uploaded file. The SDK automatically assigns a media ID for each file you upload to the Agora server. A media ID stays valid for seven days, which means that each uploaded file stays on the Agora server for seven days.
Message type. ''FILE'' stands for file messages.
Size of the uploaded file in bytes.
Thumbnail of the uploaded file. The maximum total size of
thumbnail
, fileName
, and description
is
32 KB.
Deprecated as of v1.5.1. Agora recommends that you do not use it.
Interface for file messages. You can use this interface to send and receive file messages. You can call RtmClient.sendMessageToPeer or RtmChannel.sendMessage to send a peer-to-peer or channel file message.