Class AttachmentUploader

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Result<Attachment> uploadAttachment(String channelType, String channelId, Attachment attachment, ProgressCallback progressCallback) Uploads the given attachment.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.