UploadAttachmentsWorker

class UploadAttachmentsWorker(channelType: String, channelId: String, channelStateLogic: ChannelMessagesUpdateLogic?, messageRepository: MessageRepository, chatClient: ChatClient, attachmentUploader: AttachmentUploader = AttachmentUploader(chatClient))

Constructors

Link copied to clipboard
constructor(channelType: String, channelId: String, channelStateLogic: ChannelMessagesUpdateLogic?, messageRepository: MessageRepository, chatClient: ChatClient, attachmentUploader: AttachmentUploader = AttachmentUploader(chatClient))

Functions

Link copied to clipboard
suspend fun uploadAttachmentsForMessage(messageId: String): Result<Unit>