Registers (or unregisters) an event handler on the client, that gets called when the account receives an XMPP message of a given type.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success
The response is of type object.