sendFile method
Future<SendFileResponse>
sendFile(
- AttachmentFile file,
- String channelId,
- String channelType, {
- ProgressCallback? onSendProgress,
- CancelToken? cancelToken,
Send a file
to the channelId
of type channelType
Implementation
Future<SendFileResponse> sendFile(
AttachmentFile file,
String channelId,
String channelType, {
ProgressCallback? onSendProgress,
CancelToken? cancelToken,
}) =>
_chatApi.fileUploader.sendFile(
file,
channelId,
channelType,
onSendProgress: onSendProgress,
cancelToken: cancelToken,
);