Skip to content

agent


@tsky/client / agent / ActorProfile

ActorProfile

Defined in: client/src/agent.ts:280

Extends

Implements

  • ProfileViewDetailed

Constructors

new ActorProfile()

ts
new ActorProfile(client, actor): ActorProfile

Defined in: client/src/agent.ts:293

Parameters

client

Client

actor

ProfileViewDetailed

Returns

ActorProfile

Overrides

ActorBasicProfile.constructor

Properties

$type?

ts
optional $type: string;

Defined in: client/src/agent.ts:234

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.$type

Inherited from

ActorBasicProfile.$type


associated?

ts
optional associated: ProfileAssociated;

Defined in: client/src/agent.ts:228

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.associated

Inherited from

ActorBasicProfile.associated


avatar?

ts
optional avatar: string;

Defined in: client/src/agent.ts:229

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.avatar

Inherited from

ActorBasicProfile.avatar


ts
optional banner: string;

Defined in: client/src/agent.ts:289

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.banner

client

ts
client: Client;

Defined in: client/src/agent.ts:41

Inherited from

ActorBasicProfile.client


createdAt?

ts
optional createdAt: string;

Defined in: client/src/agent.ts:230

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.createdAt

Inherited from

ActorBasicProfile.createdAt


description?

ts
optional description: string;

Defined in: client/src/agent.ts:284

Maximum string length: 2560 Maximum grapheme length: 256

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.description

did

ts
did: `did:${string}`;

Defined in: client/src/agent.ts:42

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.did

Inherited from

ActorBasicProfile.did


displayName?

ts
optional displayName: string;

Defined in: client/src/agent.ts:231

Maximum string length: 640 Maximum grapheme length: 64

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.displayName

Inherited from

ActorBasicProfile.displayName


followersCount?

ts
optional followersCount: number;

Defined in: client/src/agent.ts:286

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.followersCount

followsCount?

ts
optional followsCount: number;

Defined in: client/src/agent.ts:287

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.followsCount

handle

ts
handle: string;

Defined in: client/src/agent.ts:227

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.handle

Inherited from

ActorBasicProfile.handle


indexedAt?

ts
optional indexedAt: string;

Defined in: client/src/agent.ts:285

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.indexedAt

joinedViaStarterPack?

ts
optional joinedViaStarterPack: StarterPackViewBasic;

Defined in: client/src/agent.ts:290

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.joinedViaStarterPack

labels?

ts
optional labels: Label[];

Defined in: client/src/agent.ts:232

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.labels

Inherited from

ActorBasicProfile.labels


pinnedPost?

ts
optional pinnedPost: Main;

Defined in: client/src/agent.ts:291

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.pinnedPost

postsCount?

ts
optional postsCount: number;

Defined in: client/src/agent.ts:288

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.postsCount

viewer?

ts
optional viewer: ViewerState;

Defined in: client/src/agent.ts:233

Implementation of

ts
AppBskyActorDefs.ProfileViewDetailed.viewer

Inherited from

ActorBasicProfile.viewer

Methods

feed()

ts
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?

RPCOptions

Returns

Promise<Paginator<Output>>

Inherited from

ActorBasicProfile.feed


feeds()

ts
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?

RPCOptions

Returns

Promise<Paginator<Output>>

Inherited from

ActorBasicProfile.feeds


followers()

ts
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

ActorBasicProfile.followers


follows()

ts
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

ActorBasicProfile.follows


lists()

ts
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

ActorBasicProfile.lists


relationships()

ts
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?

RPCOptions

Returns

Promise<{ $type: string; actor: undefined | ActorLazyProfile; relationships: ( | Typed<NotFoundActor, string> | Typed<Relationship, string>)[]; }>

Inherited from

ActorBasicProfile.relationships


starterPacks()

ts
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()

ts
toJSON(): object

Defined in: client/src/agent.ts:305

Returns

object

$type
ts
$type: undefined | string;
associated
ts
associated: undefined | ProfileAssociated;
avatar
ts
avatar: undefined | string;
ts
banner: undefined | string;
createdAt
ts
createdAt: undefined | string;
description
ts
description: undefined | string;
did
ts
did: `did:${string}`;
displayName
ts
displayName: undefined | string;
followersCount
ts
followersCount: undefined | number;
followsCount
ts
followsCount: undefined | number;
handle
ts
handle: string;
indexedAt
ts
indexedAt: undefined | string;
joinedViaStarterPack
ts
joinedViaStarterPack: undefined | StarterPackViewBasic;
labels
ts
labels: undefined | Label[];
pinnedPost
ts
pinnedPost: undefined | Main;
postsCount
ts
postsCount: undefined | number;
viewer
ts
viewer: undefined | ViewerState;

Overrides

ActorBasicProfile.toJSON