Enumerates all the topics in a circle.
A Circle ID.
A list of zero or more Topics in the specified Circle.
public async Task<EnumTopicsReply> EnumTopics(EnumTopicsRequest request)
public class EnumTopicsRequest
{
public string CircleId;
}
public class EnumTopicsReply
{
public ReturnStatus Status;
public List<TopicInfo> Topics;
}
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}");
}
}