@NotNull
    @ObjectiveCName("leaveAndDeleteGroupWithGid:")
    public Promise<Void> leaveAndDeleteGroup(int gid) {
        return modules.getGroupsModule().leaveAndDeleteGroup(gid);
    }
@ NotNull @ ObjectiveCName ( "leaveAndDeleteGroupWithGid:" ) public Promise < Void > leaveAndDeleteGroup ( int gid ) { return modules . getGroupsModule ( ) . leaveAndDeleteGroup ( gid ) ; }
Leave and delete group

@param gid group's id
@return Promise of Void