48 lines
1.5 KiB
C#
48 lines
1.5 KiB
C#
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; }
|
||
}
|
||
}
|