init
This commit is contained in:
12
node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.d.ts
generated
vendored
Normal file
12
node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { IPartialEvent } from "../../IPartialEvent";
|
||||
import { Optional } from "../../types";
|
||||
import { ExtensibleEvent } from "../../events/ExtensibleEvent";
|
||||
import { NamespacedValue } from "../../NamespacedValue";
|
||||
export declare const LEGACY_M_ROOM_MESSAGE: NamespacedValue<"m.room.message", string>;
|
||||
export interface IPartialLegacyContent {
|
||||
body: string;
|
||||
msgtype: string;
|
||||
format?: string;
|
||||
formatted_body?: string;
|
||||
}
|
||||
export declare function parseMRoomMessage(wireEvent: IPartialEvent<IPartialLegacyContent>): Optional<ExtensibleEvent>;
|
||||
Reference in New Issue
Block a user