Documentation

Enumerates all the topics in a circle.

Arguments

A Circle ID.

Returns

A list of zero or more Topics in the specified Circle.

API Definition

public async Task<EnumTopicsReply> EnumTopics(EnumTopicsRequest request)

C# Structures

    public class  EnumTopicsRequest 

 {

        public string CircleId;

 }

public class  EnumTopicsReply 

 {

       public ReturnStatus Status;

       public List<TopicInfo> Topics;

   }

C# Example code:

public void EnumerateTopics(string circleId)

{

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

  EnumTopicsReply reply = _circle.EnumTopics(request);

  Console.WriteLine(reply.Status.Message);

  foreach (TopicInfo topic in reply.Topics)

  {

    Console.WriteLine($"{topic.TopicId} : {topic.TopicName}");

  }

}