makeLocationContent
makeLocationContent(
text?,uri?,timestamp?,description?,assetType?):LegacyLocationEventContent&MLocationEventContent
Defined in: src/content-helpers.ts:139
Generates the content for a Location event
Parameters
Section titled “Parameters”string
optional. A text for the location
string
a geo:// uri for the location
timestamp?
Section titled “timestamp?”number
the timestamp when the location was correct (milliseconds since the UNIX epoch)
description?
Section titled “description?”string | null
the (optional) label for this location on the map
assetType?
Section titled “assetType?”the (optional) asset type of this location e.g. “m.self”