Documentation

Remove  a Member from a Topic. The Member is removed immediately from the current device, but may take a short time to propagate to other devices.

Arguments

IDs of the Topic, the containing Circle, and the Member to remove.

Returns

ReturnStatus only.

API Definition

public async Task<RemoveMemberFromTopicReply> RemoveMemberFromTopic(RemoveMemberFromTopicRequest request)

C# Structures

public class RemoveMemberToTopicRequest {

  public string CircleId;

  public string TopicId;

  public string MemberId;

}

public class RemoveMemberToTopicReply 

{

  public ReturnStatus Status;

}

C# Example code:

public void RemoveMemberToTopic(string circleId, string topicId, string profileId)

{

  RemoveMemberFromTopicRequest request = new RemoveMemberFromTopicRequest()

    { CircleId = circleId, TopicId = topicId, MemberId = profileId };

  RemoveMemberFromTopicReply reply = _circle.RemoveMemberFromTopic(request);

  Console.WriteLine(reply.Status.Message);

}