Documentation
¶
Index ¶
- func ActorPutPreferences(ctx context.Context, c lexutil.LexClient, input *ActorPutPreferences_Input) error
- func BookmarkCreateBookmark(ctx context.Context, c lexutil.LexClient, input *BookmarkCreateBookmark_Input) error
- func BookmarkDeleteBookmark(ctx context.Context, c lexutil.LexClient, input *BookmarkDeleteBookmark_Input) error
- func DraftDeleteDraft(ctx context.Context, c lexutil.LexClient, input *DraftDeleteDraft_Input) error
- func DraftUpdateDraft(ctx context.Context, c lexutil.LexClient, input *DraftUpdateDraft_Input) error
- func GraphMuteActor(ctx context.Context, c lexutil.LexClient, input *GraphMuteActor_Input) error
- func GraphMuteActorList(ctx context.Context, c lexutil.LexClient, input *GraphMuteActorList_Input) error
- func GraphMuteThread(ctx context.Context, c lexutil.LexClient, input *GraphMuteThread_Input) error
- func GraphUnmuteActor(ctx context.Context, c lexutil.LexClient, input *GraphUnmuteActor_Input) error
- func GraphUnmuteActorList(ctx context.Context, c lexutil.LexClient, input *GraphUnmuteActorList_Input) error
- func GraphUnmuteThread(ctx context.Context, c lexutil.LexClient, input *GraphUnmuteThread_Input) error
- func NotificationPutPreferences(ctx context.Context, c lexutil.LexClient, ...) error
- func NotificationRegisterPush(ctx context.Context, c lexutil.LexClient, ...) error
- func NotificationUnregisterPush(ctx context.Context, c lexutil.LexClient, ...) error
- func NotificationUpdateSeen(ctx context.Context, c lexutil.LexClient, input *NotificationUpdateSeen_Input) error
- type ActorDefs_AdultContentPref
- type ActorDefs_BskyAppProgressGuide
- type ActorDefs_BskyAppStatePref
- type ActorDefs_ContentLabelPref
- type ActorDefs_DeclaredAgePref
- type ActorDefs_FeedViewPref
- type ActorDefs_HiddenPostsPref
- type ActorDefs_InterestsPref
- type ActorDefs_KnownFollowers
- type ActorDefs_LabelerPrefItem
- type ActorDefs_LabelersPref
- type ActorDefs_LiveEventPreferences
- 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_ProfileAssociatedActivitySubscription
- type ActorDefs_ProfileAssociatedChat
- type ActorDefs_ProfileAssociatedGerm
- type ActorDefs_ProfileView
- type ActorDefs_ProfileViewBasic
- type ActorDefs_ProfileViewDetailed
- type ActorDefs_SavedFeed
- type ActorDefs_SavedFeedsPref
- type ActorDefs_SavedFeedsPrefV2
- type ActorDefs_StatusView
- type ActorDefs_StatusView_Embed
- type ActorDefs_ThreadViewPref
- type ActorDefs_VerificationPrefs
- type ActorDefs_VerificationState
- type ActorDefs_VerificationView
- 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 ActorStatus
- type ActorStatus_Embed
- type AgeassuranceBegin_Input
- type AgeassuranceDefs_Config
- type AgeassuranceDefs_ConfigRegion
- type AgeassuranceDefs_ConfigRegionRuleDefault
- type AgeassuranceDefs_ConfigRegionRuleIfAccountNewerThan
- type AgeassuranceDefs_ConfigRegionRuleIfAccountOlderThan
- type AgeassuranceDefs_ConfigRegionRuleIfAssuredOverAge
- type AgeassuranceDefs_ConfigRegionRuleIfAssuredUnderAge
- type AgeassuranceDefs_ConfigRegionRuleIfDeclaredOverAge
- type AgeassuranceDefs_ConfigRegionRuleIfDeclaredUnderAge
- type AgeassuranceDefs_ConfigRegion_Rules_Elem
- type AgeassuranceDefs_Event
- type AgeassuranceDefs_State
- type AgeassuranceDefs_StateMetadata
- type AgeassuranceGetState_Output
- type BookmarkCreateBookmark_Input
- type BookmarkDefs_Bookmark
- type BookmarkDefs_BookmarkView
- type BookmarkDefs_BookmarkView_Item
- type BookmarkDeleteBookmark_Input
- type BookmarkGetBookmarks_Output
- type ContactDefs_MatchAndContactIndex
- type ContactDefs_Notification
- type ContactDefs_SyncStatus
- type ContactDismissMatch_Input
- type ContactDismissMatch_Output
- type ContactGetMatches_Output
- type ContactGetSyncStatus_Output
- type ContactImportContacts_Input
- type ContactImportContacts_Output
- type ContactRemoveData_Input
- type ContactRemoveData_Output
- type ContactSendNotification_Input
- type ContactSendNotification_Output
- type ContactStartPhoneVerification_Input
- type ContactStartPhoneVerification_Output
- type ContactVerifyPhone_Input
- type ContactVerifyPhone_Output
- type DraftCreateDraft_Input
- type DraftCreateDraft_Output
- type DraftDefs_Draft
- type DraftDefs_DraftEmbedCaption
- type DraftDefs_DraftEmbedExternal
- type DraftDefs_DraftEmbedImage
- type DraftDefs_DraftEmbedLocalRef
- type DraftDefs_DraftEmbedRecord
- type DraftDefs_DraftEmbedVideo
- type DraftDefs_DraftPost
- type DraftDefs_DraftPost_Labels
- type DraftDefs_DraftView
- type DraftDefs_DraftWithId
- type DraftDefs_Draft_PostgateEmbeddingRules_Elem
- type DraftDefs_Draft_ThreadgateAllow_Elem
- type DraftDeleteDraft_Input
- type DraftGetDrafts_Output
- type DraftUpdateDraft_Input
- 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 GraphGetListsWithMembership_ListWithMembership
- type GraphGetListsWithMembership_Output
- type GraphGetLists_Output
- type GraphGetMutes_Output
- type GraphGetRelationships_Output
- type GraphGetRelationships_Output_Relationships_Elem
- type GraphGetStarterPack_Output
- type GraphGetStarterPacksWithMembership_Output
- type GraphGetStarterPacksWithMembership_StarterPackWithMembership
- 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 GraphVerification
- 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 NotificationDeclaration
- type NotificationDefs_ActivitySubscription
- type NotificationDefs_ChatPreference
- type NotificationDefs_FilterablePreference
- type NotificationDefs_Preference
- type NotificationDefs_Preferences
- type NotificationDefs_RecordDeleted
- type NotificationDefs_SubjectActivitySubscription
- type NotificationGetPreferences_Output
- type NotificationGetUnreadCount_Output
- type NotificationListActivitySubscriptions_Output
- type NotificationListNotifications_Notification
- type NotificationListNotifications_Output
- type NotificationPutActivitySubscription_Input
- type NotificationPutActivitySubscription_Output
- type NotificationPutPreferencesV2_Input
- type NotificationPutPreferencesV2_Output
- type NotificationPutPreferences_Input
- type NotificationRegisterPush_Input
- type NotificationUnregisterPush_Input
- type NotificationUpdateSeen_Input
- type RichtextFacet
- type RichtextFacet_ByteSlice
- type RichtextFacet_Features_Elem
- type RichtextFacet_Link
- type RichtextFacet_Mention
- type RichtextFacet_Tag
- type UnspeccedDefs_AgeAssuranceEvent
- type UnspeccedDefs_AgeAssuranceState
- type UnspeccedDefs_SkeletonSearchActor
- type UnspeccedDefs_SkeletonSearchPost
- type UnspeccedDefs_SkeletonSearchStarterPack
- type UnspeccedDefs_SkeletonTrend
- type UnspeccedDefs_ThreadItemBlocked
- type UnspeccedDefs_ThreadItemNoUnauthenticated
- type UnspeccedDefs_ThreadItemNotFound
- type UnspeccedDefs_ThreadItemPost
- type UnspeccedDefs_TrendView
- type UnspeccedDefs_TrendingTopic
- type UnspeccedGetConfig_LiveNowConfig
- type UnspeccedGetConfig_Output
- type UnspeccedGetOnboardingSuggestedStarterPacksSkeleton_Output
- type UnspeccedGetOnboardingSuggestedStarterPacks_Output
- type UnspeccedGetOnboardingSuggestedUsersSkeleton_Output
- type UnspeccedGetPopularFeedGenerators_Output
- type UnspeccedGetPostThreadOtherV2_Output
- type UnspeccedGetPostThreadOtherV2_ThreadItem
- type UnspeccedGetPostThreadOtherV2_ThreadItem_Value
- type UnspeccedGetPostThreadV2_Output
- type UnspeccedGetPostThreadV2_ThreadItem
- type UnspeccedGetPostThreadV2_ThreadItem_Value
- type UnspeccedGetSuggestedFeedsSkeleton_Output
- type UnspeccedGetSuggestedFeeds_Output
- type UnspeccedGetSuggestedOnboardingUsers_Output
- type UnspeccedGetSuggestedStarterPacksSkeleton_Output
- type UnspeccedGetSuggestedStarterPacks_Output
- type UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output
- type UnspeccedGetSuggestedUsersForDiscover_Output
- type UnspeccedGetSuggestedUsersForExploreSkeleton_Output
- type UnspeccedGetSuggestedUsersForExplore_Output
- type UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output
- type UnspeccedGetSuggestedUsersForSeeMore_Output
- type UnspeccedGetSuggestedUsersSkeleton_Output
- type UnspeccedGetSuggestedUsers_Output
- type UnspeccedGetSuggestionsSkeleton_Output
- type UnspeccedGetTaggedSuggestions_Output
- type UnspeccedGetTaggedSuggestions_Suggestion
- type UnspeccedGetTrendingTopics_Output
- type UnspeccedGetTrendsSkeleton_Output
- type UnspeccedGetTrends_Output
- type UnspeccedInitAgeAssurance_Input
- 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 lexutil.LexClient, input *ActorPutPreferences_Input) error
ActorPutPreferences calls the XRPC method "app.bsky.actor.putPreferences".
func BookmarkCreateBookmark ¶
func BookmarkCreateBookmark(ctx context.Context, c lexutil.LexClient, input *BookmarkCreateBookmark_Input) error
BookmarkCreateBookmark calls the XRPC method "app.bsky.bookmark.createBookmark".
func BookmarkDeleteBookmark ¶
func BookmarkDeleteBookmark(ctx context.Context, c lexutil.LexClient, input *BookmarkDeleteBookmark_Input) error
BookmarkDeleteBookmark calls the XRPC method "app.bsky.bookmark.deleteBookmark".
func DraftDeleteDraft ¶
func DraftDeleteDraft(ctx context.Context, c lexutil.LexClient, input *DraftDeleteDraft_Input) error
DraftDeleteDraft calls the XRPC method "app.bsky.draft.deleteDraft".
func DraftUpdateDraft ¶
func DraftUpdateDraft(ctx context.Context, c lexutil.LexClient, input *DraftUpdateDraft_Input) error
DraftUpdateDraft calls the XRPC method "app.bsky.draft.updateDraft".
func GraphMuteActor ¶
GraphMuteActor calls the XRPC method "app.bsky.graph.muteActor".
func GraphMuteActorList ¶
func GraphMuteActorList(ctx context.Context, c lexutil.LexClient, input *GraphMuteActorList_Input) error
GraphMuteActorList calls the XRPC method "app.bsky.graph.muteActorList".
func GraphMuteThread ¶
GraphMuteThread calls the XRPC method "app.bsky.graph.muteThread".
func GraphUnmuteActor ¶
func GraphUnmuteActor(ctx context.Context, c lexutil.LexClient, input *GraphUnmuteActor_Input) error
GraphUnmuteActor calls the XRPC method "app.bsky.graph.unmuteActor".
func GraphUnmuteActorList ¶
func GraphUnmuteActorList(ctx context.Context, c lexutil.LexClient, input *GraphUnmuteActorList_Input) error
GraphUnmuteActorList calls the XRPC method "app.bsky.graph.unmuteActorList".
func GraphUnmuteThread ¶
func GraphUnmuteThread(ctx context.Context, c lexutil.LexClient, input *GraphUnmuteThread_Input) error
GraphUnmuteThread calls the XRPC method "app.bsky.graph.unmuteThread".
func NotificationPutPreferences ¶
func NotificationPutPreferences(ctx context.Context, c lexutil.LexClient, input *NotificationPutPreferences_Input) error
NotificationPutPreferences calls the XRPC method "app.bsky.notification.putPreferences".
func NotificationRegisterPush ¶
func NotificationRegisterPush(ctx context.Context, c lexutil.LexClient, input *NotificationRegisterPush_Input) error
NotificationRegisterPush calls the XRPC method "app.bsky.notification.registerPush".
func NotificationUnregisterPush ¶
func NotificationUnregisterPush(ctx context.Context, c lexutil.LexClient, input *NotificationUnregisterPush_Input) error
NotificationUnregisterPush calls the XRPC method "app.bsky.notification.unregisterPush".
func NotificationUpdateSeen ¶
func NotificationUpdateSeen(ctx context.Context, c lexutil.LexClient, input *NotificationUpdateSeen_Input) error
NotificationUpdateSeen calls the XRPC method "app.bsky.notification.updateSeen".
Types ¶
type ActorDefs_AdultContentPref ¶
type ActorDefs_AdultContentPref struct {
LexiconTypeID string `json:"$type" 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.
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" 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.
type ActorDefs_ContentLabelPref ¶
type ActorDefs_ContentLabelPref struct {
LexiconTypeID string `json:"$type" 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.
type ActorDefs_DeclaredAgePref ¶
type ActorDefs_DeclaredAgePref struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.defs#declaredAgePref"`
// isOverAge13: Indicates if the user has declared that they are over 13 years of age.
IsOverAge13 *bool `json:"isOverAge13,omitempty" cborgen:"isOverAge13,omitempty"`
// isOverAge16: Indicates if the user has declared that they are over 16 years of age.
IsOverAge16 *bool `json:"isOverAge16,omitempty" cborgen:"isOverAge16,omitempty"`
// isOverAge18: Indicates if the user has declared that they are over 18 years of age.
IsOverAge18 *bool `json:"isOverAge18,omitempty" cborgen:"isOverAge18,omitempty"`
}
ActorDefs_DeclaredAgePref is a "declaredAgePref" in the app.bsky.actor.defs schema.
Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration.
type ActorDefs_FeedViewPref ¶
type ActorDefs_FeedViewPref struct {
LexiconTypeID string `json:"$type" 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.
type ActorDefs_HiddenPostsPref ¶
type ActorDefs_HiddenPostsPref struct {
LexiconTypeID string `json:"$type" 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.
type ActorDefs_InterestsPref ¶
type ActorDefs_InterestsPref struct {
LexiconTypeID string `json:"$type" 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.
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" 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.
type ActorDefs_LiveEventPreferences ¶
type ActorDefs_LiveEventPreferences struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.defs#liveEventPreferences"`
// hiddenFeedIds: A list of feed IDs that the user has hidden from live events.
HiddenFeedIds []string `json:"hiddenFeedIds,omitempty" cborgen:"hiddenFeedIds,omitempty"`
// hideAllFeeds: Whether to hide all feeds from live events.
HideAllFeeds *bool `json:"hideAllFeeds,omitempty" cborgen:"hideAllFeeds,omitempty"`
}
ActorDefs_LiveEventPreferences is a "liveEventPreferences" in the app.bsky.actor.defs schema.
Preferences for live events.
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" 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.
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" 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.
type ActorDefs_PostInteractionSettingsPref ¶
type ActorDefs_PostInteractionSettingsPref struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.defs#postInteractionSettingsPref"`
// 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.
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_DeclaredAgePref *ActorDefs_DeclaredAgePref
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
ActorDefs_VerificationPrefs *ActorDefs_VerificationPrefs
ActorDefs_LiveEventPreferences *ActorDefs_LiveEventPreferences
}
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 {
ActivitySubscription *ActorDefs_ProfileAssociatedActivitySubscription `json:"activitySubscription,omitempty" cborgen:"activitySubscription,omitempty"`
Chat *ActorDefs_ProfileAssociatedChat `json:"chat,omitempty" cborgen:"chat,omitempty"`
Feedgens *int64 `json:"feedgens,omitempty" cborgen:"feedgens,omitempty"`
Germ *ActorDefs_ProfileAssociatedGerm `json:"germ,omitempty" cborgen:"germ,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_ProfileAssociatedActivitySubscription ¶
type ActorDefs_ProfileAssociatedActivitySubscription struct {
AllowSubscriptions string `json:"allowSubscriptions" cborgen:"allowSubscriptions"`
}
ActorDefs_ProfileAssociatedActivitySubscription is a "profileAssociatedActivitySubscription" in the app.bsky.actor.defs schema.
type ActorDefs_ProfileAssociatedChat ¶
type ActorDefs_ProfileAssociatedChat struct {
AllowGroupInvites *string `json:"allowGroupInvites,omitempty" cborgen:"allowGroupInvites,omitempty"`
AllowIncoming string `json:"allowIncoming" cborgen:"allowIncoming"`
}
ActorDefs_ProfileAssociatedChat is a "profileAssociatedChat" in the app.bsky.actor.defs schema.
type ActorDefs_ProfileAssociatedGerm ¶
type ActorDefs_ProfileAssociatedGerm struct {
MessageMeUrl string `json:"messageMeUrl" cborgen:"messageMeUrl"`
ShowButtonTo string `json:"showButtonTo" cborgen:"showButtonTo"`
}
ActorDefs_ProfileAssociatedGerm is a "profileAssociatedGerm" 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"`
// debug: Debug information for internal development
Debug *interface{} `json:"debug,omitempty" cborgen:"debug,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 []*comatproto.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
Pronouns *string `json:"pronouns,omitempty" cborgen:"pronouns,omitempty"`
Status *ActorDefs_StatusView `json:"status,omitempty" cborgen:"status,omitempty"`
Verification *ActorDefs_VerificationState `json:"verification,omitempty" cborgen:"verification,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"`
// debug: Debug information for internal development
Debug *interface{} `json:"debug,omitempty" cborgen:"debug,omitempty"`
Did string `json:"did" cborgen:"did"`
DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
Handle string `json:"handle" cborgen:"handle"`
Labels []*comatproto.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
Pronouns *string `json:"pronouns,omitempty" cborgen:"pronouns,omitempty"`
Status *ActorDefs_StatusView `json:"status,omitempty" cborgen:"status,omitempty"`
Verification *ActorDefs_VerificationState `json:"verification,omitempty" cborgen:"verification,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"`
// debug: Debug information for internal development
Debug *interface{} `json:"debug,omitempty" cborgen:"debug,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 []*comatproto.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
PinnedPost *comatproto.RepoStrongRef `json:"pinnedPost,omitempty" cborgen:"pinnedPost,omitempty"`
PostsCount *int64 `json:"postsCount,omitempty" cborgen:"postsCount,omitempty"`
Pronouns *string `json:"pronouns,omitempty" cborgen:"pronouns,omitempty"`
Status *ActorDefs_StatusView `json:"status,omitempty" cborgen:"status,omitempty"`
Verification *ActorDefs_VerificationState `json:"verification,omitempty" cborgen:"verification,omitempty"`
Viewer *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
Website *string `json:"website,omitempty" cborgen:"website,omitempty"`
}
ActorDefs_ProfileViewDetailed is a "profileViewDetailed" in the app.bsky.actor.defs schema.
func ActorGetProfile ¶
func ActorGetProfile(ctx context.Context, c lexutil.LexClient, 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" 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.
type ActorDefs_SavedFeedsPrefV2 ¶
type ActorDefs_SavedFeedsPrefV2 struct {
LexiconTypeID string `json:"$type" 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.
type ActorDefs_StatusView ¶
type ActorDefs_StatusView struct {
Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"`
// embed: An optional embed associated with the status.
Embed *ActorDefs_StatusView_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"`
// expiresAt: The date when this status will expire. The application might choose to no longer return the status after expiration.
ExpiresAt *string `json:"expiresAt,omitempty" cborgen:"expiresAt,omitempty"`
// isActive: True if the status is not expired, false if it is expired. Only present if expiration was set.
IsActive *bool `json:"isActive,omitempty" cborgen:"isActive,omitempty"`
// isDisabled: True if the user's go-live access has been disabled by a moderator, false otherwise.
IsDisabled *bool `json:"isDisabled,omitempty" cborgen:"isDisabled,omitempty"`
Labels []*comatproto.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
Record *lexutil.LexiconTypeDecoder `json:"record" cborgen:"record"`
// status: The status for the account.
Status string `json:"status" cborgen:"status"`
Uri *string `json:"uri,omitempty" cborgen:"uri,omitempty"`
}
ActorDefs_StatusView is a "statusView" in the app.bsky.actor.defs schema.
type ActorDefs_StatusView_Embed ¶
type ActorDefs_StatusView_Embed struct {
EmbedExternal_View *EmbedExternal_View
}
An optional embed associated with the status.
func (*ActorDefs_StatusView_Embed) MarshalJSON ¶
func (t *ActorDefs_StatusView_Embed) MarshalJSON() ([]byte, error)
func (*ActorDefs_StatusView_Embed) UnmarshalJSON ¶
func (t *ActorDefs_StatusView_Embed) UnmarshalJSON(b []byte) error
type ActorDefs_ThreadViewPref ¶
type ActorDefs_ThreadViewPref struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.defs#threadViewPref"`
// 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.
type ActorDefs_VerificationPrefs ¶
type ActorDefs_VerificationPrefs struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.defs#verificationPrefs"`
// hideBadges: Hide the blue check badges for verified accounts and trusted verifiers.
HideBadges *bool `json:"hideBadges,omitempty" cborgen:"hideBadges,omitempty"`
}
ActorDefs_VerificationPrefs is a "verificationPrefs" in the app.bsky.actor.defs schema.
Preferences for how verified accounts appear in the app.
type ActorDefs_VerificationState ¶
type ActorDefs_VerificationState struct {
// trustedVerifierStatus: The user's status as a trusted verifier.
TrustedVerifierStatus string `json:"trustedVerifierStatus" cborgen:"trustedVerifierStatus"`
// verifications: All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included.
Verifications []*ActorDefs_VerificationView `json:"verifications" cborgen:"verifications"`
// verifiedStatus: The user's status as a verified account.
VerifiedStatus string `json:"verifiedStatus" cborgen:"verifiedStatus"`
}
ActorDefs_VerificationState is a "verificationState" in the app.bsky.actor.defs schema.
Represents the verification information about the user this object is attached to.
type ActorDefs_VerificationView ¶
type ActorDefs_VerificationView struct {
// createdAt: Timestamp when the verification was created.
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
// isValid: True if the verification passes validation, otherwise false.
IsValid bool `json:"isValid" cborgen:"isValid"`
// issuer: The user who issued this verification.
Issuer string `json:"issuer" cborgen:"issuer"`
// uri: The AT-URI of the verification record.
Uri string `json:"uri" cborgen:"uri"`
}
ActorDefs_VerificationView is a "verificationView" in the app.bsky.actor.defs schema.
An individual verification for an associated subject.
type ActorDefs_ViewerState ¶
type ActorDefs_ViewerState struct {
// activitySubscription: This property is present only in selected cases, as an optimization.
ActivitySubscription *NotificationDefs_ActivitySubscription `json:"activitySubscription,omitempty" cborgen:"activitySubscription,omitempty"`
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: This property is present only in selected cases, as an optimization.
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 ¶
func ActorGetPreferences(ctx context.Context, c lexutil.LexClient) (*ActorGetPreferences_Output, error)
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 lexutil.LexClient, 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: DEPRECATED: use recIdStr instead.
RecId *int64 `json:"recId,omitempty" cborgen:"recId,omitempty"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
ActorGetSuggestions_Output is the output of a app.bsky.actor.getSuggestions call.
func ActorGetSuggestions ¶
func ActorGetSuggestions(ctx context.Context, c lexutil.LexClient, 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" cborgen:"$type,const=app.bsky.actor.profile"`
// avatar: Small image to be displayed next to posts from account. AKA, 'profile picture'
Avatar *lexutil.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
// banner: Larger horizontal image to display behind profile view.
Banner *lexutil.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 *comatproto.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 *comatproto.RepoStrongRef `json:"pinnedPost,omitempty" cborgen:"pinnedPost,omitempty"`
// pronouns: Free-form pronouns text.
Pronouns *string `json:"pronouns,omitempty" cborgen:"pronouns,omitempty"`
Website *string `json:"website,omitempty" cborgen:"website,omitempty"`
}
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 *comatproto.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 lexutil.LexClient, 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 lexutil.LexClient, 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 ActorStatus ¶
type ActorStatus struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.status"`
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
// durationMinutes: The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.
DurationMinutes *int64 `json:"durationMinutes,omitempty" cborgen:"durationMinutes,omitempty"`
// embed: An optional embed associated with the status.
Embed *ActorStatus_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"`
// status: The status for the account.
Status string `json:"status" cborgen:"status"`
}
func (*ActorStatus) MarshalCBOR ¶
func (t *ActorStatus) MarshalCBOR(w io.Writer) error
func (*ActorStatus) UnmarshalCBOR ¶
func (t *ActorStatus) UnmarshalCBOR(r io.Reader) (err error)
type ActorStatus_Embed ¶
type ActorStatus_Embed struct {
EmbedExternal *EmbedExternal
}
An optional embed associated with the status.
func (*ActorStatus_Embed) MarshalCBOR ¶
func (t *ActorStatus_Embed) MarshalCBOR(w io.Writer) error
func (*ActorStatus_Embed) MarshalJSON ¶
func (t *ActorStatus_Embed) MarshalJSON() ([]byte, error)
func (*ActorStatus_Embed) UnmarshalCBOR ¶
func (t *ActorStatus_Embed) UnmarshalCBOR(r io.Reader) error
func (*ActorStatus_Embed) UnmarshalJSON ¶
func (t *ActorStatus_Embed) UnmarshalJSON(b []byte) error
type AgeassuranceBegin_Input ¶
type AgeassuranceBegin_Input struct {
// countryCode: An ISO 3166-1 alpha-2 code of the user's location.
CountryCode string `json:"countryCode" cborgen:"countryCode"`
// email: The user's email address to receive Age Assurance instructions.
Email string `json:"email" cborgen:"email"`
// language: The user's preferred language for communication during the Age Assurance process.
Language string `json:"language" cborgen:"language"`
// regionCode: An optional ISO 3166-2 code of the user's region or state within the country.
RegionCode *string `json:"regionCode,omitempty" cborgen:"regionCode,omitempty"`
}
AgeassuranceBegin_Input is the input argument to a app.bsky.ageassurance.begin call.
type AgeassuranceDefs_Config ¶
type AgeassuranceDefs_Config struct {
// regions: The per-region Age Assurance configuration.
Regions []*AgeassuranceDefs_ConfigRegion `json:"regions" cborgen:"regions"`
}
AgeassuranceDefs_Config is a "config" in the app.bsky.ageassurance.defs schema.
func AgeassuranceGetConfig ¶
func AgeassuranceGetConfig(ctx context.Context, c lexutil.LexClient) (*AgeassuranceDefs_Config, error)
AgeassuranceGetConfig calls the XRPC method "app.bsky.ageassurance.getConfig".
type AgeassuranceDefs_ConfigRegion ¶
type AgeassuranceDefs_ConfigRegion struct {
// countryCode: The ISO 3166-1 alpha-2 country code this configuration applies to.
CountryCode string `json:"countryCode" cborgen:"countryCode"`
// minAccessAge: The minimum age (as a whole integer) required to use Bluesky in this region.
MinAccessAge int64 `json:"minAccessAge" cborgen:"minAccessAge"`
// regionCode: The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.
RegionCode *string `json:"regionCode,omitempty" cborgen:"regionCode,omitempty"`
// rules: The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.
Rules []*AgeassuranceDefs_ConfigRegion_Rules_Elem `json:"rules" cborgen:"rules"`
}
AgeassuranceDefs_ConfigRegion is a "configRegion" in the app.bsky.ageassurance.defs schema.
The Age Assurance configuration for a specific region.
type AgeassuranceDefs_ConfigRegionRuleDefault ¶
type AgeassuranceDefs_ConfigRegionRuleDefault struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.ageassurance.defs#configRegionRuleDefault"`
Access *string `json:"access" cborgen:"access"`
}
AgeassuranceDefs_ConfigRegionRuleDefault is a "configRegionRuleDefault" in the app.bsky.ageassurance.defs schema.
Age Assurance rule that applies by default.
type AgeassuranceDefs_ConfigRegionRuleIfAccountNewerThan ¶
type AgeassuranceDefs_ConfigRegionRuleIfAccountNewerThan struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.ageassurance.defs#configRegionRuleIfAccountNewerThan"`
Access *string `json:"access" cborgen:"access"`
// date: The date threshold as a datetime string.
Date string `json:"date" cborgen:"date"`
}
AgeassuranceDefs_ConfigRegionRuleIfAccountNewerThan is a "configRegionRuleIfAccountNewerThan" in the app.bsky.ageassurance.defs schema.
Age Assurance rule that applies if the account is equal-to or newer than a certain date.
type AgeassuranceDefs_ConfigRegionRuleIfAccountOlderThan ¶
type AgeassuranceDefs_ConfigRegionRuleIfAccountOlderThan struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.ageassurance.defs#configRegionRuleIfAccountOlderThan"`
Access *string `json:"access" cborgen:"access"`
// date: The date threshold as a datetime string.
Date string `json:"date" cborgen:"date"`
}
AgeassuranceDefs_ConfigRegionRuleIfAccountOlderThan is a "configRegionRuleIfAccountOlderThan" in the app.bsky.ageassurance.defs schema.
Age Assurance rule that applies if the account is older than a certain date.
type AgeassuranceDefs_ConfigRegionRuleIfAssuredOverAge ¶
type AgeassuranceDefs_ConfigRegionRuleIfAssuredOverAge struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.ageassurance.defs#configRegionRuleIfAssuredOverAge"`
Access *string `json:"access" cborgen:"access"`
// age: The age threshold as a whole integer.
Age int64 `json:"age" cborgen:"age"`
}
AgeassuranceDefs_ConfigRegionRuleIfAssuredOverAge is a "configRegionRuleIfAssuredOverAge" in the app.bsky.ageassurance.defs schema.
Age Assurance rule that applies if the user has been assured to be equal-to or over a certain age.
type AgeassuranceDefs_ConfigRegionRuleIfAssuredUnderAge ¶
type AgeassuranceDefs_ConfigRegionRuleIfAssuredUnderAge struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.ageassurance.defs#configRegionRuleIfAssuredUnderAge"`
Access *string `json:"access" cborgen:"access"`
// age: The age threshold as a whole integer.
Age int64 `json:"age" cborgen:"age"`
}
AgeassuranceDefs_ConfigRegionRuleIfAssuredUnderAge is a "configRegionRuleIfAssuredUnderAge" in the app.bsky.ageassurance.defs schema.
Age Assurance rule that applies if the user has been assured to be under a certain age.
type AgeassuranceDefs_ConfigRegionRuleIfDeclaredOverAge ¶
type AgeassuranceDefs_ConfigRegionRuleIfDeclaredOverAge struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.ageassurance.defs#configRegionRuleIfDeclaredOverAge"`
Access *string `json:"access" cborgen:"access"`
// age: The age threshold as a whole integer.
Age int64 `json:"age" cborgen:"age"`
}
AgeassuranceDefs_ConfigRegionRuleIfDeclaredOverAge is a "configRegionRuleIfDeclaredOverAge" in the app.bsky.ageassurance.defs schema.
Age Assurance rule that applies if the user has declared themselves equal-to or over a certain age.
type AgeassuranceDefs_ConfigRegionRuleIfDeclaredUnderAge ¶
type AgeassuranceDefs_ConfigRegionRuleIfDeclaredUnderAge struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.ageassurance.defs#configRegionRuleIfDeclaredUnderAge"`
Access *string `json:"access" cborgen:"access"`
// age: The age threshold as a whole integer.
Age int64 `json:"age" cborgen:"age"`
}
AgeassuranceDefs_ConfigRegionRuleIfDeclaredUnderAge is a "configRegionRuleIfDeclaredUnderAge" in the app.bsky.ageassurance.defs schema.
Age Assurance rule that applies if the user has declared themselves under a certain age.
type AgeassuranceDefs_ConfigRegion_Rules_Elem ¶
type AgeassuranceDefs_ConfigRegion_Rules_Elem struct {
AgeassuranceDefs_ConfigRegionRuleDefault *AgeassuranceDefs_ConfigRegionRuleDefault
AgeassuranceDefs_ConfigRegionRuleIfDeclaredOverAge *AgeassuranceDefs_ConfigRegionRuleIfDeclaredOverAge
AgeassuranceDefs_ConfigRegionRuleIfDeclaredUnderAge *AgeassuranceDefs_ConfigRegionRuleIfDeclaredUnderAge
AgeassuranceDefs_ConfigRegionRuleIfAssuredOverAge *AgeassuranceDefs_ConfigRegionRuleIfAssuredOverAge
AgeassuranceDefs_ConfigRegionRuleIfAssuredUnderAge *AgeassuranceDefs_ConfigRegionRuleIfAssuredUnderAge
AgeassuranceDefs_ConfigRegionRuleIfAccountNewerThan *AgeassuranceDefs_ConfigRegionRuleIfAccountNewerThan
AgeassuranceDefs_ConfigRegionRuleIfAccountOlderThan *AgeassuranceDefs_ConfigRegionRuleIfAccountOlderThan
}
func (*AgeassuranceDefs_ConfigRegion_Rules_Elem) MarshalJSON ¶
func (t *AgeassuranceDefs_ConfigRegion_Rules_Elem) MarshalJSON() ([]byte, error)
func (*AgeassuranceDefs_ConfigRegion_Rules_Elem) UnmarshalJSON ¶
func (t *AgeassuranceDefs_ConfigRegion_Rules_Elem) UnmarshalJSON(b []byte) error
type AgeassuranceDefs_Event ¶
type AgeassuranceDefs_Event struct {
// access: The access level granted based on Age Assurance data we've processed.
Access string `json:"access" cborgen:"access"`
// attemptId: The unique identifier for this instance of the Age Assurance flow, in UUID format.
AttemptId string `json:"attemptId" cborgen:"attemptId"`
// completeIp: The IP address used when completing the Age Assurance flow.
CompleteIp *string `json:"completeIp,omitempty" cborgen:"completeIp,omitempty"`
// completeUa: The user agent used when completing the Age Assurance flow.
CompleteUa *string `json:"completeUa,omitempty" cborgen:"completeUa,omitempty"`
// countryCode: The ISO 3166-1 alpha-2 country code provided when beginning the Age Assurance flow.
CountryCode string `json:"countryCode" cborgen:"countryCode"`
// createdAt: The date and time of this write operation.
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
// email: The email used for Age Assurance.
Email *string `json:"email,omitempty" cborgen:"email,omitempty"`
// initIp: The IP address used when initiating the Age Assurance flow.
InitIp *string `json:"initIp,omitempty" cborgen:"initIp,omitempty"`
// initUa: The user agent used when initiating the Age Assurance flow.
InitUa *string `json:"initUa,omitempty" cborgen:"initUa,omitempty"`
// regionCode: The ISO 3166-2 region code provided when beginning the Age Assurance flow.
RegionCode *string `json:"regionCode,omitempty" cborgen:"regionCode,omitempty"`
// status: The status of the Age Assurance process.
Status string `json:"status" cborgen:"status"`
}
AgeassuranceDefs_Event is a "event" in the app.bsky.ageassurance.defs schema.
Object used to store Age Assurance data in stash.
type AgeassuranceDefs_State ¶
type AgeassuranceDefs_State struct {
Access *string `json:"access" cborgen:"access"`
// lastInitiatedAt: The timestamp when this state was last updated.
LastInitiatedAt *string `json:"lastInitiatedAt,omitempty" cborgen:"lastInitiatedAt,omitempty"`
Status *string `json:"status" cborgen:"status"`
}
AgeassuranceDefs_State is a "state" in the app.bsky.ageassurance.defs schema.
The user's computed Age Assurance state.
func AgeassuranceBegin ¶
func AgeassuranceBegin(ctx context.Context, c lexutil.LexClient, input *AgeassuranceBegin_Input) (*AgeassuranceDefs_State, error)
AgeassuranceBegin calls the XRPC method "app.bsky.ageassurance.begin".
type AgeassuranceDefs_StateMetadata ¶
type AgeassuranceDefs_StateMetadata struct {
// accountCreatedAt: The account creation timestamp.
AccountCreatedAt *string `json:"accountCreatedAt,omitempty" cborgen:"accountCreatedAt,omitempty"`
}
AgeassuranceDefs_StateMetadata is a "stateMetadata" in the app.bsky.ageassurance.defs schema.
Additional metadata needed to compute Age Assurance state client-side.
type AgeassuranceGetState_Output ¶
type AgeassuranceGetState_Output struct {
Metadata *AgeassuranceDefs_StateMetadata `json:"metadata" cborgen:"metadata"`
State *AgeassuranceDefs_State `json:"state" cborgen:"state"`
}
AgeassuranceGetState_Output is the output of a app.bsky.ageassurance.getState call.
func AgeassuranceGetState ¶
func AgeassuranceGetState(ctx context.Context, c lexutil.LexClient, countryCode string, regionCode string) (*AgeassuranceGetState_Output, error)
AgeassuranceGetState calls the XRPC method "app.bsky.ageassurance.getState".
type BookmarkCreateBookmark_Input ¶
type BookmarkCreateBookmark_Input struct {
Cid string `json:"cid" cborgen:"cid"`
Uri string `json:"uri" cborgen:"uri"`
}
BookmarkCreateBookmark_Input is the input argument to a app.bsky.bookmark.createBookmark call.
type BookmarkDefs_Bookmark ¶
type BookmarkDefs_Bookmark struct {
// subject: A strong ref to the record to be bookmarked. Currently, only `app.bsky.feed.post` records are supported.
Subject *comatproto.RepoStrongRef `json:"subject" cborgen:"subject"`
}
BookmarkDefs_Bookmark is a "bookmark" in the app.bsky.bookmark.defs schema.
Object used to store bookmark data in stash.
type BookmarkDefs_BookmarkView ¶
type BookmarkDefs_BookmarkView struct {
CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"`
Item *BookmarkDefs_BookmarkView_Item `json:"item" cborgen:"item"`
// subject: A strong ref to the bookmarked record.
Subject *comatproto.RepoStrongRef `json:"subject" cborgen:"subject"`
}
BookmarkDefs_BookmarkView is a "bookmarkView" in the app.bsky.bookmark.defs schema.
type BookmarkDefs_BookmarkView_Item ¶
type BookmarkDefs_BookmarkView_Item struct {
FeedDefs_BlockedPost *FeedDefs_BlockedPost
FeedDefs_NotFoundPost *FeedDefs_NotFoundPost
FeedDefs_PostView *FeedDefs_PostView
}
func (*BookmarkDefs_BookmarkView_Item) MarshalJSON ¶
func (t *BookmarkDefs_BookmarkView_Item) MarshalJSON() ([]byte, error)
func (*BookmarkDefs_BookmarkView_Item) UnmarshalJSON ¶
func (t *BookmarkDefs_BookmarkView_Item) UnmarshalJSON(b []byte) error
type BookmarkDeleteBookmark_Input ¶
type BookmarkDeleteBookmark_Input struct {
Uri string `json:"uri" cborgen:"uri"`
}
BookmarkDeleteBookmark_Input is the input argument to a app.bsky.bookmark.deleteBookmark call.
type BookmarkGetBookmarks_Output ¶
type BookmarkGetBookmarks_Output struct {
Bookmarks []*BookmarkDefs_BookmarkView `json:"bookmarks" cborgen:"bookmarks"`
Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
}
BookmarkGetBookmarks_Output is the output of a app.bsky.bookmark.getBookmarks call.
func BookmarkGetBookmarks ¶
func BookmarkGetBookmarks(ctx context.Context, c lexutil.LexClient, cursor string, limit int64) (*BookmarkGetBookmarks_Output, error)
BookmarkGetBookmarks calls the XRPC method "app.bsky.bookmark.getBookmarks".
type ContactDefs_MatchAndContactIndex ¶
type ContactDefs_MatchAndContactIndex struct {
// contactIndex: The index of this match in the import contact input.
ContactIndex int64 `json:"contactIndex" cborgen:"contactIndex"`
// match: Profile of the matched user.
Match *ActorDefs_ProfileView `json:"match" cborgen:"match"`
}
ContactDefs_MatchAndContactIndex is a "matchAndContactIndex" in the app.bsky.contact.defs schema.
Associates a profile with the positional index of the contact import input in the call to `app.bsky.contact.importContacts`, so clients can know which phone caused a particular match.
type ContactDefs_Notification ¶
type ContactDefs_Notification struct {
// from: The DID of who this notification comes from.
From string `json:"from" cborgen:"from"`
// to: The DID of who this notification should go to.
To string `json:"to" cborgen:"to"`
}
ContactDefs_Notification is a "notification" in the app.bsky.contact.defs schema.
A stash object to be sent via bsync representing a notification to be created.
type ContactDefs_SyncStatus ¶
type ContactDefs_SyncStatus struct {
// matchesCount: Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match.
MatchesCount int64 `json:"matchesCount" cborgen:"matchesCount"`
// syncedAt: Last date when contacts where imported.
SyncedAt string `json:"syncedAt" cborgen:"syncedAt"`
}
ContactDefs_SyncStatus is a "syncStatus" in the app.bsky.contact.defs schema.
type ContactDismissMatch_Input ¶
type ContactDismissMatch_Input struct {
// subject: The subject's DID to dismiss the match with.
Subject string `json:"subject" cborgen:"subject"`
}
ContactDismissMatch_Input is the input argument to a app.bsky.contact.dismissMatch call.
type ContactDismissMatch_Output ¶
type ContactDismissMatch_Output struct {
}
ContactDismissMatch_Output is the output of a app.bsky.contact.dismissMatch call.
func ContactDismissMatch ¶
func ContactDismissMatch(ctx context.Context, c lexutil.LexClient, input *ContactDismissMatch_Input) (*ContactDismissMatch_Output, error)
ContactDismissMatch calls the XRPC method "app.bsky.contact.dismissMatch".
type ContactGetMatches_Output ¶
type ContactGetMatches_Output struct {
Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
Matches []*ActorDefs_ProfileView `json:"matches" cborgen:"matches"`
}
ContactGetMatches_Output is the output of a app.bsky.contact.getMatches call.
func ContactGetMatches ¶
func ContactGetMatches(ctx context.Context, c lexutil.LexClient, cursor string, limit int64) (*ContactGetMatches_Output, error)
ContactGetMatches calls the XRPC method "app.bsky.contact.getMatches".
type ContactGetSyncStatus_Output ¶
type ContactGetSyncStatus_Output struct {
// syncStatus: If present, indicates the user has imported their contacts. If not present, indicates the user never used the feature or called `app.bsky.contact.removeData` and didn't import again since.
SyncStatus *ContactDefs_SyncStatus `json:"syncStatus,omitempty" cborgen:"syncStatus,omitempty"`
}
ContactGetSyncStatus_Output is the output of a app.bsky.contact.getSyncStatus call.
func ContactGetSyncStatus ¶
func ContactGetSyncStatus(ctx context.Context, c lexutil.LexClient) (*ContactGetSyncStatus_Output, error)
ContactGetSyncStatus calls the XRPC method "app.bsky.contact.getSyncStatus".
type ContactImportContacts_Input ¶
type ContactImportContacts_Input struct {
// contacts: List of phone numbers in global E.164 format (e.g., '+12125550123'). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the 'phone' input used in `app.bsky.contact.verifyPhone`.
Contacts []string `json:"contacts" cborgen:"contacts"`
// token: JWT to authenticate the call. Use the JWT received as a response to the call to `app.bsky.contact.verifyPhone`.
Token string `json:"token" cborgen:"token"`
}
ContactImportContacts_Input is the input argument to a app.bsky.contact.importContacts call.
type ContactImportContacts_Output ¶
type ContactImportContacts_Output struct {
// matchesAndContactIndexes: The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.
MatchesAndContactIndexes []*ContactDefs_MatchAndContactIndex `json:"matchesAndContactIndexes" cborgen:"matchesAndContactIndexes"`
}
ContactImportContacts_Output is the output of a app.bsky.contact.importContacts call.
func ContactImportContacts ¶
func ContactImportContacts(ctx context.Context, c lexutil.LexClient, input *ContactImportContacts_Input) (*ContactImportContacts_Output, error)
ContactImportContacts calls the XRPC method "app.bsky.contact.importContacts".
type ContactRemoveData_Input ¶
type ContactRemoveData_Input struct {
}
ContactRemoveData_Input is the input argument to a app.bsky.contact.removeData call.
type ContactRemoveData_Output ¶
type ContactRemoveData_Output struct {
}
ContactRemoveData_Output is the output of a app.bsky.contact.removeData call.
func ContactRemoveData ¶
func ContactRemoveData(ctx context.Context, c lexutil.LexClient, input *ContactRemoveData_Input) (*ContactRemoveData_Output, error)
ContactRemoveData calls the XRPC method "app.bsky.contact.removeData".
type ContactSendNotification_Input ¶
type ContactSendNotification_Input struct {
// from: The DID of who this notification comes from.
From string `json:"from" cborgen:"from"`
// to: The DID of who this notification should go to.
To string `json:"to" cborgen:"to"`
}
ContactSendNotification_Input is the input argument to a app.bsky.contact.sendNotification call.
type ContactSendNotification_Output ¶
type ContactSendNotification_Output struct {
}
ContactSendNotification_Output is the output of a app.bsky.contact.sendNotification call.
func ContactSendNotification ¶
func ContactSendNotification(ctx context.Context, c lexutil.LexClient, input *ContactSendNotification_Input) (*ContactSendNotification_Output, error)
ContactSendNotification calls the XRPC method "app.bsky.contact.sendNotification".
type ContactStartPhoneVerification_Input ¶
type ContactStartPhoneVerification_Input struct {
// phone: The phone number to receive the code via SMS.
Phone string `json:"phone" cborgen:"phone"`
}
ContactStartPhoneVerification_Input is the input argument to a app.bsky.contact.startPhoneVerification call.
type ContactStartPhoneVerification_Output ¶
type ContactStartPhoneVerification_Output struct {
}
ContactStartPhoneVerification_Output is the output of a app.bsky.contact.startPhoneVerification call.
func ContactStartPhoneVerification ¶
func ContactStartPhoneVerification(ctx context.Context, c lexutil.LexClient, input *ContactStartPhoneVerification_Input) (*ContactStartPhoneVerification_Output, error)
ContactStartPhoneVerification calls the XRPC method "app.bsky.contact.startPhoneVerification".
type ContactVerifyPhone_Input ¶
type ContactVerifyPhone_Input struct {
// code: The code received via SMS as a result of the call to `app.bsky.contact.startPhoneVerification`.
Code string `json:"code" cborgen:"code"`
// phone: The phone number to verify. Should be the same as the one passed to `app.bsky.contact.startPhoneVerification`.
Phone string `json:"phone" cborgen:"phone"`
}
ContactVerifyPhone_Input is the input argument to a app.bsky.contact.verifyPhone call.
type ContactVerifyPhone_Output ¶
type ContactVerifyPhone_Output struct {
// token: JWT to be used in a call to `app.bsky.contact.importContacts`. It is only valid for a single call.
Token string `json:"token" cborgen:"token"`
}
ContactVerifyPhone_Output is the output of a app.bsky.contact.verifyPhone call.
func ContactVerifyPhone ¶
func ContactVerifyPhone(ctx context.Context, c lexutil.LexClient, input *ContactVerifyPhone_Input) (*ContactVerifyPhone_Output, error)
ContactVerifyPhone calls the XRPC method "app.bsky.contact.verifyPhone".
type DraftCreateDraft_Input ¶
type DraftCreateDraft_Input struct {
Draft *DraftDefs_Draft `json:"draft" cborgen:"draft"`
}
DraftCreateDraft_Input is the input argument to a app.bsky.draft.createDraft call.
type DraftCreateDraft_Output ¶
type DraftCreateDraft_Output struct {
// id: The ID of the created draft.
Id string `json:"id" cborgen:"id"`
}
DraftCreateDraft_Output is the output of a app.bsky.draft.createDraft call.
func DraftCreateDraft ¶
func DraftCreateDraft(ctx context.Context, c lexutil.LexClient, input *DraftCreateDraft_Input) (*DraftCreateDraft_Output, error)
DraftCreateDraft calls the XRPC method "app.bsky.draft.createDraft".
type DraftDefs_Draft ¶
type DraftDefs_Draft struct {
// deviceId: UUIDv4 identifier of the device that created this draft.
DeviceId *string `json:"deviceId,omitempty" cborgen:"deviceId,omitempty"`
// deviceName: The device and/or platform on which the draft was created.
DeviceName *string `json:"deviceName,omitempty" cborgen:"deviceName,omitempty"`
// langs: Indicates human language of posts primary text content.
Langs []string `json:"langs,omitempty" cborgen:"langs,omitempty"`
// postgateEmbeddingRules: Embedding rules for the postgates to be created when this draft is published.
PostgateEmbeddingRules []*DraftDefs_Draft_PostgateEmbeddingRules_Elem `json:"postgateEmbeddingRules,omitempty" cborgen:"postgateEmbeddingRules,omitempty"`
// posts: Array of draft posts that compose this draft.
Posts []*DraftDefs_DraftPost `json:"posts" cborgen:"posts"`
// threadgateAllow: Allow-rules for the threadgate to be created when this draft is published.
ThreadgateAllow []*DraftDefs_Draft_ThreadgateAllow_Elem `json:"threadgateAllow,omitempty" cborgen:"threadgateAllow,omitempty"`
}
DraftDefs_Draft is a "draft" in the app.bsky.draft.defs schema.
A draft containing an array of draft posts.
type DraftDefs_DraftEmbedCaption ¶
type DraftDefs_DraftEmbedCaption struct {
Content string `json:"content" cborgen:"content"`
Lang string `json:"lang" cborgen:"lang"`
}
DraftDefs_DraftEmbedCaption is a "draftEmbedCaption" in the app.bsky.draft.defs schema.
type DraftDefs_DraftEmbedExternal ¶
type DraftDefs_DraftEmbedExternal struct {
Uri string `json:"uri" cborgen:"uri"`
}
DraftDefs_DraftEmbedExternal is a "draftEmbedExternal" in the app.bsky.draft.defs schema.
type DraftDefs_DraftEmbedImage ¶
type DraftDefs_DraftEmbedImage struct {
Alt *string `json:"alt,omitempty" cborgen:"alt,omitempty"`
LocalRef *DraftDefs_DraftEmbedLocalRef `json:"localRef" cborgen:"localRef"`
}
DraftDefs_DraftEmbedImage is a "draftEmbedImage" in the app.bsky.draft.defs schema.
type DraftDefs_DraftEmbedLocalRef ¶
type DraftDefs_DraftEmbedLocalRef struct {
// path: Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.
Path string `json:"path" cborgen:"path"`
}
DraftDefs_DraftEmbedLocalRef is a "draftEmbedLocalRef" in the app.bsky.draft.defs schema.
type DraftDefs_DraftEmbedRecord ¶
type DraftDefs_DraftEmbedRecord struct {
Record *comatproto.RepoStrongRef `json:"record" cborgen:"record"`
}
DraftDefs_DraftEmbedRecord is a "draftEmbedRecord" in the app.bsky.draft.defs schema.
type DraftDefs_DraftEmbedVideo ¶
type DraftDefs_DraftEmbedVideo struct {
Alt *string `json:"alt,omitempty" cborgen:"alt,omitempty"`
Captions []*DraftDefs_DraftEmbedCaption `json:"captions,omitempty" cborgen:"captions,omitempty"`
LocalRef *DraftDefs_DraftEmbedLocalRef `json:"localRef" cborgen:"localRef"`
}
DraftDefs_DraftEmbedVideo is a "draftEmbedVideo" in the app.bsky.draft.defs schema.
type DraftDefs_DraftPost ¶
type DraftDefs_DraftPost struct {
EmbedExternals []*DraftDefs_DraftEmbedExternal `json:"embedExternals,omitempty" cborgen:"embedExternals,omitempty"`
EmbedImages []*DraftDefs_DraftEmbedImage `json:"embedImages,omitempty" cborgen:"embedImages,omitempty"`
EmbedRecords []*DraftDefs_DraftEmbedRecord `json:"embedRecords,omitempty" cborgen:"embedRecords,omitempty"`
EmbedVideos []*DraftDefs_DraftEmbedVideo `json:"embedVideos,omitempty" cborgen:"embedVideos,omitempty"`
// labels: Self-label values for this post. Effectively content warnings.
Labels *DraftDefs_DraftPost_Labels `json:"labels,omitempty" cborgen:"labels,omitempty"`
// text: The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts.
Text string `json:"text" cborgen:"text"`
}
DraftDefs_DraftPost is a "draftPost" in the app.bsky.draft.defs schema.
One of the posts that compose a draft.
type DraftDefs_DraftPost_Labels ¶
type DraftDefs_DraftPost_Labels struct {
LabelDefs_SelfLabels *comatproto.LabelDefs_SelfLabels
}
Self-label values for this post. Effectively content warnings.
func (*DraftDefs_DraftPost_Labels) MarshalJSON ¶
func (t *DraftDefs_DraftPost_Labels) MarshalJSON() ([]byte, error)
func (*DraftDefs_DraftPost_Labels) UnmarshalJSON ¶
func (t *DraftDefs_DraftPost_Labels) UnmarshalJSON(b []byte) error
type DraftDefs_DraftView ¶
type DraftDefs_DraftView struct {
// createdAt: The time the draft was created.
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
Draft *DraftDefs_Draft `json:"draft" cborgen:"draft"`
// id: A TID to be used as a draft identifier.
Id string `json:"id" cborgen:"id"`
// updatedAt: The time the draft was last updated.
UpdatedAt string `json:"updatedAt" cborgen:"updatedAt"`
}
DraftDefs_DraftView is a "draftView" in the app.bsky.draft.defs schema.
View to present drafts data to users.
type DraftDefs_DraftWithId ¶
type DraftDefs_DraftWithId struct {
Draft *DraftDefs_Draft `json:"draft" cborgen:"draft"`
// id: A TID to be used as a draft identifier.
Id string `json:"id" cborgen:"id"`
}
DraftDefs_DraftWithId is a "draftWithId" in the app.bsky.draft.defs schema.
A draft with an identifier, used to store drafts in private storage (stash).
type DraftDefs_Draft_PostgateEmbeddingRules_Elem ¶
type DraftDefs_Draft_PostgateEmbeddingRules_Elem struct {
FeedPostgate_DisableRule *FeedPostgate_DisableRule
}
func (*DraftDefs_Draft_PostgateEmbeddingRules_Elem) MarshalJSON ¶
func (t *DraftDefs_Draft_PostgateEmbeddingRules_Elem) MarshalJSON() ([]byte, error)
func (*DraftDefs_Draft_PostgateEmbeddingRules_Elem) UnmarshalJSON ¶
func (t *DraftDefs_Draft_PostgateEmbeddingRules_Elem) UnmarshalJSON(b []byte) error
type DraftDefs_Draft_ThreadgateAllow_Elem ¶
type DraftDefs_Draft_ThreadgateAllow_Elem struct {
FeedThreadgate_MentionRule *FeedThreadgate_MentionRule
FeedThreadgate_FollowerRule *FeedThreadgate_FollowerRule
FeedThreadgate_FollowingRule *FeedThreadgate_FollowingRule
FeedThreadgate_ListRule *FeedThreadgate_ListRule
}
func (*DraftDefs_Draft_ThreadgateAllow_Elem) MarshalJSON ¶
func (t *DraftDefs_Draft_ThreadgateAllow_Elem) MarshalJSON() ([]byte, error)
func (*DraftDefs_Draft_ThreadgateAllow_Elem) UnmarshalJSON ¶
func (t *DraftDefs_Draft_ThreadgateAllow_Elem) UnmarshalJSON(b []byte) error
type DraftDeleteDraft_Input ¶
type DraftDeleteDraft_Input struct {
Id string `json:"id" cborgen:"id"`
}
DraftDeleteDraft_Input is the input argument to a app.bsky.draft.deleteDraft call.
type DraftGetDrafts_Output ¶
type DraftGetDrafts_Output struct {
Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
Drafts []*DraftDefs_DraftView `json:"drafts" cborgen:"drafts"`
}
DraftGetDrafts_Output is the output of a app.bsky.draft.getDrafts call.
func DraftGetDrafts ¶
func DraftGetDrafts(ctx context.Context, c lexutil.LexClient, cursor string, limit int64) (*DraftGetDrafts_Output, error)
DraftGetDrafts calls the XRPC method "app.bsky.draft.getDrafts".
type DraftUpdateDraft_Input ¶
type DraftUpdateDraft_Input struct {
Draft *DraftDefs_DraftWithId `json:"draft" cborgen:"draft"`
}
DraftUpdateDraft_Input is the input argument to a app.bsky.draft.updateDraft call.
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" cborgen:"$type,const=app.bsky.embed.external"`
External *EmbedExternal_External `json:"external" cborgen:"external"`
}
EmbedExternal is a "main" in the app.bsky.embed.external schema.
A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).
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 *lexutil.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" 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.
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" cborgen:"$type,const=app.bsky.embed.images"`
Images []*EmbedImages_Image `json:"images" cborgen:"images"`
}
EmbedImages is a "main" in the app.bsky.embed.images schema.
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: The raw image file. May be up to 2 MB, formerly limited to 1 MB.
Image *lexutil.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" 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.
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" cborgen:"$type,const=app.bsky.embed.record"`
Record *comatproto.RepoStrongRef `json:"record" cborgen:"record"`
}
EmbedRecord is a "main" in the app.bsky.embed.record schema.
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" cborgen:"$type,const=app.bsky.embed.recordWithMedia"`
Media *EmbedRecordWithMedia_Media `json:"media" cborgen:"media"`
Record *EmbedRecord `json:"record" cborgen:"record"`
}
EmbedRecordWithMedia is a "main" in the app.bsky.embed.recordWithMedia schema.
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" 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.
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" 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.
type EmbedRecord_ViewBlocked ¶
type EmbedRecord_ViewBlocked struct {
LexiconTypeID string `json:"$type" 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.
type EmbedRecord_ViewDetached ¶
type EmbedRecord_ViewDetached struct {
LexiconTypeID string `json:"$type" 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.
type EmbedRecord_ViewNotFound ¶
type EmbedRecord_ViewNotFound struct {
LexiconTypeID string `json:"$type" 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.
type EmbedRecord_ViewRecord ¶
type EmbedRecord_ViewRecord struct {
LexiconTypeID string `json:"$type" 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 []*comatproto.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 *lexutil.LexiconTypeDecoder `json:"value" cborgen:"value"`
}
EmbedRecord_ViewRecord is a "viewRecord" in the app.bsky.embed.record schema.
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" 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"`
// presentation: A hint to the client about how to present the video.
Presentation *string `json:"presentation,omitempty" cborgen:"presentation,omitempty"`
// video: The mp4 video file. May be up to 100mb, formerly limited to 50mb.
Video *lexutil.LexBlob `json:"video" cborgen:"video"`
}
EmbedVideo is a "main" in the app.bsky.embed.video schema.
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 *lexutil.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" 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"`
// presentation: A hint to the client about how to present the video.
Presentation *string `json:"presentation,omitempty" cborgen:"presentation,omitempty"`
Thumbnail *string `json:"thumbnail,omitempty" cborgen:"thumbnail,omitempty"`
}
EmbedVideo_View is a "view" in the app.bsky.embed.video schema.
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" 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.
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"`
// reqId: Unique identifier per request that may be passed back alongside interactions.
ReqId *string `json:"reqId,omitempty" cborgen:"reqId,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" 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 []*comatproto.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.
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"`
// reqId: Unique identifier per request that may be passed back alongside interactions.
ReqId *string `json:"reqId,omitempty" cborgen:"reqId,omitempty"`
}
FeedDefs_Interaction is a "interaction" in the app.bsky.feed.defs schema.
type FeedDefs_NotFoundPost ¶
type FeedDefs_NotFoundPost struct {
LexiconTypeID string `json:"$type" 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.
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" cborgen:"$type,const=app.bsky.feed.defs#postView"`
Author *ActorDefs_ProfileViewBasic `json:"author" cborgen:"author"`
BookmarkCount *int64 `json:"bookmarkCount,omitempty" cborgen:"bookmarkCount,omitempty"`
Cid string `json:"cid" cborgen:"cid"`
// debug: Debug information for internal development
Debug *interface{} `json:"debug,omitempty" cborgen:"debug,omitempty"`
Embed *FeedDefs_PostView_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"`
IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
Labels []*comatproto.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 *lexutil.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.
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" cborgen:"$type,const=app.bsky.feed.defs#reasonPin"`
}
FeedDefs_ReasonPin is a "reasonPin" in the app.bsky.feed.defs schema.
type FeedDefs_ReasonRepost ¶
type FeedDefs_ReasonRepost struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.defs#reasonRepost"`
By *ActorDefs_ProfileViewBasic `json:"by" cborgen:"by"`
Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"`
IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
Uri *string `json:"uri,omitempty" cborgen:"uri,omitempty"`
}
FeedDefs_ReasonRepost is a "reasonRepost" in the app.bsky.feed.defs schema.
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" cborgen:"$type,const=app.bsky.feed.defs#skeletonReasonPin"`
}
FeedDefs_SkeletonReasonPin is a "skeletonReasonPin" in the app.bsky.feed.defs schema.
type FeedDefs_SkeletonReasonRepost ¶
type FeedDefs_SkeletonReasonRepost struct {
LexiconTypeID string `json:"$type" 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.
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" 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.
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 *lexutil.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 {
Bookmarked *bool `json:"bookmarked,omitempty" cborgen:"bookmarked,omitempty"`
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 lexutil.LexClient) (*FeedDescribeFeedGenerator_Output, error)
FeedDescribeFeedGenerator calls the XRPC method "app.bsky.feed.describeFeedGenerator".
type FeedGenerator ¶
type FeedGenerator struct {
LexiconTypeID string `json:"$type" 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 *lexutil.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"`
}
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 *comatproto.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 lexutil.LexClient, 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 lexutil.LexClient, 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 lexutil.LexClient, 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"`
// reqId: Unique identifier per request that may be passed back alongside interactions.
ReqId *string `json:"reqId,omitempty" cborgen:"reqId,omitempty"`
}
FeedGetFeedSkeleton_Output is the output of a app.bsky.feed.getFeedSkeleton call.
func FeedGetFeedSkeleton ¶
func FeedGetFeedSkeleton(ctx context.Context, c lexutil.LexClient, 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 lexutil.LexClient, 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 lexutil.LexClient, 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 ¶
func FeedGetPosts(ctx context.Context, c lexutil.LexClient, uris []string) (*FeedGetPosts_Output, error)
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 lexutil.LexClient, 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 lexutil.LexClient, 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 lexutil.LexClient, 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 lexutil.LexClient, 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" cborgen:"$type,const=app.bsky.feed.like"`
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
Subject *comatproto.RepoStrongRef `json:"subject" cborgen:"subject"`
Via *comatproto.RepoStrongRef `json:"via,omitempty" cborgen:"via,omitempty"`
}
type FeedPost ¶
type FeedPost struct {
LexiconTypeID string `json:"$type" 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"`
}
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 *comatproto.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 *comatproto.RepoStrongRef `json:"parent" cborgen:"parent"`
Root *comatproto.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" 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"`
}
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" 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.
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" cborgen:"$type,const=app.bsky.feed.repost"`
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
Subject *comatproto.RepoStrongRef `json:"subject" cborgen:"subject"`
Via *comatproto.RepoStrongRef `json:"via,omitempty" cborgen:"via,omitempty"`
}
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 lexutil.LexClient, 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 {
Feed *string `json:"feed,omitempty" cborgen:"feed,omitempty"`
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 lexutil.LexClient, input *FeedSendInteractions_Input) (*FeedSendInteractions_Output, error)
FeedSendInteractions calls the XRPC method "app.bsky.feed.sendInteractions".
type FeedThreadgate ¶
type FeedThreadgate struct {
LexiconTypeID string `json:"$type" 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"`
}
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" 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.
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" 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.
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" 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.
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" 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.
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" 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"`
}
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" 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 []*comatproto.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.
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 []*comatproto.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" 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
type GraphDefs_Relationship ¶
type GraphDefs_Relationship struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.defs#relationship"`
// blockedBy: if the actor is blocked by this DID, contains the AT-URI of the block record
BlockedBy *string `json:"blockedBy,omitempty" cborgen:"blockedBy,omitempty"`
// blockedByList: if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record
BlockedByList *string `json:"blockedByList,omitempty" cborgen:"blockedByList,omitempty"`
// blocking: if the actor blocks this DID, this is the AT-URI of the block record
Blocking *string `json:"blocking,omitempty" cborgen:"blocking,omitempty"`
// blockingByList: if the actor blocks this DID via a block list, this is the AT-URI of the listblock record
BlockingByList *string `json:"blockingByList,omitempty" cborgen:"blockingByList,omitempty"`
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)
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 []*comatproto.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 *lexutil.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" 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 []*comatproto.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
ListItemCount *int64 `json:"listItemCount,omitempty" cborgen:"listItemCount,omitempty"`
Record *lexutil.LexiconTypeDecoder `json:"record" cborgen:"record"`
Uri string `json:"uri" cborgen:"uri"`
}
GraphDefs_StarterPackViewBasic is a "starterPackViewBasic" in the app.bsky.graph.defs schema.
type GraphFollow ¶
type GraphFollow struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.follow"`
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
Subject string `json:"subject" cborgen:"subject"`
Via *comatproto.RepoStrongRef `json:"via,omitempty" cborgen:"via,omitempty"`
}
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 lexutil.LexClient, 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 lexutil.LexClient, 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 lexutil.LexClient, 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 GraphGetListsWithMembership_ListWithMembership ¶
type GraphGetListsWithMembership_ListWithMembership struct {
List *GraphDefs_ListView `json:"list" cborgen:"list"`
ListItem *GraphDefs_ListItemView `json:"listItem,omitempty" cborgen:"listItem,omitempty"`
}
GraphGetListsWithMembership_ListWithMembership is a "listWithMembership" in the app.bsky.graph.getListsWithMembership schema.
A list and an optional list item indicating membership of a target user to that list.
type GraphGetListsWithMembership_Output ¶
type GraphGetListsWithMembership_Output struct {
Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
ListsWithMembership []*GraphGetListsWithMembership_ListWithMembership `json:"listsWithMembership" cborgen:"listsWithMembership"`
}
GraphGetListsWithMembership_Output is the output of a app.bsky.graph.getListsWithMembership call.
func GraphGetListsWithMembership ¶
func GraphGetListsWithMembership(ctx context.Context, c lexutil.LexClient, actor string, cursor string, limit int64, purposes []string) (*GraphGetListsWithMembership_Output, error)
GraphGetListsWithMembership calls the XRPC method "app.bsky.graph.getListsWithMembership".
actor: The account (actor) to check for membership. purposes: Optional filter by list purpose. If not specified, all supported types are returned.
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.
func GraphGetLists ¶
func GraphGetLists(ctx context.Context, c lexutil.LexClient, actor string, cursor string, limit int64, purposes []string) (*GraphGetLists_Output, error)
GraphGetLists calls the XRPC method "app.bsky.graph.getLists".
actor: The account (actor) to enumerate lists from. purposes: Optional filter by list purpose. If not specified, all supported types are returned.
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 lexutil.LexClient, 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 lexutil.LexClient, 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 lexutil.LexClient, starterPack string) (*GraphGetStarterPack_Output, error)
GraphGetStarterPack calls the XRPC method "app.bsky.graph.getStarterPack".
starterPack: Reference (AT-URI) of the starter pack record.
type GraphGetStarterPacksWithMembership_Output ¶
type GraphGetStarterPacksWithMembership_Output struct {
Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
StarterPacksWithMembership []*GraphGetStarterPacksWithMembership_StarterPackWithMembership `json:"starterPacksWithMembership" cborgen:"starterPacksWithMembership"`
}
GraphGetStarterPacksWithMembership_Output is the output of a app.bsky.graph.getStarterPacksWithMembership call.
func GraphGetStarterPacksWithMembership ¶
func GraphGetStarterPacksWithMembership(ctx context.Context, c lexutil.LexClient, actor string, cursor string, limit int64) (*GraphGetStarterPacksWithMembership_Output, error)
GraphGetStarterPacksWithMembership calls the XRPC method "app.bsky.graph.getStarterPacksWithMembership".
actor: The account (actor) to check for membership.
type GraphGetStarterPacksWithMembership_StarterPackWithMembership ¶
type GraphGetStarterPacksWithMembership_StarterPackWithMembership struct {
ListItem *GraphDefs_ListItemView `json:"listItem,omitempty" cborgen:"listItem,omitempty"`
StarterPack *GraphDefs_StarterPackView `json:"starterPack" cborgen:"starterPack"`
}
GraphGetStarterPacksWithMembership_StarterPackWithMembership is a "starterPackWithMembership" in the app.bsky.graph.getStarterPacksWithMembership schema.
A starter pack and an optional list item indicating membership of a target user to that starter pack.
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 lexutil.LexClient, uris []string) (*GraphGetStarterPacks_Output, error)
GraphGetStarterPacks calls the XRPC method "app.bsky.graph.getStarterPacks".
type GraphGetSuggestedFollowsByActor_Output ¶
type GraphGetSuggestedFollowsByActor_Output struct {
// isFallback: DEPRECATED, unused. Previously: if true, response has fallen-back to generic results, and is not scoped using relativeToDid
IsFallback *bool `json:"isFallback,omitempty" cborgen:"isFallback,omitempty"`
// recId: DEPRECATED: use recIdStr instead.
RecId *int64 `json:"recId,omitempty" cborgen:"recId,omitempty"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,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 lexutil.LexClient, actor string) (*GraphGetSuggestedFollowsByActor_Output, error)
GraphGetSuggestedFollowsByActor calls the XRPC method "app.bsky.graph.getSuggestedFollowsByActor".
type GraphList ¶
type GraphList struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.list"`
Avatar *lexutil.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"`
}
type GraphList_Labels ¶
type GraphList_Labels struct {
LabelDefs_SelfLabels *comatproto.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" 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"`
}
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" 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"`
}
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 lexutil.LexClient, 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" 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"`
}
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 GraphVerification ¶
type GraphVerification struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.verification"`
// createdAt: Date of when the verification was created.
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
// displayName: Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying.
DisplayName string `json:"displayName" cborgen:"displayName"`
// handle: Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying.
Handle string `json:"handle" cborgen:"handle"`
// subject: DID of the subject the verification applies to.
Subject string `json:"subject" cborgen:"subject"`
}
func (*GraphVerification) MarshalCBOR ¶
func (t *GraphVerification) MarshalCBOR(w io.Writer) error
func (*GraphVerification) UnmarshalCBOR ¶
func (t *GraphVerification) UnmarshalCBOR(r io.Reader) (err error)
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 []*comatproto.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" 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 []*comatproto.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.
type LabelerDefs_LabelerViewDetailed ¶
type LabelerDefs_LabelerViewDetailed struct {
LexiconTypeID string `json:"$type" 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 []*comatproto.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"`
Policies *LabelerDefs_LabelerPolicies `json:"policies" cborgen:"policies"`
// reasonTypes: The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.
ReasonTypes []*string `json:"reasonTypes,omitempty" cborgen:"reasonTypes,omitempty"`
// subjectCollections: Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.
SubjectCollections []string `json:"subjectCollections,omitempty" cborgen:"subjectCollections,omitempty"`
// subjectTypes: The set of subject types (account, record, etc) this service accepts reports on.
SubjectTypes []*string `json:"subjectTypes,omitempty" cborgen:"subjectTypes,omitempty"`
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.
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 lexutil.LexClient, 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" 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"`
// reasonTypes: The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.
ReasonTypes []*string `json:"reasonTypes,omitempty" cborgen:"reasonTypes,omitempty"`
// subjectCollections: Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.
SubjectCollections []string `json:"subjectCollections,omitempty" cborgen:"subjectCollections,omitempty"`
// subjectTypes: The set of subject types (account, record, etc) this service accepts reports on.
SubjectTypes []*string `json:"subjectTypes,omitempty" cborgen:"subjectTypes,omitempty"`
}
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 *comatproto.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 NotificationDeclaration ¶
type NotificationDeclaration struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.notification.declaration"`
// allowSubscriptions: A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'.
AllowSubscriptions string `json:"allowSubscriptions" cborgen:"allowSubscriptions"`
}
func (*NotificationDeclaration) MarshalCBOR ¶
func (t *NotificationDeclaration) MarshalCBOR(w io.Writer) error
func (*NotificationDeclaration) UnmarshalCBOR ¶
func (t *NotificationDeclaration) UnmarshalCBOR(r io.Reader) (err error)
type NotificationDefs_ActivitySubscription ¶
type NotificationDefs_ActivitySubscription struct {
Post bool `json:"post" cborgen:"post"`
Reply bool `json:"reply" cborgen:"reply"`
}
NotificationDefs_ActivitySubscription is a "activitySubscription" in the app.bsky.notification.defs schema.
type NotificationDefs_ChatPreference ¶
type NotificationDefs_ChatPreference struct {
Include string `json:"include" cborgen:"include"`
Push bool `json:"push" cborgen:"push"`
}
NotificationDefs_ChatPreference is a "chatPreference" in the app.bsky.notification.defs schema.
type NotificationDefs_FilterablePreference ¶
type NotificationDefs_FilterablePreference struct {
Include string `json:"include" cborgen:"include"`
List bool `json:"list" cborgen:"list"`
Push bool `json:"push" cborgen:"push"`
}
NotificationDefs_FilterablePreference is a "filterablePreference" in the app.bsky.notification.defs schema.
type NotificationDefs_Preference ¶
type NotificationDefs_Preference struct {
List bool `json:"list" cborgen:"list"`
Push bool `json:"push" cborgen:"push"`
}
NotificationDefs_Preference is a "preference" in the app.bsky.notification.defs schema.
type NotificationDefs_Preferences ¶
type NotificationDefs_Preferences struct {
Chat *NotificationDefs_ChatPreference `json:"chat" cborgen:"chat"`
Follow *NotificationDefs_FilterablePreference `json:"follow" cborgen:"follow"`
Like *NotificationDefs_FilterablePreference `json:"like" cborgen:"like"`
LikeViaRepost *NotificationDefs_FilterablePreference `json:"likeViaRepost" cborgen:"likeViaRepost"`
Mention *NotificationDefs_FilterablePreference `json:"mention" cborgen:"mention"`
Quote *NotificationDefs_FilterablePreference `json:"quote" cborgen:"quote"`
Reply *NotificationDefs_FilterablePreference `json:"reply" cborgen:"reply"`
Repost *NotificationDefs_FilterablePreference `json:"repost" cborgen:"repost"`
RepostViaRepost *NotificationDefs_FilterablePreference `json:"repostViaRepost" cborgen:"repostViaRepost"`
StarterpackJoined *NotificationDefs_Preference `json:"starterpackJoined" cborgen:"starterpackJoined"`
SubscribedPost *NotificationDefs_Preference `json:"subscribedPost" cborgen:"subscribedPost"`
Unverified *NotificationDefs_Preference `json:"unverified" cborgen:"unverified"`
Verified *NotificationDefs_Preference `json:"verified" cborgen:"verified"`
}
NotificationDefs_Preferences is a "preferences" in the app.bsky.notification.defs schema.
type NotificationDefs_RecordDeleted ¶
type NotificationDefs_RecordDeleted struct {
}
NotificationDefs_RecordDeleted is a "recordDeleted" in the app.bsky.notification.defs schema.
type NotificationDefs_SubjectActivitySubscription ¶
type NotificationDefs_SubjectActivitySubscription struct {
ActivitySubscription *NotificationDefs_ActivitySubscription `json:"activitySubscription" cborgen:"activitySubscription"`
Subject string `json:"subject" cborgen:"subject"`
}
NotificationDefs_SubjectActivitySubscription is a "subjectActivitySubscription" in the app.bsky.notification.defs schema.
Object used to store activity subscription data in stash.
type NotificationGetPreferences_Output ¶
type NotificationGetPreferences_Output struct {
Preferences *NotificationDefs_Preferences `json:"preferences" cborgen:"preferences"`
}
NotificationGetPreferences_Output is the output of a app.bsky.notification.getPreferences call.
func NotificationGetPreferences ¶
func NotificationGetPreferences(ctx context.Context, c lexutil.LexClient) (*NotificationGetPreferences_Output, error)
NotificationGetPreferences calls the XRPC method "app.bsky.notification.getPreferences".
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 lexutil.LexClient, priority bool, seenAt string) (*NotificationGetUnreadCount_Output, error)
NotificationGetUnreadCount calls the XRPC method "app.bsky.notification.getUnreadCount".
type NotificationListActivitySubscriptions_Output ¶
type NotificationListActivitySubscriptions_Output struct {
Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
Subscriptions []*ActorDefs_ProfileView `json:"subscriptions" cborgen:"subscriptions"`
}
NotificationListActivitySubscriptions_Output is the output of a app.bsky.notification.listActivitySubscriptions call.
func NotificationListActivitySubscriptions ¶
func NotificationListActivitySubscriptions(ctx context.Context, c lexutil.LexClient, cursor string, limit int64) (*NotificationListActivitySubscriptions_Output, error)
NotificationListActivitySubscriptions calls the XRPC method "app.bsky.notification.listActivitySubscriptions".
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 []*comatproto.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
// reason: The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.
Reason string `json:"reason" cborgen:"reason"`
ReasonSubject *string `json:"reasonSubject,omitempty" cborgen:"reasonSubject,omitempty"`
Record *lexutil.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 lexutil.LexClient, 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 NotificationPutActivitySubscription_Input ¶
type NotificationPutActivitySubscription_Input struct {
ActivitySubscription *NotificationDefs_ActivitySubscription `json:"activitySubscription" cborgen:"activitySubscription"`
Subject string `json:"subject" cborgen:"subject"`
}
NotificationPutActivitySubscription_Input is the input argument to a app.bsky.notification.putActivitySubscription call.
type NotificationPutActivitySubscription_Output ¶
type NotificationPutActivitySubscription_Output struct {
ActivitySubscription *NotificationDefs_ActivitySubscription `json:"activitySubscription,omitempty" cborgen:"activitySubscription,omitempty"`
Subject string `json:"subject" cborgen:"subject"`
}
NotificationPutActivitySubscription_Output is the output of a app.bsky.notification.putActivitySubscription call.
func NotificationPutActivitySubscription ¶
func NotificationPutActivitySubscription(ctx context.Context, c lexutil.LexClient, input *NotificationPutActivitySubscription_Input) (*NotificationPutActivitySubscription_Output, error)
NotificationPutActivitySubscription calls the XRPC method "app.bsky.notification.putActivitySubscription".
type NotificationPutPreferencesV2_Input ¶
type NotificationPutPreferencesV2_Input struct {
Chat *NotificationDefs_ChatPreference `json:"chat,omitempty" cborgen:"chat,omitempty"`
Follow *NotificationDefs_FilterablePreference `json:"follow,omitempty" cborgen:"follow,omitempty"`
Like *NotificationDefs_FilterablePreference `json:"like,omitempty" cborgen:"like,omitempty"`
LikeViaRepost *NotificationDefs_FilterablePreference `json:"likeViaRepost,omitempty" cborgen:"likeViaRepost,omitempty"`
Mention *NotificationDefs_FilterablePreference `json:"mention,omitempty" cborgen:"mention,omitempty"`
Quote *NotificationDefs_FilterablePreference `json:"quote,omitempty" cborgen:"quote,omitempty"`
Reply *NotificationDefs_FilterablePreference `json:"reply,omitempty" cborgen:"reply,omitempty"`
Repost *NotificationDefs_FilterablePreference `json:"repost,omitempty" cborgen:"repost,omitempty"`
RepostViaRepost *NotificationDefs_FilterablePreference `json:"repostViaRepost,omitempty" cborgen:"repostViaRepost,omitempty"`
StarterpackJoined *NotificationDefs_Preference `json:"starterpackJoined,omitempty" cborgen:"starterpackJoined,omitempty"`
SubscribedPost *NotificationDefs_Preference `json:"subscribedPost,omitempty" cborgen:"subscribedPost,omitempty"`
Unverified *NotificationDefs_Preference `json:"unverified,omitempty" cborgen:"unverified,omitempty"`
Verified *NotificationDefs_Preference `json:"verified,omitempty" cborgen:"verified,omitempty"`
}
NotificationPutPreferencesV2_Input is the input argument to a app.bsky.notification.putPreferencesV2 call.
type NotificationPutPreferencesV2_Output ¶
type NotificationPutPreferencesV2_Output struct {
Preferences *NotificationDefs_Preferences `json:"preferences" cborgen:"preferences"`
}
NotificationPutPreferencesV2_Output is the output of a app.bsky.notification.putPreferencesV2 call.
func NotificationPutPreferencesV2 ¶
func NotificationPutPreferencesV2(ctx context.Context, c lexutil.LexClient, input *NotificationPutPreferencesV2_Input) (*NotificationPutPreferencesV2_Output, error)
NotificationPutPreferencesV2 calls the XRPC method "app.bsky.notification.putPreferencesV2".
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 {
// ageRestricted: Set to true when the actor is age restricted
AgeRestricted *bool `json:"ageRestricted,omitempty" cborgen:"ageRestricted,omitempty"`
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 NotificationUnregisterPush_Input ¶
type NotificationUnregisterPush_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"`
}
NotificationUnregisterPush_Input is the input argument to a app.bsky.notification.unregisterPush 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" 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.
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" 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.
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" 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').
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 UnspeccedDefs_AgeAssuranceEvent ¶
type UnspeccedDefs_AgeAssuranceEvent struct {
// attemptId: The unique identifier for this instance of the age assurance flow, in UUID format.
AttemptId string `json:"attemptId" cborgen:"attemptId"`
// completeIp: The IP address used when completing the AA flow.
CompleteIp *string `json:"completeIp,omitempty" cborgen:"completeIp,omitempty"`
// completeUa: The user agent used when completing the AA flow.
CompleteUa *string `json:"completeUa,omitempty" cborgen:"completeUa,omitempty"`
// createdAt: The date and time of this write operation.
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
// email: The email used for AA.
Email *string `json:"email,omitempty" cborgen:"email,omitempty"`
// initIp: The IP address used when initiating the AA flow.
InitIp *string `json:"initIp,omitempty" cborgen:"initIp,omitempty"`
// initUa: The user agent used when initiating the AA flow.
InitUa *string `json:"initUa,omitempty" cborgen:"initUa,omitempty"`
// status: The status of the age assurance process.
Status string `json:"status" cborgen:"status"`
}
UnspeccedDefs_AgeAssuranceEvent is a "ageAssuranceEvent" in the app.bsky.unspecced.defs schema.
Object used to store age assurance data in stash.
type UnspeccedDefs_AgeAssuranceState ¶
type UnspeccedDefs_AgeAssuranceState struct {
// lastInitiatedAt: The timestamp when this state was last updated.
LastInitiatedAt *string `json:"lastInitiatedAt,omitempty" cborgen:"lastInitiatedAt,omitempty"`
// status: The status of the age assurance process.
Status string `json:"status" cborgen:"status"`
}
UnspeccedDefs_AgeAssuranceState is a "ageAssuranceState" in the app.bsky.unspecced.defs schema.
The computed state of the age assurance process, returned to the user in question on certain authenticated requests.
func UnspeccedGetAgeAssuranceState ¶
func UnspeccedGetAgeAssuranceState(ctx context.Context, c lexutil.LexClient) (*UnspeccedDefs_AgeAssuranceState, error)
UnspeccedGetAgeAssuranceState calls the XRPC method "app.bsky.unspecced.getAgeAssuranceState".
func UnspeccedInitAgeAssurance ¶
func UnspeccedInitAgeAssurance(ctx context.Context, c lexutil.LexClient, input *UnspeccedInitAgeAssurance_Input) (*UnspeccedDefs_AgeAssuranceState, error)
UnspeccedInitAgeAssurance calls the XRPC method "app.bsky.unspecced.initAgeAssurance".
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_SkeletonTrend ¶
type UnspeccedDefs_SkeletonTrend struct {
Category *string `json:"category,omitempty" cborgen:"category,omitempty"`
Dids []string `json:"dids" cborgen:"dids"`
DisplayName string `json:"displayName" cborgen:"displayName"`
Link string `json:"link" cborgen:"link"`
PostCount int64 `json:"postCount" cborgen:"postCount"`
StartedAt string `json:"startedAt" cborgen:"startedAt"`
Status *string `json:"status,omitempty" cborgen:"status,omitempty"`
Topic string `json:"topic" cborgen:"topic"`
}
UnspeccedDefs_SkeletonTrend is a "skeletonTrend" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_ThreadItemBlocked ¶
type UnspeccedDefs_ThreadItemBlocked struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemBlocked"`
Author *FeedDefs_BlockedAuthor `json:"author" cborgen:"author"`
}
UnspeccedDefs_ThreadItemBlocked is a "threadItemBlocked" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_ThreadItemNoUnauthenticated ¶
type UnspeccedDefs_ThreadItemNoUnauthenticated struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemNoUnauthenticated"`
}
UnspeccedDefs_ThreadItemNoUnauthenticated is a "threadItemNoUnauthenticated" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_ThreadItemNotFound ¶
type UnspeccedDefs_ThreadItemNotFound struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemNotFound"`
}
UnspeccedDefs_ThreadItemNotFound is a "threadItemNotFound" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_ThreadItemPost ¶
type UnspeccedDefs_ThreadItemPost struct {
LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.unspecced.defs#threadItemPost"`
// hiddenByThreadgate: The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.
HiddenByThreadgate bool `json:"hiddenByThreadgate" cborgen:"hiddenByThreadgate"`
// moreParents: This post has more parents that were not present in the response. This is just a boolean, without the number of parents.
MoreParents bool `json:"moreParents" cborgen:"moreParents"`
// moreReplies: This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.
MoreReplies int64 `json:"moreReplies" cborgen:"moreReplies"`
// mutedByViewer: This is by an account muted by the viewer requesting it.
MutedByViewer bool `json:"mutedByViewer" cborgen:"mutedByViewer"`
// opThread: This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread.
OpThread bool `json:"opThread" cborgen:"opThread"`
Post *FeedDefs_PostView `json:"post" cborgen:"post"`
}
UnspeccedDefs_ThreadItemPost is a "threadItemPost" in the app.bsky.unspecced.defs schema.
type UnspeccedDefs_TrendView ¶
type UnspeccedDefs_TrendView struct {
Actors []*ActorDefs_ProfileViewBasic `json:"actors" cborgen:"actors"`
Category *string `json:"category,omitempty" cborgen:"category,omitempty"`
DisplayName string `json:"displayName" cborgen:"displayName"`
Link string `json:"link" cborgen:"link"`
PostCount int64 `json:"postCount" cborgen:"postCount"`
StartedAt string `json:"startedAt" cborgen:"startedAt"`
Status *string `json:"status,omitempty" cborgen:"status,omitempty"`
Topic string `json:"topic" cborgen:"topic"`
}
UnspeccedDefs_TrendView is a "trendView" 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_LiveNowConfig ¶
type UnspeccedGetConfig_LiveNowConfig struct {
Did string `json:"did" cborgen:"did"`
Domains []string `json:"domains" cborgen:"domains"`
}
UnspeccedGetConfig_LiveNowConfig is a "liveNowConfig" in the app.bsky.unspecced.getConfig schema.
type UnspeccedGetConfig_Output ¶
type UnspeccedGetConfig_Output struct {
CheckEmailConfirmed *bool `json:"checkEmailConfirmed,omitempty" cborgen:"checkEmailConfirmed,omitempty"`
LiveNow []*UnspeccedGetConfig_LiveNowConfig `json:"liveNow,omitempty" cborgen:"liveNow,omitempty"`
}
UnspeccedGetConfig_Output is the output of a app.bsky.unspecced.getConfig call.
func UnspeccedGetConfig ¶
func UnspeccedGetConfig(ctx context.Context, c lexutil.LexClient) (*UnspeccedGetConfig_Output, error)
UnspeccedGetConfig calls the XRPC method "app.bsky.unspecced.getConfig".
type UnspeccedGetOnboardingSuggestedStarterPacksSkeleton_Output ¶
type UnspeccedGetOnboardingSuggestedStarterPacksSkeleton_Output struct {
StarterPacks []string `json:"starterPacks" cborgen:"starterPacks"`
}
UnspeccedGetOnboardingSuggestedStarterPacksSkeleton_Output is the output of a app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton call.
func UnspeccedGetOnboardingSuggestedStarterPacksSkeleton ¶
func UnspeccedGetOnboardingSuggestedStarterPacksSkeleton(ctx context.Context, c lexutil.LexClient, limit int64, viewer string) (*UnspeccedGetOnboardingSuggestedStarterPacksSkeleton_Output, error)
UnspeccedGetOnboardingSuggestedStarterPacksSkeleton calls the XRPC method "app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton".
viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetOnboardingSuggestedStarterPacks_Output ¶
type UnspeccedGetOnboardingSuggestedStarterPacks_Output struct {
StarterPacks []*GraphDefs_StarterPackView `json:"starterPacks" cborgen:"starterPacks"`
}
UnspeccedGetOnboardingSuggestedStarterPacks_Output is the output of a app.bsky.unspecced.getOnboardingSuggestedStarterPacks call.
func UnspeccedGetOnboardingSuggestedStarterPacks ¶
func UnspeccedGetOnboardingSuggestedStarterPacks(ctx context.Context, c lexutil.LexClient, limit int64) (*UnspeccedGetOnboardingSuggestedStarterPacks_Output, error)
UnspeccedGetOnboardingSuggestedStarterPacks calls the XRPC method "app.bsky.unspecced.getOnboardingSuggestedStarterPacks".
type UnspeccedGetOnboardingSuggestedUsersSkeleton_Output ¶
type UnspeccedGetOnboardingSuggestedUsersSkeleton_Output struct {
Dids []string `json:"dids" cborgen:"dids"`
// recId: DEPRECATED: use recIdStr instead.
RecId *string `json:"recId,omitempty" cborgen:"recId,omitempty"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetOnboardingSuggestedUsersSkeleton_Output is the output of a app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton call.
func UnspeccedGetOnboardingSuggestedUsersSkeleton ¶
func UnspeccedGetOnboardingSuggestedUsersSkeleton(ctx context.Context, c lexutil.LexClient, category string, limit int64, viewer string) (*UnspeccedGetOnboardingSuggestedUsersSkeleton_Output, error)
UnspeccedGetOnboardingSuggestedUsersSkeleton calls the XRPC method "app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton".
category: Category of users to get suggestions for. viewer: DID of the account making the request (not included for public/unauthenticated queries).
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 lexutil.LexClient, cursor string, limit int64, query string) (*UnspeccedGetPopularFeedGenerators_Output, error)
UnspeccedGetPopularFeedGenerators calls the XRPC method "app.bsky.unspecced.getPopularFeedGenerators".
type UnspeccedGetPostThreadOtherV2_Output ¶
type UnspeccedGetPostThreadOtherV2_Output struct {
// thread: A flat list of other thread items. The depth of each item is indicated by the depth property inside the item.
Thread []*UnspeccedGetPostThreadOtherV2_ThreadItem `json:"thread" cborgen:"thread"`
}
UnspeccedGetPostThreadOtherV2_Output is the output of a app.bsky.unspecced.getPostThreadOtherV2 call.
func UnspeccedGetPostThreadOtherV2 ¶
func UnspeccedGetPostThreadOtherV2(ctx context.Context, c lexutil.LexClient, anchor string) (*UnspeccedGetPostThreadOtherV2_Output, error)
UnspeccedGetPostThreadOtherV2 calls the XRPC method "app.bsky.unspecced.getPostThreadOtherV2".
anchor: Reference (AT-URI) to post record. This is the anchor post.
type UnspeccedGetPostThreadOtherV2_ThreadItem ¶
type UnspeccedGetPostThreadOtherV2_ThreadItem struct {
// depth: The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths.
Depth int64 `json:"depth" cborgen:"depth"`
Uri string `json:"uri" cborgen:"uri"`
Value *UnspeccedGetPostThreadOtherV2_ThreadItem_Value `json:"value" cborgen:"value"`
}
UnspeccedGetPostThreadOtherV2_ThreadItem is a "threadItem" in the app.bsky.unspecced.getPostThreadOtherV2 schema.
type UnspeccedGetPostThreadOtherV2_ThreadItem_Value ¶
type UnspeccedGetPostThreadOtherV2_ThreadItem_Value struct {
UnspeccedDefs_ThreadItemPost *UnspeccedDefs_ThreadItemPost
}
func (*UnspeccedGetPostThreadOtherV2_ThreadItem_Value) MarshalJSON ¶
func (t *UnspeccedGetPostThreadOtherV2_ThreadItem_Value) MarshalJSON() ([]byte, error)
func (*UnspeccedGetPostThreadOtherV2_ThreadItem_Value) UnmarshalJSON ¶
func (t *UnspeccedGetPostThreadOtherV2_ThreadItem_Value) UnmarshalJSON(b []byte) error
type UnspeccedGetPostThreadV2_Output ¶
type UnspeccedGetPostThreadV2_Output struct {
// hasOtherReplies: Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.
HasOtherReplies bool `json:"hasOtherReplies" cborgen:"hasOtherReplies"`
// thread: A flat list of thread items. The depth of each item is indicated by the depth property inside the item.
Thread []*UnspeccedGetPostThreadV2_ThreadItem `json:"thread" cborgen:"thread"`
Threadgate *FeedDefs_ThreadgateView `json:"threadgate,omitempty" cborgen:"threadgate,omitempty"`
}
UnspeccedGetPostThreadV2_Output is the output of a app.bsky.unspecced.getPostThreadV2 call.
func UnspeccedGetPostThreadV2 ¶
func UnspeccedGetPostThreadV2(ctx context.Context, c lexutil.LexClient, above bool, anchor string, below int64, branchingFactor int64, sort string) (*UnspeccedGetPostThreadV2_Output, error)
UnspeccedGetPostThreadV2 calls the XRPC method "app.bsky.unspecced.getPostThreadV2".
above: Whether to include parents above the anchor. anchor: Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post. below: How many levels of replies to include below the anchor. branchingFactor: Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated). sort: Sorting for the thread replies.
type UnspeccedGetPostThreadV2_ThreadItem ¶
type UnspeccedGetPostThreadV2_ThreadItem struct {
// depth: The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths.
Depth int64 `json:"depth" cborgen:"depth"`
Uri string `json:"uri" cborgen:"uri"`
Value *UnspeccedGetPostThreadV2_ThreadItem_Value `json:"value" cborgen:"value"`
}
UnspeccedGetPostThreadV2_ThreadItem is a "threadItem" in the app.bsky.unspecced.getPostThreadV2 schema.
type UnspeccedGetPostThreadV2_ThreadItem_Value ¶
type UnspeccedGetPostThreadV2_ThreadItem_Value struct {
UnspeccedDefs_ThreadItemPost *UnspeccedDefs_ThreadItemPost
UnspeccedDefs_ThreadItemNoUnauthenticated *UnspeccedDefs_ThreadItemNoUnauthenticated
UnspeccedDefs_ThreadItemNotFound *UnspeccedDefs_ThreadItemNotFound
UnspeccedDefs_ThreadItemBlocked *UnspeccedDefs_ThreadItemBlocked
}
func (*UnspeccedGetPostThreadV2_ThreadItem_Value) MarshalJSON ¶
func (t *UnspeccedGetPostThreadV2_ThreadItem_Value) MarshalJSON() ([]byte, error)
func (*UnspeccedGetPostThreadV2_ThreadItem_Value) UnmarshalJSON ¶
func (t *UnspeccedGetPostThreadV2_ThreadItem_Value) UnmarshalJSON(b []byte) error
type UnspeccedGetSuggestedFeedsSkeleton_Output ¶
type UnspeccedGetSuggestedFeedsSkeleton_Output struct {
Feeds []string `json:"feeds" cborgen:"feeds"`
}
UnspeccedGetSuggestedFeedsSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedFeedsSkeleton call.
func UnspeccedGetSuggestedFeedsSkeleton ¶
func UnspeccedGetSuggestedFeedsSkeleton(ctx context.Context, c lexutil.LexClient, limit int64, viewer string) (*UnspeccedGetSuggestedFeedsSkeleton_Output, error)
UnspeccedGetSuggestedFeedsSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedFeedsSkeleton".
viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetSuggestedFeeds_Output ¶
type UnspeccedGetSuggestedFeeds_Output struct {
Feeds []*FeedDefs_GeneratorView `json:"feeds" cborgen:"feeds"`
}
UnspeccedGetSuggestedFeeds_Output is the output of a app.bsky.unspecced.getSuggestedFeeds call.
func UnspeccedGetSuggestedFeeds ¶
func UnspeccedGetSuggestedFeeds(ctx context.Context, c lexutil.LexClient, limit int64) (*UnspeccedGetSuggestedFeeds_Output, error)
UnspeccedGetSuggestedFeeds calls the XRPC method "app.bsky.unspecced.getSuggestedFeeds".
type UnspeccedGetSuggestedOnboardingUsers_Output ¶
type UnspeccedGetSuggestedOnboardingUsers_Output struct {
Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"`
// recId: DEPRECATED: use recIdStr instead.
RecId *string `json:"recId,omitempty" cborgen:"recId,omitempty"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedOnboardingUsers_Output is the output of a app.bsky.unspecced.getSuggestedOnboardingUsers call.
func UnspeccedGetSuggestedOnboardingUsers ¶
func UnspeccedGetSuggestedOnboardingUsers(ctx context.Context, c lexutil.LexClient, category string, limit int64) (*UnspeccedGetSuggestedOnboardingUsers_Output, error)
UnspeccedGetSuggestedOnboardingUsers calls the XRPC method "app.bsky.unspecced.getSuggestedOnboardingUsers".
category: Category of users to get suggestions for.
type UnspeccedGetSuggestedStarterPacksSkeleton_Output ¶
type UnspeccedGetSuggestedStarterPacksSkeleton_Output struct {
StarterPacks []string `json:"starterPacks" cborgen:"starterPacks"`
}
UnspeccedGetSuggestedStarterPacksSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedStarterPacksSkeleton call.
func UnspeccedGetSuggestedStarterPacksSkeleton ¶
func UnspeccedGetSuggestedStarterPacksSkeleton(ctx context.Context, c lexutil.LexClient, limit int64, viewer string) (*UnspeccedGetSuggestedStarterPacksSkeleton_Output, error)
UnspeccedGetSuggestedStarterPacksSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedStarterPacksSkeleton".
viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetSuggestedStarterPacks_Output ¶
type UnspeccedGetSuggestedStarterPacks_Output struct {
StarterPacks []*GraphDefs_StarterPackView `json:"starterPacks" cborgen:"starterPacks"`
}
UnspeccedGetSuggestedStarterPacks_Output is the output of a app.bsky.unspecced.getSuggestedStarterPacks call.
func UnspeccedGetSuggestedStarterPacks ¶
func UnspeccedGetSuggestedStarterPacks(ctx context.Context, c lexutil.LexClient, limit int64) (*UnspeccedGetSuggestedStarterPacks_Output, error)
UnspeccedGetSuggestedStarterPacks calls the XRPC method "app.bsky.unspecced.getSuggestedStarterPacks".
type UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output ¶
type UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output struct {
Dids []string `json:"dids" cborgen:"dids"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton call.
func UnspeccedGetSuggestedUsersForDiscoverSkeleton ¶
func UnspeccedGetSuggestedUsersForDiscoverSkeleton(ctx context.Context, c lexutil.LexClient, limit int64, viewer string) (*UnspeccedGetSuggestedUsersForDiscoverSkeleton_Output, error)
UnspeccedGetSuggestedUsersForDiscoverSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton".
viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetSuggestedUsersForDiscover_Output ¶
type UnspeccedGetSuggestedUsersForDiscover_Output struct {
Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsersForDiscover_Output is the output of a app.bsky.unspecced.getSuggestedUsersForDiscover call.
func UnspeccedGetSuggestedUsersForDiscover ¶
func UnspeccedGetSuggestedUsersForDiscover(ctx context.Context, c lexutil.LexClient, limit int64) (*UnspeccedGetSuggestedUsersForDiscover_Output, error)
UnspeccedGetSuggestedUsersForDiscover calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForDiscover".
type UnspeccedGetSuggestedUsersForExploreSkeleton_Output ¶
type UnspeccedGetSuggestedUsersForExploreSkeleton_Output struct {
Dids []string `json:"dids" cborgen:"dids"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsersForExploreSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedUsersForExploreSkeleton call.
func UnspeccedGetSuggestedUsersForExploreSkeleton ¶
func UnspeccedGetSuggestedUsersForExploreSkeleton(ctx context.Context, c lexutil.LexClient, category string, limit int64, viewer string) (*UnspeccedGetSuggestedUsersForExploreSkeleton_Output, error)
UnspeccedGetSuggestedUsersForExploreSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForExploreSkeleton".
category: Category of users to get suggestions for. viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetSuggestedUsersForExplore_Output ¶
type UnspeccedGetSuggestedUsersForExplore_Output struct {
Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsersForExplore_Output is the output of a app.bsky.unspecced.getSuggestedUsersForExplore call.
func UnspeccedGetSuggestedUsersForExplore ¶
func UnspeccedGetSuggestedUsersForExplore(ctx context.Context, c lexutil.LexClient, category string, limit int64) (*UnspeccedGetSuggestedUsersForExplore_Output, error)
UnspeccedGetSuggestedUsersForExplore calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForExplore".
category: Category of users to get suggestions for.
type UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output ¶
type UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output struct {
Dids []string `json:"dids" cborgen:"dids"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton call.
func UnspeccedGetSuggestedUsersForSeeMoreSkeleton ¶
func UnspeccedGetSuggestedUsersForSeeMoreSkeleton(ctx context.Context, c lexutil.LexClient, category string, limit int64, viewer string) (*UnspeccedGetSuggestedUsersForSeeMoreSkeleton_Output, error)
UnspeccedGetSuggestedUsersForSeeMoreSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton".
category: Category of users to get suggestions for. viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetSuggestedUsersForSeeMore_Output ¶
type UnspeccedGetSuggestedUsersForSeeMore_Output struct {
Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsersForSeeMore_Output is the output of a app.bsky.unspecced.getSuggestedUsersForSeeMore call.
func UnspeccedGetSuggestedUsersForSeeMore ¶
func UnspeccedGetSuggestedUsersForSeeMore(ctx context.Context, c lexutil.LexClient, category string, limit int64) (*UnspeccedGetSuggestedUsersForSeeMore_Output, error)
UnspeccedGetSuggestedUsersForSeeMore calls the XRPC method "app.bsky.unspecced.getSuggestedUsersForSeeMore".
category: Category of users to get suggestions for.
type UnspeccedGetSuggestedUsersSkeleton_Output ¶
type UnspeccedGetSuggestedUsersSkeleton_Output struct {
Dids []string `json:"dids" cborgen:"dids"`
// recId: DEPRECATED: use recIdStr instead.
RecId *string `json:"recId,omitempty" cborgen:"recId,omitempty"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsersSkeleton_Output is the output of a app.bsky.unspecced.getSuggestedUsersSkeleton call.
func UnspeccedGetSuggestedUsersSkeleton ¶
func UnspeccedGetSuggestedUsersSkeleton(ctx context.Context, c lexutil.LexClient, category string, limit int64, viewer string) (*UnspeccedGetSuggestedUsersSkeleton_Output, error)
UnspeccedGetSuggestedUsersSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestedUsersSkeleton".
category: Category of users to get suggestions for. viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetSuggestedUsers_Output ¶
type UnspeccedGetSuggestedUsers_Output struct {
Actors []*ActorDefs_ProfileView `json:"actors" cborgen:"actors"`
// recId: DEPRECATED: use recIdStr instead.
RecId *string `json:"recId,omitempty" cborgen:"recId,omitempty"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,omitempty"`
}
UnspeccedGetSuggestedUsers_Output is the output of a app.bsky.unspecced.getSuggestedUsers call.
func UnspeccedGetSuggestedUsers ¶
func UnspeccedGetSuggestedUsers(ctx context.Context, c lexutil.LexClient, category string, limit int64) (*UnspeccedGetSuggestedUsers_Output, error)
UnspeccedGetSuggestedUsers calls the XRPC method "app.bsky.unspecced.getSuggestedUsers".
category: Category of users to get suggestions for.
type UnspeccedGetSuggestionsSkeleton_Output ¶
type UnspeccedGetSuggestionsSkeleton_Output struct {
Actors []*UnspeccedDefs_SkeletonSearchActor `json:"actors" cborgen:"actors"`
Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
// recId: DEPRECATED: use recIdStr instead.
RecId *int64 `json:"recId,omitempty" cborgen:"recId,omitempty"`
// recIdStr: Snowflake for this recommendation, use when submitting recommendation events.
RecIdStr *string `json:"recIdStr,omitempty" cborgen:"recIdStr,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 lexutil.LexClient, 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 lexutil.LexClient) (*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 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 lexutil.LexClient, 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 UnspeccedGetTrendsSkeleton_Output ¶
type UnspeccedGetTrendsSkeleton_Output struct {
Trends []*UnspeccedDefs_SkeletonTrend `json:"trends" cborgen:"trends"`
}
UnspeccedGetTrendsSkeleton_Output is the output of a app.bsky.unspecced.getTrendsSkeleton call.
func UnspeccedGetTrendsSkeleton ¶
func UnspeccedGetTrendsSkeleton(ctx context.Context, c lexutil.LexClient, limit int64, viewer string) (*UnspeccedGetTrendsSkeleton_Output, error)
UnspeccedGetTrendsSkeleton calls the XRPC method "app.bsky.unspecced.getTrendsSkeleton".
viewer: DID of the account making the request (not included for public/unauthenticated queries).
type UnspeccedGetTrends_Output ¶
type UnspeccedGetTrends_Output struct {
Trends []*UnspeccedDefs_TrendView `json:"trends" cborgen:"trends"`
}
UnspeccedGetTrends_Output is the output of a app.bsky.unspecced.getTrends call.
func UnspeccedGetTrends ¶
func UnspeccedGetTrends(ctx context.Context, c lexutil.LexClient, limit int64) (*UnspeccedGetTrends_Output, error)
UnspeccedGetTrends calls the XRPC method "app.bsky.unspecced.getTrends".
type UnspeccedInitAgeAssurance_Input ¶
type UnspeccedInitAgeAssurance_Input struct {
// countryCode: An ISO 3166-1 alpha-2 code of the user's location.
CountryCode string `json:"countryCode" cborgen:"countryCode"`
// email: The user's email address to receive assurance instructions.
Email string `json:"email" cborgen:"email"`
// language: The user's preferred language for communication during the assurance process.
Language string `json:"language" cborgen:"language"`
}
UnspeccedInitAgeAssurance_Input is the input argument to a app.bsky.unspecced.initAgeAssurance call.
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 lexutil.LexClient, 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 lexutil.LexClient, 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 lexutil.LexClient, 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 *lexutil.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 lexutil.LexClient, 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 lexutil.LexClient) (*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 lexutil.LexClient, 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
- actorstatus.go
- ageassurancebegin.go
- ageassurancedefs.go
- ageassurancegetConfig.go
- ageassurancegetState.go
- bookmarkcreateBookmark.go
- bookmarkdefs.go
- bookmarkdeleteBookmark.go
- bookmarkgetBookmarks.go
- cbor_gen.go
- contactdefs.go
- contactdismissMatch.go
- contactgetMatches.go
- contactgetSyncStatus.go
- contactimportContacts.go
- contactremoveData.go
- contactsendNotification.go
- contactstartPhoneVerification.go
- contactverifyPhone.go
- draftcreateDraft.go
- draftdefs.go
- draftdeleteDraft.go
- draftgetDrafts.go
- draftupdateDraft.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
- graphgetListsWithMembership.go
- graphgetMutes.go
- graphgetRelationships.go
- graphgetStarterPack.go
- graphgetStarterPacks.go
- graphgetStarterPacksWithMembership.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
- graphverification.go
- labelerdefs.go
- labelergetServices.go
- labelerservice.go
- notificationdeclaration.go
- notificationdefs.go
- notificationgetPreferences.go
- notificationgetUnreadCount.go
- notificationlistActivitySubscriptions.go
- notificationlistNotifications.go
- notificationputActivitySubscription.go
- notificationputPreferences.go
- notificationputPreferencesV2.go
- notificationregisterPush.go
- notificationunregisterPush.go
- notificationupdateSeen.go
- richtextfacet.go
- unspecceddefs.go
- unspeccedgetAgeAssuranceState.go
- unspeccedgetConfig.go
- unspeccedgetOnboardingSuggestedStarterPacks.go
- unspeccedgetOnboardingSuggestedStarterPacksSkeleton.go
- unspeccedgetOnboardingSuggestedUsersSkeleton.go
- unspeccedgetPopularFeedGenerators.go
- unspeccedgetPostThreadOtherV2.go
- unspeccedgetPostThreadV2.go
- unspeccedgetSuggestedFeeds.go
- unspeccedgetSuggestedFeedsSkeleton.go
- unspeccedgetSuggestedOnboardingUsers.go
- unspeccedgetSuggestedStarterPacks.go
- unspeccedgetSuggestedStarterPacksSkeleton.go
- unspeccedgetSuggestedUsers.go
- unspeccedgetSuggestedUsersForDiscover.go
- unspeccedgetSuggestedUsersForDiscoverSkeleton.go
- unspeccedgetSuggestedUsersForExplore.go
- unspeccedgetSuggestedUsersForExploreSkeleton.go
- unspeccedgetSuggestedUsersForSeeMore.go
- unspeccedgetSuggestedUsersForSeeMoreSkeleton.go
- unspeccedgetSuggestedUsersSkeleton.go
- unspeccedgetSuggestionsSkeleton.go
- unspeccedgetTaggedSuggestions.go
- unspeccedgetTrendingTopics.go
- unspeccedgetTrends.go
- unspeccedgetTrendsSkeleton.go
- unspeccedinitAgeAssurance.go
- unspeccedsearchActorsSkeleton.go
- unspeccedsearchPostsSkeleton.go
- unspeccedsearchStarterPacksSkeleton.go
- videodefs.go
- videogetJobStatus.go
- videogetUploadLimits.go
- videouploadVideo.go