Documentation ¶
Index ¶
- Constants
- func GraphMute(ctx context.Context, c *xrpc.Client, input *GraphMute_Input) error
- func GraphUnmute(ctx context.Context, c *xrpc.Client, input *GraphUnmute_Input) error
- func NotificationUpdateSeen(ctx context.Context, c *xrpc.Client, input *NotificationUpdateSeen_Input) error
- type ActorCreateScene_Input
- type ActorCreateScene_Output
- type ActorGetProfile_MyState
- type ActorGetProfile_Output
- type ActorGetSuggestions_Actor
- type ActorGetSuggestions_MyState
- type ActorGetSuggestions_Output
- type ActorProfile
- type ActorRef
- type ActorRef_ViewerState
- type ActorRef_WithInfo
- type ActorSearchTypeahead_Output
- type ActorSearchTypeahead_User
- type ActorSearch_Output
- type ActorSearch_User
- type ActorUpdateProfile_Input
- type ActorUpdateProfile_Output
- type EmbedExternal
- type EmbedExternal_External
- type EmbedExternal_Presented
- type EmbedExternal_PresentedExternal
- type EmbedImages
- type EmbedImages_Image
- type EmbedImages_Presented
- type EmbedImages_PresentedImage
- type FeedEmbed
- type FeedEmbed_External
- type FeedEmbed_Items_Elem
- type FeedEmbed_Media
- type FeedEmbed_Record
- type FeedFeedViewPost
- type FeedFeedViewPost_Reason
- type FeedFeedViewPost_ReasonRepost
- type FeedFeedViewPost_ReasonTrend
- type FeedFeedViewPost_ReplyRef
- type FeedGetAuthorFeed_Output
- type FeedGetPostThread_NotFoundPost
- type FeedGetPostThread_Output
- type FeedGetPostThread_Output_Thread
- type FeedGetPostThread_ThreadViewPost
- type FeedGetPostThread_ThreadViewPost_Parent
- type FeedGetPostThread_ThreadViewPost_Replies_Elem
- type FeedGetRepostedBy_Output
- type FeedGetRepostedBy_RepostedBy
- type FeedGetTimeline_Output
- type FeedGetVotes_Output
- type FeedGetVotes_Vote
- type FeedPost
- type FeedPost_Embed
- type FeedPost_Entity
- type FeedPost_ReplyRef
- type FeedPost_TextSlice
- type FeedPost_View
- type FeedPost_View_Embed
- type FeedPost_ViewerState
- type FeedRepost
- type FeedSetVote_Input
- type FeedSetVote_Output
- type FeedTrend
- type FeedVote
- type GraphAssertion
- type GraphConfirmation
- type GraphFollow
- type GraphGetAssertions_Assertion
- type GraphGetAssertions_Confirmation
- type GraphGetAssertions_Output
- type GraphGetFollowers_Follower
- type GraphGetFollowers_Output
- type GraphGetFollows_Follow
- type GraphGetFollows_Output
- type GraphGetMembers_Member
- type GraphGetMembers_Output
- type GraphGetMemberships_Membership
- type GraphGetMemberships_Output
- type GraphGetMutes_Mute
- type GraphGetMutes_Output
- type GraphMute_Input
- type GraphUnmute_Input
- type NotificationGetCount_Output
- type NotificationList_Notification
- type NotificationList_Output
- type NotificationUpdateSeen_Input
- type SystemDeclRef
- type SystemDeclaration
Constants ¶
View Source
const GraphAssertCreator = "app.bsky.graph.assertCreator"
View Source
const GraphAssertMember = "app.bsky.graph.assertMember"
View Source
const SystemActorScene = "app.bsky.system.actorScene"
View Source
const SystemActorUser = "app.bsky.system.actorUser"
Variables ¶
This section is empty.
Functions ¶
func GraphUnmute ¶
func NotificationUpdateSeen ¶
Types ¶
type ActorCreateScene_Input ¶
type ActorCreateScene_Output ¶
type ActorCreateScene_Output struct { LexiconTypeID string `json:"$type,omitempty"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` Handle string `json:"handle" cborgen:"handle"` }
func ActorCreateScene ¶
func ActorCreateScene(ctx context.Context, c *xrpc.Client, input *ActorCreateScene_Input) (*ActorCreateScene_Output, error)
type ActorGetProfile_MyState ¶
type ActorGetProfile_Output ¶
type ActorGetProfile_Output struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar"` Banner *string `json:"banner,omitempty" cborgen:"banner"` Creator string `json:"creator" cborgen:"creator"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Description *string `json:"description,omitempty" cborgen:"description"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` FollowersCount int64 `json:"followersCount" cborgen:"followersCount"` FollowsCount int64 `json:"followsCount" cborgen:"followsCount"` Handle string `json:"handle" cborgen:"handle"` MembersCount int64 `json:"membersCount" cborgen:"membersCount"` MyState *ActorGetProfile_MyState `json:"myState,omitempty" cborgen:"myState"` PostsCount int64 `json:"postsCount" cborgen:"postsCount"` }
func ActorGetProfile ¶
type ActorGetSuggestions_Actor ¶
type ActorGetSuggestions_Actor struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Description *string `json:"description,omitempty" cborgen:"description"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt"` MyState *ActorGetSuggestions_MyState `json:"myState,omitempty" cborgen:"myState"` }
type ActorGetSuggestions_Output ¶
type ActorGetSuggestions_Output struct { LexiconTypeID string `json:"$type,omitempty"` Actors []*ActorGetSuggestions_Actor `json:"actors" cborgen:"actors"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` }
func ActorGetSuggestions ¶
type ActorProfile ¶
type ActorProfile struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.profile"` Avatar *util.Blob `json:"avatar,omitempty" cborgen:"avatar"` Banner *util.Blob `json:"banner,omitempty" cborgen:"banner"` Description *string `json:"description,omitempty" cborgen:"description"` DisplayName string `json:"displayName" cborgen:"displayName"` }
RECORDTYPE: ActorProfile
func (*ActorProfile) MarshalCBOR ¶
func (t *ActorProfile) MarshalCBOR(w io.Writer) error
func (*ActorProfile) UnmarshalCBOR ¶
func (t *ActorProfile) UnmarshalCBOR(r io.Reader) (err error)
type ActorRef ¶
type ActorRef_ViewerState ¶
type ActorRef_WithInfo ¶
type ActorRef_WithInfo struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` Viewer *ActorRef_ViewerState `json:"viewer,omitempty" cborgen:"viewer"` }
type ActorSearchTypeahead_Output ¶
type ActorSearchTypeahead_Output struct { LexiconTypeID string `json:"$type,omitempty"` Users []*ActorSearchTypeahead_User `json:"users" cborgen:"users"` }
func ActorSearchTypeahead ¶
type ActorSearchTypeahead_User ¶
type ActorSearchTypeahead_User struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` }
type ActorSearch_Output ¶
type ActorSearch_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Users []*ActorSearch_User `json:"users" cborgen:"users"` }
type ActorSearch_User ¶
type ActorSearch_User struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Description *string `json:"description,omitempty" cborgen:"description"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt"` }
type ActorUpdateProfile_Input ¶
type ActorUpdateProfile_Input struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *util.Blob `json:"avatar,omitempty" cborgen:"avatar"` Banner *util.Blob `json:"banner,omitempty" cborgen:"banner"` Description *string `json:"description,omitempty" cborgen:"description"` Did *string `json:"did,omitempty" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` }
type ActorUpdateProfile_Output ¶
type ActorUpdateProfile_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cid string `json:"cid" cborgen:"cid"` Record util.LexiconTypeDecoder `json:"record" cborgen:"record"` Uri string `json:"uri" cborgen:"uri"` }
func ActorUpdateProfile ¶
func ActorUpdateProfile(ctx context.Context, c *xrpc.Client, input *ActorUpdateProfile_Input) (*ActorUpdateProfile_Output, error)
type EmbedExternal ¶
type EmbedExternal struct { LexiconTypeID string `json:"$type,omitempty"` External *EmbedExternal_External `json:"external" cborgen:"external"` }
func (*EmbedExternal) MarshalCBOR ¶
func (t *EmbedExternal) MarshalCBOR(w io.Writer) error
func (*EmbedExternal) UnmarshalCBOR ¶
func (t *EmbedExternal) UnmarshalCBOR(r io.Reader) (err error)
type EmbedExternal_External ¶
type EmbedExternal_External struct { LexiconTypeID string `json:"$type,omitempty"` Description string `json:"description" cborgen:"description"` Thumb *util.Blob `json:"thumb,omitempty" cborgen:"thumb"` Title string `json:"title" cborgen:"title"` Uri string `json:"uri" cborgen:"uri"` }
func (*EmbedExternal_External) MarshalCBOR ¶
func (t *EmbedExternal_External) MarshalCBOR(w io.Writer) error
func (*EmbedExternal_External) UnmarshalCBOR ¶
func (t *EmbedExternal_External) UnmarshalCBOR(r io.Reader) (err error)
type EmbedExternal_Presented ¶
type EmbedExternal_Presented struct { LexiconTypeID string `json:"$type,omitempty"` External *EmbedExternal_PresentedExternal `json:"external" cborgen:"external"` }
type EmbedImages ¶
type EmbedImages struct { LexiconTypeID string `json:"$type,omitempty"` Images []*EmbedImages_Image `json:"images" cborgen:"images"` }
func (*EmbedImages) MarshalCBOR ¶
func (t *EmbedImages) MarshalCBOR(w io.Writer) error
func (*EmbedImages) UnmarshalCBOR ¶
func (t *EmbedImages) UnmarshalCBOR(r io.Reader) (err error)
type EmbedImages_Image ¶
type EmbedImages_Image struct { LexiconTypeID string `json:"$type,omitempty"` Alt string `json:"alt" cborgen:"alt"` Image *util.Blob `json:"image" cborgen:"image"` }
func (*EmbedImages_Image) MarshalCBOR ¶
func (t *EmbedImages_Image) MarshalCBOR(w io.Writer) error
func (*EmbedImages_Image) UnmarshalCBOR ¶
func (t *EmbedImages_Image) UnmarshalCBOR(r io.Reader) (err error)
type EmbedImages_Presented ¶
type EmbedImages_Presented struct { LexiconTypeID string `json:"$type,omitempty"` Images []*EmbedImages_PresentedImage `json:"images" cborgen:"images"` }
type EmbedImages_PresentedImage ¶
type EmbedImages_PresentedImage struct { LexiconTypeID string `json:"$type,omitempty"` Alt string `json:"alt" cborgen:"alt"` Fullsize string `json:"fullsize" cborgen:"fullsize"` Thumb string `json:"thumb" cborgen:"thumb"` }
func (*EmbedImages_PresentedImage) MarshalCBOR ¶
func (t *EmbedImages_PresentedImage) MarshalCBOR(w io.Writer) error
func (*EmbedImages_PresentedImage) UnmarshalCBOR ¶
func (t *EmbedImages_PresentedImage) UnmarshalCBOR(r io.Reader) (err error)
type FeedEmbed ¶
type FeedEmbed struct {
Items []*FeedEmbed_Items_Elem `json:"items" cborgen:"items"`
}
type FeedEmbed_External ¶
type FeedEmbed_Items_Elem ¶
type FeedEmbed_Items_Elem struct { FeedEmbed_Media *FeedEmbed_Media FeedEmbed_Record *FeedEmbed_Record FeedEmbed_External *FeedEmbed_External }
func (*FeedEmbed_Items_Elem) MarshalJSON ¶
func (t *FeedEmbed_Items_Elem) MarshalJSON() ([]byte, error)
func (*FeedEmbed_Items_Elem) UnmarshalJSON ¶
func (t *FeedEmbed_Items_Elem) UnmarshalJSON(b []byte) error
type FeedEmbed_Media ¶
type FeedEmbed_Record ¶
type FeedEmbed_Record struct { Record any `json:"record" cborgen:"record"` Type string `json:"type" cborgen:"type"` Author *ActorRef_WithInfo `json:"author" cborgen:"author"` }
type FeedFeedViewPost ¶
type FeedFeedViewPost struct { LexiconTypeID string `json:"$type,omitempty"` Post *FeedPost_View `json:"post" cborgen:"post"` Reason *FeedFeedViewPost_Reason `json:"reason,omitempty" cborgen:"reason"` Reply *FeedFeedViewPost_ReplyRef `json:"reply,omitempty" cborgen:"reply"` }
type FeedFeedViewPost_Reason ¶
type FeedFeedViewPost_Reason struct { FeedFeedViewPost_ReasonTrend *FeedFeedViewPost_ReasonTrend FeedFeedViewPost_ReasonRepost *FeedFeedViewPost_ReasonRepost }
func (*FeedFeedViewPost_Reason) MarshalJSON ¶
func (t *FeedFeedViewPost_Reason) MarshalJSON() ([]byte, error)
func (*FeedFeedViewPost_Reason) UnmarshalJSON ¶
func (t *FeedFeedViewPost_Reason) UnmarshalJSON(b []byte) error
type FeedFeedViewPost_ReasonRepost ¶
type FeedFeedViewPost_ReasonRepost struct { LexiconTypeID string `json:"$type,omitempty"` By *ActorRef_WithInfo `json:"by" cborgen:"by"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type FeedFeedViewPost_ReasonTrend ¶
type FeedFeedViewPost_ReasonTrend struct { LexiconTypeID string `json:"$type,omitempty"` By *ActorRef_WithInfo `json:"by" cborgen:"by"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type FeedFeedViewPost_ReplyRef ¶
type FeedFeedViewPost_ReplyRef struct { LexiconTypeID string `json:"$type,omitempty"` Parent *FeedPost_View `json:"parent" cborgen:"parent"` Root *FeedPost_View `json:"root" cborgen:"root"` }
type FeedGetAuthorFeed_Output ¶
type FeedGetAuthorFeed_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Feed []*FeedFeedViewPost `json:"feed" cborgen:"feed"` }
type FeedGetPostThread_Output ¶
type FeedGetPostThread_Output struct { LexiconTypeID string `json:"$type,omitempty"` Thread *FeedGetPostThread_Output_Thread `json:"thread" cborgen:"thread"` }
func FeedGetPostThread ¶
type FeedGetPostThread_Output_Thread ¶
type FeedGetPostThread_Output_Thread struct { FeedGetPostThread_ThreadViewPost *FeedGetPostThread_ThreadViewPost FeedGetPostThread_NotFoundPost *FeedGetPostThread_NotFoundPost }
func (*FeedGetPostThread_Output_Thread) MarshalJSON ¶
func (t *FeedGetPostThread_Output_Thread) MarshalJSON() ([]byte, error)
func (*FeedGetPostThread_Output_Thread) UnmarshalJSON ¶
func (t *FeedGetPostThread_Output_Thread) UnmarshalJSON(b []byte) error
type FeedGetPostThread_ThreadViewPost ¶
type FeedGetPostThread_ThreadViewPost struct { LexiconTypeID string `json:"$type,omitempty"` Parent *FeedGetPostThread_ThreadViewPost_Parent `json:"parent,omitempty" cborgen:"parent"` Post *FeedPost_View `json:"post" cborgen:"post"` Replies []*FeedGetPostThread_ThreadViewPost_Replies_Elem `json:"replies,omitempty" cborgen:"replies"` }
type FeedGetPostThread_ThreadViewPost_Parent ¶
type FeedGetPostThread_ThreadViewPost_Parent struct { FeedGetPostThread_ThreadViewPost *FeedGetPostThread_ThreadViewPost FeedGetPostThread_NotFoundPost *FeedGetPostThread_NotFoundPost }
func (*FeedGetPostThread_ThreadViewPost_Parent) MarshalJSON ¶
func (t *FeedGetPostThread_ThreadViewPost_Parent) MarshalJSON() ([]byte, error)
func (*FeedGetPostThread_ThreadViewPost_Parent) UnmarshalJSON ¶
func (t *FeedGetPostThread_ThreadViewPost_Parent) UnmarshalJSON(b []byte) error
type FeedGetPostThread_ThreadViewPost_Replies_Elem ¶
type FeedGetPostThread_ThreadViewPost_Replies_Elem struct { FeedGetPostThread_ThreadViewPost *FeedGetPostThread_ThreadViewPost FeedGetPostThread_NotFoundPost *FeedGetPostThread_NotFoundPost }
func (*FeedGetPostThread_ThreadViewPost_Replies_Elem) MarshalJSON ¶
func (t *FeedGetPostThread_ThreadViewPost_Replies_Elem) MarshalJSON() ([]byte, error)
func (*FeedGetPostThread_ThreadViewPost_Replies_Elem) UnmarshalJSON ¶
func (t *FeedGetPostThread_ThreadViewPost_Replies_Elem) UnmarshalJSON(b []byte) error
type FeedGetRepostedBy_Output ¶
type FeedGetRepostedBy_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cid *string `json:"cid,omitempty" cborgen:"cid"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` RepostedBy []*FeedGetRepostedBy_RepostedBy `json:"repostedBy" cborgen:"repostedBy"` Uri string `json:"uri" cborgen:"uri"` }
type FeedGetRepostedBy_RepostedBy ¶
type FeedGetRepostedBy_RepostedBy struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type FeedGetTimeline_Output ¶
type FeedGetTimeline_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Feed []*FeedFeedViewPost `json:"feed" cborgen:"feed"` }
type FeedGetVotes_Output ¶
type FeedGetVotes_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cid *string `json:"cid,omitempty" cborgen:"cid"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Uri string `json:"uri" cborgen:"uri"` Votes []*FeedGetVotes_Vote `json:"votes" cborgen:"votes"` }
type FeedGetVotes_Vote ¶
type FeedGetVotes_Vote struct { LexiconTypeID string `json:"$type,omitempty"` Actor *ActorRef_WithInfo `json:"actor" cborgen:"actor"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Direction string `json:"direction" cborgen:"direction"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type FeedPost ¶
type FeedPost struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.post"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Embed *FeedPost_Embed `json:"embed,omitempty" cborgen:"embed"` Entities []*FeedPost_Entity `json:"entities,omitempty" cborgen:"entities"` Reply *FeedPost_ReplyRef `json:"reply,omitempty" cborgen:"reply"` Text string `json:"text" cborgen:"text"` }
RECORDTYPE: FeedPost
type FeedPost_Embed ¶
type FeedPost_Embed struct { EmbedImages *EmbedImages EmbedExternal *EmbedExternal }
func (*FeedPost_Embed) MarshalCBOR ¶
func (t *FeedPost_Embed) MarshalCBOR(w io.Writer) error
func (*FeedPost_Embed) MarshalJSON ¶
func (t *FeedPost_Embed) MarshalJSON() ([]byte, error)
func (*FeedPost_Embed) UnmarshalCBOR ¶
func (t *FeedPost_Embed) UnmarshalCBOR(r io.Reader) error
func (*FeedPost_Embed) UnmarshalJSON ¶
func (t *FeedPost_Embed) UnmarshalJSON(b []byte) error
type FeedPost_Entity ¶
type FeedPost_Entity struct { LexiconTypeID string `json:"$type,omitempty"` Index *FeedPost_TextSlice `json:"index" cborgen:"index"` Type string `json:"type" cborgen:"type"` Value string `json:"value" cborgen:"value"` }
func (*FeedPost_Entity) MarshalCBOR ¶
func (t *FeedPost_Entity) MarshalCBOR(w io.Writer) error
func (*FeedPost_Entity) UnmarshalCBOR ¶
func (t *FeedPost_Entity) UnmarshalCBOR(r io.Reader) (err error)
type FeedPost_ReplyRef ¶
type FeedPost_ReplyRef struct { LexiconTypeID string `json:"$type,omitempty"` Parent *comatprototypes.RepoStrongRef `json:"parent" cborgen:"parent"` Root *comatprototypes.RepoStrongRef `json:"root" cborgen:"root"` }
func (*FeedPost_ReplyRef) MarshalCBOR ¶
func (t *FeedPost_ReplyRef) MarshalCBOR(w io.Writer) error
func (*FeedPost_ReplyRef) UnmarshalCBOR ¶
func (t *FeedPost_ReplyRef) UnmarshalCBOR(r io.Reader) (err error)
type FeedPost_TextSlice ¶
type FeedPost_TextSlice struct { LexiconTypeID string `json:"$type,omitempty"` End int64 `json:"end" cborgen:"end"` Start int64 `json:"start" cborgen:"start"` }
func (*FeedPost_TextSlice) MarshalCBOR ¶
func (t *FeedPost_TextSlice) MarshalCBOR(w io.Writer) error
func (*FeedPost_TextSlice) UnmarshalCBOR ¶
func (t *FeedPost_TextSlice) UnmarshalCBOR(r io.Reader) (err error)
type FeedPost_View ¶
type FeedPost_View struct { LexiconTypeID string `json:"$type,omitempty"` Author *ActorRef_WithInfo `json:"author" cborgen:"author"` Cid string `json:"cid" cborgen:"cid"` DownvoteCount int64 `json:"downvoteCount" cborgen:"downvoteCount"` Embed *FeedPost_View_Embed `json:"embed,omitempty" cborgen:"embed"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Record util.LexiconTypeDecoder `json:"record" cborgen:"record"` ReplyCount int64 `json:"replyCount" cborgen:"replyCount"` RepostCount int64 `json:"repostCount" cborgen:"repostCount"` UpvoteCount int64 `json:"upvoteCount" cborgen:"upvoteCount"` Uri string `json:"uri" cborgen:"uri"` Viewer *FeedPost_ViewerState `json:"viewer" cborgen:"viewer"` }
type FeedPost_View_Embed ¶
type FeedPost_View_Embed struct { EmbedImages_Presented *EmbedImages_Presented EmbedExternal_Presented *EmbedExternal_Presented }
func (*FeedPost_View_Embed) MarshalJSON ¶
func (t *FeedPost_View_Embed) MarshalJSON() ([]byte, error)
func (*FeedPost_View_Embed) UnmarshalJSON ¶
func (t *FeedPost_View_Embed) UnmarshalJSON(b []byte) error
type FeedPost_ViewerState ¶
type FeedPost_ViewerState struct { LexiconTypeID string `json:"$type,omitempty"` Downvote *string `json:"downvote,omitempty" cborgen:"downvote"` Muted *bool `json:"muted,omitempty" cborgen:"muted"` Repost *string `json:"repost,omitempty" cborgen:"repost"` Upvote *string `json:"upvote,omitempty" cborgen:"upvote"` }
type FeedRepost ¶
type FeedRepost struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.repost"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Subject *comatprototypes.RepoStrongRef `json:"subject" cborgen:"subject"` }
RECORDTYPE: FeedRepost
func (*FeedRepost) MarshalCBOR ¶
func (t *FeedRepost) MarshalCBOR(w io.Writer) error
func (*FeedRepost) UnmarshalCBOR ¶
func (t *FeedRepost) UnmarshalCBOR(r io.Reader) (err error)
type FeedSetVote_Input ¶
type FeedSetVote_Input struct { LexiconTypeID string `json:"$type,omitempty"` Direction string `json:"direction" cborgen:"direction"` Subject *comatprototypes.RepoStrongRef `json:"subject" cborgen:"subject"` }
type FeedSetVote_Output ¶
type FeedSetVote_Output struct { LexiconTypeID string `json:"$type,omitempty"` Downvote *string `json:"downvote,omitempty" cborgen:"downvote"` Upvote *string `json:"upvote,omitempty" cborgen:"upvote"` }
func FeedSetVote ¶
func FeedSetVote(ctx context.Context, c *xrpc.Client, input *FeedSetVote_Input) (*FeedSetVote_Output, error)
type FeedTrend ¶
type FeedTrend struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.trend"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Subject *comatprototypes.RepoStrongRef `json:"subject" cborgen:"subject"` }
RECORDTYPE: FeedTrend
type FeedVote ¶
type FeedVote struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.vote"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Direction string `json:"direction" cborgen:"direction"` Subject *comatprototypes.RepoStrongRef `json:"subject" cborgen:"subject"` }
RECORDTYPE: FeedVote
type GraphAssertion ¶
type GraphAssertion struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.assertion"` Assertion string `json:"assertion" cborgen:"assertion"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Subject *ActorRef `json:"subject" cborgen:"subject"` }
RECORDTYPE: GraphAssertion
func (*GraphAssertion) MarshalCBOR ¶
func (t *GraphAssertion) MarshalCBOR(w io.Writer) error
func (*GraphAssertion) UnmarshalCBOR ¶
func (t *GraphAssertion) UnmarshalCBOR(r io.Reader) (err error)
type GraphConfirmation ¶
type GraphConfirmation struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.confirmation"` Assertion *comatprototypes.RepoStrongRef `json:"assertion" cborgen:"assertion"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Originator *ActorRef `json:"originator" cborgen:"originator"` }
RECORDTYPE: GraphConfirmation
func (*GraphConfirmation) MarshalCBOR ¶
func (t *GraphConfirmation) MarshalCBOR(w io.Writer) error
func (*GraphConfirmation) UnmarshalCBOR ¶
func (t *GraphConfirmation) UnmarshalCBOR(r io.Reader) (err error)
type GraphFollow ¶
type GraphFollow struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.follow"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Subject *ActorRef `json:"subject" cborgen:"subject"` }
RECORDTYPE: GraphFollow
func (*GraphFollow) MarshalCBOR ¶
func (t *GraphFollow) MarshalCBOR(w io.Writer) error
func (*GraphFollow) UnmarshalCBOR ¶
func (t *GraphFollow) UnmarshalCBOR(r io.Reader) (err error)
type GraphGetAssertions_Assertion ¶
type GraphGetAssertions_Assertion struct { LexiconTypeID string `json:"$type,omitempty"` Assertion string `json:"assertion" cborgen:"assertion"` Author *ActorRef_WithInfo `json:"author" cborgen:"author"` Cid string `json:"cid" cborgen:"cid"` Confirmation *GraphGetAssertions_Confirmation `json:"confirmation,omitempty" cborgen:"confirmation"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Subject *ActorRef_WithInfo `json:"subject" cborgen:"subject"` Uri string `json:"uri" cborgen:"uri"` }
type GraphGetAssertions_Output ¶
type GraphGetAssertions_Output struct { LexiconTypeID string `json:"$type,omitempty"` Assertions []*GraphGetAssertions_Assertion `json:"assertions" cborgen:"assertions"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` }
type GraphGetFollowers_Follower ¶
type GraphGetFollowers_Follower struct { LexiconTypeID string `json:"$type,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type GraphGetFollowers_Output ¶
type GraphGetFollowers_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Followers []*GraphGetFollowers_Follower `json:"followers" cborgen:"followers"` Subject *ActorRef_WithInfo `json:"subject" cborgen:"subject"` }
type GraphGetFollows_Follow ¶
type GraphGetFollows_Follow struct { LexiconTypeID string `json:"$type,omitempty"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type GraphGetFollows_Output ¶
type GraphGetFollows_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Follows []*GraphGetFollows_Follow `json:"follows" cborgen:"follows"` Subject *ActorRef_WithInfo `json:"subject" cborgen:"subject"` }
type GraphGetMembers_Member ¶
type GraphGetMembers_Member struct { LexiconTypeID string `json:"$type,omitempty"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type GraphGetMembers_Output ¶
type GraphGetMembers_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Members []*GraphGetMembers_Member `json:"members" cborgen:"members"` Subject *ActorRef_WithInfo `json:"subject" cborgen:"subject"` }
type GraphGetMemberships_Membership ¶
type GraphGetMemberships_Membership struct { LexiconTypeID string `json:"$type,omitempty"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
type GraphGetMemberships_Output ¶
type GraphGetMemberships_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Memberships []*GraphGetMemberships_Membership `json:"memberships" cborgen:"memberships"` Subject *ActorRef_WithInfo `json:"subject" cborgen:"subject"` }
type GraphGetMutes_Mute ¶
type GraphGetMutes_Mute struct { LexiconTypeID string `json:"$type,omitempty"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Declaration *SystemDeclRef `json:"declaration" cborgen:"declaration"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName"` Handle string `json:"handle" cborgen:"handle"` }
type GraphGetMutes_Output ¶
type GraphGetMutes_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Mutes []*GraphGetMutes_Mute `json:"mutes" cborgen:"mutes"` }
func GraphGetMutes ¶
type GraphMute_Input ¶
type GraphUnmute_Input ¶
type NotificationGetCount_Output ¶
type NotificationGetCount_Output struct { LexiconTypeID string `json:"$type,omitempty"` Count int64 `json:"count" cborgen:"count"` }
func NotificationGetCount ¶
type NotificationList_Notification ¶
type NotificationList_Notification struct { LexiconTypeID string `json:"$type,omitempty"` Author *ActorRef_WithInfo `json:"author" cborgen:"author"` Cid string `json:"cid" cborgen:"cid"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` IsRead bool `json:"isRead" cborgen:"isRead"` Reason string `json:"reason" cborgen:"reason"` ReasonSubject *string `json:"reasonSubject,omitempty" cborgen:"reasonSubject"` Record util.LexiconTypeDecoder `json:"record" cborgen:"record"` Uri string `json:"uri" cborgen:"uri"` }
type NotificationList_Output ¶
type NotificationList_Output struct { LexiconTypeID string `json:"$type,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor"` Notifications []*NotificationList_Notification `json:"notifications" cborgen:"notifications"` }
func NotificationList ¶
type SystemDeclRef ¶
type SystemDeclaration ¶
type SystemDeclaration struct { LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.system.declaration"` ActorType string `json:"actorType" cborgen:"actorType"` }
RECORDTYPE: SystemDeclaration
func (*SystemDeclaration) MarshalCBOR ¶
func (t *SystemDeclaration) MarshalCBOR(w io.Writer) error
func (*SystemDeclaration) UnmarshalCBOR ¶
func (t *SystemDeclaration) UnmarshalCBOR(r io.Reader) (err error)
Source Files ¶
- actorcreateScene.go
- actorgetProfile.go
- actorgetSuggestions.go
- actorprofile.go
- actorref.go
- actorsearch.go
- actorsearchTypeahead.go
- actorupdateProfile.go
- cbor_gen.go
- embedexternal.go
- embedimages.go
- feedembed.go
- feedfeedViewPost.go
- feedgetAuthorFeed.go
- feedgetPostThread.go
- feedgetRepostedBy.go
- feedgetTimeline.go
- feedgetVotes.go
- feedpost.go
- feedrepost.go
- feedsetVote.go
- feedtrend.go
- feedvote.go
- graphassertCreator.go
- graphassertMember.go
- graphassertion.go
- graphconfirmation.go
- graphfollow.go
- graphgetAssertions.go
- graphgetFollowers.go
- graphgetFollows.go
- graphgetMembers.go
- graphgetMemberships.go
- graphgetMutes.go
- graphmute.go
- graphunmute.go
- notificationgetCount.go
- notificationlist.go
- notificationupdateSeen.go
- systemactorScene.go
- systemactorUser.go
- systemdeclRef.go
- systemdeclaration.go
Click to show internal directories.
Click to hide internal directories.