public AllChannelsListEntry(string channelId, string name, string description, M2Access access, DateTime created, int subscribers, bool subscribed, string?icon = null)
 {
     ChannelId    = channelId;
     Name         = name;
     Description  = description;
     Access       = access;
     Icon         = icon;
     Created      = created;
     Subscribers  = subscribers;
     IsSubscribed = subscribed;
 }
예제 #2
0
 public M2SharedChannelContent(string name, string group, M2Access access, string description, ChannelSpecificDefaults notificationDefaults, string?iconId = null, List <TDTeam>?teams = null, bool?canEdit = null)
 {
     Name                 = name;
     Group                = group;
     Access               = access;
     Description          = description;
     IconId               = iconId;
     NotificationDefaults = notificationDefaults;
     Teams                = teams;
     CanEdit              = canEdit;
 }