Documentation
Chat (BETA)
API Reference
Utils | Agora Chat SDK API Reference
Agora Chat Web API Reference
Methods
download
Parameters
Optional operateName: OperationName
Returns void
getFileUrl
- getFileUrl(fileInputId: string | HTMLInputElement): uri
Parameters
fileInputId: string | HTMLInputElement
Returns uri
listenNetwork
- listenNetwork(online: () => void, offline: () => void): void
Parameters
online: () => void
offline: () => void
Returns void
uploadFile
- uploadFile(options: UploadFile, operateName?: OperationName): void
Parameters
Optional operateName: OperationName
Returns void