Port MatrixEventRoomMessage to C

This commit is contained in:
2017-11-21 08:47:09 +01:00
parent 10e4c0d7f0
commit c44a8427c1
8 changed files with 424 additions and 92 deletions

View File

@@ -706,6 +706,18 @@ namespace Matrix {
{
}
}
[CCode (cheader_filename = "matrix-event-room-message.h")]
public class RoomMessage : Room {
public Matrix.Message.Base? message { get; set; default = null; }
public Json.Node? fallback_content { get; }
protected override void from_json(Json.Node json_data)
throws Matrix.Error;
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
}
[CCode (gir_namespace = "MatrixMessage", gir_version = "0.0")]