matrix-react-sdk
Version:
SDK for matrix.org using React
7 lines (6 loc) • 297 B
TypeScript
import { MatrixEvent, MatrixClient } from "matrix-js-sdk/src/matrix";
/**
* Get event that is shareable as a location
* If an event does not have a shareable location, return null
*/
export declare const getShareableLocationEvent: (event: MatrixEvent, cli: MatrixClient) => MatrixEvent | null;