Enumerates (lists) the invites currently pending for the Circle.
The ID of an existing Circle.
A list of all Invites currently pending against the specified Circle. Invites have no state; once an Invite is accepted, it is deleted.
public async Task<EnumInvitesReply> EnumInvites(EnumInvitesRequest request)
public class EnumInviteRequest
{
public string CircleId;
}
public class EnumInviteReply
{
public ReturnStatus Status;
public List<InviteInfo> Invites;
}
public void EnumerateInvites(string circleId)
{
EnumInvitesRequest request = new EnumInvitesRequest() { CircleId = circleId };
EnumInvitesReply reply = _circle.EnumInvites(request);
Console.WriteLine(reply.Status.Message);
foreach (var invite in reply.Invites)
{
Console.WriteLine(invite.ToString());
}
}