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.
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
9 years ago
|
---
|
||
|
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
|
||
8 years ago
|
info:
|
||
9 years ago
|
type: object
|
||
8 years ago
|
properties:
|
||
|
thumbnail_url:
|
||
6 years ago
|
description: |-
|
||
|
The URL to the thumbnail of the file. Only present if the
|
||
|
thumbnail is unencrypted.
|
||
8 years ago
|
type: string
|
||
6 years ago
|
thumbnail_file:
|
||
|
description: |-
|
||
|
Information on the encrypted thumbnail file, as specified in
|
||
6 years ago
|
|encrypted_files|_. Only present if the thumbnail is encrypted.
|
||
6 years ago
|
title: EncryptedFile
|
||
|
type: object
|
||
8 years ago
|
thumbnail_info:
|
||
|
allOf:
|
||
|
- $ref: core-event-schema/msgtype_infos/thumbnail_info.yaml
|
||
|
description: Metadata about the image referred to in ``thumbnail_url``.
|
||
8 years ago
|
title: LocationInfo
|
||
9 years ago
|
required:
|
||
|
- msgtype
|
||
|
- body
|
||
|
- geo_uri
|
||
|
type: object
|
||
|
type:
|
||
|
enum:
|
||
|
- m.room.message
|
||
|
type: string
|
||
|
title: LocationMessage
|
||
|
type: object
|