matrix-nio icon indicating copy to clipboard operation
matrix-nio copied to clipboard

Add WhoisResponse class

Open irl opened this issue 5 years ago • 0 comments

The client-server spec talks about an endpoint at /_matrix/client/r0/admin/whois/{userId} that can be used to look up information about a user, but the response type is not implemented in matrix-nio.

I'm using this in another project and would be happy to take a go at implementing this. Let me know if someone is already working on it.

There are sub-schemas "DeviceInfo", "SessionInfo" and "ConnectionInfo". I'm not sure if each would be their own class or if it's preferred to just parse it all into one object.

irl avatar Mar 11 '21 15:03 irl