Documentation
¶
Index ¶
- func ActorPutPreferences(ctx context.Context, c *xrpc.Client, input *ActorPutPreferences_Input) error
- func GraphMuteActor(ctx context.Context, c *xrpc.Client, input *GraphMuteActor_Input) error
- func GraphMuteActorList(ctx context.Context, c *xrpc.Client, input *GraphMuteActorList_Input) error
- func GraphMuteThread(ctx context.Context, c *xrpc.Client, input *GraphMuteThread_Input) error
- func GraphUnmuteActor(ctx context.Context, c *xrpc.Client, input *GraphUnmuteActor_Input) error
- func GraphUnmuteActorList(ctx context.Context, c *xrpc.Client, input *GraphUnmuteActorList_Input) error
- func GraphUnmuteThread(ctx context.Context, c *xrpc.Client, input *GraphUnmuteThread_Input) error
- func NotificationPutPreferences(ctx context.Context, c *xrpc.Client, input *NotificationPutPreferences_Input) error
- func NotificationRegisterPush(ctx context.Context, c *xrpc.Client, input *NotificationRegisterPush_Input) error
- func NotificationUpdateSeen(ctx context.Context, c *xrpc.Client, input *NotificationUpdateSeen_Input) error
- func UnspeccedApplyLabels(ctx context.Context, c *xrpc.Client, input *UnspeccedApplyLabels_Input) error
- type ActorDefs_AdultContentPref
- type ActorDefs_BskyAppProgressGuide
- type ActorDefs_BskyAppStatePref
- type ActorDefs_ContentLabelPref
- type ActorDefs_FeedViewPref
- type ActorDefs_HiddenPostsPref
- type ActorDefs_InterestsPref
- type ActorDefs_KnownFollowers
- type ActorDefs_LabelerPrefItem
- type ActorDefs_LabelersPref
- type ActorDefs_MutedWord
- type ActorDefs_MutedWordsPref
- type ActorDefs_Nux
- type ActorDefs_PersonalDetailsPref
- type ActorDefs_PostInteractionSettingsPref
- type ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem
- type ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem
- type ActorDefs_Preferences_Elem
- type ActorDefs_ProfileAssociated
- type ActorDefs_ProfileAssociatedChat
- type ActorDefs_ProfileView
- type ActorDefs_ProfileViewBasic
- type ActorDefs_ProfileViewDetailed
- type ActorDefs_SavedFeed
- type ActorDefs_SavedFeedsPref
- type ActorDefs_SavedFeedsPrefV2
- type ActorDefs_ThreadViewPref
- type ActorDefs_ViewerState
- type ActorGetPreferences_Output
- type ActorGetProfiles_Output
- type ActorGetSuggestions_Output
- type ActorProfile
- type ActorProfile_Labels
- type ActorPutPreferences_Input
- type ActorSearchActorsTypeahead_Output
- type ActorSearchActors_Output
- type EmbedDefs_AspectRatio
- type EmbedExternal
- type EmbedExternal_External
- type EmbedExternal_View
- type EmbedExternal_ViewExternal
- type EmbedImages
- type EmbedImages_Image
- type EmbedImages_View
- type EmbedImages_ViewImage
- type EmbedRecord
- type EmbedRecordWithMedia
- type EmbedRecordWithMedia_Media
- type EmbedRecordWithMedia_View
- type EmbedRecordWithMedia_View_Media
- type EmbedRecord_View
- type EmbedRecord_ViewBlocked
- type EmbedRecord_ViewDetached
- type EmbedRecord_ViewNotFound
- type EmbedRecord_ViewRecord
- type EmbedRecord_ViewRecord_Embeds_Elem
- type EmbedRecord_View_Record
- type EmbedVideo
- type EmbedVideo_Caption
- type EmbedVideo_View
- type FeedDefs_BlockedAuthor
- type FeedDefs_BlockedPost
- type FeedDefs_FeedViewPost
- type FeedDefs_FeedViewPost_Reason
- type FeedDefs_GeneratorView
- type FeedDefs_GeneratorViewerState
- type FeedDefs_Interaction
- type FeedDefs_NotFoundPost
- type FeedDefs_PostView
- type FeedDefs_PostView_Embed
- type FeedDefs_ReasonPin
- type FeedDefs_ReasonRepost
- type FeedDefs_ReplyRef
- type FeedDefs_ReplyRef_Parent
- type FeedDefs_ReplyRef_Root
- type FeedDefs_SkeletonFeedPost
- type FeedDefs_SkeletonFeedPost_Reason
- type FeedDefs_SkeletonReasonPin
- type FeedDefs_SkeletonReasonRepost
- type FeedDefs_ThreadContext
- type FeedDefs_ThreadViewPost
- type FeedDefs_ThreadViewPost_Parent
- type FeedDefs_ThreadViewPost_Replies_Elem
- type FeedDefs_ThreadgateView
- type FeedDefs_ViewerState
- type FeedDescribeFeedGenerator_Feed
- type FeedDescribeFeedGenerator_Links
- type FeedDescribeFeedGenerator_Output
- type FeedGenerator
- type FeedGenerator_Labels
- type FeedGetActorFeeds_Output
- type FeedGetActorLikes_Output
- type FeedGetAuthorFeed_Output
- type FeedGetFeedGenerator_Output
- type FeedGetFeedGenerators_Output
- type FeedGetFeedSkeleton_Output
- type FeedGetFeed_Output
- type FeedGetLikes_Like
- type FeedGetLikes_Output
- type FeedGetListFeed_Output
- type FeedGetPostThread_Output
- type FeedGetPostThread_Output_Thread
- type FeedGetPosts_Output
- type FeedGetQuotes_Output
- type FeedGetRepostedBy_Output
- type FeedGetSuggestedFeeds_Output
- type FeedGetTimeline_Output
- type FeedLike
- type FeedPost
- type FeedPost_Embed
- type FeedPost_Entitydeprecated
- type FeedPost_Labels
- type FeedPost_ReplyRef
- type FeedPost_TextSlice
- type FeedPostgate
- type FeedPostgate_DisableRule
- type FeedPostgate_EmbeddingRules_Elem
- type FeedRepost
- type FeedSearchPosts_Output
- type FeedSendInteractions_Input
- type FeedSendInteractions_Output
- type FeedThreadgate
- type FeedThreadgate_Allow_Elem
- type FeedThreadgate_FollowerRule
- type FeedThreadgate_FollowingRule
- type FeedThreadgate_ListRule
- type FeedThreadgate_MentionRule
- type GraphBlock
- type GraphDefs_ListItemView
- type GraphDefs_ListView
- type GraphDefs_ListViewBasic
- type GraphDefs_ListViewerState
- type GraphDefs_NotFoundActor
- type GraphDefs_Relationship
- type GraphDefs_StarterPackView
- type GraphDefs_StarterPackViewBasic
- type GraphFollow
- type GraphGetActorStarterPacks_Output
- type GraphGetBlocks_Output
- type GraphGetFollowers_Output
- type GraphGetFollows_Output
- type GraphGetKnownFollowers_Output
- type GraphGetListBlocks_Output
- type GraphGetListMutes_Output
- type GraphGetList_Output
- type GraphGetLists_Output
- type GraphGetMutes_Output
- type GraphGetRelationships_Output
- type GraphGetRelationships_Output_Relationships_Elem
- type GraphGetStarterPack_Output
- type GraphGetStarterPacks_Output
- type GraphGetSuggestedFollowsByActor_Output
- type GraphList
- type GraphList_Labels
- type GraphListblock
- type GraphListitem
- type GraphMuteActorList_Input
- type GraphMuteActor_Input
- type GraphMuteThread_Input
- type GraphSearchStarterPacks_Output
- type GraphStarterpack
- type GraphStarterpack_FeedItem
- type GraphUnmuteActorList_Input
- type GraphUnmuteActor_Input
- type GraphUnmuteThread_Input
- type LabelerDefs_LabelerPolicies
- type LabelerDefs_LabelerView
- type LabelerDefs_LabelerViewDetailed
- type LabelerDefs_LabelerViewerState
- type LabelerGetServices_Output
- type LabelerGetServices_Output_Views_Elem
- type LabelerService
- type LabelerService_Labels
- type NotificationGetUnreadCount_Output
- type NotificationListNotifications_Notification
- type NotificationListNotifications_Output
- type NotificationPutPreferences_Input
- type NotificationRegisterPush_Input
- type NotificationUpdateSeen_Input
- type RichtextFacet
- type RichtextFacet_ByteSlice
- type RichtextFacet_Features_Elem
- type RichtextFacet_Link
- type RichtextFacet_Mention
- type RichtextFacet_Tag
- type UnspeccedApplyLabels_Input
- type UnspeccedDefs_SkeletonSearchActor
- type UnspeccedDefs_SkeletonSearchPost
- type UnspeccedDefs_SkeletonSearchStarterPack
- type UnspeccedDefs_TrendingTopic
- type UnspeccedGetConfig_Output
- type UnspeccedGetPopularFeedGenerators_Output
- type UnspeccedGetPopular_Output
- type UnspeccedGetSuggestionsSkeleton_Output
- type UnspeccedGetTaggedSuggestions_Output
- type UnspeccedGetTaggedSuggestions_Suggestion
- type UnspeccedGetTimelineSkeleton_Output
- type UnspeccedGetTrendingTopics_Output
- type UnspeccedSearchActorsSkeleton_Output
- type UnspeccedSearchPostsSkeleton_Output
- type UnspeccedSearchStarterPacksSkeleton_Output
- type VideoDefs_JobStatus
- type VideoGetJobStatus_Output
- type VideoGetUploadLimits_Output
- type VideoUploadVideo_Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActorPutPreferences ¶
func ActorPutPreferences(ctx context.Context, c *xrpc.Client, input *ActorPutPreferences_Input) error
ActorPutPreferences calls the XRPC method "app.bsky.actor.putPreferences".
func GraphMuteActor ¶
GraphMuteActor calls the XRPC method "app.bsky.graph.muteActor".
func GraphMuteActorList ¶
GraphMuteActorList calls the XRPC method "app.bsky.graph.muteActorList".
func GraphMuteThread ¶
GraphMuteThread calls the XRPC method "app.bsky.graph.muteThread".
func GraphUnmuteActor ¶
GraphUnmuteActor calls the XRPC method "app.bsky.graph.unmuteActor".
func GraphUnmuteActorList ¶
func GraphUnmuteActorList(ctx context.Context, c *xrpc.Client, input *GraphUnmuteActorList_Input) error
GraphUnmuteActorList calls the XRPC method "app.bsky.graph.unmuteActorList".
func GraphUnmuteThread ¶
GraphUnmuteThread calls the XRPC method "app.bsky.graph.unmuteThread".
func NotificationPutPreferences ¶
func NotificationPutPreferences(ctx context.Context, c *xrpc.Client, input *NotificationPutPreferences_Input) error
NotificationPutPreferences calls the XRPC method "app.bsky.notification.putPreferences".
func NotificationRegisterPush ¶
func NotificationRegisterPush(ctx context.Context, c *xrpc.Client, input *NotificationRegisterPush_Input) error
NotificationRegisterPush calls the XRPC method "app.bsky.notification.registerPush".
func NotificationUpdateSeen ¶
func NotificationUpdateSeen(ctx context.Context, c *xrpc.Client, input *NotificationUpdateSeen_Input) error
NotificationUpdateSeen calls the XRPC method "app.bsky.notification.updateSeen".
func UnspeccedApplyLabels ¶
func UnspeccedApplyLabels(ctx context.Context, c *xrpc.Client, input *UnspeccedApplyLabels_Input) error
UnspeccedApplyLabels calls the XRPC method "app.bsky.unspecced.applyLabels".
Types ¶
type ActorDefs_AdultContentPref ¶
type ActorDefs_AdultContentPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#adultContentPref" cborgen:"$type,const=app.bsky.actor.defs#adultContentPref"` Enabled bool `json:"enabled" cborgen:"enabled"` }
ActorDefs_AdultContentPref is a "adultContentPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_AdultContentPref
type ActorDefs_BskyAppProgressGuide ¶
type ActorDefs_BskyAppProgressGuide struct {
Guide string `json:"guide" cborgen:"guide"`
}
ActorDefs_BskyAppProgressGuide is a "bskyAppProgressGuide" in the app.bsky.actor.defs schema.
If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress.
type ActorDefs_BskyAppStatePref ¶
type ActorDefs_BskyAppStatePref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#bskyAppStatePref" cborgen:"$type,const=app.bsky.actor.defs#bskyAppStatePref"` ActiveProgressGuide *ActorDefs_BskyAppProgressGuide `json:"activeProgressGuide,omitempty" cborgen:"activeProgressGuide,omitempty"` // nuxs: Storage for NUXs the user has encountered. Nuxs []*ActorDefs_Nux `json:"nuxs,omitempty" cborgen:"nuxs,omitempty"` // queuedNudges: An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. QueuedNudges []string `json:"queuedNudges,omitempty" cborgen:"queuedNudges,omitempty"` }
ActorDefs_BskyAppStatePref is a "bskyAppStatePref" in the app.bsky.actor.defs schema.
A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this.
RECORDTYPE: ActorDefs_BskyAppStatePref
type ActorDefs_ContentLabelPref ¶
type ActorDefs_ContentLabelPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#contentLabelPref" cborgen:"$type,const=app.bsky.actor.defs#contentLabelPref"` Label string `json:"label" cborgen:"label"` // labelerDid: Which labeler does this preference apply to? If undefined, applies globally. LabelerDid *string `json:"labelerDid,omitempty" cborgen:"labelerDid,omitempty"` Visibility string `json:"visibility" cborgen:"visibility"` }
ActorDefs_ContentLabelPref is a "contentLabelPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_ContentLabelPref
type ActorDefs_FeedViewPref ¶
type ActorDefs_FeedViewPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#feedViewPref" cborgen:"$type,const=app.bsky.actor.defs#feedViewPref"` // feed: The URI of the feed, or an identifier which describes the feed. Feed string `json:"feed" cborgen:"feed"` // hideQuotePosts: Hide quote posts in the feed. HideQuotePosts *bool `json:"hideQuotePosts,omitempty" cborgen:"hideQuotePosts,omitempty"` // hideReplies: Hide replies in the feed. HideReplies *bool `json:"hideReplies,omitempty" cborgen:"hideReplies,omitempty"` // hideRepliesByLikeCount: Hide replies in the feed if they do not have this number of likes. HideRepliesByLikeCount *int64 `json:"hideRepliesByLikeCount,omitempty" cborgen:"hideRepliesByLikeCount,omitempty"` // hideRepliesByUnfollowed: Hide replies in the feed if they are not by followed users. HideRepliesByUnfollowed *bool `json:"hideRepliesByUnfollowed,omitempty" cborgen:"hideRepliesByUnfollowed,omitempty"` // hideReposts: Hide reposts in the feed. HideReposts *bool `json:"hideReposts,omitempty" cborgen:"hideReposts,omitempty"` }
ActorDefs_FeedViewPref is a "feedViewPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_FeedViewPref
type ActorDefs_HiddenPostsPref ¶
type ActorDefs_HiddenPostsPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#hiddenPostsPref" cborgen:"$type,const=app.bsky.actor.defs#hiddenPostsPref"` // items: A list of URIs of posts the account owner has hidden. Items []string `json:"items" cborgen:"items"` }
ActorDefs_HiddenPostsPref is a "hiddenPostsPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_HiddenPostsPref
type ActorDefs_InterestsPref ¶
type ActorDefs_InterestsPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#interestsPref" cborgen:"$type,const=app.bsky.actor.defs#interestsPref"` // tags: A list of tags which describe the account owner's interests gathered during onboarding. Tags []string `json:"tags" cborgen:"tags"` }
ActorDefs_InterestsPref is a "interestsPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_InterestsPref
type ActorDefs_KnownFollowers ¶
type ActorDefs_KnownFollowers struct { Count int64 `json:"count" cborgen:"count"` Followers []*ActorDefs_ProfileViewBasic `json:"followers" cborgen:"followers"` }
ActorDefs_KnownFollowers is a "knownFollowers" in the app.bsky.actor.defs schema.
The subject's followers whom you also follow
type ActorDefs_LabelerPrefItem ¶
type ActorDefs_LabelerPrefItem struct {
Did string `json:"did" cborgen:"did"`
}
ActorDefs_LabelerPrefItem is a "labelerPrefItem" in the app.bsky.actor.defs schema.
type ActorDefs_LabelersPref ¶
type ActorDefs_LabelersPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#labelersPref" cborgen:"$type,const=app.bsky.actor.defs#labelersPref"` Labelers []*ActorDefs_LabelerPrefItem `json:"labelers" cborgen:"labelers"` }
ActorDefs_LabelersPref is a "labelersPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_LabelersPref
type ActorDefs_MutedWord ¶
type ActorDefs_MutedWord struct { // actorTarget: Groups of users to apply the muted word to. If undefined, applies to all users. ActorTarget *string `json:"actorTarget,omitempty" cborgen:"actorTarget,omitempty"` // expiresAt: The date and time at which the muted word will expire and no longer be applied. ExpiresAt *string `json:"expiresAt,omitempty" cborgen:"expiresAt,omitempty"` Id *string `json:"id,omitempty" cborgen:"id,omitempty"` // targets: The intended targets of the muted word. Targets []*string `json:"targets" cborgen:"targets"` // value: The muted word itself. Value string `json:"value" cborgen:"value"` }
ActorDefs_MutedWord is a "mutedWord" in the app.bsky.actor.defs schema.
A word that the account owner has muted.
type ActorDefs_MutedWordsPref ¶
type ActorDefs_MutedWordsPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#mutedWordsPref" cborgen:"$type,const=app.bsky.actor.defs#mutedWordsPref"` // items: A list of words the account owner has muted. Items []*ActorDefs_MutedWord `json:"items" cborgen:"items"` }
ActorDefs_MutedWordsPref is a "mutedWordsPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_MutedWordsPref
type ActorDefs_Nux ¶
type ActorDefs_Nux struct { Completed bool `json:"completed" cborgen:"completed"` // data: Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. Data *string `json:"data,omitempty" cborgen:"data,omitempty"` // expiresAt: The date and time at which the NUX will expire and should be considered completed. ExpiresAt *string `json:"expiresAt,omitempty" cborgen:"expiresAt,omitempty"` Id string `json:"id" cborgen:"id"` }
ActorDefs_Nux is a "nux" in the app.bsky.actor.defs schema.
A new user experiences (NUX) storage object
type ActorDefs_PersonalDetailsPref ¶
type ActorDefs_PersonalDetailsPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#personalDetailsPref" cborgen:"$type,const=app.bsky.actor.defs#personalDetailsPref"` // birthDate: The birth date of account owner. BirthDate *string `json:"birthDate,omitempty" cborgen:"birthDate,omitempty"` }
ActorDefs_PersonalDetailsPref is a "personalDetailsPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_PersonalDetailsPref
type ActorDefs_PostInteractionSettingsPref ¶
type ActorDefs_PostInteractionSettingsPref struct { LexiconTypeID string `` /* 136-byte string literal not displayed */ // postgateEmbeddingRules: Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. PostgateEmbeddingRules []*ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem `json:"postgateEmbeddingRules,omitempty" cborgen:"postgateEmbeddingRules,omitempty"` // threadgateAllowRules: Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. ThreadgateAllowRules []*ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem `json:"threadgateAllowRules,omitempty" cborgen:"threadgateAllowRules,omitempty"` }
ActorDefs_PostInteractionSettingsPref is a "postInteractionSettingsPref" in the app.bsky.actor.defs schema.
Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.
RECORDTYPE: ActorDefs_PostInteractionSettingsPref
type ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem ¶
type ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem struct {
FeedPostgate_DisableRule *FeedPostgate_DisableRule
}
func (*ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem) MarshalJSON ¶
func (t *ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem) MarshalJSON() ([]byte, error)
func (*ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem) UnmarshalJSON ¶
func (t *ActorDefs_PostInteractionSettingsPref_PostgateEmbeddingRules_Elem) UnmarshalJSON(b []byte) error
type ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem ¶
type ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem struct { FeedThreadgate_MentionRule *FeedThreadgate_MentionRule FeedThreadgate_FollowerRule *FeedThreadgate_FollowerRule FeedThreadgate_FollowingRule *FeedThreadgate_FollowingRule FeedThreadgate_ListRule *FeedThreadgate_ListRule }
func (*ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem) MarshalJSON ¶
func (t *ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem) MarshalJSON() ([]byte, error)
func (*ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem) UnmarshalJSON ¶
func (t *ActorDefs_PostInteractionSettingsPref_ThreadgateAllowRules_Elem) UnmarshalJSON(b []byte) error
type ActorDefs_Preferences_Elem ¶
type ActorDefs_Preferences_Elem struct { ActorDefs_AdultContentPref *ActorDefs_AdultContentPref ActorDefs_ContentLabelPref *ActorDefs_ContentLabelPref ActorDefs_SavedFeedsPref *ActorDefs_SavedFeedsPref ActorDefs_SavedFeedsPrefV2 *ActorDefs_SavedFeedsPrefV2 ActorDefs_PersonalDetailsPref *ActorDefs_PersonalDetailsPref ActorDefs_FeedViewPref *ActorDefs_FeedViewPref ActorDefs_ThreadViewPref *ActorDefs_ThreadViewPref ActorDefs_InterestsPref *ActorDefs_InterestsPref ActorDefs_MutedWordsPref *ActorDefs_MutedWordsPref ActorDefs_HiddenPostsPref *ActorDefs_HiddenPostsPref ActorDefs_BskyAppStatePref *ActorDefs_BskyAppStatePref ActorDefs_LabelersPref *ActorDefs_LabelersPref ActorDefs_PostInteractionSettingsPref *ActorDefs_PostInteractionSettingsPref }
func (*ActorDefs_Preferences_Elem) MarshalJSON ¶
func (t *ActorDefs_Preferences_Elem) MarshalJSON() ([]byte, error)
func (*ActorDefs_Preferences_Elem) UnmarshalJSON ¶
func (t *ActorDefs_Preferences_Elem) UnmarshalJSON(b []byte) error
type ActorDefs_ProfileAssociated ¶
type ActorDefs_ProfileAssociated struct { Chat *ActorDefs_ProfileAssociatedChat `json:"chat,omitempty" cborgen:"chat,omitempty"` Feedgens *int64 `json:"feedgens,omitempty" cborgen:"feedgens,omitempty"` Labeler *bool `json:"labeler,omitempty" cborgen:"labeler,omitempty"` Lists *int64 `json:"lists,omitempty" cborgen:"lists,omitempty"` StarterPacks *int64 `json:"starterPacks,omitempty" cborgen:"starterPacks,omitempty"` }
ActorDefs_ProfileAssociated is a "profileAssociated" in the app.bsky.actor.defs schema.
type ActorDefs_ProfileAssociatedChat ¶
type ActorDefs_ProfileAssociatedChat struct {
AllowIncoming string `json:"allowIncoming" cborgen:"allowIncoming"`
}
ActorDefs_ProfileAssociatedChat is a "profileAssociatedChat" in the app.bsky.actor.defs schema.
type ActorDefs_ProfileView ¶
type ActorDefs_ProfileView struct { Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` Handle string `json:"handle" cborgen:"handle"` IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt,omitempty"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` Viewer *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
ActorDefs_ProfileView is a "profileView" in the app.bsky.actor.defs schema.
type ActorDefs_ProfileViewBasic ¶
type ActorDefs_ProfileViewBasic struct { Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` Handle string `json:"handle" cborgen:"handle"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` Viewer *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
ActorDefs_ProfileViewBasic is a "profileViewBasic" in the app.bsky.actor.defs schema.
type ActorDefs_ProfileViewDetailed ¶
type ActorDefs_ProfileViewDetailed struct { Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"` Banner *string `json:"banner,omitempty" cborgen:"banner,omitempty"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` Did string `json:"did" cborgen:"did"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` FollowersCount *int64 `json:"followersCount,omitempty" cborgen:"followersCount,omitempty"` FollowsCount *int64 `json:"followsCount,omitempty" cborgen:"followsCount,omitempty"` Handle string `json:"handle" cborgen:"handle"` IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt,omitempty"` JoinedViaStarterPack *GraphDefs_StarterPackViewBasic `json:"joinedViaStarterPack,omitempty" cborgen:"joinedViaStarterPack,omitempty"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` PinnedPost *comatprototypes.RepoStrongRef `json:"pinnedPost,omitempty" cborgen:"pinnedPost,omitempty"` PostsCount *int64 `json:"postsCount,omitempty" cborgen:"postsCount,omitempty"` Viewer *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
ActorDefs_ProfileViewDetailed is a "profileViewDetailed" in the app.bsky.actor.defs schema.
func ActorGetProfile ¶
func ActorGetProfile(ctx context.Context, c *xrpc.Client, actor string) (*ActorDefs_ProfileViewDetailed, error)
ActorGetProfile calls the XRPC method "app.bsky.actor.getProfile".
actor: Handle or DID of account to fetch profile of.
type ActorDefs_SavedFeed ¶
type ActorDefs_SavedFeed struct { Id string `json:"id" cborgen:"id"` Pinned bool `json:"pinned" cborgen:"pinned"` Type string `json:"type" cborgen:"type"` Value string `json:"value" cborgen:"value"` }
ActorDefs_SavedFeed is a "savedFeed" in the app.bsky.actor.defs schema.
type ActorDefs_SavedFeedsPref ¶
type ActorDefs_SavedFeedsPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#savedFeedsPref" cborgen:"$type,const=app.bsky.actor.defs#savedFeedsPref"` Pinned []string `json:"pinned" cborgen:"pinned"` Saved []string `json:"saved" cborgen:"saved"` TimelineIndex *int64 `json:"timelineIndex,omitempty" cborgen:"timelineIndex,omitempty"` }
ActorDefs_SavedFeedsPref is a "savedFeedsPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_SavedFeedsPref
type ActorDefs_SavedFeedsPrefV2 ¶
type ActorDefs_SavedFeedsPrefV2 struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#savedFeedsPrefV2" cborgen:"$type,const=app.bsky.actor.defs#savedFeedsPrefV2"` Items []*ActorDefs_SavedFeed `json:"items" cborgen:"items"` }
ActorDefs_SavedFeedsPrefV2 is a "savedFeedsPrefV2" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_SavedFeedsPrefV2
type ActorDefs_ThreadViewPref ¶
type ActorDefs_ThreadViewPref struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#threadViewPref" cborgen:"$type,const=app.bsky.actor.defs#threadViewPref"` // prioritizeFollowedUsers: Show followed users at the top of all replies. PrioritizeFollowedUsers *bool `json:"prioritizeFollowedUsers,omitempty" cborgen:"prioritizeFollowedUsers,omitempty"` // sort: Sorting mode for threads. Sort *string `json:"sort,omitempty" cborgen:"sort,omitempty"` }
ActorDefs_ThreadViewPref is a "threadViewPref" in the app.bsky.actor.defs schema.
RECORDTYPE: ActorDefs_ThreadViewPref
type ActorDefs_ViewerState ¶
type ActorDefs_ViewerState struct { BlockedBy *bool `json:"blockedBy,omitempty" cborgen:"blockedBy,omitempty"` Blocking *string `json:"blocking,omitempty" cborgen:"blocking,omitempty"` BlockingByList *GraphDefs_ListViewBasic `json:"blockingByList,omitempty" cborgen:"blockingByList,omitempty"` FollowedBy *string `json:"followedBy,omitempty" cborgen:"followedBy,omitempty"` Following *string `json:"following,omitempty" cborgen:"following,omitempty"` KnownFollowers *ActorDefs_KnownFollowers `json:"knownFollowers,omitempty" cborgen:"knownFollowers,omitempty"` Muted *bool `json:"muted,omitempty" cborgen:"muted,omitempty"` MutedByList *GraphDefs_ListViewBasic `json:"mutedByList,omitempty" cborgen:"mutedByList,omitempty"` }
ActorDefs_ViewerState is a "viewerState" in the app.bsky.actor.defs schema.
Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.
type ActorGetPreferences_Output ¶
type ActorGetPreferences_Output struct {
Preferences []ActorDefs_Preferences_Elem `json:"preferences" cborgen:"preferences"`
}
ActorGetPreferences_Output is the output of a app.bsky.actor.getPreferences call.
func ActorGetPreferences ¶
ActorGetPreferences calls the XRPC method "app.bsky.actor.getPreferences".
type ActorGetProfiles_Output ¶
type ActorGetProfiles_Output struct {
Profiles []*ActorDefs_ProfileViewDetailed `json:"profiles" cborgen:"profiles"`
}
ActorGetProfiles_Output is the output of a app.bsky.actor.getProfiles call.
func ActorGetProfiles ¶
func ActorGetProfiles(ctx context.Context, c *xrpc.Client, actors []string) (*ActorGetProfiles_Output, error)
ActorGetProfiles calls the XRPC method "app.bsky.actor.getProfiles".
type ActorGetSuggestions_Output ¶
type ActorGetSuggestions_Output struct { Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` // recId: Snowflake for this recommendation, use when submitting recommendation events. RecId *int64 `json:"recId,omitempty" cborgen:"recId,omitempty"` }
ActorGetSuggestions_Output is the output of a app.bsky.actor.getSuggestions call.
func ActorGetSuggestions ¶
func ActorGetSuggestions(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*ActorGetSuggestions_Output, error)
ActorGetSuggestions calls the XRPC method "app.bsky.actor.getSuggestions".
type ActorProfile ¶
type ActorProfile struct { LexiconTypeID string `json:"$type,const=app.bsky.actor.profile" cborgen:"$type,const=app.bsky.actor.profile"` // avatar: Small image to be displayed next to posts from account. AKA, 'profile picture' Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` // banner: Larger horizontal image to display behind profile view. Banner *util.LexBlob `json:"banner,omitempty" cborgen:"banner,omitempty"` CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"` // description: Free-form profile description text. Description *string `json:"description,omitempty" cborgen:"description,omitempty"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` JoinedViaStarterPack *comatprototypes.RepoStrongRef `json:"joinedViaStarterPack,omitempty" cborgen:"joinedViaStarterPack,omitempty"` // labels: Self-label values, specific to the Bluesky application, on the overall account. Labels *ActorProfile_Labels `json:"labels,omitempty" cborgen:"labels,omitempty"` PinnedPost *comatprototypes.RepoStrongRef `json:"pinnedPost,omitempty" cborgen:"pinnedPost,omitempty"` }
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 ActorProfile_Labels ¶
type ActorProfile_Labels struct {
LabelDefs_SelfLabels *comatprototypes.LabelDefs_SelfLabels
}
Self-label values, specific to the Bluesky application, on the overall account.
func (*ActorProfile_Labels) MarshalCBOR ¶
func (t *ActorProfile_Labels) MarshalCBOR(w io.Writer) error
func (*ActorProfile_Labels) MarshalJSON ¶
func (t *ActorProfile_Labels) MarshalJSON() ([]byte, error)
func (*ActorProfile_Labels) UnmarshalCBOR ¶
func (t *ActorProfile_Labels) UnmarshalCBOR(r io.Reader) error
func (*ActorProfile_Labels) UnmarshalJSON ¶
func (t *ActorProfile_Labels) UnmarshalJSON(b []byte) error
type ActorPutPreferences_Input ¶
type ActorPutPreferences_Input struct {
Preferences []ActorDefs_Preferences_Elem `json:"preferences" cborgen:"preferences"`
}
ActorPutPreferences_Input is the input argument to a app.bsky.actor.putPreferences call.
type ActorSearchActorsTypeahead_Output ¶
type ActorSearchActorsTypeahead_Output struct {
Actors []*ActorDefs_ProfileViewBasic `json:"actors" cborgen:"actors"`
}
ActorSearchActorsTypeahead_Output is the output of a app.bsky.actor.searchActorsTypeahead call.
func ActorSearchActorsTypeahead ¶
func ActorSearchActorsTypeahead(ctx context.Context, c *xrpc.Client, limit int64, q string, term string) (*ActorSearchActorsTypeahead_Output, error)
ActorSearchActorsTypeahead calls the XRPC method "app.bsky.actor.searchActorsTypeahead".
q: Search query prefix; not a full query string. term: DEPRECATED: use 'q' instead.
type ActorSearchActors_Output ¶
type ActorSearchActors_Output struct { Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` }
ActorSearchActors_Output is the output of a app.bsky.actor.searchActors call.
func ActorSearchActors ¶
func ActorSearchActors(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string, term string) (*ActorSearchActors_Output, error)
ActorSearchActors calls the XRPC method "app.bsky.actor.searchActors".
q: Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. term: DEPRECATED: use 'q' instead.
type EmbedDefs_AspectRatio ¶
type EmbedDefs_AspectRatio struct { Height int64 `json:"height" cborgen:"height"` Width int64 `json:"width" cborgen:"width"` }
EmbedDefs_AspectRatio is a "aspectRatio" in the app.bsky.embed.defs schema.
width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.
func (*EmbedDefs_AspectRatio) MarshalCBOR ¶
func (t *EmbedDefs_AspectRatio) MarshalCBOR(w io.Writer) error
func (*EmbedDefs_AspectRatio) UnmarshalCBOR ¶
func (t *EmbedDefs_AspectRatio) UnmarshalCBOR(r io.Reader) (err error)
type EmbedExternal ¶
type EmbedExternal struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.external" cborgen:"$type,const=app.bsky.embed.external"` External *EmbedExternal_External `json:"external" cborgen:"external"` }
A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).
RECORDTYPE: EmbedExternal
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 { Description string `json:"description" cborgen:"description"` Thumb *util.LexBlob `json:"thumb,omitempty" cborgen:"thumb,omitempty"` Title string `json:"title" cborgen:"title"` Uri string `json:"uri" cborgen:"uri"` }
EmbedExternal_External is a "external" in the app.bsky.embed.external schema.
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_View ¶
type EmbedExternal_View struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.external#view" cborgen:"$type,const=app.bsky.embed.external#view"` External *EmbedExternal_ViewExternal `json:"external" cborgen:"external"` }
EmbedExternal_View is a "view" in the app.bsky.embed.external schema.
RECORDTYPE: EmbedExternal_View
type EmbedExternal_ViewExternal ¶
type EmbedExternal_ViewExternal struct { Description string `json:"description" cborgen:"description"` Thumb *string `json:"thumb,omitempty" cborgen:"thumb,omitempty"` Title string `json:"title" cborgen:"title"` Uri string `json:"uri" cborgen:"uri"` }
EmbedExternal_ViewExternal is a "viewExternal" in the app.bsky.embed.external schema.
type EmbedImages ¶
type EmbedImages struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.images" cborgen:"$type,const=app.bsky.embed.images"` Images []*EmbedImages_Image `json:"images" cborgen:"images"` }
RECORDTYPE: EmbedImages
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 { // alt: Alt text description of the image, for accessibility. Alt string `json:"alt" cborgen:"alt"` AspectRatio *EmbedDefs_AspectRatio `json:"aspectRatio,omitempty" cborgen:"aspectRatio,omitempty"` Image *util.LexBlob `json:"image" cborgen:"image"` }
EmbedImages_Image is a "image" in the app.bsky.embed.images schema.
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_View ¶
type EmbedImages_View struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.images#view" cborgen:"$type,const=app.bsky.embed.images#view"` Images []*EmbedImages_ViewImage `json:"images" cborgen:"images"` }
EmbedImages_View is a "view" in the app.bsky.embed.images schema.
RECORDTYPE: EmbedImages_View
type EmbedImages_ViewImage ¶
type EmbedImages_ViewImage struct { // alt: Alt text description of the image, for accessibility. Alt string `json:"alt" cborgen:"alt"` AspectRatio *EmbedDefs_AspectRatio `json:"aspectRatio,omitempty" cborgen:"aspectRatio,omitempty"` // fullsize: Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. Fullsize string `json:"fullsize" cborgen:"fullsize"` // thumb: Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. Thumb string `json:"thumb" cborgen:"thumb"` }
EmbedImages_ViewImage is a "viewImage" in the app.bsky.embed.images schema.
type EmbedRecord ¶
type EmbedRecord struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.record" cborgen:"$type,const=app.bsky.embed.record"` Record *comatprototypes.RepoStrongRef `json:"record" cborgen:"record"` }
RECORDTYPE: EmbedRecord
func (*EmbedRecord) MarshalCBOR ¶
func (t *EmbedRecord) MarshalCBOR(w io.Writer) error
func (*EmbedRecord) UnmarshalCBOR ¶
func (t *EmbedRecord) UnmarshalCBOR(r io.Reader) (err error)
type EmbedRecordWithMedia ¶
type EmbedRecordWithMedia struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.recordWithMedia" cborgen:"$type,const=app.bsky.embed.recordWithMedia"` Media *EmbedRecordWithMedia_Media `json:"media" cborgen:"media"` Record *EmbedRecord `json:"record" cborgen:"record"` }
RECORDTYPE: EmbedRecordWithMedia
func (*EmbedRecordWithMedia) MarshalCBOR ¶
func (t *EmbedRecordWithMedia) MarshalCBOR(w io.Writer) error
func (*EmbedRecordWithMedia) UnmarshalCBOR ¶
func (t *EmbedRecordWithMedia) UnmarshalCBOR(r io.Reader) (err error)
type EmbedRecordWithMedia_Media ¶
type EmbedRecordWithMedia_Media struct { EmbedImages *EmbedImages EmbedVideo *EmbedVideo EmbedExternal *EmbedExternal }
func (*EmbedRecordWithMedia_Media) MarshalCBOR ¶
func (t *EmbedRecordWithMedia_Media) MarshalCBOR(w io.Writer) error
func (*EmbedRecordWithMedia_Media) MarshalJSON ¶
func (t *EmbedRecordWithMedia_Media) MarshalJSON() ([]byte, error)
func (*EmbedRecordWithMedia_Media) UnmarshalCBOR ¶
func (t *EmbedRecordWithMedia_Media) UnmarshalCBOR(r io.Reader) error
func (*EmbedRecordWithMedia_Media) UnmarshalJSON ¶
func (t *EmbedRecordWithMedia_Media) UnmarshalJSON(b []byte) error
type EmbedRecordWithMedia_View ¶
type EmbedRecordWithMedia_View struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.recordWithMedia#view" cborgen:"$type,const=app.bsky.embed.recordWithMedia#view"` Media *EmbedRecordWithMedia_View_Media `json:"media" cborgen:"media"` Record *EmbedRecord_View `json:"record" cborgen:"record"` }
EmbedRecordWithMedia_View is a "view" in the app.bsky.embed.recordWithMedia schema.
RECORDTYPE: EmbedRecordWithMedia_View
type EmbedRecordWithMedia_View_Media ¶
type EmbedRecordWithMedia_View_Media struct { EmbedImages_View *EmbedImages_View EmbedVideo_View *EmbedVideo_View EmbedExternal_View *EmbedExternal_View }
func (*EmbedRecordWithMedia_View_Media) MarshalJSON ¶
func (t *EmbedRecordWithMedia_View_Media) MarshalJSON() ([]byte, error)
func (*EmbedRecordWithMedia_View_Media) UnmarshalJSON ¶
func (t *EmbedRecordWithMedia_View_Media) UnmarshalJSON(b []byte) error
type EmbedRecord_View ¶
type EmbedRecord_View struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.record#view" cborgen:"$type,const=app.bsky.embed.record#view"` Record *EmbedRecord_View_Record `json:"record" cborgen:"record"` }
EmbedRecord_View is a "view" in the app.bsky.embed.record schema.
RECORDTYPE: EmbedRecord_View
type EmbedRecord_ViewBlocked ¶
type EmbedRecord_ViewBlocked struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.record#viewBlocked" cborgen:"$type,const=app.bsky.embed.record#viewBlocked"` Author *FeedDefs_BlockedAuthor `json:"author" cborgen:"author"` Blocked bool `json:"blocked" cborgen:"blocked"` Uri string `json:"uri" cborgen:"uri"` }
EmbedRecord_ViewBlocked is a "viewBlocked" in the app.bsky.embed.record schema.
RECORDTYPE: EmbedRecord_ViewBlocked
type EmbedRecord_ViewDetached ¶
type EmbedRecord_ViewDetached struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.record#viewDetached" cborgen:"$type,const=app.bsky.embed.record#viewDetached"` Detached bool `json:"detached" cborgen:"detached"` Uri string `json:"uri" cborgen:"uri"` }
EmbedRecord_ViewDetached is a "viewDetached" in the app.bsky.embed.record schema.
RECORDTYPE: EmbedRecord_ViewDetached
type EmbedRecord_ViewNotFound ¶
type EmbedRecord_ViewNotFound struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.record#viewNotFound" cborgen:"$type,const=app.bsky.embed.record#viewNotFound"` NotFound bool `json:"notFound" cborgen:"notFound"` Uri string `json:"uri" cborgen:"uri"` }
EmbedRecord_ViewNotFound is a "viewNotFound" in the app.bsky.embed.record schema.
RECORDTYPE: EmbedRecord_ViewNotFound
type EmbedRecord_ViewRecord ¶
type EmbedRecord_ViewRecord struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.record#viewRecord" cborgen:"$type,const=app.bsky.embed.record#viewRecord"` Author *ActorDefs_ProfileViewBasic `json:"author" cborgen:"author"` Cid string `json:"cid" cborgen:"cid"` Embeds []*EmbedRecord_ViewRecord_Embeds_Elem `json:"embeds,omitempty" cborgen:"embeds,omitempty"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"` QuoteCount *int64 `json:"quoteCount,omitempty" cborgen:"quoteCount,omitempty"` ReplyCount *int64 `json:"replyCount,omitempty" cborgen:"replyCount,omitempty"` RepostCount *int64 `json:"repostCount,omitempty" cborgen:"repostCount,omitempty"` Uri string `json:"uri" cborgen:"uri"` // value: The record data itself. Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` }
EmbedRecord_ViewRecord is a "viewRecord" in the app.bsky.embed.record schema.
RECORDTYPE: EmbedRecord_ViewRecord
type EmbedRecord_ViewRecord_Embeds_Elem ¶
type EmbedRecord_ViewRecord_Embeds_Elem struct { EmbedImages_View *EmbedImages_View EmbedVideo_View *EmbedVideo_View EmbedExternal_View *EmbedExternal_View EmbedRecord_View *EmbedRecord_View EmbedRecordWithMedia_View *EmbedRecordWithMedia_View }
func (*EmbedRecord_ViewRecord_Embeds_Elem) MarshalJSON ¶
func (t *EmbedRecord_ViewRecord_Embeds_Elem) MarshalJSON() ([]byte, error)
func (*EmbedRecord_ViewRecord_Embeds_Elem) UnmarshalJSON ¶
func (t *EmbedRecord_ViewRecord_Embeds_Elem) UnmarshalJSON(b []byte) error
type EmbedRecord_View_Record ¶
type EmbedRecord_View_Record struct { EmbedRecord_ViewRecord *EmbedRecord_ViewRecord EmbedRecord_ViewNotFound *EmbedRecord_ViewNotFound EmbedRecord_ViewBlocked *EmbedRecord_ViewBlocked EmbedRecord_ViewDetached *EmbedRecord_ViewDetached FeedDefs_GeneratorView *FeedDefs_GeneratorView GraphDefs_ListView *GraphDefs_ListView LabelerDefs_LabelerView *LabelerDefs_LabelerView GraphDefs_StarterPackViewBasic *GraphDefs_StarterPackViewBasic }
func (*EmbedRecord_View_Record) MarshalJSON ¶
func (t *EmbedRecord_View_Record) MarshalJSON() ([]byte, error)
func (*EmbedRecord_View_Record) UnmarshalJSON ¶
func (t *EmbedRecord_View_Record) UnmarshalJSON(b []byte) error
type EmbedVideo ¶
type EmbedVideo struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.video" cborgen:"$type,const=app.bsky.embed.video"` // alt: Alt text description of the video, for accessibility. Alt *string `json:"alt,omitempty" cborgen:"alt,omitempty"` AspectRatio *EmbedDefs_AspectRatio `json:"aspectRatio,omitempty" cborgen:"aspectRatio,omitempty"` Captions []*EmbedVideo_Caption `json:"captions,omitempty" cborgen:"captions,omitempty"` Video *util.LexBlob `json:"video" cborgen:"video"` }
RECORDTYPE: EmbedVideo
func (*EmbedVideo) MarshalCBOR ¶
func (t *EmbedVideo) MarshalCBOR(w io.Writer) error
func (*EmbedVideo) UnmarshalCBOR ¶
func (t *EmbedVideo) UnmarshalCBOR(r io.Reader) (err error)
type EmbedVideo_Caption ¶
type EmbedVideo_Caption struct { File *util.LexBlob `json:"file" cborgen:"file"` Lang string `json:"lang" cborgen:"lang"` }
EmbedVideo_Caption is a "caption" in the app.bsky.embed.video schema.
func (*EmbedVideo_Caption) MarshalCBOR ¶
func (t *EmbedVideo_Caption) MarshalCBOR(w io.Writer) error
func (*EmbedVideo_Caption) UnmarshalCBOR ¶
func (t *EmbedVideo_Caption) UnmarshalCBOR(r io.Reader) (err error)
type EmbedVideo_View ¶
type EmbedVideo_View struct { LexiconTypeID string `json:"$type,const=app.bsky.embed.video#view" cborgen:"$type,const=app.bsky.embed.video#view"` Alt *string `json:"alt,omitempty" cborgen:"alt,omitempty"` AspectRatio *EmbedDefs_AspectRatio `json:"aspectRatio,omitempty" cborgen:"aspectRatio,omitempty"` Cid string `json:"cid" cborgen:"cid"` Playlist string `json:"playlist" cborgen:"playlist"` Thumbnail *string `json:"thumbnail,omitempty" cborgen:"thumbnail,omitempty"` }
EmbedVideo_View is a "view" in the app.bsky.embed.video schema.
RECORDTYPE: EmbedVideo_View
type FeedDefs_BlockedAuthor ¶
type FeedDefs_BlockedAuthor struct { Did string `json:"did" cborgen:"did"` Viewer *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
FeedDefs_BlockedAuthor is a "blockedAuthor" in the app.bsky.feed.defs schema.
type FeedDefs_BlockedPost ¶
type FeedDefs_BlockedPost struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#blockedPost" cborgen:"$type,const=app.bsky.feed.defs#blockedPost"` Author *FeedDefs_BlockedAuthor `json:"author" cborgen:"author"` Blocked bool `json:"blocked" cborgen:"blocked"` Uri string `json:"uri" cborgen:"uri"` }
FeedDefs_BlockedPost is a "blockedPost" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_BlockedPost
type FeedDefs_FeedViewPost ¶
type FeedDefs_FeedViewPost struct { // feedContext: Context provided by feed generator that may be passed back alongside interactions. FeedContext *string `json:"feedContext,omitempty" cborgen:"feedContext,omitempty"` Post *FeedDefs_PostView `json:"post" cborgen:"post"` Reason *FeedDefs_FeedViewPost_Reason `json:"reason,omitempty" cborgen:"reason,omitempty"` Reply *FeedDefs_ReplyRef `json:"reply,omitempty" cborgen:"reply,omitempty"` }
FeedDefs_FeedViewPost is a "feedViewPost" in the app.bsky.feed.defs schema.
type FeedDefs_FeedViewPost_Reason ¶
type FeedDefs_FeedViewPost_Reason struct { FeedDefs_ReasonRepost *FeedDefs_ReasonRepost FeedDefs_ReasonPin *FeedDefs_ReasonPin }
func (*FeedDefs_FeedViewPost_Reason) MarshalJSON ¶
func (t *FeedDefs_FeedViewPost_Reason) MarshalJSON() ([]byte, error)
func (*FeedDefs_FeedViewPost_Reason) UnmarshalJSON ¶
func (t *FeedDefs_FeedViewPost_Reason) UnmarshalJSON(b []byte) error
type FeedDefs_GeneratorView ¶
type FeedDefs_GeneratorView struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#generatorView" cborgen:"$type,const=app.bsky.feed.defs#generatorView"` AcceptsInteractions *bool `json:"acceptsInteractions,omitempty" cborgen:"acceptsInteractions,omitempty"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"` Cid string `json:"cid" cborgen:"cid"` ContentMode *string `json:"contentMode,omitempty" cborgen:"contentMode,omitempty"` Creator *ActorDefs_ProfileView `json:"creator" cborgen:"creator"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"` Did string `json:"did" cborgen:"did"` DisplayName string `json:"displayName" cborgen:"displayName"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"` Uri string `json:"uri" cborgen:"uri"` Viewer *FeedDefs_GeneratorViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
FeedDefs_GeneratorView is a "generatorView" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_GeneratorView
type FeedDefs_GeneratorViewerState ¶
type FeedDefs_GeneratorViewerState struct {
Like *string `json:"like,omitempty" cborgen:"like,omitempty"`
}
FeedDefs_GeneratorViewerState is a "generatorViewerState" in the app.bsky.feed.defs schema.
type FeedDefs_Interaction ¶
type FeedDefs_Interaction struct { Event *string `json:"event,omitempty" cborgen:"event,omitempty"` // feedContext: Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. FeedContext *string `json:"feedContext,omitempty" cborgen:"feedContext,omitempty"` Item *string `json:"item,omitempty" cborgen:"item,omitempty"` }
FeedDefs_Interaction is a "interaction" in the app.bsky.feed.defs schema.
type FeedDefs_NotFoundPost ¶
type FeedDefs_NotFoundPost struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#notFoundPost" cborgen:"$type,const=app.bsky.feed.defs#notFoundPost"` NotFound bool `json:"notFound" cborgen:"notFound"` Uri string `json:"uri" cborgen:"uri"` }
FeedDefs_NotFoundPost is a "notFoundPost" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_NotFoundPost
func (*FeedDefs_NotFoundPost) MarshalCBOR ¶
func (t *FeedDefs_NotFoundPost) MarshalCBOR(w io.Writer) error
func (*FeedDefs_NotFoundPost) UnmarshalCBOR ¶
func (t *FeedDefs_NotFoundPost) UnmarshalCBOR(r io.Reader) (err error)
type FeedDefs_PostView ¶
type FeedDefs_PostView struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#postView" cborgen:"$type,const=app.bsky.feed.defs#postView"` Author *ActorDefs_ProfileViewBasic `json:"author" cborgen:"author"` Cid string `json:"cid" cborgen:"cid"` Embed *FeedDefs_PostView_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"` QuoteCount *int64 `json:"quoteCount,omitempty" cborgen:"quoteCount,omitempty"` Record *util.LexiconTypeDecoder `json:"record" cborgen:"record"` ReplyCount *int64 `json:"replyCount,omitempty" cborgen:"replyCount,omitempty"` RepostCount *int64 `json:"repostCount,omitempty" cborgen:"repostCount,omitempty"` Threadgate *FeedDefs_ThreadgateView `json:"threadgate,omitempty" cborgen:"threadgate,omitempty"` Uri string `json:"uri" cborgen:"uri"` Viewer *FeedDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
FeedDefs_PostView is a "postView" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_PostView
type FeedDefs_PostView_Embed ¶
type FeedDefs_PostView_Embed struct { EmbedImages_View *EmbedImages_View EmbedVideo_View *EmbedVideo_View EmbedExternal_View *EmbedExternal_View EmbedRecord_View *EmbedRecord_View EmbedRecordWithMedia_View *EmbedRecordWithMedia_View }
func (*FeedDefs_PostView_Embed) MarshalJSON ¶
func (t *FeedDefs_PostView_Embed) MarshalJSON() ([]byte, error)
func (*FeedDefs_PostView_Embed) UnmarshalJSON ¶
func (t *FeedDefs_PostView_Embed) UnmarshalJSON(b []byte) error
type FeedDefs_ReasonPin ¶
type FeedDefs_ReasonPin struct {
LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#reasonPin" cborgen:"$type,const=app.bsky.feed.defs#reasonPin"`
}
FeedDefs_ReasonPin is a "reasonPin" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_ReasonPin
type FeedDefs_ReasonRepost ¶
type FeedDefs_ReasonRepost struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#reasonRepost" cborgen:"$type,const=app.bsky.feed.defs#reasonRepost"` By *ActorDefs_ProfileViewBasic `json:"by" cborgen:"by"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
FeedDefs_ReasonRepost is a "reasonRepost" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_ReasonRepost
type FeedDefs_ReplyRef ¶
type FeedDefs_ReplyRef struct { // grandparentAuthor: When parent is a reply to another post, this is the author of that post. GrandparentAuthor *ActorDefs_ProfileViewBasic `json:"grandparentAuthor,omitempty" cborgen:"grandparentAuthor,omitempty"` Parent *FeedDefs_ReplyRef_Parent `json:"parent" cborgen:"parent"` Root *FeedDefs_ReplyRef_Root `json:"root" cborgen:"root"` }
FeedDefs_ReplyRef is a "replyRef" in the app.bsky.feed.defs schema.
type FeedDefs_ReplyRef_Parent ¶
type FeedDefs_ReplyRef_Parent struct { FeedDefs_PostView *FeedDefs_PostView FeedDefs_NotFoundPost *FeedDefs_NotFoundPost FeedDefs_BlockedPost *FeedDefs_BlockedPost }
func (*FeedDefs_ReplyRef_Parent) MarshalJSON ¶
func (t *FeedDefs_ReplyRef_Parent) MarshalJSON() ([]byte, error)
func (*FeedDefs_ReplyRef_Parent) UnmarshalJSON ¶
func (t *FeedDefs_ReplyRef_Parent) UnmarshalJSON(b []byte) error
type FeedDefs_ReplyRef_Root ¶
type FeedDefs_ReplyRef_Root struct { FeedDefs_PostView *FeedDefs_PostView FeedDefs_NotFoundPost *FeedDefs_NotFoundPost FeedDefs_BlockedPost *FeedDefs_BlockedPost }
func (*FeedDefs_ReplyRef_Root) MarshalJSON ¶
func (t *FeedDefs_ReplyRef_Root) MarshalJSON() ([]byte, error)
func (*FeedDefs_ReplyRef_Root) UnmarshalJSON ¶
func (t *FeedDefs_ReplyRef_Root) UnmarshalJSON(b []byte) error
type FeedDefs_SkeletonFeedPost ¶
type FeedDefs_SkeletonFeedPost struct { // feedContext: Context that will be passed through to client and may be passed to feed generator back alongside interactions. FeedContext *string `json:"feedContext,omitempty" cborgen:"feedContext,omitempty"` Post string `json:"post" cborgen:"post"` Reason *FeedDefs_SkeletonFeedPost_Reason `json:"reason,omitempty" cborgen:"reason,omitempty"` }
FeedDefs_SkeletonFeedPost is a "skeletonFeedPost" in the app.bsky.feed.defs schema.
type FeedDefs_SkeletonFeedPost_Reason ¶
type FeedDefs_SkeletonFeedPost_Reason struct { FeedDefs_SkeletonReasonRepost *FeedDefs_SkeletonReasonRepost FeedDefs_SkeletonReasonPin *FeedDefs_SkeletonReasonPin }
func (*FeedDefs_SkeletonFeedPost_Reason) MarshalJSON ¶
func (t *FeedDefs_SkeletonFeedPost_Reason) MarshalJSON() ([]byte, error)
func (*FeedDefs_SkeletonFeedPost_Reason) UnmarshalJSON ¶
func (t *FeedDefs_SkeletonFeedPost_Reason) UnmarshalJSON(b []byte) error
type FeedDefs_SkeletonReasonPin ¶
type FeedDefs_SkeletonReasonPin struct {
LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#skeletonReasonPin" cborgen:"$type,const=app.bsky.feed.defs#skeletonReasonPin"`
}
FeedDefs_SkeletonReasonPin is a "skeletonReasonPin" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_SkeletonReasonPin
type FeedDefs_SkeletonReasonRepost ¶
type FeedDefs_SkeletonReasonRepost struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#skeletonReasonRepost" cborgen:"$type,const=app.bsky.feed.defs#skeletonReasonRepost"` Repost string `json:"repost" cborgen:"repost"` }
FeedDefs_SkeletonReasonRepost is a "skeletonReasonRepost" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_SkeletonReasonRepost
type FeedDefs_ThreadContext ¶
type FeedDefs_ThreadContext struct {
RootAuthorLike *string `json:"rootAuthorLike,omitempty" cborgen:"rootAuthorLike,omitempty"`
}
FeedDefs_ThreadContext is a "threadContext" in the app.bsky.feed.defs schema.
Metadata about this post within the context of the thread it is in.
type FeedDefs_ThreadViewPost ¶
type FeedDefs_ThreadViewPost struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#threadViewPost" cborgen:"$type,const=app.bsky.feed.defs#threadViewPost"` Parent *FeedDefs_ThreadViewPost_Parent `json:"parent,omitempty" cborgen:"parent,omitempty"` Post *FeedDefs_PostView `json:"post" cborgen:"post"` Replies []*FeedDefs_ThreadViewPost_Replies_Elem `json:"replies,omitempty" cborgen:"replies,omitempty"` ThreadContext *FeedDefs_ThreadContext `json:"threadContext,omitempty" cborgen:"threadContext,omitempty"` }
FeedDefs_ThreadViewPost is a "threadViewPost" in the app.bsky.feed.defs schema.
RECORDTYPE: FeedDefs_ThreadViewPost
type FeedDefs_ThreadViewPost_Parent ¶
type FeedDefs_ThreadViewPost_Parent struct { FeedDefs_ThreadViewPost *FeedDefs_ThreadViewPost FeedDefs_NotFoundPost *FeedDefs_NotFoundPost FeedDefs_BlockedPost *FeedDefs_BlockedPost }
func (*FeedDefs_ThreadViewPost_Parent) MarshalJSON ¶
func (t *FeedDefs_ThreadViewPost_Parent) MarshalJSON() ([]byte, error)
func (*FeedDefs_ThreadViewPost_Parent) UnmarshalJSON ¶
func (t *FeedDefs_ThreadViewPost_Parent) UnmarshalJSON(b []byte) error
type FeedDefs_ThreadViewPost_Replies_Elem ¶
type FeedDefs_ThreadViewPost_Replies_Elem struct { FeedDefs_ThreadViewPost *FeedDefs_ThreadViewPost FeedDefs_NotFoundPost *FeedDefs_NotFoundPost FeedDefs_BlockedPost *FeedDefs_BlockedPost }
func (*FeedDefs_ThreadViewPost_Replies_Elem) MarshalJSON ¶
func (t *FeedDefs_ThreadViewPost_Replies_Elem) MarshalJSON() ([]byte, error)
func (*FeedDefs_ThreadViewPost_Replies_Elem) UnmarshalJSON ¶
func (t *FeedDefs_ThreadViewPost_Replies_Elem) UnmarshalJSON(b []byte) error
type FeedDefs_ThreadgateView ¶
type FeedDefs_ThreadgateView struct { Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` Lists []*GraphDefs_ListViewBasic `json:"lists,omitempty" cborgen:"lists,omitempty"` Record *util.LexiconTypeDecoder `json:"record,omitempty" cborgen:"record,omitempty"` Uri *string `json:"uri,omitempty" cborgen:"uri,omitempty"` }
FeedDefs_ThreadgateView is a "threadgateView" in the app.bsky.feed.defs schema.
type FeedDefs_ViewerState ¶
type FeedDefs_ViewerState struct { EmbeddingDisabled *bool `json:"embeddingDisabled,omitempty" cborgen:"embeddingDisabled,omitempty"` Like *string `json:"like,omitempty" cborgen:"like,omitempty"` Pinned *bool `json:"pinned,omitempty" cborgen:"pinned,omitempty"` ReplyDisabled *bool `json:"replyDisabled,omitempty" cborgen:"replyDisabled,omitempty"` Repost *string `json:"repost,omitempty" cborgen:"repost,omitempty"` ThreadMuted *bool `json:"threadMuted,omitempty" cborgen:"threadMuted,omitempty"` }
FeedDefs_ViewerState is a "viewerState" in the app.bsky.feed.defs schema.
Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.
type FeedDescribeFeedGenerator_Feed ¶
type FeedDescribeFeedGenerator_Feed struct {
Uri string `json:"uri" cborgen:"uri"`
}
FeedDescribeFeedGenerator_Feed is a "feed" in the app.bsky.feed.describeFeedGenerator schema.
type FeedDescribeFeedGenerator_Links ¶
type FeedDescribeFeedGenerator_Links struct { PrivacyPolicy *string `json:"privacyPolicy,omitempty" cborgen:"privacyPolicy,omitempty"` TermsOfService *string `json:"termsOfService,omitempty" cborgen:"termsOfService,omitempty"` }
FeedDescribeFeedGenerator_Links is a "links" in the app.bsky.feed.describeFeedGenerator schema.
type FeedDescribeFeedGenerator_Output ¶
type FeedDescribeFeedGenerator_Output struct { Did string `json:"did" cborgen:"did"` Feeds []*FeedDescribeFeedGenerator_Feed `json:"feeds" cborgen:"feeds"` Links *FeedDescribeFeedGenerator_Links `json:"links,omitempty" cborgen:"links,omitempty"` }
FeedDescribeFeedGenerator_Output is the output of a app.bsky.feed.describeFeedGenerator call.
func FeedDescribeFeedGenerator ¶
func FeedDescribeFeedGenerator(ctx context.Context, c *xrpc.Client) (*FeedDescribeFeedGenerator_Output, error)
FeedDescribeFeedGenerator calls the XRPC method "app.bsky.feed.describeFeedGenerator".
type FeedGenerator ¶
type FeedGenerator struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.generator" cborgen:"$type,const=app.bsky.feed.generator"` // acceptsInteractions: Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions AcceptsInteractions *bool `json:"acceptsInteractions,omitempty" cborgen:"acceptsInteractions,omitempty"` Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` ContentMode *string `json:"contentMode,omitempty" cborgen:"contentMode,omitempty"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"` Did string `json:"did" cborgen:"did"` DisplayName string `json:"displayName" cborgen:"displayName"` // labels: Self-label values Labels *FeedGenerator_Labels `json:"labels,omitempty" cborgen:"labels,omitempty"` }
RECORDTYPE: FeedGenerator
func (*FeedGenerator) MarshalCBOR ¶
func (t *FeedGenerator) MarshalCBOR(w io.Writer) error
func (*FeedGenerator) UnmarshalCBOR ¶
func (t *FeedGenerator) UnmarshalCBOR(r io.Reader) (err error)
type FeedGenerator_Labels ¶
type FeedGenerator_Labels struct {
LabelDefs_SelfLabels *comatprototypes.LabelDefs_SelfLabels
}
Self-label values
func (*FeedGenerator_Labels) MarshalCBOR ¶
func (t *FeedGenerator_Labels) MarshalCBOR(w io.Writer) error
func (*FeedGenerator_Labels) MarshalJSON ¶
func (t *FeedGenerator_Labels) MarshalJSON() ([]byte, error)
func (*FeedGenerator_Labels) UnmarshalCBOR ¶
func (t *FeedGenerator_Labels) UnmarshalCBOR(r io.Reader) error
func (*FeedGenerator_Labels) UnmarshalJSON ¶
func (t *FeedGenerator_Labels) UnmarshalJSON(b []byte) error
type FeedGetActorFeeds_Output ¶
type FeedGetActorFeeds_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feeds []*FeedDefs_GeneratorView `json:"feeds" cborgen:"feeds"` }
FeedGetActorFeeds_Output is the output of a app.bsky.feed.getActorFeeds call.
type FeedGetActorLikes_Output ¶
type FeedGetActorLikes_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` }
FeedGetActorLikes_Output is the output of a app.bsky.feed.getActorLikes call.
type FeedGetAuthorFeed_Output ¶
type FeedGetAuthorFeed_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` }
FeedGetAuthorFeed_Output is the output of a app.bsky.feed.getAuthorFeed call.
func FeedGetAuthorFeed ¶
func FeedGetAuthorFeed(ctx context.Context, c *xrpc.Client, actor string, cursor string, filter string, includePins bool, limit int64) (*FeedGetAuthorFeed_Output, error)
FeedGetAuthorFeed calls the XRPC method "app.bsky.feed.getAuthorFeed".
filter: Combinations of post/repost types to include in response.
type FeedGetFeedGenerator_Output ¶
type FeedGetFeedGenerator_Output struct { // isOnline: Indicates whether the feed generator service has been online recently, or else seems to be inactive. IsOnline bool `json:"isOnline" cborgen:"isOnline"` // isValid: Indicates whether the feed generator service is compatible with the record declaration. IsValid bool `json:"isValid" cborgen:"isValid"` View *FeedDefs_GeneratorView `json:"view" cborgen:"view"` }
FeedGetFeedGenerator_Output is the output of a app.bsky.feed.getFeedGenerator call.
func FeedGetFeedGenerator ¶
func FeedGetFeedGenerator(ctx context.Context, c *xrpc.Client, feed string) (*FeedGetFeedGenerator_Output, error)
FeedGetFeedGenerator calls the XRPC method "app.bsky.feed.getFeedGenerator".
feed: AT-URI of the feed generator record.
type FeedGetFeedGenerators_Output ¶
type FeedGetFeedGenerators_Output struct {
Feeds []*FeedDefs_GeneratorView `json:"feeds" cborgen:"feeds"`
}
FeedGetFeedGenerators_Output is the output of a app.bsky.feed.getFeedGenerators call.
func FeedGetFeedGenerators ¶
func FeedGetFeedGenerators(ctx context.Context, c *xrpc.Client, feeds []string) (*FeedGetFeedGenerators_Output, error)
FeedGetFeedGenerators calls the XRPC method "app.bsky.feed.getFeedGenerators".
type FeedGetFeedSkeleton_Output ¶
type FeedGetFeedSkeleton_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_SkeletonFeedPost `json:"feed" cborgen:"feed"` }
FeedGetFeedSkeleton_Output is the output of a app.bsky.feed.getFeedSkeleton call.
func FeedGetFeedSkeleton ¶
func FeedGetFeedSkeleton(ctx context.Context, c *xrpc.Client, cursor string, feed string, limit int64) (*FeedGetFeedSkeleton_Output, error)
FeedGetFeedSkeleton calls the XRPC method "app.bsky.feed.getFeedSkeleton".
feed: Reference to feed generator record describing the specific feed being requested.
type FeedGetFeed_Output ¶
type FeedGetFeed_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` }
FeedGetFeed_Output is the output of a app.bsky.feed.getFeed call.
type FeedGetLikes_Like ¶
type FeedGetLikes_Like struct { Actor *ActorDefs_ProfileView `json:"actor" cborgen:"actor"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` }
FeedGetLikes_Like is a "like" in the app.bsky.feed.getLikes schema.
type FeedGetLikes_Output ¶
type FeedGetLikes_Output struct { Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Likes []*FeedGetLikes_Like `json:"likes" cborgen:"likes"` Uri string `json:"uri" cborgen:"uri"` }
FeedGetLikes_Output is the output of a app.bsky.feed.getLikes call.
func FeedGetLikes ¶
func FeedGetLikes(ctx context.Context, c *xrpc.Client, cid string, cursor string, limit int64, uri string) (*FeedGetLikes_Output, error)
FeedGetLikes calls the XRPC method "app.bsky.feed.getLikes".
cid: CID of the subject record (aka, specific version of record), to filter likes. uri: AT-URI of the subject (eg, a post record).
type FeedGetListFeed_Output ¶
type FeedGetListFeed_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` }
FeedGetListFeed_Output is the output of a app.bsky.feed.getListFeed call.
type FeedGetPostThread_Output ¶
type FeedGetPostThread_Output struct { Thread *FeedGetPostThread_Output_Thread `json:"thread" cborgen:"thread"` Threadgate *FeedDefs_ThreadgateView `json:"threadgate,omitempty" cborgen:"threadgate,omitempty"` }
FeedGetPostThread_Output is the output of a app.bsky.feed.getPostThread call.
func FeedGetPostThread ¶
func FeedGetPostThread(ctx context.Context, c *xrpc.Client, depth int64, parentHeight int64, uri string) (*FeedGetPostThread_Output, error)
FeedGetPostThread calls the XRPC method "app.bsky.feed.getPostThread".
depth: How many levels of reply depth should be included in response. parentHeight: How many levels of parent (and grandparent, etc) post to include. uri: Reference (AT-URI) to post record.
type FeedGetPostThread_Output_Thread ¶
type FeedGetPostThread_Output_Thread struct { FeedDefs_ThreadViewPost *FeedDefs_ThreadViewPost FeedDefs_NotFoundPost *FeedDefs_NotFoundPost FeedDefs_BlockedPost *FeedDefs_BlockedPost }
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 FeedGetPosts_Output ¶
type FeedGetPosts_Output struct {
Posts []*FeedDefs_PostView `json:"posts" cborgen:"posts"`
}
FeedGetPosts_Output is the output of a app.bsky.feed.getPosts call.
func FeedGetPosts ¶
FeedGetPosts calls the XRPC method "app.bsky.feed.getPosts".
uris: List of post AT-URIs to return hydrated views for.
type FeedGetQuotes_Output ¶
type FeedGetQuotes_Output struct { Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Posts []*FeedDefs_PostView `json:"posts" cborgen:"posts"` Uri string `json:"uri" cborgen:"uri"` }
FeedGetQuotes_Output is the output of a app.bsky.feed.getQuotes call.
func FeedGetQuotes ¶
func FeedGetQuotes(ctx context.Context, c *xrpc.Client, cid string, cursor string, limit int64, uri string) (*FeedGetQuotes_Output, error)
FeedGetQuotes calls the XRPC method "app.bsky.feed.getQuotes".
cid: If supplied, filters to quotes of specific version (by CID) of the post record. uri: Reference (AT-URI) of post record
type FeedGetRepostedBy_Output ¶
type FeedGetRepostedBy_Output struct { Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` RepostedBy []*ActorDefs_ProfileView `json:"repostedBy" cborgen:"repostedBy"` Uri string `json:"uri" cborgen:"uri"` }
FeedGetRepostedBy_Output is the output of a app.bsky.feed.getRepostedBy call.
func FeedGetRepostedBy ¶
func FeedGetRepostedBy(ctx context.Context, c *xrpc.Client, cid string, cursor string, limit int64, uri string) (*FeedGetRepostedBy_Output, error)
FeedGetRepostedBy calls the XRPC method "app.bsky.feed.getRepostedBy".
cid: If supplied, filters to reposts of specific version (by CID) of the post record. uri: Reference (AT-URI) of post record
type FeedGetSuggestedFeeds_Output ¶
type FeedGetSuggestedFeeds_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feeds []*FeedDefs_GeneratorView `json:"feeds" cborgen:"feeds"` }
FeedGetSuggestedFeeds_Output is the output of a app.bsky.feed.getSuggestedFeeds call.
func FeedGetSuggestedFeeds ¶
func FeedGetSuggestedFeeds(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*FeedGetSuggestedFeeds_Output, error)
FeedGetSuggestedFeeds calls the XRPC method "app.bsky.feed.getSuggestedFeeds".
type FeedGetTimeline_Output ¶
type FeedGetTimeline_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` }
FeedGetTimeline_Output is the output of a app.bsky.feed.getTimeline call.
func FeedGetTimeline ¶
func FeedGetTimeline(ctx context.Context, c *xrpc.Client, algorithm string, cursor string, limit int64) (*FeedGetTimeline_Output, error)
FeedGetTimeline calls the XRPC method "app.bsky.feed.getTimeline".
algorithm: Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism.
type FeedLike ¶
type FeedLike struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.like" cborgen:"$type,const=app.bsky.feed.like"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Subject *comatprototypes.RepoStrongRef `json:"subject" cborgen:"subject"` }
RECORDTYPE: FeedLike
type FeedPost ¶
type FeedPost struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.post" cborgen:"$type,const=app.bsky.feed.post"` // createdAt: Client-declared timestamp when this post was originally created. CreatedAt string `json:"createdAt" cborgen:"createdAt"` Embed *FeedPost_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"` // entities: DEPRECATED: replaced by app.bsky.richtext.facet. Entities []*FeedPost_Entity `json:"entities,omitempty" cborgen:"entities,omitempty"` // facets: Annotations of text (mentions, URLs, hashtags, etc) Facets []*RichtextFacet `json:"facets,omitempty" cborgen:"facets,omitempty"` // labels: Self-label values for this post. Effectively content warnings. Labels *FeedPost_Labels `json:"labels,omitempty" cborgen:"labels,omitempty"` // langs: Indicates human language of post primary text content. Langs []string `json:"langs,omitempty" cborgen:"langs,omitempty"` Reply *FeedPost_ReplyRef `json:"reply,omitempty" cborgen:"reply,omitempty"` // tags: Additional hashtags, in addition to any included in post text and facets. Tags []string `json:"tags,omitempty" cborgen:"tags,omitempty"` // text: The primary post content. May be an empty string, if there are embeds. Text string `json:"text" cborgen:"text"` }
RECORDTYPE: FeedPost
type FeedPost_Embed ¶
type FeedPost_Embed struct { EmbedImages *EmbedImages EmbedVideo *EmbedVideo EmbedExternal *EmbedExternal EmbedRecord *EmbedRecord EmbedRecordWithMedia *EmbedRecordWithMedia }
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
deprecated
type FeedPost_Entity struct { Index *FeedPost_TextSlice `json:"index" cborgen:"index"` // type: Expected values are 'mention' and 'link'. Type string `json:"type" cborgen:"type"` Value string `json:"value" cborgen:"value"` }
FeedPost_Entity is a "entity" in the app.bsky.feed.post schema.
Deprecated: use facets instead.
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_Labels ¶
type FeedPost_Labels struct {
LabelDefs_SelfLabels *comatprototypes.LabelDefs_SelfLabels
}
Self-label values for this post. Effectively content warnings.
func (*FeedPost_Labels) MarshalCBOR ¶
func (t *FeedPost_Labels) MarshalCBOR(w io.Writer) error
func (*FeedPost_Labels) MarshalJSON ¶
func (t *FeedPost_Labels) MarshalJSON() ([]byte, error)
func (*FeedPost_Labels) UnmarshalCBOR ¶
func (t *FeedPost_Labels) UnmarshalCBOR(r io.Reader) error
func (*FeedPost_Labels) UnmarshalJSON ¶
func (t *FeedPost_Labels) UnmarshalJSON(b []byte) error
type FeedPost_ReplyRef ¶
type FeedPost_ReplyRef struct { Parent *comatprototypes.RepoStrongRef `json:"parent" cborgen:"parent"` Root *comatprototypes.RepoStrongRef `json:"root" cborgen:"root"` }
FeedPost_ReplyRef is a "replyRef" in the app.bsky.feed.post schema.
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 { End int64 `json:"end" cborgen:"end"` Start int64 `json:"start" cborgen:"start"` }
FeedPost_TextSlice is a "textSlice" in the app.bsky.feed.post schema.
Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings.
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 FeedPostgate ¶
type FeedPostgate struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.postgate" cborgen:"$type,const=app.bsky.feed.postgate"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` // detachedEmbeddingUris: List of AT-URIs embedding this post that the author has detached from. DetachedEmbeddingUris []string `json:"detachedEmbeddingUris,omitempty" cborgen:"detachedEmbeddingUris,omitempty"` // embeddingRules: List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed. EmbeddingRules []*FeedPostgate_EmbeddingRules_Elem `json:"embeddingRules,omitempty" cborgen:"embeddingRules,omitempty"` // post: Reference (AT-URI) to the post record. Post string `json:"post" cborgen:"post"` }
RECORDTYPE: FeedPostgate
func (*FeedPostgate) MarshalCBOR ¶
func (t *FeedPostgate) MarshalCBOR(w io.Writer) error
func (*FeedPostgate) UnmarshalCBOR ¶
func (t *FeedPostgate) UnmarshalCBOR(r io.Reader) (err error)
type FeedPostgate_DisableRule ¶
type FeedPostgate_DisableRule struct {
LexiconTypeID string `json:"$type,const=app.bsky.feed.postgate#disableRule" cborgen:"$type,const=app.bsky.feed.postgate#disableRule"`
}
FeedPostgate_DisableRule is a "disableRule" in the app.bsky.feed.postgate schema.
Disables embedding of this post.
RECORDTYPE: FeedPostgate_DisableRule
func (*FeedPostgate_DisableRule) MarshalCBOR ¶
func (t *FeedPostgate_DisableRule) MarshalCBOR(w io.Writer) error
func (*FeedPostgate_DisableRule) UnmarshalCBOR ¶
func (t *FeedPostgate_DisableRule) UnmarshalCBOR(r io.Reader) (err error)
type FeedPostgate_EmbeddingRules_Elem ¶
type FeedPostgate_EmbeddingRules_Elem struct {
FeedPostgate_DisableRule *FeedPostgate_DisableRule
}
func (*FeedPostgate_EmbeddingRules_Elem) MarshalCBOR ¶
func (t *FeedPostgate_EmbeddingRules_Elem) MarshalCBOR(w io.Writer) error
func (*FeedPostgate_EmbeddingRules_Elem) MarshalJSON ¶
func (t *FeedPostgate_EmbeddingRules_Elem) MarshalJSON() ([]byte, error)
func (*FeedPostgate_EmbeddingRules_Elem) UnmarshalCBOR ¶
func (t *FeedPostgate_EmbeddingRules_Elem) UnmarshalCBOR(r io.Reader) error
func (*FeedPostgate_EmbeddingRules_Elem) UnmarshalJSON ¶
func (t *FeedPostgate_EmbeddingRules_Elem) UnmarshalJSON(b []byte) error
type FeedRepost ¶
type FeedRepost struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.repost" 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 FeedSearchPosts_Output ¶
type FeedSearchPosts_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` // hitsTotal: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. HitsTotal *int64 `json:"hitsTotal,omitempty" cborgen:"hitsTotal,omitempty"` Posts []*FeedDefs_PostView `json:"posts" cborgen:"posts"` }
FeedSearchPosts_Output is the output of a app.bsky.feed.searchPosts call.
func FeedSearchPosts ¶
func FeedSearchPosts(ctx context.Context, c *xrpc.Client, author string, cursor string, domain string, lang string, limit int64, mentions string, q string, since string, sort string, tag []string, until string, url string) (*FeedSearchPosts_Output, error)
FeedSearchPosts calls the XRPC method "app.bsky.feed.searchPosts".
author: Filter to posts by the given account. Handles are resolved to DID before query-time. cursor: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. domain: Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization. lang: Filter to posts in the given language. Expected to be based on post language field, though server may override language detection. mentions: Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions. q: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. since: Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD). sort: Specifies the ranking order of results. tag: Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching. until: Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD). url: Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.
type FeedSendInteractions_Input ¶
type FeedSendInteractions_Input struct {
Interactions []*FeedDefs_Interaction `json:"interactions" cborgen:"interactions"`
}
FeedSendInteractions_Input is the input argument to a app.bsky.feed.sendInteractions call.
type FeedSendInteractions_Output ¶
type FeedSendInteractions_Output struct { }
FeedSendInteractions_Output is the output of a app.bsky.feed.sendInteractions call.
func FeedSendInteractions ¶
func FeedSendInteractions(ctx context.Context, c *xrpc.Client, input *FeedSendInteractions_Input) (*FeedSendInteractions_Output, error)
FeedSendInteractions calls the XRPC method "app.bsky.feed.sendInteractions".
type FeedThreadgate ¶
type FeedThreadgate struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.threadgate" cborgen:"$type,const=app.bsky.feed.threadgate"` // allow: List of rules defining who can reply to this post. If value is an empty array, no one can reply. If value is undefined, anyone can reply. Allow []*FeedThreadgate_Allow_Elem `json:"allow,omitempty" cborgen:"allow,omitempty"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` // hiddenReplies: List of hidden reply URIs. HiddenReplies []string `json:"hiddenReplies,omitempty" cborgen:"hiddenReplies,omitempty"` // post: Reference (AT-URI) to the post record. Post string `json:"post" cborgen:"post"` }
RECORDTYPE: FeedThreadgate
func (*FeedThreadgate) MarshalCBOR ¶
func (t *FeedThreadgate) MarshalCBOR(w io.Writer) error
func (*FeedThreadgate) UnmarshalCBOR ¶
func (t *FeedThreadgate) UnmarshalCBOR(r io.Reader) (err error)
type FeedThreadgate_Allow_Elem ¶
type FeedThreadgate_Allow_Elem struct { FeedThreadgate_MentionRule *FeedThreadgate_MentionRule FeedThreadgate_FollowerRule *FeedThreadgate_FollowerRule FeedThreadgate_FollowingRule *FeedThreadgate_FollowingRule FeedThreadgate_ListRule *FeedThreadgate_ListRule }
func (*FeedThreadgate_Allow_Elem) MarshalCBOR ¶
func (t *FeedThreadgate_Allow_Elem) MarshalCBOR(w io.Writer) error
func (*FeedThreadgate_Allow_Elem) MarshalJSON ¶
func (t *FeedThreadgate_Allow_Elem) MarshalJSON() ([]byte, error)
func (*FeedThreadgate_Allow_Elem) UnmarshalCBOR ¶
func (t *FeedThreadgate_Allow_Elem) UnmarshalCBOR(r io.Reader) error
func (*FeedThreadgate_Allow_Elem) UnmarshalJSON ¶
func (t *FeedThreadgate_Allow_Elem) UnmarshalJSON(b []byte) error
type FeedThreadgate_FollowerRule ¶
type FeedThreadgate_FollowerRule struct {
LexiconTypeID string `json:"$type,const=app.bsky.feed.threadgate#followerRule" cborgen:"$type,const=app.bsky.feed.threadgate#followerRule"`
}
FeedThreadgate_FollowerRule is a "followerRule" in the app.bsky.feed.threadgate schema.
Allow replies from actors who follow you.
RECORDTYPE: FeedThreadgate_FollowerRule
func (*FeedThreadgate_FollowerRule) MarshalCBOR ¶
func (t *FeedThreadgate_FollowerRule) MarshalCBOR(w io.Writer) error
func (*FeedThreadgate_FollowerRule) UnmarshalCBOR ¶
func (t *FeedThreadgate_FollowerRule) UnmarshalCBOR(r io.Reader) (err error)
type FeedThreadgate_FollowingRule ¶
type FeedThreadgate_FollowingRule struct {
LexiconTypeID string `json:"$type,const=app.bsky.feed.threadgate#followingRule" cborgen:"$type,const=app.bsky.feed.threadgate#followingRule"`
}
FeedThreadgate_FollowingRule is a "followingRule" in the app.bsky.feed.threadgate schema.
Allow replies from actors you follow.
RECORDTYPE: FeedThreadgate_FollowingRule
func (*FeedThreadgate_FollowingRule) MarshalCBOR ¶
func (t *FeedThreadgate_FollowingRule) MarshalCBOR(w io.Writer) error
func (*FeedThreadgate_FollowingRule) UnmarshalCBOR ¶
func (t *FeedThreadgate_FollowingRule) UnmarshalCBOR(r io.Reader) (err error)
type FeedThreadgate_ListRule ¶
type FeedThreadgate_ListRule struct { LexiconTypeID string `json:"$type,const=app.bsky.feed.threadgate#listRule" cborgen:"$type,const=app.bsky.feed.threadgate#listRule"` List string `json:"list" cborgen:"list"` }
FeedThreadgate_ListRule is a "listRule" in the app.bsky.feed.threadgate schema.
Allow replies from actors on a list.
RECORDTYPE: FeedThreadgate_ListRule
func (*FeedThreadgate_ListRule) MarshalCBOR ¶
func (t *FeedThreadgate_ListRule) MarshalCBOR(w io.Writer) error
func (*FeedThreadgate_ListRule) UnmarshalCBOR ¶
func (t *FeedThreadgate_ListRule) UnmarshalCBOR(r io.Reader) (err error)
type FeedThreadgate_MentionRule ¶
type FeedThreadgate_MentionRule struct {
LexiconTypeID string `json:"$type,const=app.bsky.feed.threadgate#mentionRule" cborgen:"$type,const=app.bsky.feed.threadgate#mentionRule"`
}
FeedThreadgate_MentionRule is a "mentionRule" in the app.bsky.feed.threadgate schema.
Allow replies from actors mentioned in your post.
RECORDTYPE: FeedThreadgate_MentionRule
func (*FeedThreadgate_MentionRule) MarshalCBOR ¶
func (t *FeedThreadgate_MentionRule) MarshalCBOR(w io.Writer) error
func (*FeedThreadgate_MentionRule) UnmarshalCBOR ¶
func (t *FeedThreadgate_MentionRule) UnmarshalCBOR(r io.Reader) (err error)
type GraphBlock ¶
type GraphBlock struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.block" cborgen:"$type,const=app.bsky.graph.block"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` // subject: DID of the account to be blocked. Subject string `json:"subject" cborgen:"subject"` }
RECORDTYPE: GraphBlock
func (*GraphBlock) MarshalCBOR ¶
func (t *GraphBlock) MarshalCBOR(w io.Writer) error
func (*GraphBlock) UnmarshalCBOR ¶
func (t *GraphBlock) UnmarshalCBOR(r io.Reader) (err error)
type GraphDefs_ListItemView ¶
type GraphDefs_ListItemView struct { Subject *ActorDefs_ProfileView `json:"subject" cborgen:"subject"` Uri string `json:"uri" cborgen:"uri"` }
GraphDefs_ListItemView is a "listItemView" in the app.bsky.graph.defs schema.
type GraphDefs_ListView ¶
type GraphDefs_ListView struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.defs#listView" cborgen:"$type,const=app.bsky.graph.defs#listView"` Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"` Cid string `json:"cid" cborgen:"cid"` Creator *ActorDefs_ProfileView `json:"creator" cborgen:"creator"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` ListItemCount *int64 `json:"listItemCount,omitempty" cborgen:"listItemCount,omitempty"` Name string `json:"name" cborgen:"name"` Purpose *string `json:"purpose" cborgen:"purpose"` Uri string `json:"uri" cborgen:"uri"` Viewer *GraphDefs_ListViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
GraphDefs_ListView is a "listView" in the app.bsky.graph.defs schema.
RECORDTYPE: GraphDefs_ListView
type GraphDefs_ListViewBasic ¶
type GraphDefs_ListViewBasic struct { Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"` Cid string `json:"cid" cborgen:"cid"` IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt,omitempty"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` ListItemCount *int64 `json:"listItemCount,omitempty" cborgen:"listItemCount,omitempty"` Name string `json:"name" cborgen:"name"` Purpose *string `json:"purpose" cborgen:"purpose"` Uri string `json:"uri" cborgen:"uri"` Viewer *GraphDefs_ListViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
GraphDefs_ListViewBasic is a "listViewBasic" in the app.bsky.graph.defs schema.
type GraphDefs_ListViewerState ¶
type GraphDefs_ListViewerState struct { Blocked *string `json:"blocked,omitempty" cborgen:"blocked,omitempty"` Muted *bool `json:"muted,omitempty" cborgen:"muted,omitempty"` }
GraphDefs_ListViewerState is a "listViewerState" in the app.bsky.graph.defs schema.
type GraphDefs_NotFoundActor ¶
type GraphDefs_NotFoundActor struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.defs#notFoundActor" cborgen:"$type,const=app.bsky.graph.defs#notFoundActor"` Actor string `json:"actor" cborgen:"actor"` NotFound bool `json:"notFound" cborgen:"notFound"` }
GraphDefs_NotFoundActor is a "notFoundActor" in the app.bsky.graph.defs schema.
indicates that a handle or DID could not be resolved
RECORDTYPE: GraphDefs_NotFoundActor
type GraphDefs_Relationship ¶
type GraphDefs_Relationship struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.defs#relationship" cborgen:"$type,const=app.bsky.graph.defs#relationship"` Did string `json:"did" cborgen:"did"` // followedBy: if the actor is followed by this DID, contains the AT-URI of the follow record FollowedBy *string `json:"followedBy,omitempty" cborgen:"followedBy,omitempty"` // following: if the actor follows this DID, this is the AT-URI of the follow record Following *string `json:"following,omitempty" cborgen:"following,omitempty"` }
GraphDefs_Relationship is a "relationship" in the app.bsky.graph.defs schema.
lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)
RECORDTYPE: GraphDefs_Relationship
type GraphDefs_StarterPackView ¶
type GraphDefs_StarterPackView struct { Cid string `json:"cid" cborgen:"cid"` Creator *ActorDefs_ProfileViewBasic `json:"creator" cborgen:"creator"` Feeds []*FeedDefs_GeneratorView `json:"feeds,omitempty" cborgen:"feeds,omitempty"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` JoinedAllTimeCount *int64 `json:"joinedAllTimeCount,omitempty" cborgen:"joinedAllTimeCount,omitempty"` JoinedWeekCount *int64 `json:"joinedWeekCount,omitempty" cborgen:"joinedWeekCount,omitempty"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` List *GraphDefs_ListViewBasic `json:"list,omitempty" cborgen:"list,omitempty"` ListItemsSample []*GraphDefs_ListItemView `json:"listItemsSample,omitempty" cborgen:"listItemsSample,omitempty"` Record *util.LexiconTypeDecoder `json:"record" cborgen:"record"` Uri string `json:"uri" cborgen:"uri"` }
GraphDefs_StarterPackView is a "starterPackView" in the app.bsky.graph.defs schema.
type GraphDefs_StarterPackViewBasic ¶
type GraphDefs_StarterPackViewBasic struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.defs#starterPackViewBasic" cborgen:"$type,const=app.bsky.graph.defs#starterPackViewBasic"` Cid string `json:"cid" cborgen:"cid"` Creator *ActorDefs_ProfileViewBasic `json:"creator" cborgen:"creator"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` JoinedAllTimeCount *int64 `json:"joinedAllTimeCount,omitempty" cborgen:"joinedAllTimeCount,omitempty"` JoinedWeekCount *int64 `json:"joinedWeekCount,omitempty" cborgen:"joinedWeekCount,omitempty"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` ListItemCount *int64 `json:"listItemCount,omitempty" cborgen:"listItemCount,omitempty"` Record *util.LexiconTypeDecoder `json:"record" cborgen:"record"` Uri string `json:"uri" cborgen:"uri"` }
GraphDefs_StarterPackViewBasic is a "starterPackViewBasic" in the app.bsky.graph.defs schema.
RECORDTYPE: GraphDefs_StarterPackViewBasic
type GraphFollow ¶
type GraphFollow struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.follow" cborgen:"$type,const=app.bsky.graph.follow"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Subject string `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 GraphGetActorStarterPacks_Output ¶
type GraphGetActorStarterPacks_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` StarterPacks []*GraphDefs_StarterPackViewBasic `json:"starterPacks" cborgen:"starterPacks"` }
GraphGetActorStarterPacks_Output is the output of a app.bsky.graph.getActorStarterPacks call.
type GraphGetBlocks_Output ¶
type GraphGetBlocks_Output struct { Blocks []*ActorDefs_ProfileView `json:"blocks" cborgen:"blocks"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` }
GraphGetBlocks_Output is the output of a app.bsky.graph.getBlocks call.
func GraphGetBlocks ¶
func GraphGetBlocks(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*GraphGetBlocks_Output, error)
GraphGetBlocks calls the XRPC method "app.bsky.graph.getBlocks".
type GraphGetFollowers_Output ¶
type GraphGetFollowers_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Followers []*ActorDefs_ProfileView `json:"followers" cborgen:"followers"` Subject *ActorDefs_ProfileView `json:"subject" cborgen:"subject"` }
GraphGetFollowers_Output is the output of a app.bsky.graph.getFollowers call.
type GraphGetFollows_Output ¶
type GraphGetFollows_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Follows []*ActorDefs_ProfileView `json:"follows" cborgen:"follows"` Subject *ActorDefs_ProfileView `json:"subject" cborgen:"subject"` }
GraphGetFollows_Output is the output of a app.bsky.graph.getFollows call.
type GraphGetKnownFollowers_Output ¶
type GraphGetKnownFollowers_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Followers []*ActorDefs_ProfileView `json:"followers" cborgen:"followers"` Subject *ActorDefs_ProfileView `json:"subject" cborgen:"subject"` }
GraphGetKnownFollowers_Output is the output of a app.bsky.graph.getKnownFollowers call.
type GraphGetListBlocks_Output ¶
type GraphGetListBlocks_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Lists []*GraphDefs_ListView `json:"lists" cborgen:"lists"` }
GraphGetListBlocks_Output is the output of a app.bsky.graph.getListBlocks call.
func GraphGetListBlocks ¶
func GraphGetListBlocks(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*GraphGetListBlocks_Output, error)
GraphGetListBlocks calls the XRPC method "app.bsky.graph.getListBlocks".
type GraphGetListMutes_Output ¶
type GraphGetListMutes_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Lists []*GraphDefs_ListView `json:"lists" cborgen:"lists"` }
GraphGetListMutes_Output is the output of a app.bsky.graph.getListMutes call.
func GraphGetListMutes ¶
func GraphGetListMutes(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*GraphGetListMutes_Output, error)
GraphGetListMutes calls the XRPC method "app.bsky.graph.getListMutes".
type GraphGetList_Output ¶
type GraphGetList_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Items []*GraphDefs_ListItemView `json:"items" cborgen:"items"` List *GraphDefs_ListView `json:"list" cborgen:"list"` }
GraphGetList_Output is the output of a app.bsky.graph.getList call.
type GraphGetLists_Output ¶
type GraphGetLists_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Lists []*GraphDefs_ListView `json:"lists" cborgen:"lists"` }
GraphGetLists_Output is the output of a app.bsky.graph.getLists call.
type GraphGetMutes_Output ¶
type GraphGetMutes_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Mutes []*ActorDefs_ProfileView `json:"mutes" cborgen:"mutes"` }
GraphGetMutes_Output is the output of a app.bsky.graph.getMutes call.
func GraphGetMutes ¶
func GraphGetMutes(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*GraphGetMutes_Output, error)
GraphGetMutes calls the XRPC method "app.bsky.graph.getMutes".
type GraphGetRelationships_Output ¶
type GraphGetRelationships_Output struct { Actor *string `json:"actor,omitempty" cborgen:"actor,omitempty"` Relationships []*GraphGetRelationships_Output_Relationships_Elem `json:"relationships" cborgen:"relationships"` }
GraphGetRelationships_Output is the output of a app.bsky.graph.getRelationships call.
func GraphGetRelationships ¶
func GraphGetRelationships(ctx context.Context, c *xrpc.Client, actor string, others []string) (*GraphGetRelationships_Output, error)
GraphGetRelationships calls the XRPC method "app.bsky.graph.getRelationships".
actor: Primary account requesting relationships for. others: List of 'other' accounts to be related back to the primary.
type GraphGetRelationships_Output_Relationships_Elem ¶
type GraphGetRelationships_Output_Relationships_Elem struct { GraphDefs_Relationship *GraphDefs_Relationship GraphDefs_NotFoundActor *GraphDefs_NotFoundActor }
func (*GraphGetRelationships_Output_Relationships_Elem) MarshalJSON ¶
func (t *GraphGetRelationships_Output_Relationships_Elem) MarshalJSON() ([]byte, error)
func (*GraphGetRelationships_Output_Relationships_Elem) UnmarshalJSON ¶
func (t *GraphGetRelationships_Output_Relationships_Elem) UnmarshalJSON(b []byte) error
type GraphGetStarterPack_Output ¶
type GraphGetStarterPack_Output struct {
StarterPack *GraphDefs_StarterPackView `json:"starterPack" cborgen:"starterPack"`
}
GraphGetStarterPack_Output is the output of a app.bsky.graph.getStarterPack call.
func GraphGetStarterPack ¶
func GraphGetStarterPack(ctx context.Context, c *xrpc.Client, starterPack string) (*GraphGetStarterPack_Output, error)
GraphGetStarterPack calls the XRPC method "app.bsky.graph.getStarterPack".
starterPack: Reference (AT-URI) of the starter pack record.
type GraphGetStarterPacks_Output ¶
type GraphGetStarterPacks_Output struct {
StarterPacks []*GraphDefs_StarterPackViewBasic `json:"starterPacks" cborgen:"starterPacks"`
}
GraphGetStarterPacks_Output is the output of a app.bsky.graph.getStarterPacks call.
func GraphGetStarterPacks ¶
func GraphGetStarterPacks(ctx context.Context, c *xrpc.Client, uris []string) (*GraphGetStarterPacks_Output, error)
GraphGetStarterPacks calls the XRPC method "app.bsky.graph.getStarterPacks".
type GraphGetSuggestedFollowsByActor_Output ¶
type GraphGetSuggestedFollowsByActor_Output struct { // isFallback: If true, response has fallen-back to generic results, and is not scoped using relativeToDid IsFallback *bool `json:"isFallback,omitempty" cborgen:"isFallback,omitempty"` // recId: Snowflake for this recommendation, use when submitting recommendation events. RecId *int64 `json:"recId,omitempty" cborgen:"recId,omitempty"` Suggestions []*ActorDefs_ProfileView `json:"suggestions" cborgen:"suggestions"` }
GraphGetSuggestedFollowsByActor_Output is the output of a app.bsky.graph.getSuggestedFollowsByActor call.
func GraphGetSuggestedFollowsByActor ¶
func GraphGetSuggestedFollowsByActor(ctx context.Context, c *xrpc.Client, actor string) (*GraphGetSuggestedFollowsByActor_Output, error)
GraphGetSuggestedFollowsByActor calls the XRPC method "app.bsky.graph.getSuggestedFollowsByActor".
type GraphList ¶
type GraphList struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.list" cborgen:"$type,const=app.bsky.graph.list"` Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"` Labels *GraphList_Labels `json:"labels,omitempty" cborgen:"labels,omitempty"` // name: Display name for list; can not be empty. Name string `json:"name" cborgen:"name"` // purpose: Defines the purpose of the list (aka, moderation-oriented or curration-oriented) Purpose *string `json:"purpose" cborgen:"purpose"` }
RECORDTYPE: GraphList
type GraphList_Labels ¶
type GraphList_Labels struct {
LabelDefs_SelfLabels *comatprototypes.LabelDefs_SelfLabels
}
func (*GraphList_Labels) MarshalCBOR ¶
func (t *GraphList_Labels) MarshalCBOR(w io.Writer) error
func (*GraphList_Labels) MarshalJSON ¶
func (t *GraphList_Labels) MarshalJSON() ([]byte, error)
func (*GraphList_Labels) UnmarshalCBOR ¶
func (t *GraphList_Labels) UnmarshalCBOR(r io.Reader) error
func (*GraphList_Labels) UnmarshalJSON ¶
func (t *GraphList_Labels) UnmarshalJSON(b []byte) error
type GraphListblock ¶
type GraphListblock struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.listblock" cborgen:"$type,const=app.bsky.graph.listblock"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` // subject: Reference (AT-URI) to the mod list record. Subject string `json:"subject" cborgen:"subject"` }
RECORDTYPE: GraphListblock
func (*GraphListblock) MarshalCBOR ¶
func (t *GraphListblock) MarshalCBOR(w io.Writer) error
func (*GraphListblock) UnmarshalCBOR ¶
func (t *GraphListblock) UnmarshalCBOR(r io.Reader) (err error)
type GraphListitem ¶
type GraphListitem struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.listitem" cborgen:"$type,const=app.bsky.graph.listitem"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` // list: Reference (AT-URI) to the list record (app.bsky.graph.list). List string `json:"list" cborgen:"list"` // subject: The account which is included on the list. Subject string `json:"subject" cborgen:"subject"` }
RECORDTYPE: GraphListitem
func (*GraphListitem) MarshalCBOR ¶
func (t *GraphListitem) MarshalCBOR(w io.Writer) error
func (*GraphListitem) UnmarshalCBOR ¶
func (t *GraphListitem) UnmarshalCBOR(r io.Reader) (err error)
type GraphMuteActorList_Input ¶
type GraphMuteActorList_Input struct {
List string `json:"list" cborgen:"list"`
}
GraphMuteActorList_Input is the input argument to a app.bsky.graph.muteActorList call.
type GraphMuteActor_Input ¶
type GraphMuteActor_Input struct {
Actor string `json:"actor" cborgen:"actor"`
}
GraphMuteActor_Input is the input argument to a app.bsky.graph.muteActor call.
type GraphMuteThread_Input ¶
type GraphMuteThread_Input struct {
Root string `json:"root" cborgen:"root"`
}
GraphMuteThread_Input is the input argument to a app.bsky.graph.muteThread call.
type GraphSearchStarterPacks_Output ¶
type GraphSearchStarterPacks_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` StarterPacks []*GraphDefs_StarterPackViewBasic `json:"starterPacks" cborgen:"starterPacks"` }
GraphSearchStarterPacks_Output is the output of a app.bsky.graph.searchStarterPacks call.
func GraphSearchStarterPacks ¶
func GraphSearchStarterPacks(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string) (*GraphSearchStarterPacks_Output, error)
GraphSearchStarterPacks calls the XRPC method "app.bsky.graph.searchStarterPacks".
q: Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
type GraphStarterpack ¶
type GraphStarterpack struct { LexiconTypeID string `json:"$type,const=app.bsky.graph.starterpack" cborgen:"$type,const=app.bsky.graph.starterpack"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"` Feeds []*GraphStarterpack_FeedItem `json:"feeds,omitempty" cborgen:"feeds,omitempty"` // list: Reference (AT-URI) to the list record. List string `json:"list" cborgen:"list"` // name: Display name for starter pack; can not be empty. Name string `json:"name" cborgen:"name"` }
RECORDTYPE: GraphStarterpack
func (*GraphStarterpack) MarshalCBOR ¶
func (t *GraphStarterpack) MarshalCBOR(w io.Writer) error
func (*GraphStarterpack) UnmarshalCBOR ¶
func (t *GraphStarterpack) UnmarshalCBOR(r io.Reader) (err error)
type GraphStarterpack_FeedItem ¶
type GraphStarterpack_FeedItem struct {
Uri string `json:"uri" cborgen:"uri"`
}
GraphStarterpack_FeedItem is a "feedItem" in the app.bsky.graph.starterpack schema.
func (*GraphStarterpack_FeedItem) MarshalCBOR ¶
func (t *GraphStarterpack_FeedItem) MarshalCBOR(w io.Writer) error
func (*GraphStarterpack_FeedItem) UnmarshalCBOR ¶
func (t *GraphStarterpack_FeedItem) UnmarshalCBOR(r io.Reader) (err error)
type GraphUnmuteActorList_Input ¶
type GraphUnmuteActorList_Input struct {
List string `json:"list" cborgen:"list"`
}
GraphUnmuteActorList_Input is the input argument to a app.bsky.graph.unmuteActorList call.
type GraphUnmuteActor_Input ¶
type GraphUnmuteActor_Input struct {
Actor string `json:"actor" cborgen:"actor"`
}
GraphUnmuteActor_Input is the input argument to a app.bsky.graph.unmuteActor call.
type GraphUnmuteThread_Input ¶
type GraphUnmuteThread_Input struct {
Root string `json:"root" cborgen:"root"`
}
GraphUnmuteThread_Input is the input argument to a app.bsky.graph.unmuteThread call.
type LabelerDefs_LabelerPolicies ¶
type LabelerDefs_LabelerPolicies struct { // labelValueDefinitions: Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler. LabelValueDefinitions []*comatprototypes.LabelDefs_LabelValueDefinition `json:"labelValueDefinitions,omitempty" cborgen:"labelValueDefinitions,omitempty"` // labelValues: The label values which this labeler publishes. May include global or custom labels. LabelValues []*string `json:"labelValues" cborgen:"labelValues"` }
LabelerDefs_LabelerPolicies is a "labelerPolicies" in the app.bsky.labeler.defs schema.
func (*LabelerDefs_LabelerPolicies) MarshalCBOR ¶
func (t *LabelerDefs_LabelerPolicies) MarshalCBOR(w io.Writer) error
func (*LabelerDefs_LabelerPolicies) UnmarshalCBOR ¶
func (t *LabelerDefs_LabelerPolicies) UnmarshalCBOR(r io.Reader) (err error)
type LabelerDefs_LabelerView ¶
type LabelerDefs_LabelerView struct { LexiconTypeID string `json:"$type,const=app.bsky.labeler.defs#labelerView" cborgen:"$type,const=app.bsky.labeler.defs#labelerView"` Cid string `json:"cid" cborgen:"cid"` Creator *ActorDefs_ProfileView `json:"creator" cborgen:"creator"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"` Uri string `json:"uri" cborgen:"uri"` Viewer *LabelerDefs_LabelerViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
LabelerDefs_LabelerView is a "labelerView" in the app.bsky.labeler.defs schema.
RECORDTYPE: LabelerDefs_LabelerView
type LabelerDefs_LabelerViewDetailed ¶
type LabelerDefs_LabelerViewDetailed struct { LexiconTypeID string `json:"$type,const=app.bsky.labeler.defs#labelerViewDetailed" cborgen:"$type,const=app.bsky.labeler.defs#labelerViewDetailed"` Cid string `json:"cid" cborgen:"cid"` Creator *ActorDefs_ProfileView `json:"creator" cborgen:"creator"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"` Policies *LabelerDefs_LabelerPolicies `json:"policies" cborgen:"policies"` Uri string `json:"uri" cborgen:"uri"` Viewer *LabelerDefs_LabelerViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"` }
LabelerDefs_LabelerViewDetailed is a "labelerViewDetailed" in the app.bsky.labeler.defs schema.
RECORDTYPE: LabelerDefs_LabelerViewDetailed
type LabelerDefs_LabelerViewerState ¶
type LabelerDefs_LabelerViewerState struct {
Like *string `json:"like,omitempty" cborgen:"like,omitempty"`
}
LabelerDefs_LabelerViewerState is a "labelerViewerState" in the app.bsky.labeler.defs schema.
type LabelerGetServices_Output ¶
type LabelerGetServices_Output struct {
Views []*LabelerGetServices_Output_Views_Elem `json:"views" cborgen:"views"`
}
LabelerGetServices_Output is the output of a app.bsky.labeler.getServices call.
func LabelerGetServices ¶
func LabelerGetServices(ctx context.Context, c *xrpc.Client, detailed bool, dids []string) (*LabelerGetServices_Output, error)
LabelerGetServices calls the XRPC method "app.bsky.labeler.getServices".
type LabelerGetServices_Output_Views_Elem ¶
type LabelerGetServices_Output_Views_Elem struct { LabelerDefs_LabelerView *LabelerDefs_LabelerView LabelerDefs_LabelerViewDetailed *LabelerDefs_LabelerViewDetailed }
func (*LabelerGetServices_Output_Views_Elem) MarshalJSON ¶
func (t *LabelerGetServices_Output_Views_Elem) MarshalJSON() ([]byte, error)
func (*LabelerGetServices_Output_Views_Elem) UnmarshalJSON ¶
func (t *LabelerGetServices_Output_Views_Elem) UnmarshalJSON(b []byte) error
type LabelerService ¶
type LabelerService struct { LexiconTypeID string `json:"$type,const=app.bsky.labeler.service" cborgen:"$type,const=app.bsky.labeler.service"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Labels *LabelerService_Labels `json:"labels,omitempty" cborgen:"labels,omitempty"` Policies *LabelerDefs_LabelerPolicies `json:"policies" cborgen:"policies"` }
RECORDTYPE: LabelerService
func (*LabelerService) MarshalCBOR ¶
func (t *LabelerService) MarshalCBOR(w io.Writer) error
func (*LabelerService) UnmarshalCBOR ¶
func (t *LabelerService) UnmarshalCBOR(r io.Reader) (err error)
type LabelerService_Labels ¶
type LabelerService_Labels struct {
LabelDefs_SelfLabels *comatprototypes.LabelDefs_SelfLabels
}
func (*LabelerService_Labels) MarshalCBOR ¶
func (t *LabelerService_Labels) MarshalCBOR(w io.Writer) error
func (*LabelerService_Labels) MarshalJSON ¶
func (t *LabelerService_Labels) MarshalJSON() ([]byte, error)
func (*LabelerService_Labels) UnmarshalCBOR ¶
func (t *LabelerService_Labels) UnmarshalCBOR(r io.Reader) error
func (*LabelerService_Labels) UnmarshalJSON ¶
func (t *LabelerService_Labels) UnmarshalJSON(b []byte) error
type NotificationGetUnreadCount_Output ¶
type NotificationGetUnreadCount_Output struct {
Count int64 `json:"count" cborgen:"count"`
}
NotificationGetUnreadCount_Output is the output of a app.bsky.notification.getUnreadCount call.
func NotificationGetUnreadCount ¶
func NotificationGetUnreadCount(ctx context.Context, c *xrpc.Client, priority bool, seenAt string) (*NotificationGetUnreadCount_Output, error)
NotificationGetUnreadCount calls the XRPC method "app.bsky.notification.getUnreadCount".
type NotificationListNotifications_Notification ¶
type NotificationListNotifications_Notification struct { Author *ActorDefs_ProfileView `json:"author" cborgen:"author"` Cid string `json:"cid" cborgen:"cid"` IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` IsRead bool `json:"isRead" cborgen:"isRead"` Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"` // reason: Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'. Reason string `json:"reason" cborgen:"reason"` ReasonSubject *string `json:"reasonSubject,omitempty" cborgen:"reasonSubject,omitempty"` Record *util.LexiconTypeDecoder `json:"record" cborgen:"record"` Uri string `json:"uri" cborgen:"uri"` }
NotificationListNotifications_Notification is a "notification" in the app.bsky.notification.listNotifications schema.
type NotificationListNotifications_Output ¶
type NotificationListNotifications_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Notifications []*NotificationListNotifications_Notification `json:"notifications" cborgen:"notifications"` Priority *bool `json:"priority,omitempty" cborgen:"priority,omitempty"` SeenAt *string `json:"seenAt,omitempty" cborgen:"seenAt,omitempty"` }
NotificationListNotifications_Output is the output of a app.bsky.notification.listNotifications call.
func NotificationListNotifications ¶
func NotificationListNotifications(ctx context.Context, c *xrpc.Client, cursor string, limit int64, priority bool, reasons []string, seenAt string) (*NotificationListNotifications_Output, error)
NotificationListNotifications calls the XRPC method "app.bsky.notification.listNotifications".
reasons: Notification reasons to include in response.
type NotificationPutPreferences_Input ¶
type NotificationPutPreferences_Input struct {
Priority bool `json:"priority" cborgen:"priority"`
}
NotificationPutPreferences_Input is the input argument to a app.bsky.notification.putPreferences call.
type NotificationRegisterPush_Input ¶
type NotificationRegisterPush_Input struct { AppId string `json:"appId" cborgen:"appId"` Platform string `json:"platform" cborgen:"platform"` ServiceDid string `json:"serviceDid" cborgen:"serviceDid"` Token string `json:"token" cborgen:"token"` }
NotificationRegisterPush_Input is the input argument to a app.bsky.notification.registerPush call.
type NotificationUpdateSeen_Input ¶
type NotificationUpdateSeen_Input struct {
SeenAt string `json:"seenAt" cborgen:"seenAt"`
}
NotificationUpdateSeen_Input is the input argument to a app.bsky.notification.updateSeen call.
type RichtextFacet ¶
type RichtextFacet struct { Features []*RichtextFacet_Features_Elem `json:"features" cborgen:"features"` Index *RichtextFacet_ByteSlice `json:"index" cborgen:"index"` }
RichtextFacet is a "main" in the app.bsky.richtext.facet schema.
Annotation of a sub-string within rich text.
func (*RichtextFacet) MarshalCBOR ¶
func (t *RichtextFacet) MarshalCBOR(w io.Writer) error
func (*RichtextFacet) UnmarshalCBOR ¶
func (t *RichtextFacet) UnmarshalCBOR(r io.Reader) (err error)
type RichtextFacet_ByteSlice ¶
type RichtextFacet_ByteSlice struct { ByteEnd int64 `json:"byteEnd" cborgen:"byteEnd"` ByteStart int64 `json:"byteStart" cborgen:"byteStart"` }
RichtextFacet_ByteSlice is a "byteSlice" in the app.bsky.richtext.facet schema.
Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.
func (*RichtextFacet_ByteSlice) MarshalCBOR ¶
func (t *RichtextFacet_ByteSlice) MarshalCBOR(w io.Writer) error
func (*RichtextFacet_ByteSlice) UnmarshalCBOR ¶
func (t *RichtextFacet_ByteSlice) UnmarshalCBOR(r io.Reader) (err error)
type RichtextFacet_Features_Elem ¶
type RichtextFacet_Features_Elem struct { RichtextFacet_Mention *RichtextFacet_Mention RichtextFacet_Link *RichtextFacet_Link RichtextFacet_Tag *RichtextFacet_Tag }
func (*RichtextFacet_Features_Elem) MarshalCBOR ¶
func (t *RichtextFacet_Features_Elem) MarshalCBOR(w io.Writer) error
func (*RichtextFacet_Features_Elem) MarshalJSON ¶
func (t *RichtextFacet_Features_Elem) MarshalJSON() ([]byte, error)
func (*RichtextFacet_Features_Elem) UnmarshalCBOR ¶
func (t *RichtextFacet_Features_Elem) UnmarshalCBOR(r io.Reader) error
func (*RichtextFacet_Features_Elem) UnmarshalJSON ¶
func (t *RichtextFacet_Features_Elem) UnmarshalJSON(b []byte) error
type RichtextFacet_Link ¶
type RichtextFacet_Link struct { LexiconTypeID string `json:"$type,const=app.bsky.richtext.facet#link" cborgen:"$type,const=app.bsky.richtext.facet#link"` Uri string `json:"uri" cborgen:"uri"` }
RichtextFacet_Link is a "link" in the app.bsky.richtext.facet schema.
Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.
RECORDTYPE: RichtextFacet_Link
func (*RichtextFacet_Link) MarshalCBOR ¶
func (t *RichtextFacet_Link) MarshalCBOR(w io.Writer) error
func (*RichtextFacet_Link) UnmarshalCBOR ¶
func (t *RichtextFacet_Link) UnmarshalCBOR(r io.Reader) (err error)
type RichtextFacet_Mention ¶
type RichtextFacet_Mention struct { LexiconTypeID string `json:"$type,const=app.bsky.richtext.facet#mention" cborgen:"$type,const=app.bsky.richtext.facet#mention"` Did string `json:"did" cborgen:"did"` }
RichtextFacet_Mention is a "mention" in the app.bsky.richtext.facet schema.
Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.
RECORDTYPE: RichtextFacet_Mention
func (*RichtextFacet_Mention) MarshalCBOR ¶
func (t *RichtextFacet_Mention) MarshalCBOR(w io.Writer) error
func (*RichtextFacet_Mention) UnmarshalCBOR ¶
func (t *RichtextFacet_Mention) UnmarshalCBOR(r io.Reader) (err error)
type RichtextFacet_Tag ¶
type RichtextFacet_Tag struct { LexiconTypeID string `json:"$type,const=app.bsky.richtext.facet#tag" cborgen:"$type,const=app.bsky.richtext.facet#tag"` Tag string `json:"tag" cborgen:"tag"` }
RichtextFacet_Tag is a "tag" in the app.bsky.richtext.facet schema.
Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').
RECORDTYPE: RichtextFacet_Tag
func (*RichtextFacet_Tag) MarshalCBOR ¶
func (t *RichtextFacet_Tag) MarshalCBOR(w io.Writer) error
func (*RichtextFacet_Tag) UnmarshalCBOR ¶
func (t *RichtextFacet_Tag) UnmarshalCBOR(r io.Reader) (err error)
type UnspeccedApplyLabels_Input ¶
type UnspeccedApplyLabels_Input struct {
Labels []*comatprototypes.LabelDefs_Label `json:"labels" cborgen:"labels"`
}
UnspeccedApplyLabels_Input is the input argument to a app.bsky.unspecced.applyLabels call.
type UnspeccedDefs_SkeletonSearchActor ¶
type UnspeccedDefs_SkeletonSearchActor struct {
Did string `json:"did" cborgen:"did"`
}
UnspeccedDefs_SkeletonSearchActor is a "skeletonSearchActor" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_SkeletonSearchPost ¶
type UnspeccedDefs_SkeletonSearchPost struct {
Uri string `json:"uri" cborgen:"uri"`
}
UnspeccedDefs_SkeletonSearchPost is a "skeletonSearchPost" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_SkeletonSearchStarterPack ¶
type UnspeccedDefs_SkeletonSearchStarterPack struct {
Uri string `json:"uri" cborgen:"uri"`
}
UnspeccedDefs_SkeletonSearchStarterPack is a "skeletonSearchStarterPack" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_TrendingTopic ¶
type UnspeccedDefs_TrendingTopic struct { Description *string `json:"description,omitempty" cborgen:"description,omitempty"` DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` Link string `json:"link" cborgen:"link"` Topic string `json:"topic" cborgen:"topic"` }
UnspeccedDefs_TrendingTopic is a "trendingTopic" in the app.bsky.unspecced.defs schema.
type UnspeccedGetConfig_Output ¶
type UnspeccedGetConfig_Output struct {
CheckEmailConfirmed *bool `json:"checkEmailConfirmed,omitempty" cborgen:"checkEmailConfirmed,omitempty"`
}
UnspeccedGetConfig_Output is the output of a app.bsky.unspecced.getConfig call.
func UnspeccedGetConfig ¶
UnspeccedGetConfig calls the XRPC method "app.bsky.unspecced.getConfig".
type UnspeccedGetPopularFeedGenerators_Output ¶
type UnspeccedGetPopularFeedGenerators_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feeds []*FeedDefs_GeneratorView `json:"feeds" cborgen:"feeds"` }
UnspeccedGetPopularFeedGenerators_Output is the output of a app.bsky.unspecced.getPopularFeedGenerators call.
func UnspeccedGetPopularFeedGenerators ¶
func UnspeccedGetPopularFeedGenerators(ctx context.Context, c *xrpc.Client, cursor string, limit int64, query string) (*UnspeccedGetPopularFeedGenerators_Output, error)
UnspeccedGetPopularFeedGenerators calls the XRPC method "app.bsky.unspecced.getPopularFeedGenerators".
type UnspeccedGetPopular_Output ¶
type UnspeccedGetPopular_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` }
UnspeccedGetPopular_Output is the output of a app.bsky.unspecced.getPopular call.
type UnspeccedGetSuggestionsSkeleton_Output ¶
type UnspeccedGetSuggestionsSkeleton_Output struct { Actors []*UnspeccedDefs_SkeletonSearchActor `json:"actors" cborgen:"actors"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` // recId: Snowflake for this recommendation, use when submitting recommendation events. RecId *int64 `json:"recId,omitempty" cborgen:"recId,omitempty"` // relativeToDid: DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. RelativeToDid *string `json:"relativeToDid,omitempty" cborgen:"relativeToDid,omitempty"` }
UnspeccedGetSuggestionsSkeleton_Output is the output of a app.bsky.unspecced.getSuggestionsSkeleton call.
func UnspeccedGetSuggestionsSkeleton ¶
func UnspeccedGetSuggestionsSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, relativeToDid string, viewer string) (*UnspeccedGetSuggestionsSkeleton_Output, error)
UnspeccedGetSuggestionsSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestionsSkeleton".
relativeToDid: DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer. viewer: DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.
type UnspeccedGetTaggedSuggestions_Output ¶
type UnspeccedGetTaggedSuggestions_Output struct {
Suggestions []*UnspeccedGetTaggedSuggestions_Suggestion `json:"suggestions" cborgen:"suggestions"`
}
UnspeccedGetTaggedSuggestions_Output is the output of a app.bsky.unspecced.getTaggedSuggestions call.
func UnspeccedGetTaggedSuggestions ¶
func UnspeccedGetTaggedSuggestions(ctx context.Context, c *xrpc.Client) (*UnspeccedGetTaggedSuggestions_Output, error)
UnspeccedGetTaggedSuggestions calls the XRPC method "app.bsky.unspecced.getTaggedSuggestions".
type UnspeccedGetTaggedSuggestions_Suggestion ¶
type UnspeccedGetTaggedSuggestions_Suggestion struct { Subject string `json:"subject" cborgen:"subject"` SubjectType string `json:"subjectType" cborgen:"subjectType"` Tag string `json:"tag" cborgen:"tag"` }
UnspeccedGetTaggedSuggestions_Suggestion is a "suggestion" in the app.bsky.unspecced.getTaggedSuggestions schema.
type UnspeccedGetTimelineSkeleton_Output ¶
type UnspeccedGetTimelineSkeleton_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feed []*FeedDefs_SkeletonFeedPost `json:"feed" cborgen:"feed"` }
UnspeccedGetTimelineSkeleton_Output is the output of a app.bsky.unspecced.getTimelineSkeleton call.
func UnspeccedGetTimelineSkeleton ¶
func UnspeccedGetTimelineSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*UnspeccedGetTimelineSkeleton_Output, error)
UnspeccedGetTimelineSkeleton calls the XRPC method "app.bsky.unspecced.getTimelineSkeleton".
type UnspeccedGetTrendingTopics_Output ¶
type UnspeccedGetTrendingTopics_Output struct { Suggested []*UnspeccedDefs_TrendingTopic `json:"suggested" cborgen:"suggested"` Topics []*UnspeccedDefs_TrendingTopic `json:"topics" cborgen:"topics"` }
UnspeccedGetTrendingTopics_Output is the output of a app.bsky.unspecced.getTrendingTopics call.
func UnspeccedGetTrendingTopics ¶
func UnspeccedGetTrendingTopics(ctx context.Context, c *xrpc.Client, limit int64, viewer string) (*UnspeccedGetTrendingTopics_Output, error)
UnspeccedGetTrendingTopics calls the XRPC method "app.bsky.unspecced.getTrendingTopics".
viewer: DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.
type UnspeccedSearchActorsSkeleton_Output ¶
type UnspeccedSearchActorsSkeleton_Output struct { Actors []*UnspeccedDefs_SkeletonSearchActor `json:"actors" cborgen:"actors"` Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` // hitsTotal: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. HitsTotal *int64 `json:"hitsTotal,omitempty" cborgen:"hitsTotal,omitempty"` }
UnspeccedSearchActorsSkeleton_Output is the output of a app.bsky.unspecced.searchActorsSkeleton call.
func UnspeccedSearchActorsSkeleton ¶
func UnspeccedSearchActorsSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string, typeahead bool, viewer string) (*UnspeccedSearchActorsSkeleton_Output, error)
UnspeccedSearchActorsSkeleton calls the XRPC method "app.bsky.unspecced.searchActorsSkeleton".
cursor: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. q: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax. typeahead: If true, acts as fast/simple 'typeahead' query. viewer: DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.
type UnspeccedSearchPostsSkeleton_Output ¶
type UnspeccedSearchPostsSkeleton_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` // hitsTotal: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. HitsTotal *int64 `json:"hitsTotal,omitempty" cborgen:"hitsTotal,omitempty"` Posts []*UnspeccedDefs_SkeletonSearchPost `json:"posts" cborgen:"posts"` }
UnspeccedSearchPostsSkeleton_Output is the output of a app.bsky.unspecced.searchPostsSkeleton call.
func UnspeccedSearchPostsSkeleton ¶
func UnspeccedSearchPostsSkeleton(ctx context.Context, c *xrpc.Client, author string, cursor string, domain string, lang string, limit int64, mentions string, q string, since string, sort string, tag []string, until string, url string, viewer string) (*UnspeccedSearchPostsSkeleton_Output, error)
UnspeccedSearchPostsSkeleton calls the XRPC method "app.bsky.unspecced.searchPostsSkeleton".
author: Filter to posts by the given account. Handles are resolved to DID before query-time. cursor: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. domain: Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization. lang: Filter to posts in the given language. Expected to be based on post language field, though server may override language detection. mentions: Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions. q: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. since: Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD). sort: Specifies the ranking order of results. tag: Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching. until: Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD). url: Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching. viewer: DID of the account making the request (not included for public/unauthenticated queries). Used for 'from:me' queries.
type UnspeccedSearchStarterPacksSkeleton_Output ¶
type UnspeccedSearchStarterPacksSkeleton_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` // hitsTotal: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. HitsTotal *int64 `json:"hitsTotal,omitempty" cborgen:"hitsTotal,omitempty"` StarterPacks []*UnspeccedDefs_SkeletonSearchStarterPack `json:"starterPacks" cborgen:"starterPacks"` }
UnspeccedSearchStarterPacksSkeleton_Output is the output of a app.bsky.unspecced.searchStarterPacksSkeleton call.
func UnspeccedSearchStarterPacksSkeleton ¶
func UnspeccedSearchStarterPacksSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string, viewer string) (*UnspeccedSearchStarterPacksSkeleton_Output, error)
UnspeccedSearchStarterPacksSkeleton calls the XRPC method "app.bsky.unspecced.searchStarterPacksSkeleton".
cursor: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. q: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. viewer: DID of the account making the request (not included for public/unauthenticated queries).
type VideoDefs_JobStatus ¶
type VideoDefs_JobStatus struct { Blob *util.LexBlob `json:"blob,omitempty" cborgen:"blob,omitempty"` Did string `json:"did" cborgen:"did"` Error *string `json:"error,omitempty" cborgen:"error,omitempty"` JobId string `json:"jobId" cborgen:"jobId"` Message *string `json:"message,omitempty" cborgen:"message,omitempty"` // progress: Progress within the current processing state. Progress *int64 `json:"progress,omitempty" cborgen:"progress,omitempty"` // state: The state of the video processing job. All values not listed as a known value indicate that the job is in process. State string `json:"state" cborgen:"state"` }
VideoDefs_JobStatus is a "jobStatus" in the app.bsky.video.defs schema.
type VideoGetJobStatus_Output ¶
type VideoGetJobStatus_Output struct {
JobStatus *VideoDefs_JobStatus `json:"jobStatus" cborgen:"jobStatus"`
}
VideoGetJobStatus_Output is the output of a app.bsky.video.getJobStatus call.
func VideoGetJobStatus ¶
func VideoGetJobStatus(ctx context.Context, c *xrpc.Client, jobId string) (*VideoGetJobStatus_Output, error)
VideoGetJobStatus calls the XRPC method "app.bsky.video.getJobStatus".
type VideoGetUploadLimits_Output ¶
type VideoGetUploadLimits_Output struct { CanUpload bool `json:"canUpload" cborgen:"canUpload"` Error *string `json:"error,omitempty" cborgen:"error,omitempty"` Message *string `json:"message,omitempty" cborgen:"message,omitempty"` RemainingDailyBytes *int64 `json:"remainingDailyBytes,omitempty" cborgen:"remainingDailyBytes,omitempty"` RemainingDailyVideos *int64 `json:"remainingDailyVideos,omitempty" cborgen:"remainingDailyVideos,omitempty"` }
VideoGetUploadLimits_Output is the output of a app.bsky.video.getUploadLimits call.
func VideoGetUploadLimits ¶
func VideoGetUploadLimits(ctx context.Context, c *xrpc.Client) (*VideoGetUploadLimits_Output, error)
VideoGetUploadLimits calls the XRPC method "app.bsky.video.getUploadLimits".
type VideoUploadVideo_Output ¶
type VideoUploadVideo_Output struct {
JobStatus *VideoDefs_JobStatus `json:"jobStatus" cborgen:"jobStatus"`
}
VideoUploadVideo_Output is the output of a app.bsky.video.uploadVideo call.
func VideoUploadVideo ¶
func VideoUploadVideo(ctx context.Context, c *xrpc.Client, input io.Reader) (*VideoUploadVideo_Output, error)
VideoUploadVideo calls the XRPC method "app.bsky.video.uploadVideo".
Source Files
¶
- actordefs.go
- actorgetPreferences.go
- actorgetProfile.go
- actorgetProfiles.go
- actorgetSuggestions.go
- actorprofile.go
- actorputPreferences.go
- actorsearchActors.go
- actorsearchActorsTypeahead.go
- cbor_gen.go
- embeddefs.go
- embedexternal.go
- embedimages.go
- embedrecord.go
- embedrecordWithMedia.go
- embedvideo.go
- feeddefs.go
- feeddescribeFeedGenerator.go
- feedgenerator.go
- feedgetActorFeeds.go
- feedgetActorLikes.go
- feedgetAuthorFeed.go
- feedgetFeed.go
- feedgetFeedGenerator.go
- feedgetFeedGenerators.go
- feedgetFeedSkeleton.go
- feedgetLikes.go
- feedgetListFeed.go
- feedgetPostThread.go
- feedgetPosts.go
- feedgetQuotes.go
- feedgetRepostedBy.go
- feedgetSuggestedFeeds.go
- feedgetTimeline.go
- feedlike.go
- feedpost.go
- feedpostgate.go
- feedrepost.go
- feedsearchPosts.go
- feedsendInteractions.go
- feedthreadgate.go
- graphblock.go
- graphdefs.go
- graphfollow.go
- graphgetActorStarterPacks.go
- graphgetBlocks.go
- graphgetFollowers.go
- graphgetFollows.go
- graphgetKnownFollowers.go
- graphgetList.go
- graphgetListBlocks.go
- graphgetListMutes.go
- graphgetLists.go
- graphgetMutes.go
- graphgetRelationships.go
- graphgetStarterPack.go
- graphgetStarterPacks.go
- graphgetSuggestedFollowsByActor.go
- graphlist.go
- graphlistblock.go
- graphlistitem.go
- graphmuteActor.go
- graphmuteActorList.go
- graphmuteThread.go
- graphsearchStarterPacks.go
- graphstarterpack.go
- graphunmuteActor.go
- graphunmuteActorList.go
- graphunmuteThread.go
- init.go
- labelerdefs.go
- labelergetServices.go
- labelerservice.go
- notificationgetUnreadCount.go
- notificationlistNotifications.go
- notificationputPreferences.go
- notificationregisterPush.go
- notificationupdateSeen.go
- richtextfacet.go
- unspeccedapplyLabels.go
- unspecceddefs.go
- unspeccedgetConfig.go
- unspeccedgetPopular.go
- unspeccedgetPopularFeedGenerators.go
- unspeccedgetSuggestionsSkeleton.go
- unspeccedgetTaggedSuggestions.go
- unspeccedgetTimelineSkeleton.go
- unspeccedgetTrendingTopics.go
- unspeccedsearchActorsSkeleton.go
- unspeccedsearchPostsSkeleton.go
- unspeccedsearchStarterPacksSkeleton.go
- videodefs.go
- videogetJobStatus.go
- videogetUploadLimits.go
- videouploadVideo.go