history_visibility, join_rules, member, pinned_events, third_party_invite, tombstone, topic} to the new API.
16 lines
359 B
Rust
16 lines
359 B
Rust
//! Types for the *m.room.topic* event.
|
|
|
|
use ruma_events_macros::ruma_event;
|
|
|
|
ruma_event! {
|
|
/// A topic is a short message detailing what is currently being discussed in the room.
|
|
TopicEvent {
|
|
kind: StateEvent,
|
|
event_type: RoomTopic,
|
|
content: {
|
|
/// The topic text.
|
|
pub topic: String,
|
|
},
|
|
}
|
|
}
|