Port MatrixEventRoomTopic to C
This commit is contained in:
@@ -582,5 +582,16 @@ namespace Matrix {
|
||||
protected override void to_json(Json.Node json_data)
|
||||
throws Matrix.Error;
|
||||
}
|
||||
|
||||
[CCode (cheader_filename = "matrix-event-room-topic.h")]
|
||||
public class RoomTopic : State {
|
||||
public string? topic { get; set; default = null; }
|
||||
|
||||
protected override void from_json(Json.Node json_data)
|
||||
throws Matrix.Error;
|
||||
|
||||
protected override void to_json(Json.Node json_data)
|
||||
throws Matrix.Error;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user