mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
20 lines
691 B
C#
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());
|
|
}
|
|
} |