sendImage
Uploads an image within the given uploadContext. Progress can be accessed via callback.
When the upload is part of sending a message, FileUploadContext.messageId carries the id the message will be sent with.
The default implementation ignores the extra context and delegates to the corresponding legacy overload: sendImage(channelType, channelId, userId, file, callback) when callback is not null, sendImage(channelType, channelId, userId, file) otherwise.
Return
The Result object containing an instance of UploadedFile in the case of a successful upload or an exception if the upload had failed.
Uploads an image for the given channel. Progress can be accessed via callback.
Return
The Result object containing an instance of UploadedFile in the case of a successful upload or an exception if the upload had failed.
See also
Uploads an image for the given channel.
Return
The Result object containing an instance of UploadedFile in the case of a successful upload or an exception if the upload had failed.