Also added MessageSession.checkNativePermission(), just for fun
This is what it should have been like