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