handle RELATIONSHIP_REMOVE

This commit is contained in:
ouwou
2021-05-08 23:35:15 -04:00
parent dd7852014f
commit 469053a144
4 changed files with 31 additions and 0 deletions

View File

@@ -452,3 +452,8 @@ void from_json(const nlohmann::json &j, RateLimitedResponse &m) {
JS_O("message", m.Message);
JS_D("retry_after", m.RetryAfter);
}
void from_json(const nlohmann::json &j, RelationshipRemoveData &m) {
JS_D("id", m.ID);
JS_D("type", m.Type);
}