using System.Threading.Tasks;
namespace Discord
{
//TODO: Should this be linked directly to the Profile when it represents us, instead of maintaining a cache of values?
public class PrivateUser : IUser
{
///
public EntityState State { get; internal set; }
///
public ulong Id { get; }
/// Returns the private channel for this user.
public PrivateChannel Channel { get; }
///
bool IUser.IsPrivate => true;
///
public string Name { get; }
///
public ushort Discriminator { get; }
///
public bool IsBot { get; }
///
public string AvatarId { get; }
///
public string CurrentGame { get; }
///
public UserStatus Status { get; }
///
public DiscordClient Discord => Channel.Discord;
///
public string AvatarUrl { get; }
///
public string Mention { get; }
///
Task IUser.GetPrivateChannel() => Task.FromResult(Channel);
public Task Update() => null;
}
}