Message Location Content
@JsonClass(generateAdapter = true )
Constructors
Link copied to clipboard
constructor(@Json(name = "msgtype" ) msgType: String = MessageType.MSGTYPE_LOCATION, @Json(name = "body" ) body: String, @Json(name = "geo_uri" ) geoUri: String, @Json(name = "m.relates_to" ) relatesTo: RelationDefaultContent? = null, @Json(name = "m.new_content" ) newContent: Content? = null, @Json(name = "org.matrix.msc3488.location" ) unstableLocationInfo: LocationInfo? = null, @Json(name = "m.location" ) locationInfo: LocationInfo? = null, @Json(name = "org.matrix.msc3488.ts" ) unstableTimestampMillis: Long? = null, @Json(name = "m.ts" ) timestampMillis: Long? = null, @Json(name = "org.matrix.msc1767.text" ) unstableText: String? = null, @Json(name = "m.text" ) text: String? = null, @Json(name = "org.matrix.msc3488.asset" ) unstableLocationAsset: LocationAsset? = null, @Json(name = "m.asset" ) locationAsset: LocationAsset? = null)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Defines a generic asset that can be used for location tracking but also in other places like inventories, geofencing, checkins/checkouts etc. It should contain a mandatory namespaced type key defining what particular asset is being referred to. For the purposes of user location tracking m.self should be used in order to avoid duplicating the mxid. See MSC3488
Link copied to clipboard
See MSC3488.
Link copied to clipboard
Link copied to clipboard
Exact time that the data in the event refers to (milliseconds since the UNIX epoch).