32 lines
842 B
C#
32 lines
842 B
C#
|
namespace OliverBooth.Common.Data.Mastodon;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Represents a status on Mastodon.
|
||
|
/// </summary>
|
||
|
public interface IMastodonStatus
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Gets the content of the status.
|
||
|
/// </summary>
|
||
|
/// <value>The content.</value>
|
||
|
string Content { get; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gets the date and time at which this status was posted.
|
||
|
/// </summary>
|
||
|
/// <value>The post timestamp.</value>
|
||
|
DateTimeOffset CreatedAt { get; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gets the media attachments for this status.
|
||
|
/// </summary>
|
||
|
/// <value>The media attachments.</value>
|
||
|
IReadOnlyList<MediaAttachment> MediaAttachments { get; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gets the original URI of the status.
|
||
|
/// </summary>
|
||
|
/// <value>The original URI.</value>
|
||
|
Uri OriginalUri { get; }
|
||
|
}
|