WGShare.API/WGShare.Domain/AgoraApiResult/ChannelUser.cs

48 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WGShare.Domain.AgoraApiResult
{
public class ChannelUser
{
/// <summary>
/// 频道是否存在
/// </summary>
public bool channel_exist { get; set; }
/// <summary>
/// 频道场景 1:通信场景 2:直播场景
/// </summary>
public int mode { get; set; }
/// <summary>
/// 频道总人数
/// </summary>
public int total { get; set; }
/// <summary>
/// 频道内所有主播的用户 ID。该字段仅在直播场景mode 的值为 2下返回。
/// </summary>
public List<int> broadcasters { get; set; }
/// <summary>
/// 频道内所有用户的用户 ID。该字段仅在通信场景mode 的值为 1下返回。
/// </summary>
public List<int> users { get; set; }
/// <summary>
/// 频道内观众的用户 ID。最多包含当前频道内前 10,000 名观众的用户 ID。该字段仅在直播场景mode 的值为 2且未填 hosts_only 参数时返回。
/// </summary>
public List<int> audience { get; set; }
/// <summary>
/// 频道内的观众总人数。该字段仅在直播场景mode 的值为 2下且未填 hosts_only 参数时返回。
/// </summary>
public int audience_total { get; set; }
}
}