Documentation

Joins an existing topic in a Circle.

Arguments

The circle ID and Topic ID.

Returns

Whether it was successful or not.

API Definition

public async Task<JoinTopicReply> JoinTopic(JoinTopicRequest request)

C# Structures

public class JoinTopicRequest {

  public string CircleId;

  public List<string> TopicId;

}

public class JoinTopicReply 

{

  public ReturnStatus Status;

}

 

C# Example code:

public void JoinTopic(string circleId, string topicId)

{

  JoinTopicRequest request = new JoinTopicRequest() {CircleId = circleId};

  request.TopicId.Add(topicId);

  JoinTopicReply reply = _circle.JoinTopic(request);

  Console.WriteLine(reply.Status.Message);

}