Hello again,
Since the last time we talked, I've managed to use a lot of the API successfully. Still, I'm finding some issues with the features regarding Alliances. When trying to create an alliance between two groups, I've encountered some problems when calling CreateAllianceRequestAsync.
The method always returns an error even if I change the request's auto accept property. I've tried a bunch of stuff and ended up verifying if the users were actually in the requestor's group. Indeed, it was. However, when inspecting the Data model in the admin panel, I've discovered that no user inside the groups has a role assigned to. I assigned the only available role ("Group") and then tried to create an alliance. This time it worked! Looking for ways to assign roles in the code, I haven't found any method that enables me to do it. Maybe I'm missing something but how can I solve the problem of having group member's default role be empty?
Thanks in advance!