upload Finalize
fun Media.uploadFinalize( mediaId: Long, mediaKey: String? = null, vararg options: Option): JsonObjectApiAction<Media>
Content copied to clipboard
The FINALIZE command should be called after the entire media file is uploaded using APPEND commands. If and (only if) the response of the FINALIZE command contains a processing_info field, it may also be necessary to use a STATUS command and wait for it to return success before proceeding to Tweet creation.
Receiver
Media endpoint instance.
Return
JsonObjectApiAction for blue.starry.penicillin.models.Media model.
Parameters
media Id
The media_id returned from the INIT command.
options
Optional. Custom parameters of this request.