2using System.Globalization;
 
   16        public string Id { 
get; 
private set; }
 
   24            get => UInt64.Parse(
Id!, CultureInfo.InvariantCulture);
 
   25            private set => 
Id = value.ToString(CultureInfo.InvariantCulture);
 
 
   52            Channel = channel ?? 
throw new ArgumentNullException(nameof(channel));
 
   53            FriendlyName = friendlyName ?? 
throw new ArgumentNullException(nameof(friendlyName));
 
   54            Mention = mention ?? 
throw new ArgumentNullException(nameof(mention));
 
 
 
Represents a Providers.IProvider channel.
 
Represents a tgs_chat_user datum.
 
string Id
Backing field for RealId. Represented as a string to avoid BYOND percision loss.
 
string Mention
The text to mention the user.
 
ChatUser(ChannelRepresentation channel, string friendlyName, string mention, ulong realId)
Initializes a new instance of the ChatUser class.
 
string FriendlyName
The friendly name of the user.
 
ulong RealId
The internal user id.
 
ChannelRepresentation Channel
The ChannelRepresentation the user spoke from.