You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec-proposals/event-schemas/schema/m.room.message#m.location

37 lines
958 B
Plaintext

---
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
thumbnail_info:
allOf:
- $ref: core-event-schema/msgtype_infos/image_info.yaml
title: ImageInfo
type: object
thumbnail_url:
description: The URL to a thumbnail of the location being represented.
type: string
required:
- msgtype
- body
- geo_uri
type: object
type:
enum:
- m.room.message
type: string
title: LocationMessage
type: object