updateMediaAttachment

abstract suspend fun updateMediaAttachment(attachmentId: String, file: File?, thumbnail: File?, description: String?, focus: String?): Attachment

Get an attachment, before it is attached to a status and posted, but after it is accepted for processing.

Parameters

file

The file to be attached.

thumbnail

The custom thumbnail of the media to be attached.

description

A plain-text description of the media, for accessibility purposes.

focus

Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0