2016-06-22 12:03:02 +02:00
---
allOf:
- $ref: core-event-schema/room_event.yaml
description: This message represents a real-world location.
properties:
content:
properties:
body:
description: "A description of the location e.g. 'Big Ben, London, UK', or some kind of content description for accessibility e.g. 'location attachment'."
type: string
geo_uri:
description: A geo URI representing this location.
type: string
msgtype:
enum:
- m.location
type: string
2016-11-04 15:59:39 +01:00
info:
2016-06-22 12:03:02 +02:00
type: object
2016-11-04 15:59:39 +01:00
properties:
thumbnail_url:
2018-08-31 18:59:57 +02:00
description: |-
The URL to the thumbnail of the file. Only present if the
thumbnail is unencrypted.
2016-11-04 15:59:39 +01:00
type: string
2018-08-31 18:11:27 +02:00
thumbnail_file:
description: |-
Information on the encrypted thumbnail file, as specified in
2018-08-31 18:59:57 +02:00
|encrypted_files|_. Only present if the thumbnail is encrypted.
2018-08-31 18:11:27 +02:00
title: EncryptedFile
type: object
2016-11-07 15:54:59 +01:00
thumbnail_info:
allOf:
- $ref: core-event-schema/msgtype_infos/thumbnail_info.yaml
description: Metadata about the image referred to in ``thumbnail_url``.
2016-11-04 15:59:39 +01:00
title: LocationInfo
2016-06-22 12:03:02 +02:00
required:
- msgtype
- body
- geo_uri
type: object
type:
enum:
- m.room.message
type: string
title: LocationMessage
type: object