/// <summary> Returns the unique identifier for this server. </summary>
public string Id { get; }
/// <summary> Returns the name of this channel. </summary>
public string Name { get; internal set; }
public string Name { get; private set; }
/// <summary> Returns the current logged-in user's data for this server. </summary>
public Member CurrentMember { get; internal set; }
/// <summary> Returns the amount of time (in seconds) a user must be inactive for until they are automatically moved to the AFK channel (see AFKChannel). </summary>
public int AFKTimeout { get; internal set; }
public int AFKTimeout { get; private set; }
/// <summary> Returns the date and time your joined this server. </summary>
public DateTime JoinedAt { get; internal set; }
public DateTime JoinedAt { get; private set; }
/// <summary> Returns the region for this server (see Regions). </summary>
public string Region { get; internal set; }
public string Region { get; private set; }
/*/// <summary> Returns the endpoint for this server's voice server. </summary>
internal string VoiceServer { get; set; }*/
/// <summary> Returns true if the current user created this server. </summary>
public bool IsOwner => _client.CurrentUserId == OwnerId;
/// <summary> Returns the id of the user that first created this server. </summary>
public string OwnerId { get; internal set; }
public string OwnerId { get; private set; }
/// <summary> Returns the user that first created this server. </summary>
[JsonIgnore]
public User Owner => _client.Users[OwnerId];
/// <summary> Returns the id of the AFK voice channel for this server (see AFKTimeout). </summary>
public string AFKChannelId { get; internal set; }
public string AFKChannelId { get; private set; }
/// <summary> Returns the AFK voice channel for this server (see AFKTimeout). </summary>
[JsonIgnore]
public Channel AFKChannel => _client.Channels[AFKChannelId];
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.