AttachmentUploader

class AttachmentUploader(client: ChatClient = ChatClient.instance())

Constructors

Link copied to clipboard
constructor(client: ChatClient = ChatClient.instance())

Functions

Link copied to clipboard
suspend fun uploadAttachment(channelType: String, channelId: String, attachment: Attachment, progressCallback: ProgressCallback? = null): Result<Attachment>

Uploads the given attachment.