retrieve

@Contract(pure = true)
open fun retrieve(file: MessageFile): MessageFile

Retrieves the file.

Return

The retrieved file

Parameters

file

The file to retrieve


@Contract(pure = true)
abstract fun retrieve(fileId: String): MessageFile

Retrieves the file with the given id.

Return

The retrieved file

Parameters

fileId

The id of the file to retrieve