Class WolfGroupMembersHelper
Utility class designed for handling WOLF protocol bug where group might not have members.
Namespace: TehGM.Wolfringo.Utilities.Internal
Assembly: Wolfringo.Core.dll
Syntax
public static class WolfGroupMembersHelper
Methods
| Improve this Doc View SourceRevalidateGroupMembersAsync(IWolfClient, WolfGroup, CancellationToken)
Checks if group members are downloaded. If not, it'll attempt to repopulate it.
Declaration
public static async Task<bool> RevalidateGroupMembersAsync(this IWolfClient client, WolfGroup group, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IWolfClient | client | Client to request group members with. |
WolfGroup | group | Group to validate members of. |
CancellationToken | cancellationToken | Token to cancel the task. |
Returns
Type | Description |
---|---|
Task<Boolean> | True if members list is valid after the operation; otherwise false. |