Class AttachmentUploader
-
- All Implemented Interfaces:
public final class AttachmentUploader
-
-
Constructor Summary
Constructors Constructor Description AttachmentUploader(ChatClient client)
-
Method Summary
Modifier and Type Method Description final Result<Attachment>uploadAttachment(String channelType, String channelId, Attachment attachment, ProgressCallback progressCallback)Uploads the given attachment. -
-
Constructor Detail
-
AttachmentUploader
AttachmentUploader(ChatClient client)
-
-
Method Detail
-
uploadAttachment
final Result<Attachment> uploadAttachment(String channelType, String channelId, Attachment attachment, ProgressCallback progressCallback)
Uploads the given attachment.
- Parameters:
channelType- The type of the channel.channelId- The ID of the channel.attachment- The attachment to be uploaded.progressCallback- Used to listen to file upload progress, success, and failure.
-
-
-
-