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.
Generated using TypeDoc
Interface for file messages. You can use this interface to send and receive file messages. You can call sendMessageToPeer or sendMessage to send a peer-to-peer or channel file message.