21 lines
479 B
TypeScript
21 lines
479 B
TypeScript
import { StateEvent } from "./RoomEvent";
|
|
/**
|
|
* The content definition for m.room.topic events
|
|
* @category Matrix event contents
|
|
* @see RoomTopicEvent
|
|
*/
|
|
export interface RoomTopicEventContent {
|
|
topic: string;
|
|
}
|
|
/**
|
|
* Represents an m.room.topic state event
|
|
* @category Matrix events
|
|
*/
|
|
export declare class RoomTopicEvent extends StateEvent<RoomTopicEventContent> {
|
|
constructor(event: any);
|
|
/**
|
|
* The topic of the room.
|
|
*/
|
|
get topic(): string;
|
|
}
|