bsky.post
Post information
License:
BSL-1.0
- struct
Post; Postinformation- string
uri; - string
cid; - struct
Author;
Authorauthor; -
- 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;
Viewerviewer; -
- string
repost; - string
like; - bool
replyDisabled;
- Label[]
labels; - struct
ThreadGate;
ThreadGatethreadgate; -
- string
uri; - string
cid; - JSONValue
record; - struct
List;
List[]lists; -
- string
uri; - string
cid; - string
name; - string
purpose; - string
avatar; - Label[]
labels; - struct
Viewer;
Viewerviewer; -
- 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;
Reasonreason; -
- Post.Author
by; - SysTime
indexedAt;
- struct
Message; -
- string
uri; - Uri of post as
at://... - string
text; - Post
text - struct
Image; Imagedata- string
uri; - Image
uriashttps://... - string
thumb; - Thumbnail uri as
https://... - string
alt; - Alt message of image
- Image[]
images; - Post
imagesuri ashttps://... - struct
User; Userdata- 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 MessagetoMessage(Feed feed);
@safe autotoMessages(Range)(Range posts)
if(isInputRange!Range && is(ElementType!Range : Post));
@safe autotoMessages(Range)(Range feeds)
if(isInputRange!Range && is(ElementType!Range : Feed));