mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added Parti stream integration
This commit is contained in:
@@ -16,4 +16,12 @@ public class CourtHearingModel
|
||||
public required string Description { get; set; }
|
||||
public required DateTimeOffset Time { get; set; }
|
||||
public required string CaseNumber { get; set; }
|
||||
}
|
||||
|
||||
public class PartiChannelModel
|
||||
{
|
||||
public required string Username { get; set; }
|
||||
public required int ForumId { get; set; }
|
||||
public bool AutoCapture { get; set; } = false;
|
||||
public required string SocialMedia { get; set; }
|
||||
}
|
||||
34
KfChatDotNetBot/Models/PartiModels.cs
Normal file
34
KfChatDotNetBot/Models/PartiModels.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace KfChatDotNetBot.Models;
|
||||
|
||||
public class PartiChannelLiveNotificationModel
|
||||
{
|
||||
[JsonPropertyName("livestream_id")]
|
||||
public required int LivestreamId { get; set; }
|
||||
[JsonPropertyName("user_id")]
|
||||
public required int UserId { get; set; }
|
||||
[JsonPropertyName("user_name")]
|
||||
public required string Username { get; set; }
|
||||
[JsonPropertyName("user_avatar_id")]
|
||||
public int UserAvatarId { get; set; }
|
||||
[JsonPropertyName("avatar_link")]
|
||||
public Uri? AvatarLink { get; set; }
|
||||
[JsonPropertyName("event_id")]
|
||||
public required int EventId { get; set; }
|
||||
[JsonPropertyName("event_title")]
|
||||
public required string EventTitle { get; set; }
|
||||
[JsonPropertyName("event_file")]
|
||||
public Uri? EventFile { get; set; }
|
||||
[JsonPropertyName("category_name")]
|
||||
public string? CategoryName { get; set; }
|
||||
[JsonPropertyName("viewers_count")]
|
||||
public int? ViewersCount { get; set; }
|
||||
[JsonPropertyName("social_media")]
|
||||
public required string SocialMedia { get; set; }
|
||||
[JsonPropertyName("social_username")]
|
||||
public required string SocialUsername { get; set; }
|
||||
[JsonPropertyName("channel_arn")]
|
||||
public required string ChannelArn { get; set; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user