Function makeLocationContent

  • Generates the content for a Location event

    Parameters

    • Optional text: string

      optional. A text for the location

    • Optional uri: string

      a geo:// uri for the location

    • Optional timestamp: number

      the timestamp when the location was correct (milliseconds since the UNIX epoch)

    • Optional description: null | string

      the (optional) label for this location on the map

    • Optional assetType: LocationAssetType

      the (optional) asset type of this location e.g. "m.self"

    Returns Object

Generated using TypeDoc