Port MatrixEventRoomMessage to C

This commit is contained in:
2017-11-21 08:47:09 +01:00
parent 358fa883ef
commit 5f004a3965
8 changed files with 432 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")]