Package org.matrix.android.sdk.api.session.widgets.model

Types

Link copied to clipboard
data class Widget(    val widgetContent: WidgetContent,     val event: Event,     val widgetId: String,     val senderInfo: SenderInfo?,     val isAddedByMe: Boolean,     val type: WidgetType)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class WidgetContent(    @Json(name = "creatorUserId") val creatorUserId: String? = null,     @Json(name = "id") val id: String? = null,     @Json(name = "type") val type: String? = null,     @Json(name = "url") val url: String? = null,     @Json(name = "name") val name: String? = null,     @Json(name = "data") val data: JsonDict = emptyMap(),     @Json(name = "waitForIframeLoad") val waitForIframeLoad: Boolean = false)

Ref: https://github.com/matrix-org/matrix-doc/issues/1236

Link copied to clipboard
sealed class WidgetType

Ref: https://github.com/matrix-org/matrix-doc/issues/1236