Hhertz/node_modules/matrix-bot-sdk/lib/models/events/converter.d.ts
2025-07-31 23:47:20 +03:00

9 lines
332 B
TypeScript

import { RoomEvent } from "./RoomEvent";
/**
* Wraps a room event into a more suitable container.
* @param {any} event The event object to wrap.
* @returns {RoomEvent<any>} An instance of the most suitable container for the event.
* @category Matrix events
*/
export declare function wrapRoomEvent(event: any): RoomEvent<any>;