bsky.post
Post information
License:
BSL-1.0
- struct
Post
; Post
information- 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
; - 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
; Image
data- string
uri
; - Image
uri
ashttps://...
- string
thumb
; - Thumbnail uri as
https://...
- string
alt
; - Alt message of image
- Image[]
images
; - Post
images
uri ashttps://...
- 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
- 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));