Skip to content

agent


@tsky/client / agent / List

List ​

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

Extended by ​

Constructors ​

new List() ​

ts
new List(client, uri): List

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

Parameters ​

client ​

Client

uri ​

string

Returns ​

List

Properties ​

client ​

ts
client: Client;

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


uri ​

ts
uri: string;

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

Methods ​

about() ​

ts
about(limit?, options?): Promise<Paginator<Output>>

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

Gets a 'view' (with additional context) of a specified list.

Parameters ​

limit? ​

number

options? ​

RPCOptions

Returns ​

Promise<Paginator<Output>>


feed() ​

ts
feed(limit?, options?): Promise<Paginator<Output>>

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

Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.

Parameters ​

limit? ​

number

options? ​

RPCOptions

Returns ​

Promise<Paginator<Output>>