Package org.matrix.android.sdk.api.session.room.model.thirdparty

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class FieldType(@Json(name = "regexp") val regexp: String? = null, @Json(name = "placeholder") val placeholder: String? = null)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ThirdPartyProtocol(    @Json(name = "user_fields") val userFields: List<String>? = null,     @Json(name = "location_fields") val locationFields: List<String>? = null,     @Json(name = "icon") val icon: String? = null,     @Json(name = "field_types") val fieldTypes: Map<String, FieldType>? = null,     @Json(name = "instances") val instances: List<ThirdPartyProtocolInstance>? = null)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ThirdPartyProtocolInstance(    @Json(name = "desc") val desc: String? = null,     @Json(name = "icon") val icon: String? = null,     @Json(name = "fields") val fields: Map<String, Any>? = null,     @Json(name = "network_id") val networkId: String? = null,     @Json(name = "instance_id") val instanceId: String? = null,     @Json(name = "bot_user_id") val botUserId: String? = null)