bsky.post

Post information
License: BSL-1.0
struct Post;
Post information
string uri;
string cid;
struct Author;
Author author;
string did;
string handle;
string displayName;
string avatar;
User.Viewer viewer;
Label[] labels;
JSONValue record;
JSONValue embed;
size_t replyCount;
size_t repostCount;
size_t likeCount;
size_t quoteCount;
SysTime indexedAt;
struct Viewer;
Viewer viewer;
string repost;
string like;
bool replyDisabled;
Label[] labels;
struct ThreadGate;
ThreadGate threadgate;
string uri;
string cid;
JSONValue record;
struct List;
List[] lists;
string uri;
string cid;
string name;
string purpose;
string avatar;
Label[] labels;
struct Viewer;
Viewer viewer;
bool muted;
bool blocked;
SysTime indexedAt;
struct Reply;
Post information
struct NotFoundPost;
string uri;
bool notFound;
struct BlockedPost;
string uri;
bool blocked;
Post.Author author;
SumType!(NotFoundPost, BlockedPost, Post) root;
SumType!(NotFoundPost, BlockedPost, Post) parent;
struct Feed;
Post post;
Reply reply;
struct Reason;
Reason reason;
Post.Author by;
SysTime indexedAt;
struct Message;
string uri;
Uri of post as at://...
string text;
Post text
struct Image;
Image data
string uri;
Image uri as https://...
string thumb;
Thumbnail uri as https://...
string alt;
Alt message of image
Image[] images;
Post images uri as https://...
struct User;
User data
string did;
ID of user
string handle;
Handle name
string displayName;
Display name
User postBy;
User data of the post author
User repostBy;
User data of the author who made this repost
User replyTo;
User data of the author whom this reply message was sent
string replyToUri;
Reply target message uri as at://...
size_t likeCount;
Liking count of this post
size_t repostCount;
Repost count of this post
size_t quoteCount;
Quote post count of this post
SysTime postTime;
Time of post created
SysTime repostTime;
Time of repost created
bool isReply();
bool isRepost();
@safe Message toMessage(in Post post);
@safe Message toMessage(Feed feed);
@safe auto toMessages(Range)(Range posts)
if(isInputRange!Range && is(ElementType!Range : Post));
@safe auto toMessages(Range)(Range feeds)
if(isInputRange!Range && is(ElementType!Range : Feed));