Port MatrixEventTyping to C

This commit is contained in:
2017-11-14 12:59:36 +01:00
parent e23a177851
commit 068f85d0c1
7 changed files with 390 additions and 88 deletions

View File

@@ -570,5 +570,17 @@ namespace Matrix {
to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-typing.h")]
public class Typing : Base {
public string? room_id { get; set; default = null; }
public string[] user_ids { get; set; }
protected override void from_json(Json.Node json_data)
throws Matrix.Error;
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
}
}