public TwitchChannelSubscription(JToken jToken) : base(jToken) { this.User = jToken.ReadIfExist("user", t => new TwitchUser(t)); }
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)); }