Files
nadekobot/src/NadekoBot/Modules/Searches/Common/StreamNotifications/Models/StreamData.cs

20 lines
691 B
C#

using NadekoBot.Core.Services.Database.Models;
namespace NadekoBot.Core.Modules.Searches.Common
{
public class StreamData
{
public FollowedStream.FType StreamType { get; set; }
public string Name { get; set; }
public string UniqueName { get; set; }
public int Viewers { get; set; }
public string Title { get; set; }
public string Game { get; set; }
public string Preview { get; set; }
public bool IsLive { get; set; }
public string StreamUrl { get; set; }
public string AvatarUrl { get; set; }
public StreamDataKey CreateKey() => new StreamDataKey(StreamType, UniqueName.ToLower());
}
}