ThirdPartyProtocolInstance

@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)

Constructors

Link copied to clipboard
fun ThirdPartyProtocolInstance(    @Json(name = "desc") desc: String? = null,     @Json(name = "icon") icon: String? = null,     @Json(name = "fields") fields: Map<String, Any>? = null,     @Json(name = "network_id") networkId: String? = null,     @Json(name = "instance_id") instanceId: String? = null,     @Json(name = "bot_user_id") botUserId: String? = null)

Properties

Link copied to clipboard
val botUserId: String? = null

FIXDOC Not documented on matrix.org doc.

Link copied to clipboard
val desc: String? = null

Required. A human-readable description for the protocol, such as the name.

Link copied to clipboard
val fields: Map<String, Any>? = null

Required. Preset values for fields the client may use to search by.

Link copied to clipboard
val icon: String? = null

An optional content URI representing the protocol. Overrides the one provided at the higher level Protocol object.

Link copied to clipboard
val instanceId: String? = null

FIXDOC Not documented on matrix.org doc.

Link copied to clipboard
val networkId: String? = null

Required. A unique identifier across all instances.