2026-08-21 19:27:59 +00:00
|
|
|
|
using System.Collections.Generic;
|
2026-05-06 13:47:18 +00:00
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Platform.Intranet;
|
|
|
|
|
|
|
|
|
|
|
|
public class CreateSocialPostInput
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Content { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
public CreateSocialPostMediaInput? Media { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class CreateSocialPostMediaInput
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// "image", "video", or "poll"
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// URLs for image/video type media.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string[]? Urls { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// Poll fields
|
|
|
|
|
|
public string? PollQuestion { get; set; }
|
|
|
|
|
|
public List<CreateSocialPollOptionInput>? PollOptions { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class CreateSocialPollOptionInput
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Text { get; set; } = string.Empty;
|
|
|
|
|
|
}
|