public TwitchChannelSubscription(JToken jToken) : base(jToken)
 {
     this.User = jToken.ReadIfExist("user", t => new TwitchUser(t));
 }
Beispiel #2
0
 public TwitchChannelFollow(JToken jToken)
 {
     this.CreatedAt     = jToken.Value <DateTime>("created_at");
     this.Notifications = jToken.Value <bool>("notifications");
     this.User          = jToken.ReadIfExist("user", t => new TwitchUser(t));
 }