FileUploadContext

The context in which a file upload happens. Created by the SDK and handed to FileUploader implementations; new context properties can be added over time without breaking implementations.

Properties

Link copied to clipboard

The id of the channel the file is uploaded to.

Link copied to clipboard

The type of the channel the file is uploaded to.

Link copied to clipboard

The id of the message the uploaded file belongs to, or null when the upload is not part of sending a message. For message attachments this is the id the message will be sent with, known before the message reaches the Stream API.

Link copied to clipboard

The id of the user uploading the file.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String