UNPKG

matrix-js-sdk

Version:
17 lines 662 B
import { UnstableValue } from "../NamespacedValue"; import { IContent } from "../models/event"; import { TEXT_NODE_TYPE } from "./extensible_events"; export declare const LOCATION_EVENT_TYPE: UnstableValue<"m.location", "org.matrix.msc3488.location">; export declare const TIMESTAMP_NODE_TYPE: UnstableValue<"m.ts", "org.matrix.msc3488.ts">; export interface ILocationContent extends IContent { body: string; msgtype: string; geo_uri: string; [LOCATION_EVENT_TYPE.name]: { uri: string; description?: string; }; [TEXT_NODE_TYPE.name]: string; [TIMESTAMP_NODE_TYPE.name]: number; } //# sourceMappingURL=location.d.ts.map