Add support for group invites (#709)and change `getXUrl()` methods to return png images where possible (commit: 5d7dcb4)