@tsky/client / agent / ActorProfile
ActorProfile
Defined in: client/src/agent.ts:280
Extends
Implements
ProfileViewDetailed
Constructors
new ActorProfile()
new ActorProfile(client, actor): ActorProfileDefined in: client/src/agent.ts:293
Parameters
client
actor
ProfileViewDetailed
Returns
Overrides
Properties
$type?
optional $type: string;Defined in: client/src/agent.ts:234
Implementation of
AppBskyActorDefs.ProfileViewDetailed.$typeInherited from
associated?
optional associated: ProfileAssociated;Defined in: client/src/agent.ts:228
Implementation of
AppBskyActorDefs.ProfileViewDetailed.associatedInherited from
avatar?
optional avatar: string;Defined in: client/src/agent.ts:229
Implementation of
AppBskyActorDefs.ProfileViewDetailed.avatarInherited from
banner?
optional banner: string;Defined in: client/src/agent.ts:289
Implementation of
AppBskyActorDefs.ProfileViewDetailed.bannerclient
client: Client;Defined in: client/src/agent.ts:41
Inherited from
createdAt?
optional createdAt: string;Defined in: client/src/agent.ts:230
Implementation of
AppBskyActorDefs.ProfileViewDetailed.createdAtInherited from
description?
optional description: string;Defined in: client/src/agent.ts:284
Maximum string length: 2560 Maximum grapheme length: 256
Implementation of
AppBskyActorDefs.ProfileViewDetailed.descriptiondid
did: `did:${string}`;Defined in: client/src/agent.ts:42
Implementation of
AppBskyActorDefs.ProfileViewDetailed.didInherited from
displayName?
optional displayName: string;Defined in: client/src/agent.ts:231
Maximum string length: 640 Maximum grapheme length: 64
Implementation of
AppBskyActorDefs.ProfileViewDetailed.displayNameInherited from
followersCount?
optional followersCount: number;Defined in: client/src/agent.ts:286
Implementation of
AppBskyActorDefs.ProfileViewDetailed.followersCountfollowsCount?
optional followsCount: number;Defined in: client/src/agent.ts:287
Implementation of
AppBskyActorDefs.ProfileViewDetailed.followsCounthandle
handle: string;Defined in: client/src/agent.ts:227
Implementation of
AppBskyActorDefs.ProfileViewDetailed.handleInherited from
indexedAt?
optional indexedAt: string;Defined in: client/src/agent.ts:285
Implementation of
AppBskyActorDefs.ProfileViewDetailed.indexedAtjoinedViaStarterPack?
optional joinedViaStarterPack: StarterPackViewBasic;Defined in: client/src/agent.ts:290
Implementation of
AppBskyActorDefs.ProfileViewDetailed.joinedViaStarterPacklabels?
optional labels: Label[];Defined in: client/src/agent.ts:232
Implementation of
AppBskyActorDefs.ProfileViewDetailed.labelsInherited from
pinnedPost?
optional pinnedPost: Main;Defined in: client/src/agent.ts:291
Implementation of
AppBskyActorDefs.ProfileViewDetailed.pinnedPostpostsCount?
optional postsCount: number;Defined in: client/src/agent.ts:288
Implementation of
AppBskyActorDefs.ProfileViewDetailed.postsCountviewer?
optional viewer: ViewerState;Defined in: client/src/agent.ts:233
Implementation of
AppBskyActorDefs.ProfileViewDetailed.viewerInherited from
Methods
feed()
feed(params?, options?): Promise<Paginator<Output>>Defined in: client/src/agent.ts:186
Get a list of feeds (feed generator records) created by the actor (in the actor's repo).
Parameters
params?
Omit<Params, "actor">
options?
Returns
Promise<Paginator<Output>>
Inherited from
feeds()
feeds(limit?, options?): Promise<Paginator<Output>>Defined in: client/src/agent.ts:166
Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth.
Parameters
limit?
number
options?
Returns
Promise<Paginator<Output>>
Inherited from
followers()
followers(limit?, options?): Promise<Paginator<Output>>Defined in: client/src/agent.ts:72
Enumerates accounts which follow a specified account (actor).
Parameters
limit?
number
options?
RPCOptions = {}
Returns
Promise<Paginator<Output>>
Inherited from
follows()
follows(limit?, options?): Promise<Paginator<Output>>Defined in: client/src/agent.ts:97
Enumerates accounts which a specified account (actor) follows.
Parameters
limit?
number
options?
RPCOptions = {}
Returns
Promise<Paginator<Output>>
Inherited from
lists()
lists(limit?, options?): Promise<Paginator<Output>>Defined in: client/src/agent.ts:122
Enumerates the lists created by a specified account (actor).
Parameters
limit?
number
options?
RPCOptions = {}
Returns
Promise<Paginator<Output>>
Inherited from
relationships()
relationships(others?, options?): Promise<{
$type: string;
actor: undefined | ActorLazyProfile;
relationships: (
| Typed<NotFoundActor, string>
| Typed<Relationship, string>)[];
}>Defined in: client/src/agent.ts:144
Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
Parameters
others?
string[]
options?
Returns
Promise<{ $type: string; actor: undefined | ActorLazyProfile; relationships: ( | Typed<NotFoundActor, string> | Typed<Relationship, string>)[]; }>
Inherited from
ActorBasicProfile.relationships
starterPacks()
starterPacks(limit?, options?): Promise<Paginator<Output>>Defined in: client/src/agent.ts:52
Get a list of starter packs created by the actor.
Parameters
limit?
number
options?
RPCOptions = {}
Returns
Promise<Paginator<Output>>
Inherited from
ActorBasicProfile.starterPacks
toJSON()
toJSON(): objectDefined in: client/src/agent.ts:305
Returns
object
$type
$type: undefined | string;associated
associated: undefined | ProfileAssociated;avatar
avatar: undefined | string;banner
banner: undefined | string;createdAt
createdAt: undefined | string;description
description: undefined | string;did
did: `did:${string}`;displayName
displayName: undefined | string;followersCount
followersCount: undefined | number;followsCount
followsCount: undefined | number;handle
handle: string;indexedAt
indexedAt: undefined | string;joinedViaStarterPack
joinedViaStarterPack: undefined | StarterPackViewBasic;labels
labels: undefined | Label[];pinnedPost
pinnedPost: undefined | Main;postsCount
postsCount: undefined | number;viewer
viewer: undefined | ViewerState;