13 lines
350 B
Kotlin
13 lines
350 B
Kotlin
package com.keylesspalace.tusky.entity
|
|
|
|
import com.squareup.moshi.JsonClass
|
|
|
|
/**
|
|
* The same as Attachment, except the url is null - see https://docs.joinmastodon.org/methods/statuses/media/
|
|
* We are only interested in the id, so other attributes are omitted
|
|
*/
|
|
@JsonClass(generateAdapter = true)
|
|
data class MediaUploadResult(
|
|
val id: String
|
|
)
|